|
6 | 6 |
|
7 | 7 | import attr |
8 | 8 | import attrs |
| 9 | +from attrs import define |
9 | 10 | from gooddata_api_client.model.data_source_table_identifier import DataSourceTableIdentifier |
10 | 11 | from gooddata_api_client.model.declarative_aggregated_fact import DeclarativeAggregatedFact |
11 | 12 | from gooddata_api_client.model.declarative_attribute import DeclarativeAttribute |
|
18 | 19 | from gooddata_api_client.model.declarative_reference_source import DeclarativeReferenceSource |
19 | 20 | from gooddata_api_client.model.declarative_source_fact_reference import DeclarativeSourceFactReference |
20 | 21 | from gooddata_api_client.model.declarative_workspace_data_filter_column import DeclarativeWorkspaceDataFilterColumn |
| 22 | +from gooddata_api_client.model.geo_area_config import GeoAreaConfig |
| 23 | +from gooddata_api_client.model.geo_collection import GeoCollection |
21 | 24 |
|
22 | 25 | from gooddata_sdk.catalog.base import Base |
23 | 26 | from gooddata_sdk.catalog.identifier import ( |
@@ -167,12 +170,31 @@ class CatalogDeclarativeLabel(Base): |
167 | 170 | is_hidden: Optional[bool] = None |
168 | 171 | locale: Optional[str] = None |
169 | 172 | translations: Optional[list[CatalogDeclarativeLabelTranslation]] = None |
| 173 | + geo_area_config: Optional[CatalogGeoAreaConfig] = None |
170 | 174 |
|
171 | 175 | @staticmethod |
172 | 176 | def client_class() -> type[DeclarativeLabel]: |
173 | 177 | return DeclarativeLabel |
174 | 178 |
|
175 | 179 |
|
| 180 | +@define(auto_attribs=True, kw_only=True) |
| 181 | +class CatalogGeoAreaConfig(Base): |
| 182 | + collection: CatalogGeoCollectionIdentifier |
| 183 | + |
| 184 | + @staticmethod |
| 185 | + def client_class() -> type[GeoAreaConfig]: |
| 186 | + return GeoAreaConfig |
| 187 | + |
| 188 | + |
| 189 | +@define(auto_attribs=True, kw_only=True) |
| 190 | +class CatalogGeoCollectionIdentifier(Base): |
| 191 | + id: str |
| 192 | + |
| 193 | + @staticmethod |
| 194 | + def client_class() -> type[GeoCollection]: |
| 195 | + return GeoCollection |
| 196 | + |
| 197 | + |
176 | 198 | @attr.s(auto_attribs=True, kw_only=True) |
177 | 199 | class CatalogDeclarativeReference(Base): |
178 | 200 | identifier: CatalogReferenceIdentifier |
|
0 commit comments