# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from msrest.serialization import Model
[docs]class USqlTableColumn(Model):
"""A Data Lake Analytics catalog U-SQL table column item.
:param name: the name of the column in the table.
:type name: str
:param type: the object type of the specified column (such as
System.String).
:type type: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'column_name': {'key': 'columnName', 'type': 'str'},
'data_type': {'key': 'dataType', 'type': 'str'},
}
def __init__(self, *, name: str=None, type: str=None, column_name=None, data_type=None, **kwargs) -> None:
super(USqlTableColumn, self).__init__(**kwargs)
self.name = name if name != None else column_name
self.type = type if type != None else data_type