1313from gooddata_api_client .model .declarative_dataset_sql import DeclarativeDatasetSql
1414from gooddata_api_client .model .declarative_fact import DeclarativeFact
1515from gooddata_api_client .model .declarative_label import DeclarativeLabel
16+ from gooddata_api_client .model .declarative_label_translation import DeclarativeLabelTranslation
1617from gooddata_api_client .model .declarative_reference import DeclarativeReference
1718from gooddata_api_client .model .declarative_reference_source import DeclarativeReferenceSource
1819from gooddata_api_client .model .declarative_source_fact_reference import DeclarativeSourceFactReference
@@ -77,6 +78,7 @@ class CatalogDeclarativeAttribute(Base):
7778 description : Optional [str ] = None
7879 tags : Optional [list [str ]] = None
7980 is_hidden : Optional [bool ] = None
81+ locale : Optional [str ] = None
8082
8183 @staticmethod
8284 def client_class () -> type [DeclarativeAttribute ]:
@@ -143,6 +145,16 @@ def client_class() -> type[DeclarativeDatasetSql]:
143145 return DeclarativeDatasetSql
144146
145147
148+ @attr .s (auto_attribs = True , kw_only = True )
149+ class CatalogDeclarativeLabelTranslation (Base ):
150+ locale : str
151+ source_column : str
152+
153+ @staticmethod
154+ def client_class () -> type [DeclarativeLabelTranslation ]:
155+ return DeclarativeLabelTranslation
156+
157+
146158@attr .s (auto_attribs = True , kw_only = True )
147159class CatalogDeclarativeLabel (Base ):
148160 id : str
@@ -153,6 +165,8 @@ class CatalogDeclarativeLabel(Base):
153165 tags : Optional [list [str ]] = None
154166 value_type : Optional [str ] = None
155167 is_hidden : Optional [bool ] = None
168+ locale : Optional [str ] = None
169+ translations : Optional [list [CatalogDeclarativeLabelTranslation ]] = None
156170
157171 @staticmethod
158172 def client_class () -> type [DeclarativeLabel ]:
0 commit comments