criteo-api-retailmedia-sdk 0.0.250317__py3-none-any.whl → 0.0.250327__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.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/campaign_api.py +635 -41
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/brand_catalog_request_v2.py +284 -0
- criteo_api_retailmedia_preview/model/{external_catalog_status.py → catalog_status_v2.py} +15 -29
- criteo_api_retailmedia_preview/model/catalog_status_v2_response.py +281 -0
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py +280 -0
- criteo_api_retailmedia_preview/model/entity_resource_line_item_keyword_review_report.py +270 -0
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py → json_api_body_without_id_of_brand_catalog_request_v2_and_brand_catalog_request_v2.py} +10 -16
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_seller_catalog_request_and_seller_catalog_request.py → json_api_body_without_id_of_seller_catalog_request_v2_and_seller_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_request_of_seller_catalog_request.py → json_api_request_of_brand_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{seller_catalog_request.py → json_api_request_of_seller_catalog_request_v2.py} +9 -9
- criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +311 -0
- criteo_api_retailmedia_preview/model/partner_billing_report_status_v1.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_catalog_status_v2.py +277 -0
- criteo_api_retailmedia_preview/model/retail_media_keywords_review.py +271 -0
- criteo_api_retailmedia_preview/model/retail_media_keywords_review_result.py +271 -0
- criteo_api_retailmedia_preview/model/review_set_state.py +278 -0
- criteo_api_retailmedia_preview/model/seller_catalog_request_v2.py +286 -0
- criteo_api_retailmedia_preview/model/{seller_identifier.py → seller_identifier_v2.py} +3 -3
- criteo_api_retailmedia_preview/model/value_resource_input_retail_media_keywords_review.py +262 -0
- criteo_api_retailmedia_preview/model/{json_api_single_response_of_catalog_status.py → value_resource_outcome_retail_media_keywords_review_result.py} +22 -35
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py +266 -0
- criteo_api_retailmedia_preview/models/__init__.py +20 -7
- {criteo_api_retailmedia_sdk-0.0.250317.dist-info → criteo_api_retailmedia_sdk-0.0.250327.dist-info}/METADATA +4 -4
- {criteo_api_retailmedia_sdk-0.0.250317.dist-info → criteo_api_retailmedia_sdk-0.0.250327.dist-info}/RECORD +30 -17
- {criteo_api_retailmedia_sdk-0.0.250317.dist-info → criteo_api_retailmedia_sdk-0.0.250327.dist-info}/WHEEL +1 -1
- {criteo_api_retailmedia_sdk-0.0.250317.dist-info → criteo_api_retailmedia_sdk-0.0.250327.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,270 @@
|
|
|
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.line_item_keyword_review_report import LineItemKeywordReviewReport
|
|
34
|
+
globals()['LineItemKeywordReviewReport'] = LineItemKeywordReviewReport
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class EntityResourceLineItemKeywordReviewReport(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
|
+
additional_properties_type = None
|
|
68
|
+
|
|
69
|
+
_nullable = False
|
|
70
|
+
|
|
71
|
+
@cached_property
|
|
72
|
+
def openapi_types():
|
|
73
|
+
"""
|
|
74
|
+
This must be a method because a model may have properties that are
|
|
75
|
+
of type self, this must run after the class is loaded
|
|
76
|
+
|
|
77
|
+
Returns
|
|
78
|
+
openapi_types (dict): The key is attribute name
|
|
79
|
+
and the value is attribute type.
|
|
80
|
+
"""
|
|
81
|
+
lazy_import()
|
|
82
|
+
return {
|
|
83
|
+
'id': (str, none_type,), # noqa: E501
|
|
84
|
+
'type': (str, none_type,), # noqa: E501
|
|
85
|
+
'attributes': (LineItemKeywordReviewReport,), # noqa: E501
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@cached_property
|
|
89
|
+
def discriminator():
|
|
90
|
+
return None
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
attribute_map = {
|
|
94
|
+
'id': 'id', # noqa: E501
|
|
95
|
+
'type': 'type', # noqa: E501
|
|
96
|
+
'attributes': 'attributes', # noqa: E501
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
read_only_vars = {
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
_composed_schemas = {}
|
|
103
|
+
|
|
104
|
+
@classmethod
|
|
105
|
+
@convert_js_args_to_python_args
|
|
106
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
107
|
+
"""EntityResourceLineItemKeywordReviewReport - a model defined in OpenAPI
|
|
108
|
+
|
|
109
|
+
Keyword Args:
|
|
110
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
111
|
+
will be type checked and a TypeError will be
|
|
112
|
+
raised if the wrong type is input.
|
|
113
|
+
Defaults to True
|
|
114
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
115
|
+
drill down to the model in received_data
|
|
116
|
+
when deserializing a response
|
|
117
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
118
|
+
are serialized names, as specified in the OpenAPI document.
|
|
119
|
+
False if the variable names in the input data
|
|
120
|
+
are pythonic names, e.g. snake case (default)
|
|
121
|
+
_configuration (Configuration): the instance to use when
|
|
122
|
+
deserializing a file_type parameter.
|
|
123
|
+
If passed, type conversion is attempted
|
|
124
|
+
If omitted no type conversion is done.
|
|
125
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
126
|
+
classes that we have traveled through so that
|
|
127
|
+
if we see that class again we will not use its
|
|
128
|
+
discriminator again.
|
|
129
|
+
When traveling through a discriminator, the
|
|
130
|
+
composed schema that is
|
|
131
|
+
is traveled through is added to this set.
|
|
132
|
+
For example if Animal has a discriminator
|
|
133
|
+
petType and we pass in "Dog", and the class Dog
|
|
134
|
+
allOf includes Animal, we move through Animal
|
|
135
|
+
once using the discriminator, and pick Dog.
|
|
136
|
+
Then in Dog, we will make an instance of the
|
|
137
|
+
Animal class but this time we won't travel
|
|
138
|
+
through its discriminator because we passed in
|
|
139
|
+
_visited_composed_classes = (Animal,)
|
|
140
|
+
id (str, none_type): Unique id of the entity.. [optional] # noqa: E501
|
|
141
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
142
|
+
attributes (LineItemKeywordReviewReport): [optional] # noqa: E501
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
146
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
147
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
148
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
149
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
150
|
+
|
|
151
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
152
|
+
|
|
153
|
+
if args:
|
|
154
|
+
for arg in args:
|
|
155
|
+
if isinstance(arg, dict):
|
|
156
|
+
kwargs.update(arg)
|
|
157
|
+
else:
|
|
158
|
+
raise ApiTypeError(
|
|
159
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
160
|
+
args,
|
|
161
|
+
self.__class__.__name__,
|
|
162
|
+
),
|
|
163
|
+
path_to_item=_path_to_item,
|
|
164
|
+
valid_classes=(self.__class__,),
|
|
165
|
+
)
|
|
166
|
+
|
|
167
|
+
self._data_store = {}
|
|
168
|
+
self._check_type = _check_type
|
|
169
|
+
self._spec_property_naming = _spec_property_naming
|
|
170
|
+
self._path_to_item = _path_to_item
|
|
171
|
+
self._configuration = _configuration
|
|
172
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
173
|
+
|
|
174
|
+
for var_name, var_value in kwargs.items():
|
|
175
|
+
if var_name not in self.attribute_map and \
|
|
176
|
+
self._configuration is not None and \
|
|
177
|
+
self._configuration.discard_unknown_keys and \
|
|
178
|
+
self.additional_properties_type is None:
|
|
179
|
+
# discard variable.
|
|
180
|
+
continue
|
|
181
|
+
setattr(self, var_name, var_value)
|
|
182
|
+
return self
|
|
183
|
+
|
|
184
|
+
required_properties = set([
|
|
185
|
+
'_data_store',
|
|
186
|
+
'_check_type',
|
|
187
|
+
'_spec_property_naming',
|
|
188
|
+
'_path_to_item',
|
|
189
|
+
'_configuration',
|
|
190
|
+
'_visited_composed_classes',
|
|
191
|
+
])
|
|
192
|
+
|
|
193
|
+
@convert_js_args_to_python_args
|
|
194
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
195
|
+
"""EntityResourceLineItemKeywordReviewReport - a model defined in OpenAPI
|
|
196
|
+
|
|
197
|
+
Keyword Args:
|
|
198
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
199
|
+
will be type checked and a TypeError will be
|
|
200
|
+
raised if the wrong type is input.
|
|
201
|
+
Defaults to True
|
|
202
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
203
|
+
drill down to the model in received_data
|
|
204
|
+
when deserializing a response
|
|
205
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
206
|
+
are serialized names, as specified in the OpenAPI document.
|
|
207
|
+
False if the variable names in the input data
|
|
208
|
+
are pythonic names, e.g. snake case (default)
|
|
209
|
+
_configuration (Configuration): the instance to use when
|
|
210
|
+
deserializing a file_type parameter.
|
|
211
|
+
If passed, type conversion is attempted
|
|
212
|
+
If omitted no type conversion is done.
|
|
213
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
214
|
+
classes that we have traveled through so that
|
|
215
|
+
if we see that class again we will not use its
|
|
216
|
+
discriminator again.
|
|
217
|
+
When traveling through a discriminator, the
|
|
218
|
+
composed schema that is
|
|
219
|
+
is traveled through is added to this set.
|
|
220
|
+
For example if Animal has a discriminator
|
|
221
|
+
petType and we pass in "Dog", and the class Dog
|
|
222
|
+
allOf includes Animal, we move through Animal
|
|
223
|
+
once using the discriminator, and pick Dog.
|
|
224
|
+
Then in Dog, we will make an instance of the
|
|
225
|
+
Animal class but this time we won't travel
|
|
226
|
+
through its discriminator because we passed in
|
|
227
|
+
_visited_composed_classes = (Animal,)
|
|
228
|
+
id (str, none_type): Unique id of the entity.. [optional] # noqa: E501
|
|
229
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
230
|
+
attributes (LineItemKeywordReviewReport): [optional] # noqa: E501
|
|
231
|
+
"""
|
|
232
|
+
|
|
233
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
234
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
235
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
236
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
237
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
238
|
+
|
|
239
|
+
if args:
|
|
240
|
+
for arg in args:
|
|
241
|
+
if isinstance(arg, dict):
|
|
242
|
+
kwargs.update(arg)
|
|
243
|
+
else:
|
|
244
|
+
raise ApiTypeError(
|
|
245
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
246
|
+
args,
|
|
247
|
+
self.__class__.__name__,
|
|
248
|
+
),
|
|
249
|
+
path_to_item=_path_to_item,
|
|
250
|
+
valid_classes=(self.__class__,),
|
|
251
|
+
)
|
|
252
|
+
|
|
253
|
+
self._data_store = {}
|
|
254
|
+
self._check_type = _check_type
|
|
255
|
+
self._spec_property_naming = _spec_property_naming
|
|
256
|
+
self._path_to_item = _path_to_item
|
|
257
|
+
self._configuration = _configuration
|
|
258
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
259
|
+
|
|
260
|
+
for var_name, var_value in kwargs.items():
|
|
261
|
+
if var_name not in self.attribute_map and \
|
|
262
|
+
self._configuration is not None and \
|
|
263
|
+
self._configuration.discard_unknown_keys and \
|
|
264
|
+
self.additional_properties_type is None:
|
|
265
|
+
# discard variable.
|
|
266
|
+
continue
|
|
267
|
+
setattr(self, var_name, var_value)
|
|
268
|
+
if var_name in self.read_only_vars:
|
|
269
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
270
|
+
f"class with read only attributes.")
|
|
@@ -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.brand_catalog_request_v2 import BrandCatalogRequestV2
|
|
34
|
+
globals()['BrandCatalogRequestV2'] = BrandCatalogRequestV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2(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': (BrandCatalogRequestV2,), # 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,11 +108,10 @@ 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, *args, **kwargs): # noqa: E501
|
|
112
|
+
"""JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2 - a model defined in OpenAPI
|
|
115
113
|
|
|
116
114
|
Args:
|
|
117
|
-
id (str):
|
|
118
115
|
type (str):
|
|
119
116
|
|
|
120
117
|
Keyword Args:
|
|
@@ -148,7 +145,7 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
|
|
|
148
145
|
Animal class but this time we won't travel
|
|
149
146
|
through its discriminator because we passed in
|
|
150
147
|
_visited_composed_classes = (Animal,)
|
|
151
|
-
attributes (
|
|
148
|
+
attributes (BrandCatalogRequestV2): [optional] # noqa: E501
|
|
152
149
|
"""
|
|
153
150
|
|
|
154
151
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -180,7 +177,6 @@ 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
|
|
185
181
|
for var_name, var_value in kwargs.items():
|
|
186
182
|
if var_name not in self.attribute_map and \
|
|
@@ -202,11 +198,10 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
|
|
|
202
198
|
])
|
|
203
199
|
|
|
204
200
|
@convert_js_args_to_python_args
|
|
205
|
-
def __init__(self,
|
|
206
|
-
"""
|
|
201
|
+
def __init__(self, type, *args, **kwargs): # noqa: E501
|
|
202
|
+
"""JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2 - a model defined in OpenAPI
|
|
207
203
|
|
|
208
204
|
Args:
|
|
209
|
-
id (str):
|
|
210
205
|
type (str):
|
|
211
206
|
|
|
212
207
|
Keyword Args:
|
|
@@ -240,7 +235,7 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
|
|
|
240
235
|
Animal class but this time we won't travel
|
|
241
236
|
through its discriminator because we passed in
|
|
242
237
|
_visited_composed_classes = (Animal,)
|
|
243
|
-
attributes (
|
|
238
|
+
attributes (BrandCatalogRequestV2): [optional] # noqa: E501
|
|
244
239
|
"""
|
|
245
240
|
|
|
246
241
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -270,7 +265,6 @@ class JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus(ModelNormal):
|
|
|
270
265
|
self._configuration = _configuration
|
|
271
266
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
272
267
|
|
|
273
|
-
self.id = id
|
|
274
268
|
self.type = type
|
|
275
269
|
for var_name, var_value in kwargs.items():
|
|
276
270
|
if var_name not in self.attribute_map 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.seller_catalog_request_v2 import SellerCatalogRequestV2
|
|
34
|
+
globals()['SellerCatalogRequestV2'] = SellerCatalogRequestV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -88,7 +88,7 @@ class JsonApiBodyWithoutIdOfSellerCatalogRequestAndSellerCatalogRequest(ModelNor
|
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
90
|
'type': (str,), # noqa: E501
|
|
91
|
-
'attributes': (
|
|
91
|
+
'attributes': (SellerCatalogRequestV2,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -109,7 +109,7 @@ class JsonApiBodyWithoutIdOfSellerCatalogRequestAndSellerCatalogRequest(ModelNor
|
|
|
109
109
|
@classmethod
|
|
110
110
|
@convert_js_args_to_python_args
|
|
111
111
|
def _from_openapi_data(cls, type, *args, **kwargs): # noqa: E501
|
|
112
|
-
"""
|
|
112
|
+
"""JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2 - a model defined in OpenAPI
|
|
113
113
|
|
|
114
114
|
Args:
|
|
115
115
|
type (str):
|
|
@@ -145,7 +145,7 @@ class JsonApiBodyWithoutIdOfSellerCatalogRequestAndSellerCatalogRequest(ModelNor
|
|
|
145
145
|
Animal class but this time we won't travel
|
|
146
146
|
through its discriminator because we passed in
|
|
147
147
|
_visited_composed_classes = (Animal,)
|
|
148
|
-
attributes (
|
|
148
|
+
attributes (SellerCatalogRequestV2): [optional] # noqa: E501
|
|
149
149
|
"""
|
|
150
150
|
|
|
151
151
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -199,7 +199,7 @@ class JsonApiBodyWithoutIdOfSellerCatalogRequestAndSellerCatalogRequest(ModelNor
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, type, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2 - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Args:
|
|
205
205
|
type (str):
|
|
@@ -235,7 +235,7 @@ class JsonApiBodyWithoutIdOfSellerCatalogRequestAndSellerCatalogRequest(ModelNor
|
|
|
235
235
|
Animal class but this time we won't travel
|
|
236
236
|
through its discriminator because we passed in
|
|
237
237
|
_visited_composed_classes = (Animal,)
|
|
238
|
-
attributes (
|
|
238
|
+
attributes (SellerCatalogRequestV2): [optional] # noqa: E501
|
|
239
239
|
"""
|
|
240
240
|
|
|
241
241
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -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.json_api_body_without_id_of_brand_catalog_request_v2_and_brand_catalog_request_v2 import JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2
|
|
34
|
+
globals()['JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2'] = JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class JsonApiRequestOfBrandCatalogRequestV2(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,7 +87,7 @@ class JsonApiRequestOfSellerCatalogRequest(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'data': (
|
|
90
|
+
'data': (JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -107,7 +107,7 @@ class JsonApiRequestOfSellerCatalogRequest(ModelNormal):
|
|
|
107
107
|
@classmethod
|
|
108
108
|
@convert_js_args_to_python_args
|
|
109
109
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
-
"""
|
|
110
|
+
"""JsonApiRequestOfBrandCatalogRequestV2 - a model defined in OpenAPI
|
|
111
111
|
|
|
112
112
|
Keyword Args:
|
|
113
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -140,7 +140,7 @@ class JsonApiRequestOfSellerCatalogRequest(ModelNormal):
|
|
|
140
140
|
Animal class but this time we won't travel
|
|
141
141
|
through its discriminator because we passed in
|
|
142
142
|
_visited_composed_classes = (Animal,)
|
|
143
|
-
data (
|
|
143
|
+
data (JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2): [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -193,7 +193,7 @@ class JsonApiRequestOfSellerCatalogRequest(ModelNormal):
|
|
|
193
193
|
|
|
194
194
|
@convert_js_args_to_python_args
|
|
195
195
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
196
|
+
"""JsonApiRequestOfBrandCatalogRequestV2 - a model defined in OpenAPI
|
|
197
197
|
|
|
198
198
|
Keyword Args:
|
|
199
199
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -226,7 +226,7 @@ class JsonApiRequestOfSellerCatalogRequest(ModelNormal):
|
|
|
226
226
|
Animal class but this time we won't travel
|
|
227
227
|
through its discriminator because we passed in
|
|
228
228
|
_visited_composed_classes = (Animal,)
|
|
229
|
-
data (
|
|
229
|
+
data (JsonApiBodyWithoutIdOfBrandCatalogRequestV2AndBrandCatalogRequestV2): [optional] # noqa: E501
|
|
230
230
|
"""
|
|
231
231
|
|
|
232
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -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.json_api_body_without_id_of_seller_catalog_request_v2_and_seller_catalog_request_v2 import JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2
|
|
34
|
+
globals()['JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2'] = JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class JsonApiRequestOfSellerCatalogRequestV2(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,7 +87,7 @@ class SellerCatalogRequest(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'
|
|
90
|
+
'data': (JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -96,7 +96,7 @@ class SellerCatalogRequest(ModelNormal):
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
attribute_map = {
|
|
99
|
-
'
|
|
99
|
+
'data': 'data', # noqa: E501
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
read_only_vars = {
|
|
@@ -107,7 +107,7 @@ class SellerCatalogRequest(ModelNormal):
|
|
|
107
107
|
@classmethod
|
|
108
108
|
@convert_js_args_to_python_args
|
|
109
109
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
-
"""
|
|
110
|
+
"""JsonApiRequestOfSellerCatalogRequestV2 - a model defined in OpenAPI
|
|
111
111
|
|
|
112
112
|
Keyword Args:
|
|
113
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -140,7 +140,7 @@ class SellerCatalogRequest(ModelNormal):
|
|
|
140
140
|
Animal class but this time we won't travel
|
|
141
141
|
through its discriminator because we passed in
|
|
142
142
|
_visited_composed_classes = (Animal,)
|
|
143
|
-
|
|
143
|
+
data (JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2): [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -193,7 +193,7 @@ class SellerCatalogRequest(ModelNormal):
|
|
|
193
193
|
|
|
194
194
|
@convert_js_args_to_python_args
|
|
195
195
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
196
|
+
"""JsonApiRequestOfSellerCatalogRequestV2 - a model defined in OpenAPI
|
|
197
197
|
|
|
198
198
|
Keyword Args:
|
|
199
199
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -226,7 +226,7 @@ class SellerCatalogRequest(ModelNormal):
|
|
|
226
226
|
Animal class but this time we won't travel
|
|
227
227
|
through its discriminator because we passed in
|
|
228
228
|
_visited_composed_classes = (Animal,)
|
|
229
|
-
|
|
229
|
+
data (JsonApiBodyWithoutIdOfSellerCatalogRequestV2AndSellerCatalogRequestV2): [optional] # noqa: E501
|
|
230
230
|
"""
|
|
231
231
|
|
|
232
232
|
_check_type = kwargs.pop('_check_type', True)
|