criteo-api-retailmedia-sdk 0.0.250205__py3-none-any.whl → 0.0.250217__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.
Files changed (25) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +3 -3
  3. criteo_api_retailmedia_preview/api/campaign_api.py +5 -5
  4. criteo_api_retailmedia_preview/api_client.py +1 -1
  5. criteo_api_retailmedia_preview/configuration.py +1 -1
  6. criteo_api_retailmedia_preview/model/balance_response_v2.py +4 -4
  7. criteo_api_retailmedia_preview/model/brand_id_search_request.py +14 -5
  8. criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_of_retail_media_seller.py → entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py} +14 -8
  9. criteo_api_retailmedia_preview/model/external_catalog_status.py +3 -3
  10. criteo_api_retailmedia_preview/model/line_item_product_status.py +7 -7
  11. criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py +273 -0
  12. criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +4 -4
  13. criteo_api_retailmedia_preview/model/report_ok_response.py +18 -18
  14. criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment.py +18 -31
  15. criteo_api_retailmedia_preview/model/{retail_media_contactlist_operation_response_attributes_attributes.py → retail_media_contactlist_amendment_attributes.py} +28 -33
  16. criteo_api_retailmedia_preview/model/retail_media_contactlist_operation.py +4 -0
  17. criteo_api_retailmedia_preview/model/retail_media_contactlist_operation_response_attributes.py +36 -20
  18. criteo_api_retailmedia_preview/model/seller_search_result.py +266 -0
  19. criteo_api_retailmedia_preview/model/{entity_resource_collection_outcome_brand_id_search_result.py → value_resource_collection_outcome_of_seller_search_result.py} +8 -8
  20. criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller.py → value_resource_of_seller_search_result.py} +8 -8
  21. criteo_api_retailmedia_preview/models/__init__.py +6 -4
  22. {criteo_api_retailmedia_sdk-0.0.250205.dist-info → criteo_api_retailmedia_sdk-0.0.250217.dist-info}/METADATA +3 -3
  23. {criteo_api_retailmedia_sdk-0.0.250205.dist-info → criteo_api_retailmedia_sdk-0.0.250217.dist-info}/RECORD +25 -23
  24. {criteo_api_retailmedia_sdk-0.0.250205.dist-info → criteo_api_retailmedia_sdk-0.0.250217.dist-info}/WHEEL +0 -0
  25. {criteo_api_retailmedia_sdk-0.0.250205.dist-info → criteo_api_retailmedia_sdk-0.0.250217.dist-info}/top_level.txt +0 -0
@@ -97,13 +97,13 @@ class ReportOkResponse(ModelNormal):
97
97
  lazy_import()
98
98
  return {
99
99
  'status': (str,), # noqa: E501
100
- 'import_request_timestamp': (int, none_type,), # noqa: E501
101
- 'number_of_products_in_the_batch': (int, none_type,), # noqa: E501
102
- 'number_of_products_upserted': (int, none_type,), # noqa: E501
103
- 'number_of_products_deleted': (int, none_type,), # noqa: E501
104
- 'number_of_products_with_errors': (int, none_type,), # noqa: E501
100
+ 'import_request_timestamp': (str, none_type,), # noqa: E501
101
+ 'number_of_products_in_the_batch': (str, none_type,), # noqa: E501
102
+ 'number_of_products_upserted': (str, none_type,), # noqa: E501
103
+ 'number_of_products_deleted': (str, none_type,), # noqa: E501
104
+ 'number_of_products_with_errors': (str, none_type,), # noqa: E501
105
105
  'error_details': ([ReportDetailErrors],), # noqa: E501
106
- 'number_of_products_with_warnings': (int, none_type,), # noqa: E501
106
+ 'number_of_products_with_warnings': (str, none_type,), # noqa: E501
107
107
  'warning_details': ([ReportDetailWarnings],), # noqa: E501
108
108
  }
109
109
 
