gooddata_sdk.catalog.workspace.declarative_model.workspace.workspace.CatalogDeclarativeWorkspaceDataFilter
- class gooddata_sdk.catalog.workspace.declarative_model.workspace.workspace.CatalogDeclarativeWorkspaceDataFilter(*, id: str, title: str, column_name: str, workspace_data_filter_settings: List[CatalogDeclarativeWorkspaceDataFilterSetting], description: Optional[str] = None, workspace: Optional[CatalogWorkspaceIdentifier] = None)
Bases:
Base
- __init__(*, id: str, title: str, column_name: str, workspace_data_filter_settings: List[CatalogDeclarativeWorkspaceDataFilterSetting], description: Optional[str] = None, workspace: Optional[CatalogWorkspaceIdentifier] = None) None
Method generated by attrs for class CatalogDeclarativeWorkspaceDataFilter.
Methods
__init__
(*, id, title, column_name, ...[, ...])Method generated by attrs for class CatalogDeclarativeWorkspaceDataFilter.
client_class
()from_api
(entity)Creates object from entity passed by client class, which represents it as dictionary.
from_dict
(data[, camel_case])- param data
Data loaded for example from the file.
load_from_disk
(workspaces_data_filter_file)store_to_disk
(workspaces_data_filters_folder)to_api
()to_dict
([camel_case])Converts object into dictionary.
Attributes
id
title
column_name
workspace_data_filter_settings
description
workspace
- 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) CatalogDeclarativeWorkspaceDataFilter
- Parameters
data – Data loaded for example from the file.
camel_case – True if the variable names in the input data are serialized names as specified in the OpenAPI document. False if the variables names in the input data are python variable names in PEP-8 snake case.
- Returns
CatalogDeclarativeWorkspaceDataFilter object.
- 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.