gooddata_sdk.catalog.data_source.entity_model.content_objects.table.CatalogDataSourceTableColumn
- class gooddata_sdk.catalog.data_source.entity_model.content_objects.table.CatalogDataSourceTableColumn(*, name: str, data_type: str, is_primary_key: Optional[bool] = None, referenced_table_column: Optional[str] = None, referenced_table_id: Optional[str] = None)
Bases:
Base- __init__(*, name: str, data_type: str, is_primary_key: Optional[bool] = None, referenced_table_column: Optional[str] = None, referenced_table_id: Optional[str] = None) None
Method generated by attrs for class CatalogDataSourceTableColumn.
Methods
__init__(*, name, data_type[, ...])Method generated by attrs for class CatalogDataSourceTableColumn.
client_class()from_api(entity)Creates object from entity passed by client class, which represents it as dictionary.
from_dict(data[, camel_case])Creates object from dictionary.
to_api()to_dict([camel_case])Converts object into dictionary.
Attributes
namedata_typeis_primary_keyreferenced_table_columnreferenced_table_id- classmethod from_api(entity: Dict[str, Any]) T
Creates object from entity passed by client class, which represents it as dictionary.
- classmethod from_dict(data: Dict[str, Any], camel_case: bool = True) T
Creates object from dictionary. It needs to be specified if the dictionary is in camelCase or snake_case.
- to_dict(camel_case: bool = True) Dict[str, Any]
Converts object into dictionary. Optional argument if the dictionary should be camelCase or snake_case can be specified.