@@ -136,13 +136,13 @@ class ReportOkResponse(ModelNormal):
136
136
 
137
137
  Args:
138
138
  status (str): The status of the operation. The operation is completed when the status is one of (VALIDATED,VALIDATED_WITH_ERRORS,FAILED)
139
- import_request_timestamp (int, none_type): The date when the original batch request was sent.
140
- number_of_products_in_the_batch (int, none_type): The number of products present in the batch.
141
- number_of_products_upserted (int, none_type): The number of products upserted.
142
- number_of_products_deleted (int, none_type): The number of products deleted.
143
- number_of_products_with_errors (int, none_type): The number of products with errors.
139
+ import_request_timestamp (str, none_type): The date when the original batch request was sent.
140
+ number_of_products_in_the_batch (str, none_type): The number of products present in the batch.
141
+ number_of_products_upserted (str, none_type): The number of products upserted.
142
+ number_of_products_deleted (str, none_type): The number of products deleted.
143
+ number_of_products_with_errors (str, none_type): The number of products with errors.
144
144
  error_details ([ReportDetailErrors]): The list of errors with details.
145
- number_of_products_with_warnings (int, none_type): The number of products with Warnings.
145
+ number_of_products_with_warnings (str, none_type): The number of products with Warnings.
146
146
  warning_details ([ReportDetailWarnings]): The list of Warnings with details.
147
147
 
148
148
  Keyword Args:
@@ -241,13 +241,13 @@ class ReportOkResponse(ModelNormal):
241
241
 
242
242
  Args:
243
243
  status (str): The status of the operation. The operation is completed when the status is one of (VALIDATED,VALIDATED_WITH_ERRORS,FAILED)
244
- import_request_timestamp (int, none_type): The date when the original batch request was sent.
245
- number_of_products_in_the_batch (int, none_type): The number of products present in the batch.
246
- number_of_products_upserted (int, none_type): The number of products upserted.
247
- number_of_products_deleted (int, none_type): The number of products deleted.
248
- number_of_products_with_errors (int, none_type): The number of products with errors.
244
+ import_request_timestamp (str, none_type): The date when the original batch request was sent.
245
+ number_of_products_in_the_batch (str, none_type): The number of products present in the batch.
246
+ number_of_products_upserted (str, none_type): The number of products upserted.
247
+ number_of_products_deleted (str, none_type): The number of products deleted.
248
+ number_of_products_with_errors (str, none_type): The number of products with errors.
249
249
  error_details ([ReportDetailErrors]): The list of errors with details.
250
- number_of_products_with_warnings (int, none_type): The number of products with Warnings.
250
+ number_of_products_with_warnings (str, none_type): The number of products with Warnings.
251
251
  warning_details ([ReportDetailWarnings]): The list of Warnings with details.
252
252
 
253
253
  Keyword Args:
@@ -29,6 +29,10 @@ 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_contactlist_amendment_attributes import RetailMediaContactlistAmendmentAttributes
34
+ globals()['RetailMediaContactlistAmendmentAttributes'] = RetailMediaContactlistAmendmentAttributes
35
+
32
36
 
33
37
  class RetailMediaContactlistAmendment(ModelNormal):
34
38
  """NOTE: This class is auto generated by OpenAPI Generator.
@@ -55,19 +59,6 @@ class RetailMediaContactlistAmendment(ModelNormal):
55
59
  """
56
60
 
57
61
  allowed_values = {
58
- ('operation',): {
59
- 'ADD': "add",
60
- 'REMOVE': "remove",
61
- },
62
- ('identifier_type',): {
63
- 'None': None,
64
- 'EMAIL': "Email",
65
- 'USERIDENTIFIER': "UserIdentifier",
66
- 'IDENTITYLINK': "IdentityLink",
67
- 'GUM': "Gum",
68
- 'CUSTOMERID': "CustomerId",
69
- 'PHONENUMBER': "PhoneNumber",
70
- },
71
62
  }
72
63
 
