criteo-api-retailmedia-sdk 2023.10.0.240404__py3-none-any.whl → 2023.10.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.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- {criteo_api_retailmedia_sdk-2023.10.0.240404.dist-info → criteo_api_retailmedia_sdk-2023.10.0.240515.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2023.10.0.240404.dist-info → criteo_api_retailmedia_sdk-2023.10.0.240515.dist-info}/RECORD +34 -30
- criteo_api_retailmedia_v2023_10/__init__.py +1 -1
- criteo_api_retailmedia_v2023_10/api/campaign_api.py +38 -48
- criteo_api_retailmedia_v2023_10/api_client.py +1 -1
- criteo_api_retailmedia_v2023_10/configuration.py +1 -1
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_add_remove_keyword_model.py → add_remove_keyword_model.py} +12 -19
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_set_bids_model.py → add_remove_keywords_model.py} +9 -18
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_set_bids_model_request.py → add_remove_keywords_model_request.py} +9 -16
- criteo_api_retailmedia_v2023_10/model/add_remove_keywords_model_resource.py +270 -0
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_proposal_status_model_resource.py → approval_status_model.py} +86 -77
- criteo_api_retailmedia_v2023_10/model/async_campaigns_report.py +24 -13
- criteo_api_retailmedia_v2023_10/model/async_line_items_report.py +24 -13
- criteo_api_retailmedia_v2023_10/model/async_revenue_report.py +120 -45
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_input_keywords_model.py → input_keywords_model.py} +4 -16
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_keyword_data_model.py → keyword_data_model.py} +19 -37
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_keywords_model.py → keywords_model.py} +9 -18
- criteo_api_retailmedia_v2023_10/model/keywords_model_resource.py +270 -0
- criteo_api_retailmedia_v2023_10/model/keywords_model_response.py +274 -0
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_keywords_model_resource.py → match_type_model.py} +85 -77
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_set_bids_model_resource.py → negotiation_state_model.py} +87 -77
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_proposal_status_model.py → proposal_status_model.py} +22 -50
- criteo_api_retailmedia_v2023_10/model/proposal_status_model_resource.py +270 -0
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_resource_outcome.py → proposal_status_model_response.py} +18 -23
- criteo_api_retailmedia_v2023_10/model/resource_outcome.py +268 -0
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_add_remove_keywords_model_resource.py → review_state_model.py} +88 -77
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_problem_details.py → rmca_common_problem.py} +41 -30
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_set_bid_model.py → set_bid_model.py} +4 -10
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_add_remove_keywords_model.py → set_bids_model.py} +9 -18
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_add_remove_keywords_model_request.py → set_bids_model_request.py} +9 -16
- criteo_api_retailmedia_v2023_10/model/set_bids_model_resource.py +270 -0
- criteo_api_retailmedia_v2023_10/models/__init__.py +22 -18
- criteo_api_retailmedia_v2023_10/model/retail_media_externalv1_keywords_model_response.py +0 -285
- criteo_api_retailmedia_v2023_10/model/retail_media_externalv1_proposal_status_model_response.py +0 -285
- {criteo_api_retailmedia_sdk-2023.10.0.240404.dist-info → criteo_api_retailmedia_sdk-2023.10.0.240515.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-2023.10.0.240404.dist-info → criteo_api_retailmedia_sdk-2023.10.0.240515.dist-info}/top_level.txt +0 -0
|
@@ -29,12 +29,8 @@ from criteo_api_retailmedia_v2023_10.model_utils import ( # noqa: F401
|
|
|
29
29
|
from criteo_api_retailmedia_v2023_10.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_10.model.retail_media_externalv1_add_remove_keywords_model import RetailMediaExternalv1AddRemoveKeywordsModel
|
|
34
|
-
globals()['RetailMediaExternalv1AddRemoveKeywordsModel'] = RetailMediaExternalv1AddRemoveKeywordsModel
|
|
35
32
|
|
|
36
|
-
|
|
37
|
-
class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
33
|
+
class ReviewStateModel(ModelSimple):
|
|
38
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
35
|
Ref: https://openapi-generator.tech
|
|
40
36
|
|
|
@@ -45,10 +41,6 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
45
41
|
and the for var_name this is (var_name,). The value is a dict
|
|
46
42
|
with a capitalized key describing the allowed value and an allowed
|
|
47
43
|
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
44
|
validations (dict): The key is the tuple path to the attribute
|
|
53
45
|
and the for var_name this is (var_name,). The value is a dict
|
|
54
46
|
that stores validations for max_length, min_length, max_items,
|
|
@@ -59,19 +51,20 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
59
51
|
"""
|
|
60
52
|
|
|
61
53
|
allowed_values = {
|
|
54
|
+
('value',): {
|
|
55
|
+
'INREVIEW': "InReview",
|
|
56
|
+
'RECOMMENDED': "Recommended",
|
|
57
|
+
'APPROVED': "Approved",
|
|
58
|
+
'AUTOAPPROVED': "AutoApproved",
|
|
59
|
+
'REJECTED': "Rejected",
|
|
60
|
+
'AUTOREJECTED': "AutoRejected",
|
|
61
|
+
},
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
validations = {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
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
|
|
67
|
+
additional_properties_type = None
|
|
75
68
|
|
|
76
69
|
_nullable = False
|
|
77
70
|
|
|
@@ -85,11 +78,8 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
85
78
|
openapi_types (dict): The key is attribute name
|
|
86
79
|
and the value is attribute type.
|
|
87
80
|
"""
|
|
88
|
-
lazy_import()
|
|
89
81
|
return {
|
|
90
|
-
'
|
|
91
|
-
'id': (str, none_type,), # noqa: E501
|
|
92
|
-
'attributes': (RetailMediaExternalv1AddRemoveKeywordsModel,), # noqa: E501
|
|
82
|
+
'value': (str,),
|
|
93
83
|
}
|
|
94
84
|
|
|
95
85
|
@cached_property
|
|
@@ -97,26 +87,32 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
97
87
|
return None
|
|
98
88
|
|
|
99
89
|
|
|
100
|
-
attribute_map = {
|
|
101
|
-
'type': 'type', # noqa: E501
|
|
102
|
-
'id': 'id', # noqa: E501
|
|
103
|
-
'attributes': 'attributes', # noqa: E501
|
|
104
|
-
}
|
|
90
|
+
attribute_map = {}
|
|
105
91
|
|
|
106
|
-
read_only_vars =
|
|
107
|
-
}
|
|
92
|
+
read_only_vars = set()
|
|
108
93
|
|
|
109
|
-
_composed_schemas =
|
|
94
|
+
_composed_schemas = None
|
|
95
|
+
|
|
96
|
+
required_properties = set([
|
|
97
|
+
'_data_store',
|
|
98
|
+
'_check_type',
|
|
99
|
+
'_spec_property_naming',
|
|
100
|
+
'_path_to_item',
|
|
101
|
+
'_configuration',
|
|
102
|
+
'_visited_composed_classes',
|
|
103
|
+
])
|
|
110
104
|
|
|
111
|
-
@classmethod
|
|
112
105
|
@convert_js_args_to_python_args
|
|
113
|
-
def
|
|
114
|
-
"""
|
|
106
|
+
def __init__(self, *args, **kwargs):
|
|
107
|
+
"""ReviewStateModel - a model defined in OpenAPI
|
|
108
|
+
|
|
109
|
+
Note that value can be passed either in args or in kwargs, but not in both.
|
|
115
110
|
|
|
116
111
|
Args:
|
|
117
|
-
|
|
112
|
+
args[0] (str): The state of a keyword in the context of a line item.., must be one of ["InReview", "Recommended", "Approved", "AutoApproved", "Rejected", "AutoRejected", ] # noqa: E501
|
|
118
113
|
|
|
119
114
|
Keyword Args:
|
|
115
|
+
value (str): The state of a keyword in the context of a line item.., must be one of ["InReview", "Recommended", "Approved", "AutoApproved", "Rejected", "AutoRejected", ] # noqa: E501
|
|
120
116
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
121
117
|
will be type checked and a TypeError will be
|
|
122
118
|
raised if the wrong type is input.
|
|
@@ -147,18 +143,27 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
147
143
|
Animal class but this time we won't travel
|
|
148
144
|
through its discriminator because we passed in
|
|
149
145
|
_visited_composed_classes = (Animal,)
|
|
150
|
-
id (str, none_type): [optional] # noqa: E501
|
|
151
|
-
attributes (RetailMediaExternalv1AddRemoveKeywordsModel): [optional] # noqa: E501
|
|
152
146
|
"""
|
|
147
|
+
# required up here when default value is not given
|
|
148
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
149
|
+
|
|
150
|
+
if 'value' in kwargs:
|
|
151
|
+
value = kwargs.pop('value')
|
|
152
|
+
elif args:
|
|
153
|
+
args = list(args)
|
|
154
|
+
value = args.pop(0)
|
|
155
|
+
else:
|
|
156
|
+
raise ApiTypeError(
|
|
157
|
+
"value is required, but not passed in args or kwargs and doesn't have default",
|
|
158
|
+
path_to_item=_path_to_item,
|
|
159
|
+
valid_classes=(self.__class__,),
|
|
160
|
+
)
|
|
153
161
|
|
|
154
162
|
_check_type = kwargs.pop('_check_type', True)
|
|
155
|
-
_spec_property_naming = kwargs.pop('_spec_property_naming',
|
|
156
|
-
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
163
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
157
164
|
_configuration = kwargs.pop('_configuration', None)
|
|
158
165
|
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
159
166
|
|
|
160
|
-
self = super(OpenApiModel, cls).__new__(cls)
|
|
161
|
-
|
|
162
167
|
if args:
|
|
163
168
|
for arg in args:
|
|
164
169
|
if isinstance(arg, dict):
|
|
@@ -179,35 +184,29 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
179
184
|
self._path_to_item = _path_to_item
|
|
180
185
|
self._configuration = _configuration
|
|
181
186
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
187
|
+
self.value = value
|
|
188
|
+
if kwargs:
|
|
189
|
+
raise ApiTypeError(
|
|
190
|
+
"Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % (
|
|
191
|
+
kwargs,
|
|
192
|
+
self.__class__.__name__,
|
|
193
|
+
),
|
|
194
|
+
path_to_item=_path_to_item,
|
|
195
|
+
valid_classes=(self.__class__,),
|
|
196
|
+
)
|
|
182
197
|
|
|
183
|
-
|
|
184
|
-
for var_name, var_value in kwargs.items():
|
|
185
|
-
if var_name not in self.attribute_map and \
|
|
186
|
-
self._configuration is not None and \
|
|
187
|
-
self._configuration.discard_unknown_keys and \
|
|
188
|
-
self.additional_properties_type is None:
|
|
189
|
-
# discard variable.
|
|
190
|
-
continue
|
|
191
|
-
setattr(self, var_name, var_value)
|
|
192
|
-
return self
|
|
193
|
-
|
|
194
|
-
required_properties = set([
|
|
195
|
-
'_data_store',
|
|
196
|
-
'_check_type',
|
|
197
|
-
'_spec_property_naming',
|
|
198
|
-
'_path_to_item',
|
|
199
|
-
'_configuration',
|
|
200
|
-
'_visited_composed_classes',
|
|
201
|
-
])
|
|
202
|
-
|
|
198
|
+
@classmethod
|
|
203
199
|
@convert_js_args_to_python_args
|
|
204
|
-
def
|
|
205
|
-
"""
|
|
200
|
+
def _from_openapi_data(cls, *args, **kwargs):
|
|
201
|
+
"""ReviewStateModel - a model defined in OpenAPI
|
|
202
|
+
|
|
203
|
+
Note that value can be passed either in args or in kwargs, but not in both.
|
|
206
204
|
|
|
207
205
|
Args:
|
|
208
|
-
|
|
206
|
+
args[0] (str): The state of a keyword in the context of a line item.., must be one of ["InReview", "Recommended", "Approved", "AutoApproved", "Rejected", "AutoRejected", ] # noqa: E501
|
|
209
207
|
|
|
210
208
|
Keyword Args:
|
|
209
|
+
value (str): The state of a keyword in the context of a line item.., must be one of ["InReview", "Recommended", "Approved", "AutoApproved", "Rejected", "AutoRejected", ] # noqa: E501
|
|
211
210
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
212
211
|
will be type checked and a TypeError will be
|
|
213
212
|
raised if the wrong type is input.
|
|
@@ -238,13 +237,26 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
238
237
|
Animal class but this time we won't travel
|
|
239
238
|
through its discriminator because we passed in
|
|
240
239
|
_visited_composed_classes = (Animal,)
|
|
241
|
-
id (str, none_type): [optional] # noqa: E501
|
|
242
|
-
attributes (RetailMediaExternalv1AddRemoveKeywordsModel): [optional] # noqa: E501
|
|
243
240
|
"""
|
|
241
|
+
# required up here when default value is not given
|
|
242
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
243
|
+
|
|
244
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
245
|
+
|
|
246
|
+
if 'value' in kwargs:
|
|
247
|
+
value = kwargs.pop('value')
|
|
248
|
+
elif args:
|
|
249
|
+
args = list(args)
|
|
250
|
+
value = args.pop(0)
|
|
251
|
+
else:
|
|
252
|
+
raise ApiTypeError(
|
|
253
|
+
"value is required, but not passed in args or kwargs and doesn't have default",
|
|
254
|
+
path_to_item=_path_to_item,
|
|
255
|
+
valid_classes=(self.__class__,),
|
|
256
|
+
)
|
|
244
257
|
|
|
245
258
|
_check_type = kwargs.pop('_check_type', True)
|
|
246
259
|
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
247
|
-
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
248
260
|
_configuration = kwargs.pop('_configuration', None)
|
|
249
261
|
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
250
262
|
|
|
@@ -268,16 +280,15 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
268
280
|
self._path_to_item = _path_to_item
|
|
269
281
|
self._configuration = _configuration
|
|
270
282
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
283
|
+
self.value = value
|
|
284
|
+
if kwargs:
|
|
285
|
+
raise ApiTypeError(
|
|
286
|
+
"Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % (
|
|
287
|
+
kwargs,
|
|
288
|
+
self.__class__.__name__,
|
|
289
|
+
),
|
|
290
|
+
path_to_item=_path_to_item,
|
|
291
|
+
valid_classes=(self.__class__,),
|
|
292
|
+
)
|
|
271
293
|
|
|
272
|
-
self
|
|
273
|
-
for var_name, var_value in kwargs.items():
|
|
274
|
-
if var_name not in self.attribute_map and \
|
|
275
|
-
self._configuration is not None and \
|
|
276
|
-
self._configuration.discard_unknown_keys and \
|
|
277
|
-
self.additional_properties_type is None:
|
|
278
|
-
# discard variable.
|
|
279
|
-
continue
|
|
280
|
-
setattr(self, var_name, var_value)
|
|
281
|
-
if var_name in self.read_only_vars:
|
|
282
|
-
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
283
|
-
f"class with read only attributes.")
|
|
294
|
+
return self
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2023_10.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class RmcaCommonProblem(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -55,6 +55,17 @@ class RetailMediaExternalv1ProblemDetails(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
+
('type',): {
|
|
59
|
+
'None': None,
|
|
60
|
+
'UNKNOWN': "unknown",
|
|
61
|
+
'ACCESS-CONTROL': "access-control",
|
|
62
|
+
'AUTHENTICATION': "authentication",
|
|
63
|
+
'AUTHORIZATION': "authorization",
|
|
64
|
+
'AVAILABILITY': "availability",
|
|
65
|
+
'DEPRECATION': "deprecation",
|
|
66
|
+
'QUOTA': "quota",
|
|
67
|
+
'VALIDATION': "validation",
|
|
68
|
+
},
|
|
58
69
|
}
|
|
59
70
|
|
|
60
71
|
validations = {
|
|
@@ -66,7 +77,7 @@ class RetailMediaExternalv1ProblemDetails(ModelNormal):
|
|
|
66
77
|
This must be a method because a model may have properties that are
|
|
67
78
|
of type self, this must run after the class is loaded
|
|
68
79
|
"""
|
|
69
|
-
return (
|
|
80
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
70
81
|
|
|
71
82
|
_nullable = False
|
|
72
83
|
|
|
@@ -81,15 +92,15 @@ class RetailMediaExternalv1ProblemDetails(ModelNormal):
|
|
|
81
92
|
and the value is attribute type.
|
|
82
93
|
"""
|
|
83
94
|
return {
|
|
84
|
-
'
|
|
95
|
+
'trace_id': (str, none_type,), # noqa: E501
|
|
96
|
+
'type': (str, none_type,), # noqa: E501
|
|
85
97
|
'code': (str, none_type,), # noqa: E501
|
|
98
|
+
'instance': (str, none_type,), # noqa: E501
|
|
99
|
+
'title': (str, none_type,), # noqa: E501
|
|
100
|
+
'detail': (str, none_type,), # noqa: E501
|
|
86
101
|
'source': ({str: (str,)}, none_type,), # noqa: E501
|
|
87
102
|
'stack_trace': (str, none_type,), # noqa: E501
|
|
88
|
-
'type': (str, none_type,), # noqa: E501
|
|
89
|
-
'title': (str, none_type,), # noqa: E501
|
|
90
103
|
'status': (int, none_type,), # noqa: E501
|
|
91
|
-
'detail': (str, none_type,), # noqa: E501
|
|
92
|
-
'instance': (str, none_type,), # noqa: E501
|
|
93
104
|
}
|
|
94
105
|
|
|
95
106
|
@cached_property
|
|
@@ -98,15 +109,15 @@ class RetailMediaExternalv1ProblemDetails(ModelNormal):
|
|
|
98
109
|
|
|
99
110
|
|
|
100
111
|
attribute_map = {
|
|
101
|
-
'
|
|
112
|
+
'trace_id': 'traceId', # noqa: E501
|
|
113
|
+
'type': 'type', # noqa: E501
|
|
102
114
|
'code': 'code', # noqa: E501
|
|
115
|
+
'instance': 'instance', # noqa: E501
|
|
116
|
+
'title': 'title', # noqa: E501
|
|
117
|
+
'detail': 'detail', # noqa: E501
|
|
103
118
|
'source': 'source', # noqa: E501
|
|
104
119
|
'stack_trace': 'stackTrace', # noqa: E501
|
|
105
|
-
'type': 'type', # noqa: E501
|
|
106
|
-
'title': 'title', # noqa: E501
|
|
107
120
|
'status': 'status', # noqa: E501
|
|
108
|
-
'detail': 'detail', # noqa: E501
|
|
109
|
-
'instance': 'instance', # noqa: E501
|
|
110
121
|
}
|
|
111
122
|
|
|
112
123
|
read_only_vars = {
|
|
@@ -117,7 +128,7 @@ class RetailMediaExternalv1ProblemDetails(ModelNormal):
|
|
|
117
128
|
@classmethod
|
|
118
129
|
@convert_js_args_to_python_args
|
|
119
130
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
120
|
-
"""
|
|
131
|
+
"""RmcaCommonProblem - a model defined in OpenAPI
|
|
121
132
|
|
|
122
133
|
Keyword Args:
|
|
123
134
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -150,15 +161,15 @@ class RetailMediaExternalv1ProblemDetails(ModelNormal):
|
|
|
150
161
|
Animal class but this time we won't travel
|
|
151
162
|
through its discriminator because we passed in
|
|
152
163
|
_visited_composed_classes = (Animal,)
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
164
|
+
trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
|
|
165
|
+
type (str, none_type): The problem's category.. [optional] # noqa: E501
|
|
166
|
+
code (str, none_type): A machine-readable error code, expressed as a string value.. [optional] # noqa: E501
|
|
167
|
+
instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
|
|
168
|
+
title (str, none_type): A short human-readable description of the problem type. [optional] # noqa: E501
|
|
169
|
+
detail (str, none_type): A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
|
|
170
|
+
source ({str: (str,)}, none_type): A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
|
|
156
171
|
stack_trace (str, none_type): [optional] # noqa: E501
|
|
157
|
-
|
|
158
|
-
title (str, none_type): [optional] # noqa: E501
|
|
159
|
-
status (int, none_type): [optional] # noqa: E501
|
|
160
|
-
detail (str, none_type): [optional] # noqa: E501
|
|
161
|
-
instance (str, none_type): [optional] # noqa: E501
|
|
172
|
+
status (int, none_type): The problem's HTTP Status code.. [optional] # noqa: E501
|
|
162
173
|
"""
|
|
163
174
|
|
|
164
175
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -211,7 +222,7 @@ class RetailMediaExternalv1ProblemDetails(ModelNormal):
|
|
|
211
222
|
|
|
212
223
|
@convert_js_args_to_python_args
|
|
213
224
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
214
|
-
"""
|
|
225
|
+
"""RmcaCommonProblem - a model defined in OpenAPI
|
|
215
226
|
|
|
216
227
|
Keyword Args:
|
|
217
228
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -244,15 +255,15 @@ class RetailMediaExternalv1ProblemDetails(ModelNormal):
|
|
|
244
255
|
Animal class but this time we won't travel
|
|
245
256
|
through its discriminator because we passed in
|
|
246
257
|
_visited_composed_classes = (Animal,)
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
258
|
+
trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
|
|
259
|
+
type (str, none_type): The problem's category.. [optional] # noqa: E501
|
|
260
|
+
code (str, none_type): A machine-readable error code, expressed as a string value.. [optional] # noqa: E501
|
|
261
|
+
instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
|
|
262
|
+
title (str, none_type): A short human-readable description of the problem type. [optional] # noqa: E501
|
|
263
|
+
detail (str, none_type): A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
|
|
264
|
+
source ({str: (str,)}, none_type): A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
|
|
250
265
|
stack_trace (str, none_type): [optional] # noqa: E501
|
|
251
|
-
|
|
252
|
-
title (str, none_type): [optional] # noqa: E501
|
|
253
|
-
status (int, none_type): [optional] # noqa: E501
|
|
254
|
-
detail (str, none_type): [optional] # noqa: E501
|
|
255
|
-
instance (str, none_type): [optional] # noqa: E501
|
|
266
|
+
status (int, none_type): The problem's HTTP Status code.. [optional] # noqa: E501
|
|
256
267
|
"""
|
|
257
268
|
|
|
258
269
|
_check_type = kwargs.pop('_check_type', True)
|
criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_set_bid_model.py → set_bid_model.py}
RENAMED
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2023_10.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class SetBidModel(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -64,13 +64,7 @@ class RetailMediaExternalv1SetBidModel(ModelNormal):
|
|
|
64
64
|
},
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
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
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
74
68
|
|
|
75
69
|
_nullable = False
|
|
76
70
|
|
|
@@ -107,7 +101,7 @@ class RetailMediaExternalv1SetBidModel(ModelNormal):
|
|
|
107
101
|
@classmethod
|
|
108
102
|
@convert_js_args_to_python_args
|
|
109
103
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
-
"""
|
|
104
|
+
"""SetBidModel - a model defined in OpenAPI
|
|
111
105
|
|
|
112
106
|
Keyword Args:
|
|
113
107
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -194,7 +188,7 @@ class RetailMediaExternalv1SetBidModel(ModelNormal):
|
|
|
194
188
|
|
|
195
189
|
@convert_js_args_to_python_args
|
|
196
190
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
197
|
-
"""
|
|
191
|
+
"""SetBidModel - a model defined in OpenAPI
|
|
198
192
|
|
|
199
193
|
Keyword Args:
|
|
200
194
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2023_10.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_10.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2023_10.model.set_bid_model import SetBidModel
|
|
34
|
+
globals()['SetBidModel'] = SetBidModel
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class SetBidsModel(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -62,18 +62,9 @@ class RetailMediaExternalv1AddRemoveKeywordsModel(ModelNormal):
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
validations = {
|
|
65
|
-
('keywords',): {
|
|
66
|
-
},
|
|
67
65
|
}
|
|
68
66
|
|
|
69
|
-
|
|
70
|
-
def additional_properties_type():
|
|
71
|
-
"""
|
|
72
|
-
This must be a method because a model may have properties that are
|
|
73
|
-
of type self, this must run after the class is loaded
|
|
74
|
-
"""
|
|
75
|
-
lazy_import()
|
|
76
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
77
68
|
|
|
78
69
|
_nullable = False
|
|
79
70
|
|
|
@@ -89,7 +80,7 @@ class RetailMediaExternalv1AddRemoveKeywordsModel(ModelNormal):
|
|
|
89
80
|
"""
|
|
90
81
|
lazy_import()
|
|
91
82
|
return {
|
|
92
|
-
'keywords': ([
|
|
83
|
+
'keywords': ([SetBidModel], none_type,), # noqa: E501
|
|
93
84
|
}
|
|
94
85
|
|
|
95
86
|
@cached_property
|
|
@@ -109,7 +100,7 @@ class RetailMediaExternalv1AddRemoveKeywordsModel(ModelNormal):
|
|
|
109
100
|
@classmethod
|
|
110
101
|
@convert_js_args_to_python_args
|
|
111
102
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
112
|
-
"""
|
|
103
|
+
"""SetBidsModel - a model defined in OpenAPI
|
|
113
104
|
|
|
114
105
|
Keyword Args:
|
|
115
106
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -142,7 +133,7 @@ class RetailMediaExternalv1AddRemoveKeywordsModel(ModelNormal):
|
|
|
142
133
|
Animal class but this time we won't travel
|
|
143
134
|
through its discriminator because we passed in
|
|
144
135
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
keywords ([
|
|
136
|
+
keywords ([SetBidModel], none_type): [optional] # noqa: E501
|
|
146
137
|
"""
|
|
147
138
|
|
|
148
139
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -195,7 +186,7 @@ class RetailMediaExternalv1AddRemoveKeywordsModel(ModelNormal):
|
|
|
195
186
|
|
|
196
187
|
@convert_js_args_to_python_args
|
|
197
188
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
198
|
-
"""
|
|
189
|
+
"""SetBidsModel - a model defined in OpenAPI
|
|
199
190
|
|
|
200
191
|
Keyword Args:
|
|
201
192
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -228,7 +219,7 @@ class RetailMediaExternalv1AddRemoveKeywordsModel(ModelNormal):
|
|
|
228
219
|
Animal class but this time we won't travel
|
|
229
220
|
through its discriminator because we passed in
|
|
230
221
|
_visited_composed_classes = (Animal,)
|
|
231
|
-
keywords ([
|
|
222
|
+
keywords ([SetBidModel], none_type): [optional] # noqa: E501
|
|
232
223
|
"""
|
|
233
224
|
|
|
234
225
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2023_10.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_10.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2023_10.model.set_bids_model_resource import SetBidsModelResource
|
|
34
|
+
globals()['SetBidsModelResource'] = SetBidsModelResource
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class SetBidsModelRequest(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -64,14 +64,7 @@ class RetailMediaExternalv1AddRemoveKeywordsModelRequest(ModelNormal):
|
|
|
64
64
|
validations = {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
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
|
|
67
|
+
additional_properties_type = None
|
|
75
68
|
|
|
76
69
|
_nullable = False
|
|
77
70
|
|
|
@@ -87,7 +80,7 @@ class RetailMediaExternalv1AddRemoveKeywordsModelRequest(ModelNormal):
|
|
|
87
80
|
"""
|
|
88
81
|
lazy_import()
|
|
89
82
|
return {
|
|
90
|
-
'data': (
|
|
83
|
+
'data': (SetBidsModelResource,), # noqa: E501
|
|
91
84
|
}
|
|
92
85
|
|
|
93
86
|
@cached_property
|
|
@@ -107,7 +100,7 @@ class RetailMediaExternalv1AddRemoveKeywordsModelRequest(ModelNormal):
|
|
|
107
100
|
@classmethod
|
|
108
101
|
@convert_js_args_to_python_args
|
|
109
102
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
-
"""
|
|
103
|
+
"""SetBidsModelRequest - a model defined in OpenAPI
|
|
111
104
|
|
|
112
105
|
Keyword Args:
|
|
113
106
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -140,7 +133,7 @@ class RetailMediaExternalv1AddRemoveKeywordsModelRequest(ModelNormal):
|
|
|
140
133
|
Animal class but this time we won't travel
|
|
141
134
|
through its discriminator because we passed in
|
|
142
135
|
_visited_composed_classes = (Animal,)
|
|
143
|
-
data (
|
|
136
|
+
data (SetBidsModelResource): [optional] # noqa: E501
|
|
144
137
|
"""
|
|
145
138
|
|
|
146
139
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -193,7 +186,7 @@ class RetailMediaExternalv1AddRemoveKeywordsModelRequest(ModelNormal):
|
|
|
193
186
|
|
|
194
187
|
@convert_js_args_to_python_args
|
|
195
188
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
189
|
+
"""SetBidsModelRequest - a model defined in OpenAPI
|
|
197
190
|
|
|
198
191
|
Keyword Args:
|
|
199
192
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -226,7 +219,7 @@ class RetailMediaExternalv1AddRemoveKeywordsModelRequest(ModelNormal):
|
|
|
226
219
|
Animal class but this time we won't travel
|
|
227
220
|
through its discriminator because we passed in
|
|
228
221
|
_visited_composed_classes = (Animal,)
|
|
229
|
-
data (
|
|
222
|
+
data (SetBidsModelResource): [optional] # noqa: E501
|
|
230
223
|
"""
|
|
231
224
|
|
|
232
225
|
_check_type = kwargs.pop('_check_type', True)
|