gooddata_sdk.catalog.workspace.declarative_model.workspace.logical_model.dataset.dataset.CatalogDeclarativeAttribute

class gooddata_sdk.catalog.workspace.declarative_model.workspace.logical_model.dataset.dataset.CatalogDeclarativeAttribute(*, id: str, title: str, source_column: str, labels: List[CatalogDeclarativeLabel], default_view: Optional[CatalogLabelIdentifier] = None, sort_column: Optional[str] = None, sort_direction: Optional[str] = None, description: Optional[str] = None, tags: Optional[List[str]] = None)

Bases: Base

__init__(*, id: str, title: str, source_column: str, labels: List[CatalogDeclarativeLabel], default_view: Optional[CatalogLabelIdentifier] = None, sort_column: Optional[str] = None, sort_direction: Optional[str] = None, description: Optional[str] = None, tags: Optional[List[str]] = None) None

Method generated by attrs for class CatalogDeclarativeAttribute.

Methods

__init__(*, id, title, source_column, labels)

Method generated by attrs for class CatalogDeclarativeAttribute.

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

id

title

source_column

labels

default_view

sort_column

sort_direction

description

tags

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.