73
64
  validations = {
@@ -79,6 +70,7 @@ class RetailMediaContactlistAmendment(ModelNormal):
79
70
  This must be a method because a model may have properties that are
80
71
  of type self, this must run after the class is loaded
81
72
  """
73
+ lazy_import()
82
74
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
83
75
 
84
76
  _nullable = False
@@ -93,10 +85,10 @@ class RetailMediaContactlistAmendment(ModelNormal):
93
85
  openapi_types (dict): The key is attribute name
94
86
  and the value is attribute type.
95
87
  """
88
+ lazy_import()
96
89
  return {
97
- 'operation': (str,), # noqa: E501
98
- 'identifiers': ([str],), # noqa: E501
99
- 'identifier_type': (str, none_type,), # noqa: E501
90
+ 'attributes': (RetailMediaContactlistAmendmentAttributes,), # noqa: E501
91
+ 'type': (str, none_type,), # noqa: E501
100
92
  }
101
93
 
102
94
  @cached_property
@@ -105,9 +97,8 @@ class RetailMediaContactlistAmendment(ModelNormal):
105
97
 
106
98
 
107
99
  attribute_map = {
108
- 'operation': 'operation', # noqa: E501
109
- 'identifiers': 'identifiers', # noqa: E501
110
- 'identifier_type': 'identifierType', # noqa: E501
100
+ 'attributes': 'attributes', # noqa: E501
101
+ 'type': 'type', # noqa: E501
111
102
  }
112
103
 
113
104
  read_only_vars = {
@@ -117,12 +108,11 @@ class RetailMediaContactlistAmendment(ModelNormal):
117
108
 
118
109
  @classmethod
119
110
  @convert_js_args_to_python_args
120
- def _from_openapi_data(cls, operation, identifiers, *args, **kwargs): # noqa: E501
111
+ def _from_openapi_data(cls, attributes, *args, **kwargs): # noqa: E501
121
112
  """RetailMediaContactlistAmendment - a model defined in OpenAPI
122
113
 
123
114
  Args:
124
- operation (str): Whether to add or remove users
125
- identifiers ([str]): The users to add or remove, each in the schema specified
115
+ attributes (RetailMediaContactlistAmendmentAttributes):
126
116
 
127
117
  Keyword Args:
128
118
  _check_type (bool): if True, values for parameters in openapi_types
@@ -155,7 +145,7 @@ class RetailMediaContactlistAmendment(ModelNormal):
155
145
  Animal class but this time we won't travel
156
146
  through its discriminator because we passed in
157
147
  _visited_composed_classes = (Animal,)
158
- identifier_type (str, none_type): What type of identifiers are used. [optional] # noqa: E501
148
+ type (str, none_type): User List. [optional] # noqa: E501
159
149
  """
160
150
 
161
151
  _check_type = kwargs.pop('_check_type', True)
@@ -187,8 +177,7 @@ class RetailMediaContactlistAmendment(ModelNormal):
187
177
  self._configuration = _configuration
188
178
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
189
179
 
190
- self.operation = operation
191
- self.identifiers = identifiers
180
+ self.attributes = attributes
192
181
  for var_name, var_value in kwargs.items():
193
182
  if var_name not in self.attribute_map and \
194
183
  self._configuration is not None and \
@@ -209,12 +198,11 @@ class RetailMediaContactlistAmendment(ModelNormal):
209
198
  ])
210
199
 
211
200
  @convert_js_args_to_python_args
212
- def __init__(self, operation, identifiers, *args, **kwargs): # noqa: E501
201
+ def __init__(self, attributes, *args, **kwargs): # noqa: E501
213
202
  """RetailMediaContactlistAmendment - a model defined in OpenAPI
214
203
 
215
204
  Args:
216
- operation (str): Whether to add or remove users
217
- identifiers ([str]): The users to add or remove, each in the schema specified
205
+ attributes (RetailMediaContactlistAmendmentAttributes):
218
206
 
219
207
  Keyword Args:
220
208
  _check_type (bool): if True, values for parameters in openapi_types
@@ -247,7 +235,7 @@ class RetailMediaContactlistAmendment(ModelNormal):
247
235
  Animal class but this time we won't travel
248
236
  through its discriminator because we passed in
249
237
  _visited_composed_classes = (Animal,)
250
- identifier_type (str, none_type): What type of identifiers are used. [optional] # noqa: E501
238
+ type (str, none_type): User List. [optional] # noqa: E501
251
239
  """
