criteo-api-retailmedia-sdk 0.0.240118__py3-none-any.whl → 0.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_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +181 -35
- criteo_api_retailmedia_preview/api/analytics_api.py +142 -0
- criteo_api_retailmedia_preview/api/audience_api.py +2 -313
- criteo_api_retailmedia_preview/api/campaign_api.py +443 -974
- criteo_api_retailmedia_preview/api/catalog_api.py +312 -0
- criteo_api_retailmedia_preview/api_client.py +4 -4
- criteo_api_retailmedia_preview/apis/__init__.py +1 -0
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/{creative202210.py → async_accounts_report.py} +149 -95
- criteo_api_retailmedia_preview/model/{external_catalog_request_preview.py → async_accounts_report_request.py} +13 -10
- criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +273 -0
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +57 -53
- criteo_api_retailmedia_preview/model/async_line_items_report.py +57 -54
- criteo_api_retailmedia_preview/model/{customer_list_details.py → batch_accepted_response.py} +11 -11
- criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_of_int64.py → change_details.py} +27 -26
- criteo_api_retailmedia_preview/model/{color_variable_value.py → custom_attribute.py} +17 -16
- criteo_api_retailmedia_preview/model/export_report_column.py +2 -2
- criteo_api_retailmedia_preview/model/external_account.py +4 -0
- criteo_api_retailmedia_preview/model/{files_variable_value.py → external_line_item_capping_v2.py} +22 -13
- criteo_api_retailmedia_preview/model/external_line_item_page_category_v2.py +273 -0
- criteo_api_retailmedia_preview/model/{page_type_environment.py → external_line_item_page_v2.py} +40 -29
- criteo_api_retailmedia_preview/model/{retail_media_audience_attributes.py → external_preferred_line_item_create_model_v2.py} +79 -25
- criteo_api_retailmedia_preview/model/{external_catalog_status.py → external_preferred_line_item_update_model_v2.py} +70 -47
- criteo_api_retailmedia_preview/model/{template.py → external_preferred_line_item_v2.py} +93 -70
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py → fail_response.py} +21 -23
- criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py +273 -0
- criteo_api_retailmedia_preview/model/{retail_media_audience.py → insertion_order_history_change_data_capture.py} +48 -42
- criteo_api_retailmedia_preview/model/installment.py +273 -0
- criteo_api_retailmedia_preview/model/{creative202210_response.py → loyalty_points.py} +15 -25
- criteo_api_retailmedia_preview/model/metadata.py +273 -0
- criteo_api_retailmedia_preview/model/page_of_insertion_order_history_change_data_capture.py +276 -0
- criteo_api_retailmedia_preview/model/{json_api_request_of_catalog_request_preview.py → preferred_line_item_create_model_v2_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{common_status_code_response.py → preferred_line_item_update_model_v2_request.py} +9 -15
- criteo_api_retailmedia_preview/model/{retail_media_audience_v2_list_response.py → preferred_line_item_v2_paged_list_response.py} +21 -27
- criteo_api_retailmedia_preview/model/{creative202210_list_response.py → preferred_line_item_v2_response.py} +16 -16
- criteo_api_retailmedia_preview/model/price.py +267 -0
- criteo_api_retailmedia_preview/model/product.py +626 -0
- criteo_api_retailmedia_preview/model/{retail_media_audience_v2.py → product_importer_error.py} +37 -29
- criteo_api_retailmedia_preview/model/product_importer_warning.py +299 -0
- criteo_api_retailmedia_preview/model/product_shipping.py +293 -0
- criteo_api_retailmedia_preview/model/product_shipping_dimension.py +267 -0
- criteo_api_retailmedia_preview/model/product_shipping_weight.py +267 -0
- criteo_api_retailmedia_preview/model/product_tax.py +283 -0
- criteo_api_retailmedia_preview/model/{choice_variable_value.py → product_unit_pricing_base_measure.py} +13 -15
- criteo_api_retailmedia_preview/model/{text_variable_specification.py → product_unit_pricing_measure.py} +11 -7
- criteo_api_retailmedia_preview/model/{section.py → products_custom_batch_request.py} +13 -19
- criteo_api_retailmedia_preview/model/{retail_media_audience_v2_attributes.py → products_custom_batch_request_entry.py} +43 -29
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_catalog_request_and_catalog_request_preview.py → report_detail_error.py} +35 -15
- criteo_api_retailmedia_preview/model/report_detail_errors.py +281 -0
- criteo_api_retailmedia_preview/model/{template_variable_value.py → report_ok_response.py} +58 -43
- criteo_api_retailmedia_preview/model/{resource_of_creative202210.py → resource_of_preferred_line_item_update_model_v2.py} +9 -9
- criteo_api_retailmedia_preview/model/{resource_of_template.py → resource_of_preferred_line_item_v2.py} +9 -9
- criteo_api_retailmedia_preview/model/retail_media_account.py +4 -0
- criteo_api_retailmedia_preview/model/retail_media_brand_account_creation.py +4 -0
- criteo_api_retailmedia_preview/model/{text_variable_value.py → retail_media_brands.py} +10 -22
- criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py +4 -0
- criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2.py +3 -3
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +37 -37
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +51 -47
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +53 -50
- criteo_api_retailmedia_preview/model/value_resource_collection_input_of_retail_media_seller.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brand_account_creation.py +262 -0
- criteo_api_retailmedia_preview/model/{hyperlink_variable_value.py → value_resource_input_of_retail_media_brands.py} +15 -22
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_seller_account_creation.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_brand_account_creation.py +266 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_int64.py → value_resource_of_retail_media_brands.py} +11 -6
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller_account_creation.py +266 -0
- criteo_api_retailmedia_preview/models/__init__.py +48 -42
- {criteo_api_retailmedia_sdk-0.0.240118.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.240118.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/RECORD +73 -66
- {criteo_api_retailmedia_sdk-0.0.240118.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_preview/model/choice_option.py +0 -281
- criteo_api_retailmedia_preview/model/choice_variable_specification.py +0 -283
- criteo_api_retailmedia_preview/model/create_user_behavior_segment_v2.py +0 -309
- criteo_api_retailmedia_preview/model/creative_create_model202207.py +0 -297
- criteo_api_retailmedia_preview/model/creative_update_model202207.py +0 -297
- criteo_api_retailmedia_preview/model/files_variables_specification.py +0 -290
- criteo_api_retailmedia_preview/model/get_page_of_audiences_by_account_id_response.py +0 -295
- criteo_api_retailmedia_preview/model/json_api_single_response_of_catalog_status.py +0 -287
- criteo_api_retailmedia_preview/model/template_list_response.py +0 -281
- criteo_api_retailmedia_preview/model/template_response.py +0 -281
- criteo_api_retailmedia_preview/model/template_variable.py +0 -310
- criteo_api_retailmedia_preview/model/user_behavior_details.py +0 -306
- criteo_api_retailmedia_preview/model/user_behavior_details_v2.py +0 -279
- {criteo_api_retailmedia_sdk-0.0.240118.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/top_level.txt +0 -0
criteo_api_retailmedia_preview/model/{customer_list_details.py → batch_accepted_response.py}
RENAMED
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class BatchAcceptedResponse(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -81,7 +81,7 @@ class CustomerListDetails(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'
|
|
84
|
+
'operation_token': (str,), # noqa: E501
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
@cached_property
|
|
@@ -90,7 +90,7 @@ class CustomerListDetails(ModelNormal):
|
|
|
90
90
|
|
|
91
91
|
|
|
92
92
|
attribute_map = {
|
|
93
|
-
'
|
|
93
|
+
'operation_token': 'operationToken', # noqa: E501
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
read_only_vars = {
|
|
@@ -100,11 +100,11 @@ class CustomerListDetails(ModelNormal):
|
|
|
100
100
|
|
|
101
101
|
@classmethod
|
|
102
102
|
@convert_js_args_to_python_args
|
|
103
|
-
def _from_openapi_data(cls,
|
|
104
|
-
"""
|
|
103
|
+
def _from_openapi_data(cls, operation_token, *args, **kwargs): # noqa: E501
|
|
104
|
+
"""BatchAcceptedResponse - a model defined in OpenAPI
|
|
105
105
|
|
|
106
106
|
Args:
|
|
107
|
-
|
|
107
|
+
operation_token (str):
|
|
108
108
|
|
|
109
109
|
Keyword Args:
|
|
110
110
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -168,7 +168,7 @@ class CustomerListDetails(ModelNormal):
|
|
|
168
168
|
self._configuration = _configuration
|
|
169
169
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
170
170
|
|
|
171
|
-
self.
|
|
171
|
+
self.operation_token = operation_token
|
|
172
172
|
for var_name, var_value in kwargs.items():
|
|
173
173
|
if var_name not in self.attribute_map and \
|
|
174
174
|
self._configuration is not None and \
|
|
@@ -189,11 +189,11 @@ class CustomerListDetails(ModelNormal):
|
|
|
189
189
|
])
|
|
190
190
|
|
|
191
191
|
@convert_js_args_to_python_args
|
|
192
|
-
def __init__(self,
|
|
193
|
-
"""
|
|
192
|
+
def __init__(self, operation_token, *args, **kwargs): # noqa: E501
|
|
193
|
+
"""BatchAcceptedResponse - a model defined in OpenAPI
|
|
194
194
|
|
|
195
195
|
Args:
|
|
196
|
-
|
|
196
|
+
operation_token (str):
|
|
197
197
|
|
|
198
198
|
Keyword Args:
|
|
199
199
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -255,7 +255,7 @@ class CustomerListDetails(ModelNormal):
|
|
|
255
255
|
self._configuration = _configuration
|
|
256
256
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
257
257
|
|
|
258
|
-
self.
|
|
258
|
+
self.operation_token = operation_token
|
|
259
259
|
for var_name, var_value in kwargs.items():
|
|
260
260
|
if var_name not in self.attribute_map and \
|
|
261
261
|
self._configuration is not None and \
|
|
@@ -29,14 +29,8 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
|
29
29
|
from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.common_problem import CommonProblem
|
|
34
|
-
from criteo_api_retailmedia_preview.model.value_resource_of_int64 import ValueResourceOfInt64
|
|
35
|
-
globals()['CommonProblem'] = CommonProblem
|
|
36
|
-
globals()['ValueResourceOfInt64'] = ValueResourceOfInt64
|
|
37
32
|
|
|
38
|
-
|
|
39
|
-
class ValueResourceCollectionOutcomeOfInt64(ModelNormal):
|
|
33
|
+
class ChangeDetails(ModelNormal):
|
|
40
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
35
|
Ref: https://openapi-generator.tech
|
|
42
36
|
|
|
@@ -80,11 +74,10 @@ class ValueResourceCollectionOutcomeOfInt64(ModelNormal):
|
|
|
80
74
|
openapi_types (dict): The key is attribute name
|
|
81
75
|
and the value is attribute type.
|
|
82
76
|
"""
|
|
83
|
-
lazy_import()
|
|
84
77
|
return {
|
|
85
|
-
'
|
|
86
|
-
'
|
|
87
|
-
'
|
|
78
|
+
'previous_value': (str, none_type,), # noqa: E501
|
|
79
|
+
'current_value': (str, none_type,), # noqa: E501
|
|
80
|
+
'change_value': (str, none_type,), # noqa: E501
|
|
88
81
|
}
|
|
89
82
|
|
|
90
83
|
@cached_property
|
|
@@ -93,22 +86,25 @@ class ValueResourceCollectionOutcomeOfInt64(ModelNormal):
|
|
|
93
86
|
|
|
94
87
|
|
|
95
88
|
attribute_map = {
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
89
|
+
'previous_value': 'previousValue', # noqa: E501
|
|
90
|
+
'current_value': 'currentValue', # noqa: E501
|
|
91
|
+
'change_value': 'changeValue', # noqa: E501
|
|
99
92
|
}
|
|
100
93
|
|
|
101
94
|
read_only_vars = {
|
|
102
|
-
'warnings', # noqa: E501
|
|
103
|
-
'errors', # noqa: E501
|
|
104
95
|
}
|
|
105
96
|
|
|
106
97
|
_composed_schemas = {}
|
|
107
98
|
|
|
108
99
|
@classmethod
|
|
109
100
|
@convert_js_args_to_python_args
|
|
110
|
-
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
111
|
-
"""
|
|
101
|
+
def _from_openapi_data(cls, previous_value, current_value, change_value, *args, **kwargs): # noqa: E501
|
|
102
|
+
"""ChangeDetails - a model defined in OpenAPI
|
|
103
|
+
|
|
104
|
+
Args:
|
|
105
|
+
previous_value (str, none_type): Previous value of a property of the insertion order.
|
|
106
|
+
current_value (str, none_type): Current value of a property of the insertion order.
|
|
107
|
+
change_value (str, none_type): Change detail of a property of the insertion order.
|
|
112
108
|
|
|
113
109
|
Keyword Args:
|
|
114
110
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -141,9 +137,6 @@ class ValueResourceCollectionOutcomeOfInt64(ModelNormal):
|
|
|
141
137
|
Animal class but this time we won't travel
|
|
142
138
|
through its discriminator because we passed in
|
|
143
139
|
_visited_composed_classes = (Animal,)
|
|
144
|
-
data ([ValueResourceOfInt64], none_type): [optional] # noqa: E501
|
|
145
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
146
|
-
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
147
140
|
"""
|
|
148
141
|
|
|
149
142
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -175,6 +168,9 @@ class ValueResourceCollectionOutcomeOfInt64(ModelNormal):
|
|
|
175
168
|
self._configuration = _configuration
|
|
176
169
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
177
170
|
|
|
171
|
+
self.previous_value = previous_value
|
|
172
|
+
self.current_value = current_value
|
|
173
|
+
self.change_value = change_value
|
|
178
174
|
for var_name, var_value in kwargs.items():
|
|
179
175
|
if var_name not in self.attribute_map and \
|
|
180
176
|
self._configuration is not None and \
|
|
@@ -195,8 +191,13 @@ class ValueResourceCollectionOutcomeOfInt64(ModelNormal):
|
|
|
195
191
|
])
|
|
196
192
|
|
|
197
193
|
@convert_js_args_to_python_args
|
|
198
|
-
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
-
"""
|
|
194
|
+
def __init__(self, previous_value, current_value, change_value, *args, **kwargs): # noqa: E501
|
|
195
|
+
"""ChangeDetails - a model defined in OpenAPI
|
|
196
|
+
|
|
197
|
+
Args:
|
|
198
|
+
previous_value (str, none_type): Previous value of a property of the insertion order.
|
|
199
|
+
current_value (str, none_type): Current value of a property of the insertion order.
|
|
200
|
+
change_value (str, none_type): Change detail of a property of the insertion order.
|
|
200
201
|
|
|
201
202
|
Keyword Args:
|
|
202
203
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -229,9 +230,6 @@ class ValueResourceCollectionOutcomeOfInt64(ModelNormal):
|
|
|
229
230
|
Animal class but this time we won't travel
|
|
230
231
|
through its discriminator because we passed in
|
|
231
232
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
data ([ValueResourceOfInt64], none_type): [optional] # noqa: E501
|
|
233
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
234
|
-
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
235
233
|
"""
|
|
236
234
|
|
|
237
235
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -261,6 +259,9 @@ class ValueResourceCollectionOutcomeOfInt64(ModelNormal):
|
|
|
261
259
|
self._configuration = _configuration
|
|
262
260
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
263
261
|
|
|
262
|
+
self.previous_value = previous_value
|
|
263
|
+
self.current_value = current_value
|
|
264
|
+
self.change_value = change_value
|
|
264
265
|
for var_name, var_value in kwargs.items():
|
|
265
266
|
if var_name not in self.attribute_map and \
|
|
266
267
|
self._configuration is not None and \
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class CustomAttribute(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -58,11 +58,6 @@ class ColorVariableValue(ModelNormal):
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
validations = {
|
|
61
|
-
('color',): {
|
|
62
|
-
'regex': {
|
|
63
|
-
'pattern': r'^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$', # noqa: E501
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
61
|
}
|
|
67
62
|
|
|
68
63
|
@cached_property
|
|
@@ -86,7 +81,8 @@ class ColorVariableValue(ModelNormal):
|
|
|
86
81
|
and the value is attribute type.
|
|
87
82
|
"""
|
|
88
83
|
return {
|
|
89
|
-
'
|
|
84
|
+
'name': (str,), # noqa: E501
|
|
85
|
+
'value': (str,), # noqa: E501
|
|
90
86
|
}
|
|
91
87
|
|
|
92
88
|
@cached_property
|
|
@@ -95,7 +91,8 @@ class ColorVariableValue(ModelNormal):
|
|
|
95
91
|
|
|
96
92
|
|
|
97
93
|
attribute_map = {
|
|
98
|
-
'
|
|
94
|
+
'name': 'name', # noqa: E501
|
|
95
|
+
'value': 'value', # noqa: E501
|
|
99
96
|
}
|
|
100
97
|
|
|
101
98
|
read_only_vars = {
|
|
@@ -105,11 +102,12 @@ class ColorVariableValue(ModelNormal):
|
|
|
105
102
|
|
|
106
103
|
@classmethod
|
|
107
104
|
@convert_js_args_to_python_args
|
|
108
|
-
def _from_openapi_data(cls,
|
|
109
|
-
"""
|
|
105
|
+
def _from_openapi_data(cls, name, value, *args, **kwargs): # noqa: E501
|
|
106
|
+
"""CustomAttribute - a model defined in OpenAPI
|
|
110
107
|
|
|
111
108
|
Args:
|
|
112
|
-
|
|
109
|
+
name (str): The name of the attribute. Underscores will be replaced by spaces upon insertion.
|
|
110
|
+
value (str): The value of the attribute.
|
|
113
111
|
|
|
114
112
|
Keyword Args:
|
|
115
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -173,7 +171,8 @@ class ColorVariableValue(ModelNormal):
|
|
|
173
171
|
self._configuration = _configuration
|
|
174
172
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
175
173
|
|
|
176
|
-
self.
|
|
174
|
+
self.name = name
|
|
175
|
+
self.value = value
|
|
177
176
|
for var_name, var_value in kwargs.items():
|
|
178
177
|
if var_name not in self.attribute_map and \
|
|
179
178
|
self._configuration is not None and \
|
|
@@ -194,11 +193,12 @@ class ColorVariableValue(ModelNormal):
|
|
|
194
193
|
])
|
|
195
194
|
|
|
196
195
|
@convert_js_args_to_python_args
|
|
197
|
-
def __init__(self,
|
|
198
|
-
"""
|
|
196
|
+
def __init__(self, name, value, *args, **kwargs): # noqa: E501
|
|
197
|
+
"""CustomAttribute - a model defined in OpenAPI
|
|
199
198
|
|
|
200
199
|
Args:
|
|
201
|
-
|
|
200
|
+
name (str): The name of the attribute. Underscores will be replaced by spaces upon insertion.
|
|
201
|
+
value (str): The value of the attribute.
|
|
202
202
|
|
|
203
203
|
Keyword Args:
|
|
204
204
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -260,7 +260,8 @@ class ColorVariableValue(ModelNormal):
|
|
|
260
260
|
self._configuration = _configuration
|
|
261
261
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
262
262
|
|
|
263
|
-
self.
|
|
263
|
+
self.name = name
|
|
264
|
+
self.value = value
|
|
264
265
|
for var_name, var_value in kwargs.items():
|
|
265
266
|
if var_name not in self.attribute_map and \
|
|
266
267
|
self._configuration is not None and \
|
|
@@ -138,7 +138,7 @@ class ExportReportColumn(ModelNormal):
|
|
|
138
138
|
Args:
|
|
139
139
|
name (str): Name of the exported column
|
|
140
140
|
type (str): Type of the column
|
|
141
|
-
role (str): Role of the
|
|
141
|
+
role (str): Role of the column
|
|
142
142
|
|
|
143
143
|
Keyword Args:
|
|
144
144
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -237,7 +237,7 @@ class ExportReportColumn(ModelNormal):
|
|
|
237
237
|
Args:
|
|
238
238
|
name (str): Name of the exported column
|
|
239
239
|
type (str): Type of the column
|
|
240
|
-
role (str): Role of the
|
|
240
|
+
role (str): Role of the column
|
|
241
241
|
|
|
242
242
|
Keyword Args:
|
|
243
243
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -107,6 +107,7 @@ class ExternalAccount(ModelNormal):
|
|
|
107
107
|
'parent_account_label': (str,), # noqa: E501
|
|
108
108
|
'time_zone': (str,), # noqa: E501
|
|
109
109
|
'subtype': (str, none_type,), # noqa: E501
|
|
110
|
+
'company_name': (str, none_type,), # noqa: E501
|
|
110
111
|
}
|
|
111
112
|
|
|
112
113
|
@cached_property
|
|
@@ -122,6 +123,7 @@ class ExternalAccount(ModelNormal):
|
|
|
122
123
|
'parent_account_label': 'parentAccountLabel', # noqa: E501
|
|
123
124
|
'time_zone': 'timeZone', # noqa: E501
|
|
124
125
|
'subtype': 'subtype', # noqa: E501
|
|
126
|
+
'company_name': 'companyName', # noqa: E501
|
|
125
127
|
}
|
|
126
128
|
|
|
127
129
|
read_only_vars = {
|
|
@@ -174,6 +176,7 @@ class ExternalAccount(ModelNormal):
|
|
|
174
176
|
through its discriminator because we passed in
|
|
175
177
|
_visited_composed_classes = (Animal,)
|
|
176
178
|
subtype (str, none_type): [optional] # noqa: E501
|
|
179
|
+
company_name (str, none_type): [optional] # noqa: E501
|
|
177
180
|
"""
|
|
178
181
|
|
|
179
182
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -274,6 +277,7 @@ class ExternalAccount(ModelNormal):
|
|
|
274
277
|
through its discriminator because we passed in
|
|
275
278
|
_visited_composed_classes = (Animal,)
|
|
276
279
|
subtype (str, none_type): [optional] # noqa: E501
|
|
280
|
+
company_name (str, none_type): [optional] # noqa: E501
|
|
277
281
|
"""
|
|
278
282
|
|
|
279
283
|
_check_type = kwargs.pop('_check_type', True)
|
criteo_api_retailmedia_preview/model/{files_variable_value.py → external_line_item_capping_v2.py}
RENAMED
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class ExternalLineItemCappingV2(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -55,11 +55,14 @@ class FilesVariableValue(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
+
('type',): {
|
|
59
|
+
'UNKNOWN': "unknown",
|
|
60
|
+
'DAY': "day",
|
|
61
|
+
'SESSION': "session",
|
|
62
|
+
},
|
|
58
63
|
}
|
|
59
64
|
|
|
60
65
|
validations = {
|
|
61
|
-
('asset_ids',): {
|
|
62
|
-
},
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
@cached_property
|
|
@@ -83,7 +86,8 @@ class FilesVariableValue(ModelNormal):
|
|
|
83
86
|
and the value is attribute type.
|
|
84
87
|
"""
|
|
85
88
|
return {
|
|
86
|
-
'
|
|
89
|
+
'type': (str,), # noqa: E501
|
|
90
|
+
'count': (int,), # noqa: E501
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
@cached_property
|
|
@@ -92,7 +96,8 @@ class FilesVariableValue(ModelNormal):
|
|
|
92
96
|
|
|
93
97
|
|
|
94
98
|
attribute_map = {
|
|
95
|
-
'
|
|
99
|
+
'type': 'type', # noqa: E501
|
|
100
|
+
'count': 'count', # noqa: E501
|
|
96
101
|
}
|
|
97
102
|
|
|
98
103
|
read_only_vars = {
|
|
@@ -102,11 +107,12 @@ class FilesVariableValue(ModelNormal):
|
|
|
102
107
|
|
|
103
108
|
@classmethod
|
|
104
109
|
@convert_js_args_to_python_args
|
|
105
|
-
def _from_openapi_data(cls,
|
|
106
|
-
"""
|
|
110
|
+
def _from_openapi_data(cls, type, count, *args, **kwargs): # noqa: E501
|
|
111
|
+
"""ExternalLineItemCappingV2 - a model defined in OpenAPI
|
|
107
112
|
|
|
108
113
|
Args:
|
|
109
|
-
|
|
114
|
+
type (str): Line Item Capping Type Enum
|
|
115
|
+
count (int):
|
|
110
116
|
|
|
111
117
|
Keyword Args:
|
|
112
118
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -170,7 +176,8 @@ class FilesVariableValue(ModelNormal):
|
|
|
170
176
|
self._configuration = _configuration
|
|
171
177
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
172
178
|
|
|
173
|
-
self.
|
|
179
|
+
self.type = type
|
|
180
|
+
self.count = count
|
|
174
181
|
for var_name, var_value in kwargs.items():
|
|
175
182
|
if var_name not in self.attribute_map and \
|
|
176
183
|
self._configuration is not None and \
|
|
@@ -191,11 +198,12 @@ class FilesVariableValue(ModelNormal):
|
|
|
191
198
|
])
|
|
192
199
|
|
|
193
200
|
@convert_js_args_to_python_args
|
|
194
|
-
def __init__(self,
|
|
195
|
-
"""
|
|
201
|
+
def __init__(self, type, count, *args, **kwargs): # noqa: E501
|
|
202
|
+
"""ExternalLineItemCappingV2 - a model defined in OpenAPI
|
|
196
203
|
|
|
197
204
|
Args:
|
|
198
|
-
|
|
205
|
+
type (str): Line Item Capping Type Enum
|
|
206
|
+
count (int):
|
|
199
207
|
|
|
200
208
|
Keyword Args:
|
|
201
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -257,7 +265,8 @@ class FilesVariableValue(ModelNormal):
|
|
|
257
265
|
self._configuration = _configuration
|
|
258
266
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
259
267
|
|
|
260
|
-
self.
|
|
268
|
+
self.type = type
|
|
269
|
+
self.count = count
|
|
261
270
|
for var_name, var_value in kwargs.items():
|
|
262
271
|
if var_name not in self.attribute_map and \
|
|
263
272
|
self._configuration is not None and \
|