gooddata_sdk.catalog.user.entity_model.user_group.CatalogUserGroup
- class gooddata_sdk.catalog.user.entity_model.user_group.CatalogUserGroup(*, id: str, relationships: Optional[CatalogUserGroupRelationships] = None)
Bases:
Base
- __init__(*, id: str, relationships: Optional[CatalogUserGroupRelationships] = None) None
Method generated by attrs for class CatalogUserGroup.
Methods
__init__
(*, id[, relationships])Method generated by attrs for class CatalogUserGroup.
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.
init
(user_group_id[, user_group_parent_ids])to_api
()to_dict
([camel_case])Converts object into dictionary.
Attributes
get_parents
id
relationships
- 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.