252
240
 
253
241
  _check_type = kwargs.pop('_check_type', True)
@@ -277,8 +265,7 @@ class RetailMediaContactlistAmendment(ModelNormal):
277
265
  self._configuration = _configuration
278
266
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
279
267
 
280
- self.operation = operation
281
- self.identifiers = identifiers
268
+ self.attributes = attributes
282
269
  for var_name, var_value in kwargs.items():
283
270
  if var_name not in self.attribute_map and \
284
271
  self._configuration is not None and \
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
33
+ class RetailMediaContactlistAmendmentAttributes(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -55,6 +55,19 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
55
55
  """
56
56
 
57
57
  allowed_values = {
58
+ ('operation',): {
59
+ 'ADD': "add",
60
+ 'REMOVE': "remove",
61
+ },
62
+ ('identifier_type',): {
63
+ 'None': None,
64
+ 'EMAIL': "Email",
65
+ 'USERIDENTIFIER': "UserIdentifier",
66
+ 'IDENTITYLINK': "IdentityLink",
67
+ 'GUM': "Gum",
68
+ 'CUSTOMERID': "CustomerId",
69
+ 'PHONENUMBER': "PhoneNumber",
70
+ },
58
71
  }
59
72
 
60
73
  validations = {
@@ -81,13 +94,9 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
81
94
  and the value is attribute type.
82
95
  """
83
96
  return {
84
- 'contact_list_id': (int,), # noqa: E501
85
97
  'operation': (str,), # noqa: E501
86
- 'request_date': (datetime,), # noqa: E501
98
+ 'identifiers': ([str],), # noqa: E501
87
99
  'identifier_type': (str, none_type,), # noqa: E501
88
- 'nb_invalid_identifiers': (int, none_type,), # noqa: E501
89
- 'nb_valid_identifiers': (int, none_type,), # noqa: E501
90
- 'sample_invalid_identifiers': ([str], none_type,), # noqa: E501
91
100
  }
92
101
 
93
102
  @cached_property
@@ -96,13 +105,9 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
96
105
 
97
106
 
98
107
  attribute_map = {
99
- 'contact_list_id': 'contactListId', # noqa: E501
100
108
  'operation': 'operation', # noqa: E501
101
- 'request_date': 'requestDate', # noqa: E501
109
+ 'identifiers': 'identifiers', # noqa: E501
102
110
  'identifier_type': 'identifierType', # noqa: E501
103
- 'nb_invalid_identifiers': 'nbInvalidIdentifiers', # noqa: E501
104
- 'nb_valid_identifiers': 'nbValidIdentifiers', # noqa: E501
105
- 'sample_invalid_identifiers': 'sampleInvalidIdentifiers', # noqa: E501
106
111
  }
107
112
 
108
113
  read_only_vars = {
@@ -112,13 +117,12 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
112
117
 
113
118
  @classmethod
114
119
  @convert_js_args_to_python_args
115
- def _from_openapi_data(cls, contact_list_id, operation, request_date, *args, **kwargs): # noqa: E501
116
- """RetailMediaContactlistOperationResponseAttributesAttributes - a model defined in OpenAPI
120
+ def _from_openapi_data(cls, operation, identifiers, *args, **kwargs): # noqa: E501
121
+ """RetailMediaContactlistAmendmentAttributes - a model defined in OpenAPI
117
122
 
118
123
  Args:
119
- contact_list_id (int): The affected user list id
120
- operation (str): The action recorded
121
- request_date (datetime): When the action was recorded
124
+ operation (str): Whether to add or remove users
125
+ identifiers ([str]): The users to add or remove, each in the schema specified
122
126
 
123
127
  Keyword Args:
124
128
  _check_type (bool): if True, values for parameters in openapi_types
@@ -151,10 +155,7 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
151
155
  Animal class but this time we won't travel
152
156
  through its discriminator because we passed in
153
157
  _visited_composed_classes = (Animal,)
154
- identifier_type (str, none_type): The schema specified for of the identifiers. [optional] # noqa: E501
155
- nb_invalid_identifiers (int, none_type): How many identifiers were invalid for the specified schema. [optional] # noqa: E501
156
- nb_valid_identifiers (int, none_type): How many identifiers were valid for the specified schema. [optional] # noqa: E501
157
- sample_invalid_identifiers ([str], none_type): A sample of invalid identifiers if there is some. [optional] # noqa: E501
158
+ identifier_type (str, none_type): What type of identifiers are used. [optional] # noqa: E501
158
159
  """
159
160
 
160
161
  _check_type = kwargs.pop('_check_type', True)
@@ -186,9 +187,8 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
186
187
  self._configuration = _configuration
187
188
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
188
189
 
189
- self.contact_list_id = contact_list_id
190
190
  self.operation = operation
191
- self.request_date = request_date
191
+ self.identifiers = identifiers
192
192
  for var_name, var_value in kwargs.items():
193
193
  if var_name not in self.attribute_map and \
194
194
  self._configuration is not None and \
@@ -209,13 +209,12 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
209
209
  ])
210
210
 
211
211
  @convert_js_args_to_python_args
212
- def __init__(self, contact_list_id, operation, request_date, *args, **kwargs): # noqa: E501
213
- """RetailMediaContactlistOperationResponseAttributesAttributes - a model defined in OpenAPI
212
+ def __init__(self, operation, identifiers, *args, **kwargs): # noqa: E501
213
+ """RetailMediaContactlistAmendmentAttributes - a model defined in OpenAPI
214
214
 
215
215
  Args:
216
- contact_list_id (int): The affected user list id
217
- operation (str): The action recorded
218
- request_date (datetime): When the action was recorded
216
+ operation (str): Whether to add or remove users
217
+ identifiers ([str]): The users to add or remove, each in the schema specified
219
218
 
220
219
  Keyword Args:
221
220
  _check_type (bool): if True, values for parameters in openapi_types
@@ -248,10 +247,7 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
248
247
  Animal class but this time we won't travel
249
248
  through its discriminator because we passed in
250
249
  _visited_composed_classes = (Animal,)
251
- identifier_type (str, none_type): The schema specified for of the identifiers. [optional] # noqa: E501
252
- nb_invalid_identifiers (int, none_type): How many identifiers were invalid for the specified schema. [optional] # noqa: E501
253
- nb_valid_identifiers (int, none_type): How many identifiers were valid for the specified schema. [optional] # noqa: E501
254
- sample_invalid_identifiers ([str], none_type): A sample of invalid identifiers if there is some. [optional] # noqa: E501
250
+ identifier_type (str, none_type): What type of identifiers are used. [optional] # noqa: E501
255
251
  """
256
252
 
257
253
  _check_type = kwargs.pop('_check_type', True)
@@ -281,9 +277,8 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
281
277
  self._configuration = _configuration
282
278
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
283
279
 
284
- self.contact_list_id = contact_list_id
285
280
  self.operation = operation
286
- self.request_date = request_date
281
+ self.identifiers = identifiers
287
282
  for var_name, var_value in kwargs.items():
288
283
  if var_name not in self.attribute_map and \
289
284
  self._configuration is not None and \
@@ -94,6 +94,7 @@ class RetailMediaContactlistOperation(ModelNormal):
94
94
  'data': (RetailMediaContactlistOperationResponseAttributes,), # noqa: E501
95
95
  'errors': ([AudienceError],), # noqa: E501
96
96
  'warnings': ([AudienceWarning],), # noqa: E501
97
+ 'type': (str, none_type,), # noqa: E501
97
98
  }
98
99
 
99
100
  @cached_property
@@ -105,6 +106,7 @@ class RetailMediaContactlistOperation(ModelNormal):
105
106
  'data': 'data', # noqa: E501
106
107
  'errors': 'errors', # noqa: E501
107
108
  'warnings': 'warnings', # noqa: E501
109
+ 'type': 'type', # noqa: E501
108
110
  }
