criteo-api-retailmedia-sdk 2023.4.0.240118__py3-none-any.whl → 2023.4.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.
- {criteo_api_retailmedia_sdk-2023.4.0.240118.dist-info → criteo_api_retailmedia_sdk-2023.4.0.240404.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2023.4.0.240118.dist-info → criteo_api_retailmedia_sdk-2023.4.0.240404.dist-info}/RECORD +35 -36
- {criteo_api_retailmedia_sdk-2023.4.0.240118.dist-info → criteo_api_retailmedia_sdk-2023.4.0.240404.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2023_04/__init__.py +1 -1
- criteo_api_retailmedia_v2023_04/api/audience_api.py +113 -100
- criteo_api_retailmedia_v2023_04/api_client.py +1 -1
- criteo_api_retailmedia_v2023_04/configuration.py +1 -1
- criteo_api_retailmedia_v2023_04/model/async_campaigns_report.py +57 -53
- criteo_api_retailmedia_v2023_04/model/async_line_items_report.py +57 -54
- criteo_api_retailmedia_v2023_04/model/campaign_attributes_v202301.py +4 -0
- criteo_api_retailmedia_v2023_04/model/campaign_v202301.py +4 -0
- criteo_api_retailmedia_v2023_04/model/editable_campaign_attributes_v202301.py +4 -0
- criteo_api_retailmedia_v2023_04/model/external_account.py +4 -0
- criteo_api_retailmedia_v2023_04/model/{create_retail_media_audience_attributes.py → rm_legacy_audience_create_entity_v1.py} +10 -5
- criteo_api_retailmedia_v2023_04/model/{create_retail_media_audience_body.py → rm_legacy_audience_create_entity_v1_resource.py} +18 -22
- criteo_api_retailmedia_v2023_04/model/{retail_media_audience_v2_response.py → rm_legacy_audience_create_entity_v1_response.py} +15 -15
- criteo_api_retailmedia_v2023_04/model/{create_retail_media_audience_v2_attributes.py → rm_legacy_audience_create_entity_v2.py} +10 -10
- criteo_api_retailmedia_v2023_04/model/{create_retail_media_audience.py → rm_legacy_audience_create_entity_v2_resource.py} +18 -28
- criteo_api_retailmedia_v2023_04/model/{common_status_code_response.py → rm_legacy_audience_create_entity_v2_response.py} +16 -10
- criteo_api_retailmedia_v2023_04/model/{create_retail_media_audience_v2_request.py → rm_legacy_audience_create_input_entity_v1.py} +10 -16
- criteo_api_retailmedia_v2023_04/model/{create_retail_media_audience_request.py → rm_legacy_audience_create_input_entity_v2.py} +10 -16
- criteo_api_retailmedia_v2023_04/model/{retail_media_audience_v2_attributes.py → rm_legacy_audience_get_entity_v1.py} +23 -23
- criteo_api_retailmedia_v2023_04/model/{create_retail_media_audience_response.py → rm_legacy_audience_get_entity_v1_list_response.py} +18 -20
- criteo_api_retailmedia_v2023_04/model/{retail_media_audience_v2.py → rm_legacy_audience_get_entity_v1_resource.py} +24 -29
- criteo_api_retailmedia_v2023_04/model/{retail_media_audience_attributes.py → rm_legacy_audience_get_entity_v2.py} +15 -15
- criteo_api_retailmedia_v2023_04/model/{retail_media_audience_v2_list_response.py → rm_legacy_audience_get_entity_v2_list_response.py} +17 -29
- criteo_api_retailmedia_v2023_04/model/{create_retail_media_audience_v2_data.py → rm_legacy_audience_get_entity_v2_resource.py} +18 -22
- criteo_api_retailmedia_v2023_04/model/rm_legacy_audience_user_behavior_create_v2.py +279 -0
- criteo_api_retailmedia_v2023_04/model/{user_behavior_details_v2.py → rm_legacy_audience_user_behavior_details_v2.py} +11 -11
- criteo_api_retailmedia_v2023_04/model/{customer_list_details.py → rm_legacy_segment_customer_list.py} +11 -5
- criteo_api_retailmedia_v2023_04/model/{retail_media_audience.py → rm_legacy_segment_user_behavior_create_v2.py} +44 -38
- criteo_api_retailmedia_v2023_04/model/{user_behavior_details.py → rm_legacy_segment_user_behavior_v1.py} +28 -28
- criteo_api_retailmedia_v2023_04/model/{create_user_behavior_segment_v2.py → rm_legacy_segment_user_behavior_v2.py} +7 -5
- criteo_api_retailmedia_v2023_04/models/__init__.py +20 -21
- criteo_api_retailmedia_v2023_04/model/create_retail_media_audience_v2.py +0 -287
- criteo_api_retailmedia_v2023_04/model/get_page_of_audiences_by_account_id_response.py +0 -295
- {criteo_api_retailmedia_sdk-2023.4.0.240118.dist-info → criteo_api_retailmedia_sdk-2023.4.0.240404.dist-info}/top_level.txt +0 -0
|
@@ -31,12 +31,12 @@ from criteo_api_retailmedia_v2023_04.exceptions import ApiAttributeError
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
33
|
from criteo_api_retailmedia_v2023_04.model.common_problem import CommonProblem
|
|
34
|
-
from criteo_api_retailmedia_v2023_04.model.
|
|
34
|
+
from criteo_api_retailmedia_v2023_04.model.rm_legacy_audience_create_entity_v1_resource import RmLegacyAudienceCreateEntityV1Resource
|
|
35
35
|
globals()['CommonProblem'] = CommonProblem
|
|
36
|
-
globals()['
|
|
36
|
+
globals()['RmLegacyAudienceCreateEntityV1Resource'] = RmLegacyAudienceCreateEntityV1Resource
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class RmLegacyAudienceCreateEntityV1Response(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 RetailMediaAudienceV2Response(ModelNormal):
|
|
|
89
89
|
"""
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
|
-
'data': (
|
|
93
|
-
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
92
|
+
'data': (RmLegacyAudienceCreateEntityV1Resource,), # noqa: E501
|
|
94
93
|
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
94
|
+
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class RetailMediaAudienceV2Response(ModelNormal):
|
|
|
101
101
|
|
|
102
102
|
attribute_map = {
|
|
103
103
|
'data': 'data', # noqa: E501
|
|
104
|
-
'errors': 'errors', # noqa: E501
|
|
105
104
|
'warnings': 'warnings', # noqa: E501
|
|
105
|
+
'errors': 'errors', # noqa: E501
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
read_only_vars = {
|
|
109
|
-
'errors', # noqa: E501
|
|
110
109
|
'warnings', # noqa: E501
|
|
110
|
+
'errors', # noqa: E501
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
_composed_schemas = {}
|
|
@@ -115,7 +115,7 @@ class RetailMediaAudienceV2Response(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
|
+
"""RmLegacyAudienceCreateEntityV1Response - 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 RetailMediaAudienceV2Response(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
|
-
|
|
153
|
-
|
|
151
|
+
data (RmLegacyAudienceCreateEntityV1Resource): [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 RetailMediaAudienceV2Response(ModelNormal):
|
|
|
203
203
|
|
|
204
204
|
@convert_js_args_to_python_args
|
|
205
205
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
206
|
-
"""
|
|
206
|
+
"""RmLegacyAudienceCreateEntityV1Response - 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 RetailMediaAudienceV2Response(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
|
-
|
|
241
|
-
|
|
239
|
+
data (RmLegacyAudienceCreateEntityV1Resource): [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_04.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_04.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2023_04.model.rm_legacy_audience_user_behavior_create_v2 import RmLegacyAudienceUserBehaviorCreateV2
|
|
34
|
+
globals()['RmLegacyAudienceUserBehaviorCreateV2'] = RmLegacyAudienceUserBehaviorCreateV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class RmLegacyAudienceCreateEntityV2(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 CreateRetailMediaAudienceV2Attributes(ModelNormal):
|
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
90
|
'retailer_id': (int,), # noqa: E501
|
|
91
|
-
'user_behavior_details': (
|
|
91
|
+
'user_behavior_details': (RmLegacyAudienceUserBehaviorCreateV2,), # noqa: E501
|
|
92
92
|
'name': (str,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -111,12 +111,12 @@ class CreateRetailMediaAudienceV2Attributes(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, retailer_id, user_behavior_details, name, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""RmLegacyAudienceCreateEntityV2 - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Args:
|
|
117
117
|
retailer_id (int): ID of the retailer associated with this audience
|
|
118
|
-
user_behavior_details (
|
|
119
|
-
name (str): Name of the audience
|
|
118
|
+
user_behavior_details (RmLegacyAudienceUserBehaviorCreateV2):
|
|
119
|
+
name (str): Name of the audience
|
|
120
120
|
|
|
121
121
|
Keyword Args:
|
|
122
122
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -204,12 +204,12 @@ class CreateRetailMediaAudienceV2Attributes(ModelNormal):
|
|
|
204
204
|
|
|
205
205
|
@convert_js_args_to_python_args
|
|
206
206
|
def __init__(self, retailer_id, user_behavior_details, name, *args, **kwargs): # noqa: E501
|
|
207
|
-
"""
|
|
207
|
+
"""RmLegacyAudienceCreateEntityV2 - a model defined in OpenAPI
|
|
208
208
|
|
|
209
209
|
Args:
|
|
210
210
|
retailer_id (int): ID of the retailer associated with this audience
|
|
211
|
-
user_behavior_details (
|
|
212
|
-
name (str): Name of the audience
|
|
211
|
+
user_behavior_details (RmLegacyAudienceUserBehaviorCreateV2):
|
|
212
|
+
name (str): Name of the audience
|
|
213
213
|
|
|
214
214
|
Keyword Args:
|
|
215
215
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2023_04.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_04.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2023_04.model.rm_legacy_audience_create_entity_v2 import RmLegacyAudienceCreateEntityV2
|
|
34
|
+
globals()['RmLegacyAudienceCreateEntityV2'] = RmLegacyAudienceCreateEntityV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class RmLegacyAudienceCreateEntityV2Resource(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,9 +87,9 @@ class CreateRetailMediaAudience(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'
|
|
91
|
-
'id': (
|
|
92
|
-
'
|
|
90
|
+
'attributes': (RmLegacyAudienceCreateEntityV2,), # noqa: E501
|
|
91
|
+
'id': (str, none_type,), # noqa: E501
|
|
92
|
+
'type': (str, none_type,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -98,9 +98,9 @@ class CreateRetailMediaAudience(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
attribute_map = {
|
|
101
|
-
'type': 'type', # noqa: E501
|
|
102
|
-
'id': 'id', # noqa: E501
|
|
103
101
|
'attributes': 'attributes', # noqa: E501
|
|
102
|
+
'id': 'id', # noqa: E501
|
|
103
|
+
'type': 'type', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
read_only_vars = {
|
|
@@ -110,13 +110,8 @@ class CreateRetailMediaAudience(ModelNormal):
|
|
|
110
110
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
|
-
def _from_openapi_data(cls,
|
|
114
|
-
"""
|
|
115
|
-
|
|
116
|
-
Args:
|
|
117
|
-
type (str): the name of the entity type
|
|
118
|
-
id (int): Unique ID of this audience.
|
|
119
|
-
attributes (CreateRetailMediaAudienceAttributes):
|
|
113
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
+
"""RmLegacyAudienceCreateEntityV2Resource - a model defined in OpenAPI
|
|
120
115
|
|
|
121
116
|
Keyword Args:
|
|
122
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -149,6 +144,9 @@ class CreateRetailMediaAudience(ModelNormal):
|
|
|
149
144
|
Animal class but this time we won't travel
|
|
150
145
|
through its discriminator because we passed in
|
|
151
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
+
attributes (RmLegacyAudienceCreateEntityV2): [optional] # noqa: E501
|
|
148
|
+
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
149
|
+
type (str, none_type): [optional] # noqa: E501
|
|
152
150
|
"""
|
|
153
151
|
|
|
154
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -180,9 +178,6 @@ class CreateRetailMediaAudience(ModelNormal):
|
|
|
180
178
|
self._configuration = _configuration
|
|
181
179
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
182
180
|
|
|
183
|
-
self.type = type
|
|
184
|
-
self.id = id
|
|
185
|
-
self.attributes = attributes
|
|
186
181
|
for var_name, var_value in kwargs.items():
|
|
187
182
|
if var_name not in self.attribute_map and \
|
|
188
183
|
self._configuration is not None and \
|
|
@@ -203,13 +198,8 @@ class CreateRetailMediaAudience(ModelNormal):
|
|
|
203
198
|
])
|
|
204
199
|
|
|
205
200
|
@convert_js_args_to_python_args
|
|
206
|
-
def __init__(self,
|
|
207
|
-
"""
|
|
208
|
-
|
|
209
|
-
Args:
|
|
210
|
-
type (str): the name of the entity type
|
|
211
|
-
id (int): Unique ID of this audience.
|
|
212
|
-
attributes (CreateRetailMediaAudienceAttributes):
|
|
201
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
+
"""RmLegacyAudienceCreateEntityV2Resource - a model defined in OpenAPI
|
|
213
203
|
|
|
214
204
|
Keyword Args:
|
|
215
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -242,6 +232,9 @@ class CreateRetailMediaAudience(ModelNormal):
|
|
|
242
232
|
Animal class but this time we won't travel
|
|
243
233
|
through its discriminator because we passed in
|
|
244
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
+
attributes (RmLegacyAudienceCreateEntityV2): [optional] # noqa: E501
|
|
236
|
+
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
237
|
+
type (str, none_type): [optional] # noqa: E501
|
|
245
238
|
"""
|
|
246
239
|
|
|
247
240
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -271,9 +264,6 @@ class CreateRetailMediaAudience(ModelNormal):
|
|
|
271
264
|
self._configuration = _configuration
|
|
272
265
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
273
266
|
|
|
274
|
-
self.type = type
|
|
275
|
-
self.id = id
|
|
276
|
-
self.attributes = attributes
|
|
277
267
|
for var_name, var_value in kwargs.items():
|
|
278
268
|
if var_name not in self.attribute_map and \
|
|
279
269
|
self._configuration is not None and \
|
|
@@ -31,10 +31,12 @@ from criteo_api_retailmedia_v2023_04.exceptions import ApiAttributeError
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
33
|
from criteo_api_retailmedia_v2023_04.model.common_problem import CommonProblem
|
|
34
|
+
from criteo_api_retailmedia_v2023_04.model.rm_legacy_audience_create_entity_v2_resource import RmLegacyAudienceCreateEntityV2Resource
|
|
34
35
|
globals()['CommonProblem'] = CommonProblem
|
|
36
|
+
globals()['RmLegacyAudienceCreateEntityV2Resource'] = RmLegacyAudienceCreateEntityV2Resource
|
|
35
37
|
|
|
36
38
|
|
|
37
|
-
class
|
|
39
|
+
class RmLegacyAudienceCreateEntityV2Response(ModelNormal):
|
|
38
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
41
|
Ref: https://openapi-generator.tech
|
|
40
42
|
|
|
@@ -87,8 +89,9 @@ class CommonStatusCodeResponse(ModelNormal):
|
|
|
87
89
|
"""
|
|
88
90
|
lazy_import()
|
|
89
91
|
return {
|
|
90
|
-
'
|
|
92
|
+
'data': (RmLegacyAudienceCreateEntityV2Resource,), # noqa: E501
|
|
91
93
|
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
94
|
+
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
92
95
|
}
|
|
93
96
|
|
|
94
97
|
@cached_property
|
|
@@ -97,13 +100,14 @@ class CommonStatusCodeResponse(ModelNormal):
|
|
|
97
100
|
|
|
98
101
|
|
|
99
102
|
attribute_map = {
|
|
100
|
-
'
|
|
103
|
+
'data': 'data', # noqa: E501
|
|
101
104
|
'warnings': 'warnings', # noqa: E501
|
|
105
|
+
'errors': 'errors', # noqa: E501
|
|
102
106
|
}
|
|
103
107
|
|
|
104
108
|
read_only_vars = {
|
|
105
|
-
'errors', # noqa: E501
|
|
106
109
|
'warnings', # noqa: E501
|
|
110
|
+
'errors', # noqa: E501
|
|
107
111
|
}
|
|
108
112
|
|
|
109
113
|
_composed_schemas = {}
|
|
@@ -111,7 +115,7 @@ class CommonStatusCodeResponse(ModelNormal):
|
|
|
111
115
|
@classmethod
|
|
112
116
|
@convert_js_args_to_python_args
|
|
113
117
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
118
|
+
"""RmLegacyAudienceCreateEntityV2Response - a model defined in OpenAPI
|
|
115
119
|
|
|
116
120
|
Keyword Args:
|
|
117
121
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -144,8 +148,9 @@ class CommonStatusCodeResponse(ModelNormal):
|
|
|
144
148
|
Animal class but this time we won't travel
|
|
145
149
|
through its discriminator because we passed in
|
|
146
150
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
|
|
148
|
-
warnings ([CommonProblem], none_type):
|
|
151
|
+
data (RmLegacyAudienceCreateEntityV2Resource): [optional] # noqa: E501
|
|
152
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
149
154
|
"""
|
|
150
155
|
|
|
151
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -198,7 +203,7 @@ class CommonStatusCodeResponse(ModelNormal):
|
|
|
198
203
|
|
|
199
204
|
@convert_js_args_to_python_args
|
|
200
205
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
201
|
-
"""
|
|
206
|
+
"""RmLegacyAudienceCreateEntityV2Response - a model defined in OpenAPI
|
|
202
207
|
|
|
203
208
|
Keyword Args:
|
|
204
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -231,8 +236,9 @@ class CommonStatusCodeResponse(ModelNormal):
|
|
|
231
236
|
Animal class but this time we won't travel
|
|
232
237
|
through its discriminator because we passed in
|
|
233
238
|
_visited_composed_classes = (Animal,)
|
|
234
|
-
|
|
235
|
-
warnings ([CommonProblem], none_type):
|
|
239
|
+
data (RmLegacyAudienceCreateEntityV2Resource): [optional] # noqa: E501
|
|
240
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
236
242
|
"""
|
|
237
243
|
|
|
238
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2023_04.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_04.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2023_04.model.rm_legacy_audience_create_entity_v1_resource import RmLegacyAudienceCreateEntityV1Resource
|
|
34
|
+
globals()['RmLegacyAudienceCreateEntityV1Resource'] = RmLegacyAudienceCreateEntityV1Resource
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class RmLegacyAudienceCreateInputEntityV1(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 CreateRetailMediaAudienceV2Request(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'data': (
|
|
90
|
+
'data': (RmLegacyAudienceCreateEntityV1Resource,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -106,11 +106,8 @@ class CreateRetailMediaAudienceV2Request(ModelNormal):
|
|
|
106
106
|
|
|
107
107
|
@classmethod
|
|
108
108
|
@convert_js_args_to_python_args
|
|
109
|
-
def _from_openapi_data(cls,
|
|
110
|
-
"""
|
|
111
|
-
|
|
112
|
-
Args:
|
|
113
|
-
data (CreateRetailMediaAudienceV2Data):
|
|
109
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
+
"""RmLegacyAudienceCreateInputEntityV1 - a model defined in OpenAPI
|
|
114
111
|
|
|
115
112
|
Keyword Args:
|
|
116
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -143,6 +140,7 @@ class CreateRetailMediaAudienceV2Request(ModelNormal):
|
|
|
143
140
|
Animal class but this time we won't travel
|
|
144
141
|
through its discriminator because we passed in
|
|
145
142
|
_visited_composed_classes = (Animal,)
|
|
143
|
+
data (RmLegacyAudienceCreateEntityV1Resource): [optional] # noqa: E501
|
|
146
144
|
"""
|
|
147
145
|
|
|
148
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -174,7 +172,6 @@ class CreateRetailMediaAudienceV2Request(ModelNormal):
|
|
|
174
172
|
self._configuration = _configuration
|
|
175
173
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
176
174
|
|
|
177
|
-
self.data = data
|
|
178
175
|
for var_name, var_value in kwargs.items():
|
|
179
176
|
if var_name not in self.attribute_map and \
|
|
180
177
|
self._configuration is not None and \
|
|
@@ -195,11 +192,8 @@ class CreateRetailMediaAudienceV2Request(ModelNormal):
|
|
|
195
192
|
])
|
|
196
193
|
|
|
197
194
|
@convert_js_args_to_python_args
|
|
198
|
-
def __init__(self,
|
|
199
|
-
"""
|
|
200
|
-
|
|
201
|
-
Args:
|
|
202
|
-
data (CreateRetailMediaAudienceV2Data):
|
|
195
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
+
"""RmLegacyAudienceCreateInputEntityV1 - a model defined in OpenAPI
|
|
203
197
|
|
|
204
198
|
Keyword Args:
|
|
205
199
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -232,6 +226,7 @@ class CreateRetailMediaAudienceV2Request(ModelNormal):
|
|
|
232
226
|
Animal class but this time we won't travel
|
|
233
227
|
through its discriminator because we passed in
|
|
234
228
|
_visited_composed_classes = (Animal,)
|
|
229
|
+
data (RmLegacyAudienceCreateEntityV1Resource): [optional] # noqa: E501
|
|
235
230
|
"""
|
|
236
231
|
|
|
237
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -261,7 +256,6 @@ class CreateRetailMediaAudienceV2Request(ModelNormal):
|
|
|
261
256
|
self._configuration = _configuration
|
|
262
257
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
263
258
|
|
|
264
|
-
self.data = data
|
|
265
259
|
for var_name, var_value in kwargs.items():
|
|
266
260
|
if var_name not in self.attribute_map and \
|
|
267
261
|
self._configuration is not None and \
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2023_04.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_04.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2023_04.model.rm_legacy_audience_create_entity_v2_resource import RmLegacyAudienceCreateEntityV2Resource
|
|
34
|
+
globals()['RmLegacyAudienceCreateEntityV2Resource'] = RmLegacyAudienceCreateEntityV2Resource
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class RmLegacyAudienceCreateInputEntityV2(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 CreateRetailMediaAudienceRequest(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'data': (
|
|
90
|
+
'data': (RmLegacyAudienceCreateEntityV2Resource,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -106,11 +106,8 @@ class CreateRetailMediaAudienceRequest(ModelNormal):
|
|
|
106
106
|
|
|
107
107
|
@classmethod
|
|
108
108
|
@convert_js_args_to_python_args
|
|
109
|
-
def _from_openapi_data(cls,
|
|
110
|
-
"""
|
|
111
|
-
|
|
112
|
-
Args:
|
|
113
|
-
data (CreateRetailMediaAudienceBody):
|
|
109
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
+
"""RmLegacyAudienceCreateInputEntityV2 - a model defined in OpenAPI
|
|
114
111
|
|
|
115
112
|
Keyword Args:
|
|
116
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -143,6 +140,7 @@ class CreateRetailMediaAudienceRequest(ModelNormal):
|
|
|
143
140
|
Animal class but this time we won't travel
|
|
144
141
|
through its discriminator because we passed in
|
|
145
142
|
_visited_composed_classes = (Animal,)
|
|
143
|
+
data (RmLegacyAudienceCreateEntityV2Resource): [optional] # noqa: E501
|
|
146
144
|
"""
|
|
147
145
|
|
|
148
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -174,7 +172,6 @@ class CreateRetailMediaAudienceRequest(ModelNormal):
|
|
|
174
172
|
self._configuration = _configuration
|
|
175
173
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
176
174
|
|
|
177
|
-
self.data = data
|
|
178
175
|
for var_name, var_value in kwargs.items():
|
|
179
176
|
if var_name not in self.attribute_map and \
|
|
180
177
|
self._configuration is not None and \
|
|
@@ -195,11 +192,8 @@ class CreateRetailMediaAudienceRequest(ModelNormal):
|
|
|
195
192
|
])
|
|
196
193
|
|
|
197
194
|
@convert_js_args_to_python_args
|
|
198
|
-
def __init__(self,
|
|
199
|
-
"""
|
|
200
|
-
|
|
201
|
-
Args:
|
|
202
|
-
data (CreateRetailMediaAudienceBody):
|
|
195
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
+
"""RmLegacyAudienceCreateInputEntityV2 - a model defined in OpenAPI
|
|
203
197
|
|
|
204
198
|
Keyword Args:
|
|
205
199
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -232,6 +226,7 @@ class CreateRetailMediaAudienceRequest(ModelNormal):
|
|
|
232
226
|
Animal class but this time we won't travel
|
|
233
227
|
through its discriminator because we passed in
|
|
234
228
|
_visited_composed_classes = (Animal,)
|
|
229
|
+
data (RmLegacyAudienceCreateEntityV2Resource): [optional] # noqa: E501
|
|
235
230
|
"""
|
|
236
231
|
|
|
237
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -261,7 +256,6 @@ class CreateRetailMediaAudienceRequest(ModelNormal):
|
|
|
261
256
|
self._configuration = _configuration
|
|
262
257
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
263
258
|
|
|
264
|
-
self.data = data
|
|
265
259
|
for var_name, var_value in kwargs.items():
|
|
266
260
|
if var_name not in self.attribute_map and \
|
|
267
261
|
self._configuration is not None and \
|
|
@@ -30,13 +30,13 @@ from criteo_api_retailmedia_v2023_04.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_04.model.
|
|
34
|
-
from criteo_api_retailmedia_v2023_04.model.
|
|
35
|
-
globals()['
|
|
36
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2023_04.model.rm_legacy_segment_customer_list import RmLegacySegmentCustomerList
|
|
34
|
+
from criteo_api_retailmedia_v2023_04.model.rm_legacy_segment_user_behavior_v1 import RmLegacySegmentUserBehaviorV1
|
|
35
|
+
globals()['RmLegacySegmentCustomerList'] = RmLegacySegmentCustomerList
|
|
36
|
+
globals()['RmLegacySegmentUserBehaviorV1'] = RmLegacySegmentUserBehaviorV1
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class RmLegacyAudienceGetEntityV1(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -89,10 +89,10 @@ class RetailMediaAudienceV2Attributes(ModelNormal):
|
|
|
89
89
|
"""
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
|
-
'retailer_id': (int,), # noqa: E501
|
|
93
92
|
'name': (str,), # noqa: E501
|
|
94
|
-
'
|
|
95
|
-
'
|
|
93
|
+
'retailer_id': (str,), # noqa: E501
|
|
94
|
+
'user_behavior_details': (RmLegacySegmentUserBehaviorV1,), # noqa: E501
|
|
95
|
+
'customer_list_details': (RmLegacySegmentCustomerList,), # noqa: E501
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
@cached_property
|
|
@@ -101,8 +101,8 @@ class RetailMediaAudienceV2Attributes(ModelNormal):
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
attribute_map = {
|
|
104
|
-
'retailer_id': 'retailerId', # noqa: E501
|
|
105
104
|
'name': 'name', # noqa: E501
|
|
105
|
+
'retailer_id': 'retailerId', # noqa: E501
|
|
106
106
|
'user_behavior_details': 'userBehaviorDetails', # noqa: E501
|
|
107
107
|
'customer_list_details': 'customerListDetails', # noqa: E501
|
|
108
108
|
}
|
|
@@ -114,12 +114,12 @@ class RetailMediaAudienceV2Attributes(ModelNormal):
|
|
|
114
114
|
|
|
115
115
|
@classmethod
|
|
116
116
|
@convert_js_args_to_python_args
|
|
117
|
-
def _from_openapi_data(cls,
|
|
118
|
-
"""
|
|
117
|
+
def _from_openapi_data(cls, name, retailer_id, *args, **kwargs): # noqa: E501
|
|
118
|
+
"""RmLegacyAudienceGetEntityV1 - a model defined in OpenAPI
|
|
119
119
|
|
|
120
120
|
Args:
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
name (str): Name of the audience
|
|
122
|
+
retailer_id (str): ID of the retailer associated with this 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 RetailMediaAudienceV2Attributes(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 (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501
|
|
156
|
+
customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501
|
|
157
157
|
"""
|
|
158
158
|
|
|
159
159
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -185,8 +185,8 @@ class RetailMediaAudienceV2Attributes(ModelNormal):
|
|
|
185
185
|
self._configuration = _configuration
|
|
186
186
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
187
187
|
|
|
188
|
-
self.retailer_id = retailer_id
|
|
189
188
|
self.name = name
|
|
189
|
+
self.retailer_id = retailer_id
|
|
190
190
|
for var_name, var_value in kwargs.items():
|
|
191
191
|
if var_name not in self.attribute_map and \
|
|
192
192
|
self._configuration is not None and \
|
|
@@ -207,12 +207,12 @@ class RetailMediaAudienceV2Attributes(ModelNormal):
|
|
|
207
207
|
])
|
|
208
208
|
|
|
209
209
|
@convert_js_args_to_python_args
|
|
210
|
-
def __init__(self,
|
|
211
|
-
"""
|
|
210
|
+
def __init__(self, name, retailer_id, *args, **kwargs): # noqa: E501
|
|
211
|
+
"""RmLegacyAudienceGetEntityV1 - a model defined in OpenAPI
|
|
212
212
|
|
|
213
213
|
Args:
|
|
214
|
-
|
|
215
|
-
|
|
214
|
+
name (str): Name of the audience
|
|
215
|
+
retailer_id (str): ID of the retailer associated with this 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 RetailMediaAudienceV2Attributes(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 (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501
|
|
249
|
+
customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501
|
|
250
250
|
"""
|
|
251
251
|
|
|
252
252
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -276,8 +276,8 @@ class RetailMediaAudienceV2Attributes(ModelNormal):
|
|
|
276
276
|
self._configuration = _configuration
|
|
277
277
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
278
278
|
|
|
279
|
-
self.retailer_id = retailer_id
|
|
280
279
|
self.name = name
|
|
280
|
+
self.retailer_id = retailer_id
|
|
281
281
|
for var_name, var_value in kwargs.items():
|
|
282
282
|
if var_name not in self.attribute_map and \
|
|
283
283
|
self._configuration is not None and \
|