criteo-api-retailmedia-sdk 2023.1.0.240118__py3-none-any.whl → 2023.1.0.240404__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.1.0.240118.dist-info → criteo_api_retailmedia_sdk-2023.1.0.240404.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2023.1.0.240118.dist-info → criteo_api_retailmedia_sdk-2023.1.0.240404.dist-info}/RECORD +36 -48
- {criteo_api_retailmedia_sdk-2023.1.0.240118.dist-info → criteo_api_retailmedia_sdk-2023.1.0.240404.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2023_01/__init__.py +1 -1
- criteo_api_retailmedia_v2023_01/api/audience_api.py +113 -100
- criteo_api_retailmedia_v2023_01/api/campaign_api.py +0 -442
- criteo_api_retailmedia_v2023_01/api_client.py +1 -1
- criteo_api_retailmedia_v2023_01/configuration.py +1 -1
- criteo_api_retailmedia_v2023_01/model/async_campaigns_report.py +57 -53
- criteo_api_retailmedia_v2023_01/model/async_line_items_report.py +57 -54
- criteo_api_retailmedia_v2023_01/model/campaign_attributes_v202301.py +4 -0
- criteo_api_retailmedia_v2023_01/model/campaign_v202301.py +4 -0
- criteo_api_retailmedia_v2023_01/model/editable_campaign_attributes_v202301.py +4 -0
- criteo_api_retailmedia_v2023_01/model/external_account.py +4 -0
- criteo_api_retailmedia_v2023_01/model/{create_retail_media_audience_attributes.py → rm_legacy_audience_create_entity_v1.py} +10 -5
- criteo_api_retailmedia_v2023_01/model/{create_retail_media_audience_body.py → rm_legacy_audience_create_entity_v1_resource.py} +18 -22
- criteo_api_retailmedia_v2023_01/model/{retail_media_audience_v2_response.py → rm_legacy_audience_create_entity_v1_response.py} +15 -15
- criteo_api_retailmedia_v2023_01/model/{create_retail_media_audience_v2_attributes.py → rm_legacy_audience_create_entity_v2.py} +10 -10
- criteo_api_retailmedia_v2023_01/model/{create_retail_media_audience_v2_data.py → rm_legacy_audience_create_entity_v2_resource.py} +18 -22
- criteo_api_retailmedia_v2023_01/model/{common_status_code_response.py → rm_legacy_audience_create_entity_v2_response.py} +16 -10
- criteo_api_retailmedia_v2023_01/model/{create_retail_media_audience_v2_request.py → rm_legacy_audience_create_input_entity_v1.py} +10 -16
- criteo_api_retailmedia_v2023_01/model/{create_retail_media_audience_request.py → rm_legacy_audience_create_input_entity_v2.py} +10 -16
- criteo_api_retailmedia_v2023_01/model/{retail_media_audience_v2_attributes.py → rm_legacy_audience_get_entity_v1.py} +23 -23
- criteo_api_retailmedia_v2023_01/model/{creative202207_response.py → rm_legacy_audience_get_entity_v1_list_response.py} +16 -16
- criteo_api_retailmedia_v2023_01/model/{retail_media_audience_v2.py → rm_legacy_audience_get_entity_v1_resource.py} +24 -29
- criteo_api_retailmedia_v2023_01/model/{retail_media_audience_attributes.py → rm_legacy_audience_get_entity_v2.py} +15 -15
- criteo_api_retailmedia_v2023_01/model/{create_retail_media_audience_response.py → rm_legacy_audience_get_entity_v2_list_response.py} +18 -20
- criteo_api_retailmedia_v2023_01/model/{resource_of_creative202207.py → rm_legacy_audience_get_entity_v2_resource.py} +10 -10
- criteo_api_retailmedia_v2023_01/model/rm_legacy_audience_user_behavior_create_v2.py +279 -0
- criteo_api_retailmedia_v2023_01/model/{user_behavior_details_v2.py → rm_legacy_audience_user_behavior_details_v2.py} +11 -11
- criteo_api_retailmedia_v2023_01/model/{customer_list_details.py → rm_legacy_segment_customer_list.py} +11 -5
- criteo_api_retailmedia_v2023_01/model/{color_variable_value.py → rm_legacy_segment_user_behavior_create_v2.py} +44 -15
- criteo_api_retailmedia_v2023_01/model/{user_behavior_details.py → rm_legacy_segment_user_behavior_v1.py} +28 -28
- criteo_api_retailmedia_v2023_01/model/{create_user_behavior_segment_v2.py → rm_legacy_segment_user_behavior_v2.py} +7 -5
- criteo_api_retailmedia_v2023_01/models/__init__.py +20 -32
- criteo_api_retailmedia_v2023_01/model/choice_variable_value.py +0 -269
- criteo_api_retailmedia_v2023_01/model/create_retail_media_audience.py +0 -287
- criteo_api_retailmedia_v2023_01/model/create_retail_media_audience_v2.py +0 -287
- criteo_api_retailmedia_v2023_01/model/creative202207.py +0 -340
- criteo_api_retailmedia_v2023_01/model/creative_create_model202207.py +0 -297
- criteo_api_retailmedia_v2023_01/model/creative_update_model202207.py +0 -297
- criteo_api_retailmedia_v2023_01/model/files_variable_value.py +0 -271
- criteo_api_retailmedia_v2023_01/model/get_page_of_audiences_by_account_id_response.py +0 -295
- criteo_api_retailmedia_v2023_01/model/hyperlink_variable_value.py +0 -269
- criteo_api_retailmedia_v2023_01/model/retail_media_audience.py +0 -297
- criteo_api_retailmedia_v2023_01/model/retail_media_audience_v2_list_response.py +0 -293
- criteo_api_retailmedia_v2023_01/model/template_variable_value.py +0 -303
- criteo_api_retailmedia_v2023_01/model/text_variable_value.py +0 -269
- {criteo_api_retailmedia_sdk-2023.1.0.240118.dist-info → criteo_api_retailmedia_sdk-2023.1.0.240404.dist-info}/top_level.txt +0 -0
|
@@ -30,13 +30,13 @@ from criteo_api_retailmedia_v2023_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_01.model.
|
|
34
|
-
from criteo_api_retailmedia_v2023_01.model.
|
|
35
|
-
globals()['
|
|
36
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2023_01.model.common_problem import CommonProblem
|
|
34
|
+
from criteo_api_retailmedia_v2023_01.model.rm_legacy_audience_get_entity_v1_resource import RmLegacyAudienceGetEntityV1Resource
|
|
35
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
|
+
globals()['RmLegacyAudienceGetEntityV1Resource'] = RmLegacyAudienceGetEntityV1Resource
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class RmLegacyAudienceGetEntityV1ListResponse(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -89,9 +89,9 @@ class Creative202207Response(ModelNormal):
|
|
|
89
89
|
"""
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
|
-
'data': (
|
|
93
|
-
'warnings': ([
|
|
94
|
-
'errors': ([
|
|
92
|
+
'data': ([RmLegacyAudienceGetEntityV1Resource], none_type,), # noqa: E501
|
|
93
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
94
|
+
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -115,7 +115,7 @@ class Creative202207Response(ModelNormal):
|
|
|
115
115
|
@classmethod
|
|
116
116
|
@convert_js_args_to_python_args
|
|
117
117
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
118
|
-
"""
|
|
118
|
+
"""RmLegacyAudienceGetEntityV1ListResponse - a model defined in OpenAPI
|
|
119
119
|
|
|
120
120
|
Keyword Args:
|
|
121
121
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -148,9 +148,9 @@ class Creative202207Response(ModelNormal):
|
|
|
148
148
|
Animal class but this time we won't travel
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
|
-
data (
|
|
152
|
-
warnings ([
|
|
153
|
-
errors ([
|
|
151
|
+
data ([RmLegacyAudienceGetEntityV1Resource], none_type): [optional] # noqa: E501
|
|
152
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -203,7 +203,7 @@ class Creative202207Response(ModelNormal):
|
|
|
203
203
|
|
|
204
204
|
@convert_js_args_to_python_args
|
|
205
205
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
206
|
-
"""
|
|
206
|
+
"""RmLegacyAudienceGetEntityV1ListResponse - a model defined in OpenAPI
|
|
207
207
|
|
|
208
208
|
Keyword Args:
|
|
209
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -236,9 +236,9 @@ class Creative202207Response(ModelNormal):
|
|
|
236
236
|
Animal class but this time we won't travel
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
|
-
data (
|
|
240
|
-
warnings ([
|
|
241
|
-
errors ([
|
|
239
|
+
data ([RmLegacyAudienceGetEntityV1Resource], none_type): [optional] # noqa: E501
|
|
240
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2023_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_01.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2023_01.model.rm_legacy_audience_get_entity_v1 import RmLegacyAudienceGetEntityV1
|
|
34
|
+
globals()['RmLegacyAudienceGetEntityV1'] = RmLegacyAudienceGetEntityV1
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class RmLegacyAudienceGetEntityV1Resource(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -59,7 +59,8 @@ class RetailMediaAudienceV2(ModelNormal):
|
|
|
59
59
|
"""
|
|
60
60
|
|
|
61
61
|
allowed_values = {
|
|
62
|
-
('
|
|
62
|
+
('audience_type',): {
|
|
63
|
+
'None': None,
|
|
63
64
|
'CUSTOMERLIST': "customerList",
|
|
64
65
|
'USERBEHAVIOR': "userBehavior",
|
|
65
66
|
},
|
|
@@ -91,9 +92,10 @@ class RetailMediaAudienceV2(ModelNormal):
|
|
|
91
92
|
"""
|
|
92
93
|
lazy_import()
|
|
93
94
|
return {
|
|
94
|
-
'
|
|
95
|
-
'id': (str,), # noqa: E501
|
|
96
|
-
'
|
|
95
|
+
'attributes': (RmLegacyAudienceGetEntityV1,), # noqa: E501
|
|
96
|
+
'id': (str, none_type,), # noqa: E501
|
|
97
|
+
'audience_type': (str, none_type,), # noqa: E501
|
|
98
|
+
'type': (str, none_type,), # noqa: E501
|
|
97
99
|
}
|
|
98
100
|
|
|
99
101
|
@cached_property
|
|
@@ -102,9 +104,10 @@ class RetailMediaAudienceV2(ModelNormal):
|
|
|
102
104
|
|
|
103
105
|
|
|
104
106
|
attribute_map = {
|
|
105
|
-
'type': 'type', # noqa: E501
|
|
106
|
-
'id': 'id', # noqa: E501
|
|
107
107
|
'attributes': 'attributes', # noqa: E501
|
|
108
|
+
'id': 'id', # noqa: E501
|
|
109
|
+
'audience_type': 'audienceType', # noqa: E501
|
|
110
|
+
'type': 'type', # noqa: E501
|
|
108
111
|
}
|
|
109
112
|
|
|
110
113
|
read_only_vars = {
|
|
@@ -114,13 +117,8 @@ class RetailMediaAudienceV2(ModelNormal):
|
|
|
114
117
|
|
|
115
118
|
@classmethod
|
|
116
119
|
@convert_js_args_to_python_args
|
|
117
|
-
def _from_openapi_data(cls,
|
|
118
|
-
"""
|
|
119
|
-
|
|
120
|
-
Args:
|
|
121
|
-
type (str): Type of the audience
|
|
122
|
-
id (str): Unique ID of this audience.
|
|
123
|
-
attributes (RetailMediaAudienceV2Attributes):
|
|
120
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
121
|
+
"""RmLegacyAudienceGetEntityV1Resource - a model defined in OpenAPI
|
|
124
122
|
|
|
125
123
|
Keyword Args:
|
|
126
124
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -153,6 +151,10 @@ class RetailMediaAudienceV2(ModelNormal):
|
|
|
153
151
|
Animal class but this time we won't travel
|
|
154
152
|
through its discriminator because we passed in
|
|
155
153
|
_visited_composed_classes = (Animal,)
|
|
154
|
+
attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501
|
|
155
|
+
id (str, none_type): [optional] # noqa: E501
|
|
156
|
+
audience_type (str, none_type): [optional] # noqa: E501
|
|
157
|
+
type (str, none_type): [optional] # noqa: E501
|
|
156
158
|
"""
|
|
157
159
|
|
|
158
160
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -184,9 +186,6 @@ class RetailMediaAudienceV2(ModelNormal):
|
|
|
184
186
|
self._configuration = _configuration
|
|
185
187
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
186
188
|
|
|
187
|
-
self.type = type
|
|
188
|
-
self.id = id
|
|
189
|
-
self.attributes = attributes
|
|
190
189
|
for var_name, var_value in kwargs.items():
|
|
191
190
|
if var_name not in self.attribute_map and \
|
|
192
191
|
self._configuration is not None and \
|
|
@@ -207,13 +206,8 @@ class RetailMediaAudienceV2(ModelNormal):
|
|
|
207
206
|
])
|
|
208
207
|
|
|
209
208
|
@convert_js_args_to_python_args
|
|
210
|
-
def __init__(self,
|
|
211
|
-
"""
|
|
212
|
-
|
|
213
|
-
Args:
|
|
214
|
-
type (str): Type of the audience
|
|
215
|
-
id (str): Unique ID of this audience.
|
|
216
|
-
attributes (RetailMediaAudienceV2Attributes):
|
|
209
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
210
|
+
"""RmLegacyAudienceGetEntityV1Resource - a model defined in OpenAPI
|
|
217
211
|
|
|
218
212
|
Keyword Args:
|
|
219
213
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -246,6 +240,10 @@ class RetailMediaAudienceV2(ModelNormal):
|
|
|
246
240
|
Animal class but this time we won't travel
|
|
247
241
|
through its discriminator because we passed in
|
|
248
242
|
_visited_composed_classes = (Animal,)
|
|
243
|
+
attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501
|
|
244
|
+
id (str, none_type): [optional] # noqa: E501
|
|
245
|
+
audience_type (str, none_type): [optional] # noqa: E501
|
|
246
|
+
type (str, none_type): [optional] # noqa: E501
|
|
249
247
|
"""
|
|
250
248
|
|
|
251
249
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -275,9 +273,6 @@ class RetailMediaAudienceV2(ModelNormal):
|
|
|
275
273
|
self._configuration = _configuration
|
|
276
274
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
277
275
|
|
|
278
|
-
self.type = type
|
|
279
|
-
self.id = id
|
|
280
|
-
self.attributes = attributes
|
|
281
276
|
for var_name, var_value in kwargs.items():
|
|
282
277
|
if var_name not in self.attribute_map and \
|
|
283
278
|
self._configuration is not None and \
|
|
@@ -30,13 +30,13 @@ from criteo_api_retailmedia_v2023_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_01.model.
|
|
34
|
-
from criteo_api_retailmedia_v2023_01.model.
|
|
35
|
-
globals()['
|
|
36
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2023_01.model.rm_legacy_audience_user_behavior_details_v2 import RmLegacyAudienceUserBehaviorDetailsV2
|
|
34
|
+
from criteo_api_retailmedia_v2023_01.model.rm_legacy_segment_customer_list import RmLegacySegmentCustomerList
|
|
35
|
+
globals()['RmLegacyAudienceUserBehaviorDetailsV2'] = RmLegacyAudienceUserBehaviorDetailsV2
|
|
36
|
+
globals()['RmLegacySegmentCustomerList'] = RmLegacySegmentCustomerList
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class RmLegacyAudienceGetEntityV2(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -91,8 +91,8 @@ class RetailMediaAudienceAttributes(ModelNormal):
|
|
|
91
91
|
return {
|
|
92
92
|
'retailer_id': (str,), # noqa: E501
|
|
93
93
|
'name': (str,), # noqa: E501
|
|
94
|
-
'user_behavior_details': (
|
|
95
|
-
'customer_list_details': (
|
|
94
|
+
'user_behavior_details': (RmLegacyAudienceUserBehaviorDetailsV2,), # noqa: E501
|
|
95
|
+
'customer_list_details': (RmLegacySegmentCustomerList,), # noqa: E501
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
@cached_property
|
|
@@ -115,11 +115,11 @@ class RetailMediaAudienceAttributes(ModelNormal):
|
|
|
115
115
|
@classmethod
|
|
116
116
|
@convert_js_args_to_python_args
|
|
117
117
|
def _from_openapi_data(cls, retailer_id, name, *args, **kwargs): # noqa: E501
|
|
118
|
-
"""
|
|
118
|
+
"""RmLegacyAudienceGetEntityV2 - a model defined in OpenAPI
|
|
119
119
|
|
|
120
120
|
Args:
|
|
121
121
|
retailer_id (str): ID of the retailer associated with this audience
|
|
122
|
-
name (str): Name of the audience
|
|
122
|
+
name (str): Name of the audience
|
|
123
123
|
|
|
124
124
|
Keyword Args:
|
|
125
125
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -152,8 +152,8 @@ class RetailMediaAudienceAttributes(ModelNormal):
|
|
|
152
152
|
Animal class but this time we won't travel
|
|
153
153
|
through its discriminator because we passed in
|
|
154
154
|
_visited_composed_classes = (Animal,)
|
|
155
|
-
user_behavior_details (
|
|
156
|
-
customer_list_details (
|
|
155
|
+
user_behavior_details (RmLegacyAudienceUserBehaviorDetailsV2): [optional] # noqa: E501
|
|
156
|
+
customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501
|
|
157
157
|
"""
|
|
158
158
|
|
|
159
159
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -208,11 +208,11 @@ class RetailMediaAudienceAttributes(ModelNormal):
|
|
|
208
208
|
|
|
209
209
|
@convert_js_args_to_python_args
|
|
210
210
|
def __init__(self, retailer_id, name, *args, **kwargs): # noqa: E501
|
|
211
|
-
"""
|
|
211
|
+
"""RmLegacyAudienceGetEntityV2 - a model defined in OpenAPI
|
|
212
212
|
|
|
213
213
|
Args:
|
|
214
214
|
retailer_id (str): ID of the retailer associated with this audience
|
|
215
|
-
name (str): Name of the audience
|
|
215
|
+
name (str): Name of the audience
|
|
216
216
|
|
|
217
217
|
Keyword Args:
|
|
218
218
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -245,8 +245,8 @@ class RetailMediaAudienceAttributes(ModelNormal):
|
|
|
245
245
|
Animal class but this time we won't travel
|
|
246
246
|
through its discriminator because we passed in
|
|
247
247
|
_visited_composed_classes = (Animal,)
|
|
248
|
-
user_behavior_details (
|
|
249
|
-
customer_list_details (
|
|
248
|
+
user_behavior_details (RmLegacyAudienceUserBehaviorDetailsV2): [optional] # noqa: E501
|
|
249
|
+
customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501
|
|
250
250
|
"""
|
|
251
251
|
|
|
252
252
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,15 +30,13 @@ from criteo_api_retailmedia_v2023_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_01.model.
|
|
34
|
-
from criteo_api_retailmedia_v2023_01.model.
|
|
35
|
-
|
|
36
|
-
globals()['
|
|
37
|
-
globals()['CommonWarning'] = CommonWarning
|
|
38
|
-
globals()['CreateRetailMediaAudience'] = CreateRetailMediaAudience
|
|
33
|
+
from criteo_api_retailmedia_v2023_01.model.common_problem import CommonProblem
|
|
34
|
+
from criteo_api_retailmedia_v2023_01.model.rm_legacy_audience_get_entity_v2_resource import RmLegacyAudienceGetEntityV2Resource
|
|
35
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
|
+
globals()['RmLegacyAudienceGetEntityV2Resource'] = RmLegacyAudienceGetEntityV2Resource
|
|
39
37
|
|
|
40
38
|
|
|
41
|
-
class
|
|
39
|
+
class RmLegacyAudienceGetEntityV2ListResponse(ModelNormal):
|
|
42
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
43
41
|
Ref: https://openapi-generator.tech
|
|
44
42
|
|
|
@@ -91,9 +89,9 @@ class CreateRetailMediaAudienceResponse(ModelNormal):
|
|
|
91
89
|
"""
|
|
92
90
|
lazy_import()
|
|
93
91
|
return {
|
|
94
|
-
'data': (
|
|
95
|
-
'
|
|
96
|
-
'
|
|
92
|
+
'data': ([RmLegacyAudienceGetEntityV2Resource], none_type,), # noqa: E501
|
|
93
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
94
|
+
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
97
95
|
}
|
|
98
96
|
|
|
99
97
|
@cached_property
|
|
@@ -103,13 +101,13 @@ class CreateRetailMediaAudienceResponse(ModelNormal):
|
|
|
103
101
|
|
|
104
102
|
attribute_map = {
|
|
105
103
|
'data': 'data', # noqa: E501
|
|
106
|
-
'errors': 'errors', # noqa: E501
|
|
107
104
|
'warnings': 'warnings', # noqa: E501
|
|
105
|
+
'errors': 'errors', # noqa: E501
|
|
108
106
|
}
|
|
109
107
|
|
|
110
108
|
read_only_vars = {
|
|
111
|
-
'errors', # noqa: E501
|
|
112
109
|
'warnings', # noqa: E501
|
|
110
|
+
'errors', # noqa: E501
|
|
113
111
|
}
|
|
114
112
|
|
|
115
113
|
_composed_schemas = {}
|
|
@@ -117,7 +115,7 @@ class CreateRetailMediaAudienceResponse(ModelNormal):
|
|
|
117
115
|
@classmethod
|
|
118
116
|
@convert_js_args_to_python_args
|
|
119
117
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
120
|
-
"""
|
|
118
|
+
"""RmLegacyAudienceGetEntityV2ListResponse - a model defined in OpenAPI
|
|
121
119
|
|
|
122
120
|
Keyword Args:
|
|
123
121
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -150,9 +148,9 @@ class CreateRetailMediaAudienceResponse(ModelNormal):
|
|
|
150
148
|
Animal class but this time we won't travel
|
|
151
149
|
through its discriminator because we passed in
|
|
152
150
|
_visited_composed_classes = (Animal,)
|
|
153
|
-
data (
|
|
154
|
-
|
|
155
|
-
|
|
151
|
+
data ([RmLegacyAudienceGetEntityV2Resource], none_type): [optional] # noqa: E501
|
|
152
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
156
154
|
"""
|
|
157
155
|
|
|
158
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -205,7 +203,7 @@ class CreateRetailMediaAudienceResponse(ModelNormal):
|
|
|
205
203
|
|
|
206
204
|
@convert_js_args_to_python_args
|
|
207
205
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
208
|
-
"""
|
|
206
|
+
"""RmLegacyAudienceGetEntityV2ListResponse - a model defined in OpenAPI
|
|
209
207
|
|
|
210
208
|
Keyword Args:
|
|
211
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -238,9 +236,9 @@ class CreateRetailMediaAudienceResponse(ModelNormal):
|
|
|
238
236
|
Animal class but this time we won't travel
|
|
239
237
|
through its discriminator because we passed in
|
|
240
238
|
_visited_composed_classes = (Animal,)
|
|
241
|
-
data (
|
|
242
|
-
|
|
243
|
-
|
|
239
|
+
data ([RmLegacyAudienceGetEntityV2Resource], none_type): [optional] # noqa: E501
|
|
240
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
244
242
|
"""
|
|
245
243
|
|
|
246
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2023_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_01.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2023_01.model.rm_legacy_audience_get_entity_v2 import RmLegacyAudienceGetEntityV2
|
|
34
|
+
globals()['RmLegacyAudienceGetEntityV2'] = RmLegacyAudienceGetEntityV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class RmLegacyAudienceGetEntityV2Resource(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 ResourceOfCreative202207(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (
|
|
90
|
+
'attributes': (RmLegacyAudienceGetEntityV2,), # noqa: E501
|
|
91
91
|
'id': (str, none_type,), # noqa: E501
|
|
92
92
|
'type': (str, none_type,), # noqa: E501
|
|
93
93
|
}
|
|
@@ -111,7 +111,7 @@ class ResourceOfCreative202207(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""RmLegacyAudienceGetEntityV2Resource - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -144,9 +144,9 @@ class ResourceOfCreative202207(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
attributes (
|
|
147
|
+
attributes (RmLegacyAudienceGetEntityV2): [optional] # noqa: E501
|
|
148
148
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
149
|
-
type (str, none_type):
|
|
149
|
+
type (str, none_type): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -199,7 +199,7 @@ class ResourceOfCreative202207(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""RmLegacyAudienceGetEntityV2Resource - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -232,9 +232,9 @@ class ResourceOfCreative202207(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
-
attributes (
|
|
235
|
+
attributes (RmLegacyAudienceGetEntityV2): [optional] # noqa: E501
|
|
236
236
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
237
|
-
type (str, none_type):
|
|
237
|
+
type (str, none_type): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
240
240
|
_check_type = kwargs.pop('_check_type', True)
|