109
111
 
110
112
  read_only_vars = {
@@ -153,6 +155,7 @@ class RetailMediaContactlistOperation(ModelNormal):
153
155
  Animal class but this time we won't travel
154
156
  through its discriminator because we passed in
155
157
  _visited_composed_classes = (Animal,)
158
+ type (str, none_type): the name of the entity type. [optional] # noqa: E501
156
159
  """
157
160
 
158
161
  _check_type = kwargs.pop('_check_type', True)
@@ -246,6 +249,7 @@ class RetailMediaContactlistOperation(ModelNormal):
246
249
  Animal class but this time we won't travel
247
250
  through its discriminator because we passed in
248
251
  _visited_composed_classes = (Animal,)
252
+ type (str, none_type): the name of the entity type. [optional] # noqa: E501
249
253
  """
250
254
 
251
255
  _check_type = kwargs.pop('_check_type', True)
@@ -29,10 +29,6 @@ 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_contactlist_operation_response_attributes_attributes import RetailMediaContactlistOperationResponseAttributesAttributes
34
- globals()['RetailMediaContactlistOperationResponseAttributesAttributes'] = RetailMediaContactlistOperationResponseAttributesAttributes
35
-
36
32
 
37
33
  class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
38
34
  """NOTE: This class is auto generated by OpenAPI Generator.
@@ -70,7 +66,6 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
70
66
  This must be a method because a model may have properties that are
71
67
  of type self, this must run after the class is loaded
72
68
  """
73
- lazy_import()
74
69
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
75
70
 
76
71
  _nullable = False
@@ -85,10 +80,14 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
85
80
  openapi_types (dict): The key is attribute name
86
81
  and the value is attribute type.
87
82
  """
88
- lazy_import()
89
83
  return {
90
- 'type': (str,), # noqa: E501
91
- 'attributes': (RetailMediaContactlistOperationResponseAttributesAttributes,), # noqa: E501
84
+ 'contact_list_id': (int,), # noqa: E501
85
+ 'operation': (str,), # noqa: E501
86
+ 'request_date': (datetime,), # noqa: E501
87
+ 'identifier_type': (str, none_type,), # noqa: E501
88
+ 'nb_invalid_identifiers': (int, none_type,), # noqa: E501
89
+ 'nb_valid_identifiers': (int, none_type,), # noqa: E501
90
+ 'sample_invalid_identifiers': ([str], none_type,), # noqa: E501
92
91
  }
93
92
 
94
93
  @cached_property
@@ -97,8 +96,13 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
97
96
 
98
97
 
99
98
  attribute_map = {
100
- 'type': 'type', # noqa: E501
101
- 'attributes': 'attributes', # noqa: E501
99
+ 'contact_list_id': 'contactListId', # noqa: E501
100
+ 'operation': 'operation', # noqa: E501
101
+ 'request_date': 'requestDate', # noqa: E501
102
+ 'identifier_type': 'identifierType', # noqa: E501
103
+ 'nb_invalid_identifiers': 'nbInvalidIdentifiers', # noqa: E501
104
+ 'nb_valid_identifiers': 'nbValidIdentifiers', # noqa: E501
105
+ 'sample_invalid_identifiers': 'sampleInvalidIdentifiers', # noqa: E501
102
106
  }
103
107
 
104
108
  read_only_vars = {
@@ -108,12 +112,13 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
108
112
 
109
113
  @classmethod
110
114
  @convert_js_args_to_python_args
111
- def _from_openapi_data(cls, type, attributes, *args, **kwargs): # noqa: E501
115
+ def _from_openapi_data(cls, contact_list_id, operation, request_date, *args, **kwargs): # noqa: E501
112
116
  """RetailMediaContactlistOperationResponseAttributes - a model defined in OpenAPI
113
117
 
114
118
  Args:
115
- type (str): the name of the entity type
116
- attributes (RetailMediaContactlistOperationResponseAttributesAttributes):
119
+ contact_list_id (int): The affected user list id
120
+ operation (str): The action recorded
121
+ request_date (datetime): When the action was recorded
117
122
 
118
123
  Keyword Args:
119
124
  _check_type (bool): if True, values for parameters in openapi_types
@@ -146,6 +151,10 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
146
151
  Animal class but this time we won't travel
147
152
  through its discriminator because we passed in
148
153
  _visited_composed_classes = (Animal,)
154
+ identifier_type (str, none_type): The schema specified for of the identifiers. [optional] # noqa: E501
155
+ nb_invalid_identifiers (int, none_type): How many identifiers were invalid for the specified schema. [optional] # noqa: E501
156
+ nb_valid_identifiers (int, none_type): How many identifiers were valid for the specified schema. [optional] # noqa: E501
157
+ sample_invalid_identifiers ([str], none_type): A sample of invalid identifiers if there is some. [optional] # noqa: E501
149
158
  """
150
159
 
151
160
  _check_type = kwargs.pop('_check_type', True)
@@ -177,8 +186,9 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
177
186
  self._configuration = _configuration
178
187
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
179
188
 
180
- self.type = type
181
- self.attributes = attributes
189
+ self.contact_list_id = contact_list_id
190
+ self.operation = operation
191
+ self.request_date = request_date
182
192
  for var_name, var_value in kwargs.items():
183
193
  if var_name not in self.attribute_map and \
184
194
  self._configuration is not None and \
@@ -199,12 +209,13 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
199
209
  ])
200
210
 
201
211
  @convert_js_args_to_python_args
202
- def __init__(self, type, attributes, *args, **kwargs): # noqa: E501
212
+ def __init__(self, contact_list_id, operation, request_date, *args, **kwargs): # noqa: E501
203
213
  """RetailMediaContactlistOperationResponseAttributes - a model defined in OpenAPI
204
214
 
205
215
  Args:
206
- type (str): the name of the entity type
207
- attributes (RetailMediaContactlistOperationResponseAttributesAttributes):
216
+ contact_list_id (int): The affected user list id
217
+ operation (str): The action recorded
218
+ request_date (datetime): When the action was recorded
208
219
 
209
220
  Keyword Args:
210
221
  _check_type (bool): if True, values for parameters in openapi_types
@@ -237,6 +248,10 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
237
248
  Animal class but this time we won't travel
238
249
  through its discriminator because we passed in
239
250
  _visited_composed_classes = (Animal,)
251
+ identifier_type (str, none_type): The schema specified for of the identifiers. [optional] # noqa: E501
252
+ nb_invalid_identifiers (int, none_type): How many identifiers were invalid for the specified schema. [optional] # noqa: E501
253
+ nb_valid_identifiers (int, none_type): How many identifiers were valid for the specified schema. [optional] # noqa: E501
254
+ sample_invalid_identifiers ([str], none_type): A sample of invalid identifiers if there is some. [optional] # noqa: E501
240
255
  """
241
256
 
242
257
  _check_type = kwargs.pop('_check_type', True)
@@ -266,8 +281,9 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
266
281
  self._configuration = _configuration
267
282
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
268
283
 
269
- self.type = type
270
- self.attributes = attributes
284
+ self.contact_list_id = contact_list_id
285
+ self.operation = operation
286
+ self.request_date = request_date
271
287
  for var_name, var_value in kwargs.items():
272
288
  if var_name not in self.attribute_map and \
273
289
  self._configuration is not None and \