criteo-api-retailmedia-sdk 0.0.240207__py3-none-any.whl → 0.0.240515__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +181 -35
- criteo_api_retailmedia_preview/api/analytics_api.py +142 -0
- criteo_api_retailmedia_preview/api/audience_api.py +284 -0
- criteo_api_retailmedia_preview/api/campaign_api.py +1678 -902
- criteo_api_retailmedia_preview/api/catalog_api.py +312 -0
- criteo_api_retailmedia_preview/api_client.py +4 -4
- criteo_api_retailmedia_preview/apis/__init__.py +1 -0
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keyword_model.py → add_remove_keyword_model.py} +12 -19
- criteo_api_retailmedia_preview/model/add_remove_keywords_model.py +262 -0
- criteo_api_retailmedia_preview/model/add_remove_keywords_model_request.py +262 -0
- criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +270 -0
- criteo_api_retailmedia_preview/model/approval_status_model.py +292 -0
- criteo_api_retailmedia_preview/model/async_accounts_report.py +421 -0
- criteo_api_retailmedia_preview/model/{external_catalog_request_preview.py → async_accounts_report_request.py} +13 -10
- criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +273 -0
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +74 -59
- criteo_api_retailmedia_preview/model/async_line_items_report.py +74 -60
- criteo_api_retailmedia_preview/model/audience_error.py +310 -0
- criteo_api_retailmedia_preview/model/{template_variable.py → audience_warning.py} +48 -46
- criteo_api_retailmedia_preview/model/{hyperlink_variable_value.py → batch_accepted_response.py} +11 -11
- criteo_api_retailmedia_preview/model/change_details.py +275 -0
- criteo_api_retailmedia_preview/model/{creative202210_list_response.py → creative_v2_list_response.py} +16 -16
- criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_of_int64.py → creative_v2_response.py} +16 -9
- criteo_api_retailmedia_preview/model/custom_attribute.py +275 -0
- criteo_api_retailmedia_preview/model/error_code_response.py +281 -0
- criteo_api_retailmedia_preview/model/export_report_column.py +2 -2
- criteo_api_retailmedia_preview/model/{choice_variable_value.py → external_choice_variable_value.py} +3 -3
- criteo_api_retailmedia_preview/model/{color_variable_value.py → external_color_variable_value.py} +8 -14
- criteo_api_retailmedia_preview/model/{creative_update_model202207.py → external_creative_create_model_v2.py} +11 -11
- criteo_api_retailmedia_preview/model/{creative_create_model202207.py → external_creative_update_model_v2.py} +11 -11
- criteo_api_retailmedia_preview/model/{creative202210.py → external_creative_v2.py} +34 -28
- criteo_api_retailmedia_preview/model/{files_variable_value.py → external_files_variable_value.py} +4 -3
- criteo_api_retailmedia_preview/model/{text_variable_specification.py → external_hyperlink_variable_value.py} +7 -7
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers.py → external_line_item_bid_multipliers_v2.py} +41 -29
- criteo_api_retailmedia_preview/model/external_line_item_capping_v2.py +280 -0
- criteo_api_retailmedia_preview/model/external_line_item_page_category_v2.py +273 -0
- criteo_api_retailmedia_preview/model/{choice_variable_specification.py → external_line_item_page_v2.py} +36 -21
- criteo_api_retailmedia_preview/model/{page_type_environment.py → external_page_type_environment.py} +15 -9
- criteo_api_retailmedia_preview/model/external_preferred_line_item_create_model_v2.py +345 -0
- criteo_api_retailmedia_preview/model/{external_catalog_status.py → external_preferred_line_item_update_model_v2.py} +70 -47
- criteo_api_retailmedia_preview/model/{template.py → external_preferred_line_item_v2.py} +93 -70
- criteo_api_retailmedia_preview/model/{template_variable_value.py → external_template_variable_value.py} +36 -30
- criteo_api_retailmedia_preview/model/{text_variable_value.py → external_text_variable_value.py} +8 -14
- criteo_api_retailmedia_preview/model/external_video_variable_value.py +293 -0
- criteo_api_retailmedia_preview/model/{choice_option.py → fail_response.py} +21 -19
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_input_keywords_model.py → input_keywords_model.py} +4 -16
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keywords_model.py → input_resource_of_preferred_line_item_create_model_v2.py} +13 -11
- criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture.py +303 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bids_model.py → installment.py} +13 -11
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_line_item_bid_multipliers_and_line_item_bid_multipliers.py → json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_single_response_of_line_item_bid_multipliers.py → json_api_single_response_of_line_item_bid_multipliers_v2.py} +14 -14
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_keyword_data_model.py → keyword_data_model.py} +19 -37
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_keywords_model.py → keywords_model.py} +9 -18
- criteo_api_retailmedia_preview/model/keywords_model_resource.py +270 -0
- criteo_api_retailmedia_preview/model/keywords_model_response.py +274 -0
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_request.py → line_item_bid_multipliers_v2_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_response.py → line_item_bid_multipliers_v2_response.py} +16 -16
- criteo_api_retailmedia_preview/model/line_item_product_status.py +291 -0
- criteo_api_retailmedia_preview/model/loyalty_points.py +271 -0
- criteo_api_retailmedia_preview/model/match_type_model.py +291 -0
- criteo_api_retailmedia_preview/model/metadata.py +273 -0
- criteo_api_retailmedia_preview/model/negotiation_state_model.py +293 -0
- criteo_api_retailmedia_preview/model/page_of_insertion_order_history_change_data_capture.py +276 -0
- criteo_api_retailmedia_preview/model/{json_api_request_of_catalog_request_preview.py → preferred_line_item_create_model_v2_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bids_model_request.py → preferred_line_item_update_model_v2_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{creative202210_response.py → preferred_line_item_v2_paged_list_response.py} +22 -16
- criteo_api_retailmedia_preview/model/{template_response.py → preferred_line_item_v2_response.py} +16 -16
- criteo_api_retailmedia_preview/model/price.py +267 -0
- criteo_api_retailmedia_preview/model/product.py +626 -0
- criteo_api_retailmedia_preview/model/product_importer_error.py +299 -0
- criteo_api_retailmedia_preview/model/product_importer_warning.py +299 -0
- criteo_api_retailmedia_preview/model/product_metadata.py +269 -0
- criteo_api_retailmedia_preview/model/product_resource_outcome.py +266 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_keywords_model_response.py → product_shipping.py} +33 -25
- criteo_api_retailmedia_preview/model/product_shipping_dimension.py +267 -0
- criteo_api_retailmedia_preview/model/product_shipping_weight.py +267 -0
- criteo_api_retailmedia_preview/model/product_tax.py +283 -0
- criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +267 -0
- criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +267 -0
- criteo_api_retailmedia_preview/model/{section.py → products_custom_batch_request.py} +13 -19
- criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +305 -0
- criteo_api_retailmedia_preview/model/promoted_product.py +270 -0
- criteo_api_retailmedia_preview/model/promoted_product_resource.py +270 -0
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_input.py +262 -0
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +278 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_proposal_status_model.py → proposal_status_model.py} +22 -50
- criteo_api_retailmedia_preview/model/proposal_status_model_resource.py +270 -0
- criteo_api_retailmedia_preview/model/{template_list_response.py → proposal_status_model_response.py} +20 -27
- criteo_api_retailmedia_preview/model/report_detail_error.py +299 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keywords_model_request.py → report_detail_errors.py} +23 -11
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_keywords_model_resource.py → report_ok_response.py} +56 -21
- criteo_api_retailmedia_preview/model/{resource_of_creative202210.py → resource_of_creative_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{resource_of_template.py → resource_of_line_item_bid_multipliers_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keywords_model_resource.py → resource_of_preferred_line_item_update_model_v2.py} +16 -22
- criteo_api_retailmedia_preview/model/{resource_of_line_item_bid_multipliers.py → resource_of_preferred_line_item_v2.py} +9 -9
- criteo_api_retailmedia_preview/model/resource_outcome.py +268 -0
- criteo_api_retailmedia_preview/model/retail_media_account.py +6 -6
- criteo_api_retailmedia_preview/model/retail_media_brands.py +257 -0
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_catalog_request_and_catalog_request_preview.py → retail_media_contactlist_amendment.py} +16 -16
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bids_model_resource.py → retail_media_contactlist_amendment_attributes.py} +34 -25
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_request.py +275 -0
- criteo_api_retailmedia_preview/model/{json_api_single_response_of_catalog_status.py → retail_media_contactlist_operation.py} +24 -20
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py → retail_media_contactlist_operation_response_attributes.py} +14 -18
- criteo_api_retailmedia_preview/model/retail_media_contactlist_operation_response_attributes_attributes.py +297 -0
- criteo_api_retailmedia_preview/model/review_state_model.py +294 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_problem_details.py → rmca_common_problem.py} +41 -30
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bid_model.py → set_bid_model.py} +4 -10
- criteo_api_retailmedia_preview/model/set_bids_model.py +262 -0
- criteo_api_retailmedia_preview/model/set_bids_model_request.py +262 -0
- criteo_api_retailmedia_preview/model/set_bids_model_resource.py +270 -0
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +47 -45
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +68 -53
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +70 -56
- criteo_api_retailmedia_preview/model/value_resource_collection_input_of_retail_media_seller.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brand_account_creation.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brands.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_seller_account_creation.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_brand_account_creation.py +266 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_int64.py → value_resource_of_retail_media_brands.py} +11 -6
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller_account_creation.py +266 -0
- criteo_api_retailmedia_preview/models/__init__.py +106 -55
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/RECORD +127 -75
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_preview/model/files_variables_specification.py +0 -290
- criteo_api_retailmedia_preview/model/retail_media_externalv1_proposal_status_model_resource.py +0 -283
- criteo_api_retailmedia_preview/model/retail_media_externalv1_proposal_status_model_response.py +0 -285
- criteo_api_retailmedia_preview/model/retail_media_externalv1_resource_outcome.py +0 -279
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/top_level.txt +0 -0
|
@@ -29,12 +29,8 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
|
29
29
|
from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.retail_media_externalv1_set_bids_model import RetailMediaExternalv1SetBidsModel
|
|
34
|
-
globals()['RetailMediaExternalv1SetBidsModel'] = RetailMediaExternalv1SetBidsModel
|
|
35
32
|
|
|
36
|
-
|
|
37
|
-
class RetailMediaExternalv1SetBidsModelResource(ModelNormal):
|
|
33
|
+
class RetailMediaContactlistAmendmentAttributes(ModelNormal):
|
|
38
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
35
|
Ref: https://openapi-generator.tech
|
|
40
36
|
|
|
@@ -59,6 +55,19 @@ class RetailMediaExternalv1SetBidsModelResource(ModelNormal):
|
|
|
59
55
|
"""
|
|
60
56
|
|
|
61
57
|
allowed_values = {
|
|
58
|
+
('operation',): {
|
|
59
|
+
'ADD': "add",
|
|
60
|
+
'REMOVE': "remove",
|
|
61
|
+
},
|
|
62
|
+
('identifier_type',): {
|
|
63
|
+
'None': None,
|
|
64
|
+
'EMAIL': "email",
|
|
65
|
+
'MADID': "madid",
|
|
66
|
+
'IDENTITYLINK': "identityLink",
|
|
67
|
+
'GUM': "gum",
|
|
68
|
+
'CUSTOMERID': "customerid",
|
|
69
|
+
'PHONENUMBER': "phoneNumber",
|
|
70
|
+
},
|
|
62
71
|
}
|
|
63
72
|
|
|
64
73
|
validations = {
|
|
@@ -70,7 +79,6 @@ class RetailMediaExternalv1SetBidsModelResource(ModelNormal):
|
|
|
70
79
|
This must be a method because a model may have properties that are
|
|
71
80
|
of type self, this must run after the class is loaded
|
|
72
81
|
"""
|
|
73
|
-
lazy_import()
|
|
74
82
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
75
83
|
|
|
76
84
|
_nullable = False
|
|
@@ -85,11 +93,10 @@ class RetailMediaExternalv1SetBidsModelResource(ModelNormal):
|
|
|
85
93
|
openapi_types (dict): The key is attribute name
|
|
86
94
|
and the value is attribute type.
|
|
87
95
|
"""
|
|
88
|
-
lazy_import()
|
|
89
96
|
return {
|
|
90
|
-
'
|
|
91
|
-
'
|
|
92
|
-
'
|
|
97
|
+
'operation': (str,), # noqa: E501
|
|
98
|
+
'identifiers': ([str],), # noqa: E501
|
|
99
|
+
'identifier_type': (str, none_type,), # noqa: E501
|
|
93
100
|
}
|
|
94
101
|
|
|
95
102
|
@cached_property
|
|
@@ -98,9 +105,9 @@ class RetailMediaExternalv1SetBidsModelResource(ModelNormal):
|
|
|
98
105
|
|
|
99
106
|
|
|
100
107
|
attribute_map = {
|
|
101
|
-
'
|
|
102
|
-
'
|
|
103
|
-
'
|
|
108
|
+
'operation': 'operation', # noqa: E501
|
|
109
|
+
'identifiers': 'identifiers', # noqa: E501
|
|
110
|
+
'identifier_type': 'identifierType', # noqa: E501
|
|
104
111
|
}
|
|
105
112
|
|
|
106
113
|
read_only_vars = {
|
|
@@ -110,11 +117,12 @@ class RetailMediaExternalv1SetBidsModelResource(ModelNormal):
|
|
|
110
117
|
|
|
111
118
|
@classmethod
|
|
112
119
|
@convert_js_args_to_python_args
|
|
113
|
-
def _from_openapi_data(cls,
|
|
114
|
-
"""
|
|
120
|
+
def _from_openapi_data(cls, operation, identifiers, *args, **kwargs): # noqa: E501
|
|
121
|
+
"""RetailMediaContactlistAmendmentAttributes - a model defined in OpenAPI
|
|
115
122
|
|
|
116
123
|
Args:
|
|
117
|
-
|
|
124
|
+
operation (str): Whether to add or remove users
|
|
125
|
+
identifiers ([str]): The users to add or remove, each in the schema specified
|
|
118
126
|
|
|
119
127
|
Keyword Args:
|
|
120
128
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -147,8 +155,7 @@ class RetailMediaExternalv1SetBidsModelResource(ModelNormal):
|
|
|
147
155
|
Animal class but this time we won't travel
|
|
148
156
|
through its discriminator because we passed in
|
|
149
157
|
_visited_composed_classes = (Animal,)
|
|
150
|
-
|
|
151
|
-
attributes (RetailMediaExternalv1SetBidsModel): [optional] # noqa: E501
|
|
158
|
+
identifier_type (str, none_type): What type of identifiers are used. [optional] # noqa: E501
|
|
152
159
|
"""
|
|
153
160
|
|
|
154
161
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -180,7 +187,8 @@ class RetailMediaExternalv1SetBidsModelResource(ModelNormal):
|
|
|
180
187
|
self._configuration = _configuration
|
|
181
188
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
182
189
|
|
|
183
|
-
self.
|
|
190
|
+
self.operation = operation
|
|
191
|
+
self.identifiers = identifiers
|
|
184
192
|
for var_name, var_value in kwargs.items():
|
|
185
193
|
if var_name not in self.attribute_map and \
|
|
186
194
|
self._configuration is not None and \
|
|
@@ -201,11 +209,12 @@ class RetailMediaExternalv1SetBidsModelResource(ModelNormal):
|
|
|
201
209
|
])
|
|
202
210
|
|
|
203
211
|
@convert_js_args_to_python_args
|
|
204
|
-
def __init__(self,
|
|
205
|
-
"""
|
|
212
|
+
def __init__(self, operation, identifiers, *args, **kwargs): # noqa: E501
|
|
213
|
+
"""RetailMediaContactlistAmendmentAttributes - a model defined in OpenAPI
|
|
206
214
|
|
|
207
215
|
Args:
|
|
208
|
-
|
|
216
|
+
operation (str): Whether to add or remove users
|
|
217
|
+
identifiers ([str]): The users to add or remove, each in the schema specified
|
|
209
218
|
|
|
210
219
|
Keyword Args:
|
|
211
220
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -238,8 +247,7 @@ class RetailMediaExternalv1SetBidsModelResource(ModelNormal):
|
|
|
238
247
|
Animal class but this time we won't travel
|
|
239
248
|
through its discriminator because we passed in
|
|
240
249
|
_visited_composed_classes = (Animal,)
|
|
241
|
-
|
|
242
|
-
attributes (RetailMediaExternalv1SetBidsModel): [optional] # noqa: E501
|
|
250
|
+
identifier_type (str, none_type): What type of identifiers are used. [optional] # noqa: E501
|
|
243
251
|
"""
|
|
244
252
|
|
|
245
253
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -269,7 +277,8 @@ class RetailMediaExternalv1SetBidsModelResource(ModelNormal):
|
|
|
269
277
|
self._configuration = _configuration
|
|
270
278
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
271
279
|
|
|
272
|
-
self.
|
|
280
|
+
self.operation = operation
|
|
281
|
+
self.identifiers = identifiers
|
|
273
282
|
for var_name, var_value in kwargs.items():
|
|
274
283
|
if var_name not in self.attribute_map and \
|
|
275
284
|
self._configuration is not None and \
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Criteo API
|
|
3
|
+
|
|
4
|
+
Criteo API - RetailMedia # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: Preview
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
import re # noqa: F401
|
|
12
|
+
import sys # noqa: F401
|
|
13
|
+
|
|
14
|
+
from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
15
|
+
ApiTypeError,
|
|
16
|
+
ModelComposed,
|
|
17
|
+
ModelNormal,
|
|
18
|
+
ModelSimple,
|
|
19
|
+
cached_property,
|
|
20
|
+
change_keys_js_to_python,
|
|
21
|
+
convert_js_args_to_python_args,
|
|
22
|
+
date,
|
|
23
|
+
datetime,
|
|
24
|
+
file_type,
|
|
25
|
+
none_type,
|
|
26
|
+
validate_get_composed_info,
|
|
27
|
+
OpenApiModel
|
|
28
|
+
)
|
|
29
|
+
from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def lazy_import():
|
|
33
|
+
from criteo_api_retailmedia_preview.model.retail_media_contactlist_amendment import RetailMediaContactlistAmendment
|
|
34
|
+
globals()['RetailMediaContactlistAmendment'] = RetailMediaContactlistAmendment
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class RetailMediaContactlistAmendmentRequest(ModelNormal):
|
|
38
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
|
+
Ref: https://openapi-generator.tech
|
|
40
|
+
|
|
41
|
+
Do not edit the class manually.
|
|
42
|
+
|
|
43
|
+
Attributes:
|
|
44
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
45
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
46
|
+
with a capitalized key describing the allowed value and an allowed
|
|
47
|
+
value. These dicts store the allowed enum values.
|
|
48
|
+
attribute_map (dict): The key is attribute name
|
|
49
|
+
and the value is json key in definition.
|
|
50
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
51
|
+
variable value to the discriminator class name.
|
|
52
|
+
validations (dict): The key is the tuple path to the attribute
|
|
53
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
54
|
+
that stores validations for max_length, min_length, max_items,
|
|
55
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
56
|
+
inclusive_minimum, and regex.
|
|
57
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
58
|
+
as additional properties values.
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
allowed_values = {
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
validations = {
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@cached_property
|
|
68
|
+
def additional_properties_type():
|
|
69
|
+
"""
|
|
70
|
+
This must be a method because a model may have properties that are
|
|
71
|
+
of type self, this must run after the class is loaded
|
|
72
|
+
"""
|
|
73
|
+
lazy_import()
|
|
74
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
75
|
+
|
|
76
|
+
_nullable = False
|
|
77
|
+
|
|
78
|
+
@cached_property
|
|
79
|
+
def openapi_types():
|
|
80
|
+
"""
|
|
81
|
+
This must be a method because a model may have properties that are
|
|
82
|
+
of type self, this must run after the class is loaded
|
|
83
|
+
|
|
84
|
+
Returns
|
|
85
|
+
openapi_types (dict): The key is attribute name
|
|
86
|
+
and the value is attribute type.
|
|
87
|
+
"""
|
|
88
|
+
lazy_import()
|
|
89
|
+
return {
|
|
90
|
+
'data': (RetailMediaContactlistAmendment,), # noqa: E501
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@cached_property
|
|
94
|
+
def discriminator():
|
|
95
|
+
return None
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
attribute_map = {
|
|
99
|
+
'data': 'data', # noqa: E501
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
read_only_vars = {
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
_composed_schemas = {}
|
|
106
|
+
|
|
107
|
+
@classmethod
|
|
108
|
+
@convert_js_args_to_python_args
|
|
109
|
+
def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501
|
|
110
|
+
"""RetailMediaContactlistAmendmentRequest - a model defined in OpenAPI
|
|
111
|
+
|
|
112
|
+
Args:
|
|
113
|
+
data (RetailMediaContactlistAmendment):
|
|
114
|
+
|
|
115
|
+
Keyword Args:
|
|
116
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
117
|
+
will be type checked and a TypeError will be
|
|
118
|
+
raised if the wrong type is input.
|
|
119
|
+
Defaults to True
|
|
120
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
121
|
+
drill down to the model in received_data
|
|
122
|
+
when deserializing a response
|
|
123
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
124
|
+
are serialized names, as specified in the OpenAPI document.
|
|
125
|
+
False if the variable names in the input data
|
|
126
|
+
are pythonic names, e.g. snake case (default)
|
|
127
|
+
_configuration (Configuration): the instance to use when
|
|
128
|
+
deserializing a file_type parameter.
|
|
129
|
+
If passed, type conversion is attempted
|
|
130
|
+
If omitted no type conversion is done.
|
|
131
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
132
|
+
classes that we have traveled through so that
|
|
133
|
+
if we see that class again we will not use its
|
|
134
|
+
discriminator again.
|
|
135
|
+
When traveling through a discriminator, the
|
|
136
|
+
composed schema that is
|
|
137
|
+
is traveled through is added to this set.
|
|
138
|
+
For example if Animal has a discriminator
|
|
139
|
+
petType and we pass in "Dog", and the class Dog
|
|
140
|
+
allOf includes Animal, we move through Animal
|
|
141
|
+
once using the discriminator, and pick Dog.
|
|
142
|
+
Then in Dog, we will make an instance of the
|
|
143
|
+
Animal class but this time we won't travel
|
|
144
|
+
through its discriminator because we passed in
|
|
145
|
+
_visited_composed_classes = (Animal,)
|
|
146
|
+
"""
|
|
147
|
+
|
|
148
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
149
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
150
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
151
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
152
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
153
|
+
|
|
154
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
155
|
+
|
|
156
|
+
if args:
|
|
157
|
+
for arg in args:
|
|
158
|
+
if isinstance(arg, dict):
|
|
159
|
+
kwargs.update(arg)
|
|
160
|
+
else:
|
|
161
|
+
raise ApiTypeError(
|
|
162
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
163
|
+
args,
|
|
164
|
+
self.__class__.__name__,
|
|
165
|
+
),
|
|
166
|
+
path_to_item=_path_to_item,
|
|
167
|
+
valid_classes=(self.__class__,),
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
self._data_store = {}
|
|
171
|
+
self._check_type = _check_type
|
|
172
|
+
self._spec_property_naming = _spec_property_naming
|
|
173
|
+
self._path_to_item = _path_to_item
|
|
174
|
+
self._configuration = _configuration
|
|
175
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
176
|
+
|
|
177
|
+
self.data = data
|
|
178
|
+
for var_name, var_value in kwargs.items():
|
|
179
|
+
if var_name not in self.attribute_map and \
|
|
180
|
+
self._configuration is not None and \
|
|
181
|
+
self._configuration.discard_unknown_keys and \
|
|
182
|
+
self.additional_properties_type is None:
|
|
183
|
+
# discard variable.
|
|
184
|
+
continue
|
|
185
|
+
setattr(self, var_name, var_value)
|
|
186
|
+
return self
|
|
187
|
+
|
|
188
|
+
required_properties = set([
|
|
189
|
+
'_data_store',
|
|
190
|
+
'_check_type',
|
|
191
|
+
'_spec_property_naming',
|
|
192
|
+
'_path_to_item',
|
|
193
|
+
'_configuration',
|
|
194
|
+
'_visited_composed_classes',
|
|
195
|
+
])
|
|
196
|
+
|
|
197
|
+
@convert_js_args_to_python_args
|
|
198
|
+
def __init__(self, data, *args, **kwargs): # noqa: E501
|
|
199
|
+
"""RetailMediaContactlistAmendmentRequest - a model defined in OpenAPI
|
|
200
|
+
|
|
201
|
+
Args:
|
|
202
|
+
data (RetailMediaContactlistAmendment):
|
|
203
|
+
|
|
204
|
+
Keyword Args:
|
|
205
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
206
|
+
will be type checked and a TypeError will be
|
|
207
|
+
raised if the wrong type is input.
|
|
208
|
+
Defaults to True
|
|
209
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
210
|
+
drill down to the model in received_data
|
|
211
|
+
when deserializing a response
|
|
212
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
213
|
+
are serialized names, as specified in the OpenAPI document.
|
|
214
|
+
False if the variable names in the input data
|
|
215
|
+
are pythonic names, e.g. snake case (default)
|
|
216
|
+
_configuration (Configuration): the instance to use when
|
|
217
|
+
deserializing a file_type parameter.
|
|
218
|
+
If passed, type conversion is attempted
|
|
219
|
+
If omitted no type conversion is done.
|
|
220
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
221
|
+
classes that we have traveled through so that
|
|
222
|
+
if we see that class again we will not use its
|
|
223
|
+
discriminator again.
|
|
224
|
+
When traveling through a discriminator, the
|
|
225
|
+
composed schema that is
|
|
226
|
+
is traveled through is added to this set.
|
|
227
|
+
For example if Animal has a discriminator
|
|
228
|
+
petType and we pass in "Dog", and the class Dog
|
|
229
|
+
allOf includes Animal, we move through Animal
|
|
230
|
+
once using the discriminator, and pick Dog.
|
|
231
|
+
Then in Dog, we will make an instance of the
|
|
232
|
+
Animal class but this time we won't travel
|
|
233
|
+
through its discriminator because we passed in
|
|
234
|
+
_visited_composed_classes = (Animal,)
|
|
235
|
+
"""
|
|
236
|
+
|
|
237
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
238
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
239
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
240
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
241
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
242
|
+
|
|
243
|
+
if args:
|
|
244
|
+
for arg in args:
|
|
245
|
+
if isinstance(arg, dict):
|
|
246
|
+
kwargs.update(arg)
|
|
247
|
+
else:
|
|
248
|
+
raise ApiTypeError(
|
|
249
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
250
|
+
args,
|
|
251
|
+
self.__class__.__name__,
|
|
252
|
+
),
|
|
253
|
+
path_to_item=_path_to_item,
|
|
254
|
+
valid_classes=(self.__class__,),
|
|
255
|
+
)
|
|
256
|
+
|
|
257
|
+
self._data_store = {}
|
|
258
|
+
self._check_type = _check_type
|
|
259
|
+
self._spec_property_naming = _spec_property_naming
|
|
260
|
+
self._path_to_item = _path_to_item
|
|
261
|
+
self._configuration = _configuration
|
|
262
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
263
|
+
|
|
264
|
+
self.data = data
|
|
265
|
+
for var_name, var_value in kwargs.items():
|
|
266
|
+
if var_name not in self.attribute_map and \
|
|
267
|
+
self._configuration is not None and \
|
|
268
|
+
self._configuration.discard_unknown_keys and \
|
|
269
|
+
self.additional_properties_type is None:
|
|
270
|
+
# discard variable.
|
|
271
|
+
continue
|
|
272
|
+
setattr(self, var_name, var_value)
|
|
273
|
+
if var_name in self.read_only_vars:
|
|
274
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
275
|
+
f"class with read only attributes.")
|
|
@@ -30,15 +30,15 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
from criteo_api_retailmedia_preview.model.
|
|
35
|
-
from criteo_api_retailmedia_preview.model.
|
|
36
|
-
globals()['
|
|
37
|
-
globals()['
|
|
38
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.audience_error import AudienceError
|
|
34
|
+
from criteo_api_retailmedia_preview.model.audience_warning import AudienceWarning
|
|
35
|
+
from criteo_api_retailmedia_preview.model.retail_media_contactlist_operation_response_attributes import RetailMediaContactlistOperationResponseAttributes
|
|
36
|
+
globals()['AudienceError'] = AudienceError
|
|
37
|
+
globals()['AudienceWarning'] = AudienceWarning
|
|
38
|
+
globals()['RetailMediaContactlistOperationResponseAttributes'] = RetailMediaContactlistOperationResponseAttributes
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
class
|
|
41
|
+
class RetailMediaContactlistOperation(ModelNormal):
|
|
42
42
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
43
43
|
Ref: https://openapi-generator.tech
|
|
44
44
|
|
|
@@ -91,9 +91,9 @@ class JsonApiSingleResponseOfCatalogStatus(ModelNormal):
|
|
|
91
91
|
"""
|
|
92
92
|
lazy_import()
|
|
93
93
|
return {
|
|
94
|
-
'data': (
|
|
95
|
-
'errors': ([
|
|
96
|
-
'warnings': ([
|
|
94
|
+
'data': (RetailMediaContactlistOperationResponseAttributes,), # noqa: E501
|
|
95
|
+
'errors': ([AudienceError],), # noqa: E501
|
|
96
|
+
'warnings': ([AudienceWarning],), # noqa: E501
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
@cached_property
|
|
@@ -114,11 +114,13 @@ class JsonApiSingleResponseOfCatalogStatus(ModelNormal):
|
|
|
114
114
|
|
|
115
115
|
@classmethod
|
|
116
116
|
@convert_js_args_to_python_args
|
|
117
|
-
def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501
|
|
118
|
-
"""
|
|
117
|
+
def _from_openapi_data(cls, data, errors, warnings, *args, **kwargs): # noqa: E501
|
|
118
|
+
"""RetailMediaContactlistOperation - a model defined in OpenAPI
|
|
119
119
|
|
|
120
120
|
Args:
|
|
121
|
-
data (
|
|
121
|
+
data (RetailMediaContactlistOperationResponseAttributes):
|
|
122
|
+
errors ([AudienceError]):
|
|
123
|
+
warnings ([AudienceWarning]):
|
|
122
124
|
|
|
123
125
|
Keyword Args:
|
|
124
126
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -151,8 +153,6 @@ class JsonApiSingleResponseOfCatalogStatus(ModelNormal):
|
|
|
151
153
|
Animal class but this time we won't travel
|
|
152
154
|
through its discriminator because we passed in
|
|
153
155
|
_visited_composed_classes = (Animal,)
|
|
154
|
-
errors ([CommonError]): [optional] # noqa: E501
|
|
155
|
-
warnings ([CommonWarning]): [optional] # noqa: E501
|
|
156
156
|
"""
|
|
157
157
|
|
|
158
158
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -185,6 +185,8 @@ class JsonApiSingleResponseOfCatalogStatus(ModelNormal):
|
|
|
185
185
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
186
186
|
|
|
187
187
|
self.data = data
|
|
188
|
+
self.errors = errors
|
|
189
|
+
self.warnings = warnings
|
|
188
190
|
for var_name, var_value in kwargs.items():
|
|
189
191
|
if var_name not in self.attribute_map and \
|
|
190
192
|
self._configuration is not None and \
|
|
@@ -205,11 +207,13 @@ class JsonApiSingleResponseOfCatalogStatus(ModelNormal):
|
|
|
205
207
|
])
|
|
206
208
|
|
|
207
209
|
@convert_js_args_to_python_args
|
|
208
|
-
def __init__(self, data, *args, **kwargs): # noqa: E501
|
|
209
|
-
"""
|
|
210
|
+
def __init__(self, data, errors, warnings, *args, **kwargs): # noqa: E501
|
|
211
|
+
"""RetailMediaContactlistOperation - a model defined in OpenAPI
|
|
210
212
|
|
|
211
213
|
Args:
|
|
212
|
-
data (
|
|
214
|
+
data (RetailMediaContactlistOperationResponseAttributes):
|
|
215
|
+
errors ([AudienceError]):
|
|
216
|
+
warnings ([AudienceWarning]):
|
|
213
217
|
|
|
214
218
|
Keyword Args:
|
|
215
219
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -242,8 +246,6 @@ class JsonApiSingleResponseOfCatalogStatus(ModelNormal):
|
|
|
242
246
|
Animal class but this time we won't travel
|
|
243
247
|
through its discriminator because we passed in
|
|
244
248
|
_visited_composed_classes = (Animal,)
|
|
245
|
-
errors ([CommonError]): [optional] # noqa: E501
|
|
246
|
-
warnings ([CommonWarning]): [optional] # noqa: E501
|
|
247
249
|
"""
|
|
248
250
|
|
|
249
251
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -274,6 +276,8 @@ class JsonApiSingleResponseOfCatalogStatus(ModelNormal):
|
|
|
274
276
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
275
277
|
|
|
276
278
|
self.data = data
|
|
279
|
+
self.errors = errors
|
|
280
|
+
self.warnings = warnings
|
|
277
281
|
for var_name, var_value in kwargs.items():
|
|
278
282
|
if var_name not in self.attribute_map and \
|
|
279
283
|
self._configuration is not None and \
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.retail_media_contactlist_operation_response_attributes_attributes import RetailMediaContactlistOperationResponseAttributesAttributes
|
|
34
|
+
globals()['RetailMediaContactlistOperationResponseAttributesAttributes'] = RetailMediaContactlistOperationResponseAttributesAttributes
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,9 +87,8 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'id': (str,), # noqa: E501
|
|
91
90
|
'type': (str,), # noqa: E501
|
|
92
|
-
'attributes': (
|
|
91
|
+
'attributes': (RetailMediaContactlistOperationResponseAttributesAttributes,), # noqa: E501
|
|
93
92
|
}
|
|
94
93
|
|
|
95
94
|
@cached_property
|
|
@@ -98,7 +97,6 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
|
|
|
98
97
|
|
|
99
98
|
|
|
100
99
|
attribute_map = {
|
|
101
|
-
'id': 'id', # noqa: E501
|
|
102
100
|
'type': 'type', # noqa: E501
|
|
103
101
|
'attributes': 'attributes', # noqa: E501
|
|
104
102
|
}
|
|
@@ -110,12 +108,12 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
|
|
|
110
108
|
|
|
111
109
|
@classmethod
|
|
112
110
|
@convert_js_args_to_python_args
|
|
113
|
-
def _from_openapi_data(cls,
|
|
114
|
-
"""
|
|
111
|
+
def _from_openapi_data(cls, type, attributes, *args, **kwargs): # noqa: E501
|
|
112
|
+
"""RetailMediaContactlistOperationResponseAttributes - a model defined in OpenAPI
|
|
115
113
|
|
|
116
114
|
Args:
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
type (str): the name of the entity type
|
|
116
|
+
attributes (RetailMediaContactlistOperationResponseAttributesAttributes):
|
|
119
117
|
|
|
120
118
|
Keyword Args:
|
|
121
119
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -148,7 +146,6 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
|
|
|
148
146
|
Animal class but this time we won't travel
|
|
149
147
|
through its discriminator because we passed in
|
|
150
148
|
_visited_composed_classes = (Animal,)
|
|
151
|
-
attributes (ExternalCatalogStatus): [optional] # noqa: E501
|
|
152
149
|
"""
|
|
153
150
|
|
|
154
151
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -180,8 +177,8 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
|
|
|
180
177
|
self._configuration = _configuration
|
|
181
178
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
182
179
|
|
|
183
|
-
self.id = id
|
|
184
180
|
self.type = type
|
|
181
|
+
self.attributes = attributes
|
|
185
182
|
for var_name, var_value in kwargs.items():
|
|
186
183
|
if var_name not in self.attribute_map and \
|
|
187
184
|
self._configuration is not None and \
|
|
@@ -202,12 +199,12 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
|
|
|
202
199
|
])
|
|
203
200
|
|
|
204
201
|
@convert_js_args_to_python_args
|
|
205
|
-
def __init__(self,
|
|
206
|
-
"""
|
|
202
|
+
def __init__(self, type, attributes, *args, **kwargs): # noqa: E501
|
|
203
|
+
"""RetailMediaContactlistOperationResponseAttributes - a model defined in OpenAPI
|
|
207
204
|
|
|
208
205
|
Args:
|
|
209
|
-
|
|
210
|
-
|
|
206
|
+
type (str): the name of the entity type
|
|
207
|
+
attributes (RetailMediaContactlistOperationResponseAttributesAttributes):
|
|
211
208
|
|
|
212
209
|
Keyword Args:
|
|
213
210
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -240,7 +237,6 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
|
|
|
240
237
|
Animal class but this time we won't travel
|
|
241
238
|
through its discriminator because we passed in
|
|
242
239
|
_visited_composed_classes = (Animal,)
|
|
243
|
-
attributes (ExternalCatalogStatus): [optional] # noqa: E501
|
|
244
240
|
"""
|
|
245
241
|
|
|
246
242
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -270,8 +266,8 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
|
|
|
270
266
|
self._configuration = _configuration
|
|
271
267
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
272
268
|
|
|
273
|
-
self.id = id
|
|
274
269
|
self.type = type
|
|
270
|
+
self.attributes = attributes
|
|
275
271
|
for var_name, var_value in kwargs.items():
|
|
276
272
|
if var_name not in self.attribute_map and \
|
|
277
273
|
self._configuration is not None and \
|