criteo-api-retailmedia-sdk 0.0.250811__py3-none-any.whl → 0.0.250825__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/audience_api.py +4 -4
- criteo_api_retailmedia_preview/api/balance_api.py +48 -48
- criteo_api_retailmedia_preview/api/campaign_api.py +424 -398
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/async_fill_rate_report.py +0 -2
- criteo_api_retailmedia_preview/model/balance_response_v2.py +6 -6
- criteo_api_retailmedia_preview/model/{paged_resource_collection_outcome_of_balance_response_v2.py → balance_response_v2_paged_list_response.py} +3 -3
- criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +9 -9
- criteo_api_retailmedia_preview/model/create_balance_v2.py +6 -6
- criteo_api_retailmedia_preview/model/flight_leg.py +6 -6
- criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py +5 -5
- criteo_api_retailmedia_preview/model/{external_line_item_capping_v2.py → line_item_capping_v2.py} +4 -4
- criteo_api_retailmedia_preview/model/{external_line_item_page_category_v2.py → line_item_page_category_v2.py} +3 -3
- criteo_api_retailmedia_preview/model/{external_line_item_page_v2.py → line_item_page_v2.py} +9 -9
- criteo_api_retailmedia_preview/model/page_metadata.py +1 -1
- criteo_api_retailmedia_preview/model/{external_preferred_line_item_create_model_v2.py → preferred_line_item_create_model_v2.py} +16 -16
- criteo_api_retailmedia_preview/model/{external_preferred_line_item_update_model_v2.py → preferred_line_item_update_model_v2.py} +16 -16
- criteo_api_retailmedia_preview/model/{external_preferred_line_item_v2.py → preferred_line_item_v2.py} +33 -35
- criteo_api_retailmedia_preview/model/product_button_request.py +30 -12
- criteo_api_retailmedia_preview/model/{product_button_list_request.py → product_button_request_list_request.py} +4 -4
- criteo_api_retailmedia_preview/model/product_button_request_request.py +269 -0
- criteo_api_retailmedia_preview/model/{external_product_button_response.py → product_button_response.py} +3 -3
- criteo_api_retailmedia_preview/model/{product_button_list_response.py → product_button_response_list_response.py} +15 -15
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_update_model_v2.py +5 -5
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +5 -5
- criteo_api_retailmedia_preview/model/resource_of_product_button_request.py +6 -6
- criteo_api_retailmedia_preview/model/resource_of_product_button_response.py +6 -6
- criteo_api_retailmedia_preview/model/{rm_audience_compute_sizes_entity_v1.py → rm_audience_compute_size_entity_v1.py} +3 -4
- criteo_api_retailmedia_preview/model/{rm_audience_compute_sizes_entity_v1_resource.py → rm_audience_compute_size_entity_v1_resource.py} +8 -8
- criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_input_v1.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_estimate_size_entity_v1.py +0 -1
- criteo_api_retailmedia_preview/model/rm_audience_segment_compute_size_entity_v1.py +0 -1
- criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_entity_v1.py +0 -1
- criteo_api_retailmedia_preview/model/rm_events_create_v1.py +0 -2
- criteo_api_retailmedia_preview/model/rm_events_estimation_v1.py +0 -2
- criteo_api_retailmedia_preview/model/rm_events_update_v1.py +0 -2
- criteo_api_retailmedia_preview/model/sponsored_products_line_item.py +4 -4
- criteo_api_retailmedia_preview/model/sponsored_products_line_item_create_request_model.py +6 -6
- criteo_api_retailmedia_preview/model/sponsored_products_line_item_update_request_model.py +9 -9
- criteo_api_retailmedia_preview/models/__init__.py +13 -13
- {criteo_api_retailmedia_sdk-0.0.250811.dist-info → criteo_api_retailmedia_sdk-0.0.250825.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250811.dist-info → criteo_api_retailmedia_sdk-0.0.250825.dist-info}/RECORD +46 -46
- criteo_api_retailmedia_preview/model/external_product_button_request.py +0 -287
- {criteo_api_retailmedia_sdk-0.0.250811.dist-info → criteo_api_retailmedia_sdk-0.0.250825.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.250811.dist-info → criteo_api_retailmedia_sdk-0.0.250825.dist-info}/top_level.txt +0 -0
|
@@ -76,7 +76,7 @@ class ApiClient(object):
|
|
|
76
76
|
self.default_headers[header_name] = header_value
|
|
77
77
|
self.cookie = cookie
|
|
78
78
|
# Set default User-Agent.
|
|
79
|
-
self.user_agent = 'OpenAPI-Generator/0.0.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/0.0.250825/python'
|
|
80
80
|
|
|
81
81
|
def __enter__(self):
|
|
82
82
|
return self
|
|
@@ -395,7 +395,7 @@ class Configuration(object):
|
|
|
395
395
|
"OS: {env}\n"\
|
|
396
396
|
"Python Version: {pyversion}\n"\
|
|
397
397
|
"Version of the API: Preview\n"\
|
|
398
|
-
"SDK Package Version: 0.0.
|
|
398
|
+
"SDK Package Version: 0.0.250825".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -107,10 +107,10 @@ class BalanceResponseV2(ModelNormal):
|
|
|
107
107
|
'name': (str,), # noqa: E501
|
|
108
108
|
'private_market_billing_type': (str,), # noqa: E501
|
|
109
109
|
'spend_type': (str,), # noqa: E501
|
|
110
|
-
'start_date': (
|
|
110
|
+
'start_date': (str,), # noqa: E501
|
|
111
111
|
'created_at': (datetime,), # noqa: E501
|
|
112
112
|
'deposited': (float, none_type,), # noqa: E501
|
|
113
|
-
'end_date': (
|
|
113
|
+
'end_date': (str, none_type,), # noqa: E501
|
|
114
114
|
'memo': (str, none_type,), # noqa: E501
|
|
115
115
|
'po_number': (str, none_type,), # noqa: E501
|
|
116
116
|
'remaining': (float, none_type,), # noqa: E501
|
|
@@ -156,7 +156,7 @@ class BalanceResponseV2(ModelNormal):
|
|
|
156
156
|
name (str): Name of the balance.
|
|
157
157
|
private_market_billing_type (str): Billing type for Private Market of the balance.
|
|
158
158
|
spend_type (str): Spend Type of the balance.
|
|
159
|
-
start_date (
|
|
159
|
+
start_date (str): Start date of the balance in the format YYYY-MM-DD.
|
|
160
160
|
|
|
161
161
|
Keyword Args:
|
|
162
162
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -191,7 +191,7 @@ class BalanceResponseV2(ModelNormal):
|
|
|
191
191
|
_visited_composed_classes = (Animal,)
|
|
192
192
|
created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
|
|
193
193
|
deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
|
|
194
|
-
end_date (
|
|
194
|
+
end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
195
195
|
memo (str, none_type): Memo.. [optional] # noqa: E501
|
|
196
196
|
po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
|
|
197
197
|
remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
|
|
@@ -262,7 +262,7 @@ class BalanceResponseV2(ModelNormal):
|
|
|
262
262
|
name (str): Name of the balance.
|
|
263
263
|
private_market_billing_type (str): Billing type for Private Market of the balance.
|
|
264
264
|
spend_type (str): Spend Type of the balance.
|
|
265
|
-
start_date (
|
|
265
|
+
start_date (str): Start date of the balance in the format YYYY-MM-DD.
|
|
266
266
|
|
|
267
267
|
Keyword Args:
|
|
268
268
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -297,7 +297,7 @@ class BalanceResponseV2(ModelNormal):
|
|
|
297
297
|
_visited_composed_classes = (Animal,)
|
|
298
298
|
created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
|
|
299
299
|
deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
|
|
300
|
-
end_date (
|
|
300
|
+
end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
301
301
|
memo (str, none_type): Memo.. [optional] # noqa: E501
|
|
302
302
|
po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
|
|
303
303
|
remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
|
|
@@ -38,7 +38,7 @@ def lazy_import():
|
|
|
38
38
|
globals()['ResourceOfBalanceResponseV2'] = ResourceOfBalanceResponseV2
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
class
|
|
41
|
+
class BalanceResponseV2PagedListResponse(ModelNormal):
|
|
42
42
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
43
43
|
Ref: https://openapi-generator.tech
|
|
44
44
|
|
|
@@ -119,7 +119,7 @@ class PagedResourceCollectionOutcomeOfBalanceResponseV2(ModelNormal):
|
|
|
119
119
|
@classmethod
|
|
120
120
|
@convert_js_args_to_python_args
|
|
121
121
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
122
|
-
"""
|
|
122
|
+
"""BalanceResponseV2PagedListResponse - a model defined in OpenAPI
|
|
123
123
|
|
|
124
124
|
Keyword Args:
|
|
125
125
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -208,7 +208,7 @@ class PagedResourceCollectionOutcomeOfBalanceResponseV2(ModelNormal):
|
|
|
208
208
|
|
|
209
209
|
@convert_js_args_to_python_args
|
|
210
210
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
211
|
-
"""
|
|
211
|
+
"""BalanceResponseV2PagedListResponse - a model defined in OpenAPI
|
|
212
212
|
|
|
213
213
|
Keyword Args:
|
|
214
214
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -81,9 +81,9 @@ class ChangeDatesOfBalanceV2(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'end_date': (str,
|
|
85
|
-
'memo': (str,
|
|
86
|
-
'start_date': (str,
|
|
84
|
+
'end_date': (str,), # noqa: E501
|
|
85
|
+
'memo': (str,), # noqa: E501
|
|
86
|
+
'start_date': (str,), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
@cached_property
|
|
@@ -138,9 +138,9 @@ class ChangeDatesOfBalanceV2(ModelNormal):
|
|
|
138
138
|
Animal class but this time we won't travel
|
|
139
139
|
through its discriminator because we passed in
|
|
140
140
|
_visited_composed_classes = (Animal,)
|
|
141
|
-
end_date (str
|
|
142
|
-
memo (str
|
|
143
|
-
start_date (str
|
|
141
|
+
end_date (str): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
142
|
+
memo (str): Memo.. [optional] # noqa: E501
|
|
143
|
+
start_date (str): Start date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -226,9 +226,9 @@ class ChangeDatesOfBalanceV2(ModelNormal):
|
|
|
226
226
|
Animal class but this time we won't travel
|
|
227
227
|
through its discriminator because we passed in
|
|
228
228
|
_visited_composed_classes = (Animal,)
|
|
229
|
-
end_date (str
|
|
230
|
-
memo (str
|
|
231
|
-
start_date (str
|
|
229
|
+
end_date (str): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
230
|
+
memo (str): Memo.. [optional] # noqa: E501
|
|
231
|
+
start_date (str): Start date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
232
232
|
"""
|
|
233
233
|
|
|
234
234
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -88,9 +88,9 @@ class CreateBalanceV2(ModelNormal):
|
|
|
88
88
|
return {
|
|
89
89
|
'name': (str,), # noqa: E501
|
|
90
90
|
'spend_type': (str,), # noqa: E501
|
|
91
|
-
'start_date': (
|
|
91
|
+
'start_date': (str,), # noqa: E501
|
|
92
92
|
'deposited': (float,), # noqa: E501
|
|
93
|
-
'end_date': (
|
|
93
|
+
'end_date': (str, none_type,), # noqa: E501
|
|
94
94
|
'memo': (str, none_type,), # noqa: E501
|
|
95
95
|
'po_number': (str, none_type,), # noqa: E501
|
|
96
96
|
}
|
|
@@ -123,7 +123,7 @@ class CreateBalanceV2(ModelNormal):
|
|
|
123
123
|
Args:
|
|
124
124
|
name (str): Name of the balance.
|
|
125
125
|
spend_type (str): Type of the balance spend.
|
|
126
|
-
start_date (
|
|
126
|
+
start_date (str): Start date of the balance in the format YYYY-MM-DD.
|
|
127
127
|
|
|
128
128
|
Keyword Args:
|
|
129
129
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -157,7 +157,7 @@ class CreateBalanceV2(ModelNormal):
|
|
|
157
157
|
through its discriminator because we passed in
|
|
158
158
|
_visited_composed_classes = (Animal,)
|
|
159
159
|
deposited (float): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
|
|
160
|
-
end_date (
|
|
160
|
+
end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
161
161
|
memo (str, none_type): Memo. [optional] # noqa: E501
|
|
162
162
|
po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
|
|
163
163
|
"""
|
|
@@ -220,7 +220,7 @@ class CreateBalanceV2(ModelNormal):
|
|
|
220
220
|
Args:
|
|
221
221
|
name (str): Name of the balance.
|
|
222
222
|
spend_type (str): Type of the balance spend.
|
|
223
|
-
start_date (
|
|
223
|
+
start_date (str): Start date of the balance in the format YYYY-MM-DD.
|
|
224
224
|
|
|
225
225
|
Keyword Args:
|
|
226
226
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -254,7 +254,7 @@ class CreateBalanceV2(ModelNormal):
|
|
|
254
254
|
through its discriminator because we passed in
|
|
255
255
|
_visited_composed_classes = (Animal,)
|
|
256
256
|
deposited (float): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
|
|
257
|
-
end_date (
|
|
257
|
+
end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
258
258
|
memo (str, none_type): Memo. [optional] # noqa: E501
|
|
259
259
|
po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
|
|
260
260
|
"""
|
|
@@ -88,8 +88,8 @@ class FlightLeg(ModelNormal):
|
|
|
88
88
|
"""
|
|
89
89
|
return {
|
|
90
90
|
'day_of_week': (str,), # noqa: E501
|
|
91
|
-
'end_time': (
|
|
92
|
-
'start_time': (
|
|
91
|
+
'end_time': (datetime,), # noqa: E501
|
|
92
|
+
'start_time': (datetime,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -115,8 +115,8 @@ class FlightLeg(ModelNormal):
|
|
|
115
115
|
|
|
116
116
|
Args:
|
|
117
117
|
day_of_week (str): Enum for the days of the week.
|
|
118
|
-
end_time (
|
|
119
|
-
start_time (
|
|
118
|
+
end_time (datetime):
|
|
119
|
+
start_time (datetime):
|
|
120
120
|
|
|
121
121
|
Keyword Args:
|
|
122
122
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -208,8 +208,8 @@ class FlightLeg(ModelNormal):
|
|
|
208
208
|
|
|
209
209
|
Args:
|
|
210
210
|
day_of_week (str): Enum for the days of the week.
|
|
211
|
-
end_time (
|
|
212
|
-
start_time (
|
|
211
|
+
end_time (datetime):
|
|
212
|
+
start_time (datetime):
|
|
213
213
|
|
|
214
214
|
Keyword Args:
|
|
215
215
|
_check_type (bool): if True, values for parameters in openapi_types
|
criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py
CHANGED
|
@@ -30,8 +30,8 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2 import PreferredLineItemCreateModelV2
|
|
34
|
+
globals()['PreferredLineItemCreateModelV2'] = PreferredLineItemCreateModelV2
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
@@ -87,7 +87,7 @@ class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (
|
|
90
|
+
'attributes': (PreferredLineItemCreateModelV2,), # noqa: E501
|
|
91
91
|
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -142,7 +142,7 @@ class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
attributes (
|
|
145
|
+
attributes (PreferredLineItemCreateModelV2): [optional] # noqa: E501
|
|
146
146
|
type (str): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
@@ -229,7 +229,7 @@ class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
attributes (
|
|
232
|
+
attributes (PreferredLineItemCreateModelV2): [optional] # noqa: E501
|
|
233
233
|
type (str): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
criteo_api_retailmedia_preview/model/{external_line_item_capping_v2.py → 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 LineItemCappingV2(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -73,7 +73,7 @@ class ExternalLineItemCappingV2(ModelNormal):
|
|
|
73
73
|
"""
|
|
74
74
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
75
75
|
|
|
76
|
-
_nullable =
|
|
76
|
+
_nullable = False
|
|
77
77
|
|
|
78
78
|
@cached_property
|
|
79
79
|
def openapi_types():
|
|
@@ -108,7 +108,7 @@ class ExternalLineItemCappingV2(ModelNormal):
|
|
|
108
108
|
@classmethod
|
|
109
109
|
@convert_js_args_to_python_args
|
|
110
110
|
def _from_openapi_data(cls, count, type, *args, **kwargs): # noqa: E501
|
|
111
|
-
"""
|
|
111
|
+
"""LineItemCappingV2 - a model defined in OpenAPI
|
|
112
112
|
|
|
113
113
|
Args:
|
|
114
114
|
count (int):
|
|
@@ -199,7 +199,7 @@ class ExternalLineItemCappingV2(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, count, type, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""LineItemCappingV2 - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Args:
|
|
205
205
|
count (int):
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class LineItemPageCategoryV2(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -103,7 +103,7 @@ class ExternalLineItemPageCategoryV2(ModelNormal):
|
|
|
103
103
|
@classmethod
|
|
104
104
|
@convert_js_args_to_python_args
|
|
105
105
|
def _from_openapi_data(cls, category_id, *args, **kwargs): # noqa: E501
|
|
106
|
-
"""
|
|
106
|
+
"""LineItemPageCategoryV2 - a model defined in OpenAPI
|
|
107
107
|
|
|
108
108
|
Args:
|
|
109
109
|
category_id (str):
|
|
@@ -193,7 +193,7 @@ class ExternalLineItemPageCategoryV2(ModelNormal):
|
|
|
193
193
|
|
|
194
194
|
@convert_js_args_to_python_args
|
|
195
195
|
def __init__(self, category_id, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
196
|
+
"""LineItemPageCategoryV2 - a model defined in OpenAPI
|
|
197
197
|
|
|
198
198
|
Args:
|
|
199
199
|
category_id (str):
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.line_item_page_category_v2 import LineItemPageCategoryV2
|
|
34
|
+
globals()['LineItemPageCategoryV2'] = LineItemPageCategoryV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class LineItemPageV2(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 ExternalLineItemPageV2(ModelNormal):
|
|
|
88
88
|
lazy_import()
|
|
89
89
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
90
90
|
|
|
91
|
-
_nullable =
|
|
91
|
+
_nullable = True
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
94
94
|
def openapi_types():
|
|
@@ -103,7 +103,7 @@ class ExternalLineItemPageV2(ModelNormal):
|
|
|
103
103
|
lazy_import()
|
|
104
104
|
return {
|
|
105
105
|
'page_type': (str,), # noqa: E501
|
|
106
|
-
'categories': ([
|
|
106
|
+
'categories': ([LineItemPageCategoryV2], none_type,), # noqa: E501
|
|
107
107
|
'search_keywords': ([str], none_type,), # noqa: E501
|
|
108
108
|
}
|
|
109
109
|
|
|
@@ -126,7 +126,7 @@ class ExternalLineItemPageV2(ModelNormal):
|
|
|
126
126
|
@classmethod
|
|
127
127
|
@convert_js_args_to_python_args
|
|
128
128
|
def _from_openapi_data(cls, page_type, *args, **kwargs): # noqa: E501
|
|
129
|
-
"""
|
|
129
|
+
"""LineItemPageV2 - a model defined in OpenAPI
|
|
130
130
|
|
|
131
131
|
Args:
|
|
132
132
|
page_type (str): Page Type Enum
|
|
@@ -162,7 +162,7 @@ class ExternalLineItemPageV2(ModelNormal):
|
|
|
162
162
|
Animal class but this time we won't travel
|
|
163
163
|
through its discriminator because we passed in
|
|
164
164
|
_visited_composed_classes = (Animal,)
|
|
165
|
-
categories ([
|
|
165
|
+
categories ([LineItemPageCategoryV2], none_type): [optional] # noqa: E501
|
|
166
166
|
search_keywords ([str], none_type): [optional] # noqa: E501
|
|
167
167
|
"""
|
|
168
168
|
|
|
@@ -217,7 +217,7 @@ class ExternalLineItemPageV2(ModelNormal):
|
|
|
217
217
|
|
|
218
218
|
@convert_js_args_to_python_args
|
|
219
219
|
def __init__(self, page_type, *args, **kwargs): # noqa: E501
|
|
220
|
-
"""
|
|
220
|
+
"""LineItemPageV2 - a model defined in OpenAPI
|
|
221
221
|
|
|
222
222
|
Args:
|
|
223
223
|
page_type (str): Page Type Enum
|
|
@@ -253,7 +253,7 @@ class ExternalLineItemPageV2(ModelNormal):
|
|
|
253
253
|
Animal class but this time we won't travel
|
|
254
254
|
through its discriminator because we passed in
|
|
255
255
|
_visited_composed_classes = (Animal,)
|
|
256
|
-
categories ([
|
|
256
|
+
categories ([LineItemPageCategoryV2], none_type): [optional] # noqa: E501
|
|
257
257
|
search_keywords ([str], none_type): [optional] # noqa: E501
|
|
258
258
|
"""
|
|
259
259
|
|
|
@@ -30,13 +30,13 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
from criteo_api_retailmedia_preview.model.
|
|
35
|
-
globals()['
|
|
36
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.line_item_capping_v2 import LineItemCappingV2
|
|
34
|
+
from criteo_api_retailmedia_preview.model.line_item_page_v2 import LineItemPageV2
|
|
35
|
+
globals()['LineItemCappingV2'] = LineItemCappingV2
|
|
36
|
+
globals()['LineItemPageV2'] = LineItemPageV2
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class PreferredLineItemCreateModelV2(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -113,11 +113,11 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
113
113
|
'end_date': (date,), # noqa: E501
|
|
114
114
|
'name': (str,), # noqa: E501
|
|
115
115
|
'pacing': (str,), # noqa: E501
|
|
116
|
-
'page': (
|
|
116
|
+
'page': (LineItemPageV2,), # noqa: E501
|
|
117
117
|
'start_date': (date,), # noqa: E501
|
|
118
118
|
'target_retailer_id': (str,), # noqa: E501
|
|
119
|
-
'capping': (
|
|
120
|
-
'creative_id': (str,
|
|
119
|
+
'capping': (LineItemCappingV2,), # noqa: E501
|
|
120
|
+
'creative_id': (str,), # noqa: E501
|
|
121
121
|
'status': (str,), # noqa: E501
|
|
122
122
|
}
|
|
123
123
|
|
|
@@ -147,14 +147,14 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
147
147
|
@classmethod
|
|
148
148
|
@convert_js_args_to_python_args
|
|
149
149
|
def _from_openapi_data(cls, budget, end_date, name, pacing, page, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
|
|
150
|
-
"""
|
|
150
|
+
"""PreferredLineItemCreateModelV2 - a model defined in OpenAPI
|
|
151
151
|
|
|
152
152
|
Args:
|
|
153
153
|
budget (float):
|
|
154
154
|
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
155
155
|
name (str):
|
|
156
156
|
pacing (str): Line Item Pacing Enum
|
|
157
|
-
page (
|
|
157
|
+
page (LineItemPageV2):
|
|
158
158
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
159
159
|
target_retailer_id (str):
|
|
160
160
|
|
|
@@ -189,8 +189,8 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
189
189
|
Animal class but this time we won't travel
|
|
190
190
|
through its discriminator because we passed in
|
|
191
191
|
_visited_composed_classes = (Animal,)
|
|
192
|
-
capping (
|
|
193
|
-
creative_id (str
|
|
192
|
+
capping (LineItemCappingV2): [optional] # noqa: E501
|
|
193
|
+
creative_id (str): [optional] # noqa: E501
|
|
194
194
|
status (str): Line Item Status Enum. [optional] # noqa: E501
|
|
195
195
|
"""
|
|
196
196
|
|
|
@@ -251,14 +251,14 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
251
251
|
|
|
252
252
|
@convert_js_args_to_python_args
|
|
253
253
|
def __init__(self, budget, end_date, name, pacing, page, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
|
|
254
|
-
"""
|
|
254
|
+
"""PreferredLineItemCreateModelV2 - a model defined in OpenAPI
|
|
255
255
|
|
|
256
256
|
Args:
|
|
257
257
|
budget (float):
|
|
258
258
|
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
259
259
|
name (str):
|
|
260
260
|
pacing (str): Line Item Pacing Enum
|
|
261
|
-
page (
|
|
261
|
+
page (LineItemPageV2):
|
|
262
262
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
263
263
|
target_retailer_id (str):
|
|
264
264
|
|
|
@@ -293,8 +293,8 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
293
293
|
Animal class but this time we won't travel
|
|
294
294
|
through its discriminator because we passed in
|
|
295
295
|
_visited_composed_classes = (Animal,)
|
|
296
|
-
capping (
|
|
297
|
-
creative_id (str
|
|
296
|
+
capping (LineItemCappingV2): [optional] # noqa: E501
|
|
297
|
+
creative_id (str): [optional] # noqa: E501
|
|
298
298
|
status (str): Line Item Status Enum. [optional] # noqa: E501
|
|
299
299
|
"""
|
|
300
300
|
|
|
@@ -30,13 +30,13 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
from criteo_api_retailmedia_preview.model.
|
|
35
|
-
globals()['
|
|
36
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.line_item_capping_v2 import LineItemCappingV2
|
|
34
|
+
from criteo_api_retailmedia_preview.model.line_item_page_v2 import LineItemPageV2
|
|
35
|
+
globals()['LineItemCappingV2'] = LineItemCappingV2
|
|
36
|
+
globals()['LineItemPageV2'] = LineItemPageV2
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class PreferredLineItemUpdateModelV2(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -114,10 +114,10 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
114
114
|
'start_date': (date,), # noqa: E501
|
|
115
115
|
'status': (str,), # noqa: E501
|
|
116
116
|
'budget': (float,), # noqa: E501
|
|
117
|
-
'capping': (
|
|
118
|
-
'creative_id': (str,
|
|
117
|
+
'capping': (LineItemCappingV2,), # noqa: E501
|
|
118
|
+
'creative_id': (str,), # noqa: E501
|
|
119
119
|
'pacing': (str,), # noqa: E501
|
|
120
|
-
'page': (
|
|
120
|
+
'page': (LineItemPageV2,), # noqa: E501
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
@cached_property
|
|
@@ -145,7 +145,7 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
145
145
|
@classmethod
|
|
146
146
|
@convert_js_args_to_python_args
|
|
147
147
|
def _from_openapi_data(cls, end_date, name, start_date, status, *args, **kwargs): # noqa: E501
|
|
148
|
-
"""
|
|
148
|
+
"""PreferredLineItemUpdateModelV2 - a model defined in OpenAPI
|
|
149
149
|
|
|
150
150
|
Args:
|
|
151
151
|
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
@@ -185,10 +185,10 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
185
185
|
through its discriminator because we passed in
|
|
186
186
|
_visited_composed_classes = (Animal,)
|
|
187
187
|
budget (float): [optional] # noqa: E501
|
|
188
|
-
capping (
|
|
189
|
-
creative_id (str
|
|
188
|
+
capping (LineItemCappingV2): [optional] # noqa: E501
|
|
189
|
+
creative_id (str): [optional] # noqa: E501
|
|
190
190
|
pacing (str): [optional] if omitted the server will use the default value of "accelerated" # noqa: E501
|
|
191
|
-
page (
|
|
191
|
+
page (LineItemPageV2): [optional] # noqa: E501
|
|
192
192
|
"""
|
|
193
193
|
|
|
194
194
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -245,7 +245,7 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
245
245
|
|
|
246
246
|
@convert_js_args_to_python_args
|
|
247
247
|
def __init__(self, end_date, name, start_date, status, *args, **kwargs): # noqa: E501
|
|
248
|
-
"""
|
|
248
|
+
"""PreferredLineItemUpdateModelV2 - a model defined in OpenAPI
|
|
249
249
|
|
|
250
250
|
Args:
|
|
251
251
|
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
@@ -285,10 +285,10 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
285
285
|
through its discriminator because we passed in
|
|
286
286
|
_visited_composed_classes = (Animal,)
|
|
287
287
|
budget (float): [optional] # noqa: E501
|
|
288
|
-
capping (
|
|
289
|
-
creative_id (str
|
|
288
|
+
capping (LineItemCappingV2): [optional] # noqa: E501
|
|
289
|
+
creative_id (str): [optional] # noqa: E501
|
|
290
290
|
pacing (str): [optional] if omitted the server will use the default value of "accelerated" # noqa: E501
|
|
291
|
-
page (
|
|
291
|
+
page (LineItemPageV2): [optional] # noqa: E501
|
|
292
292
|
"""
|
|
293
293
|
|
|
294
294
|
_check_type = kwargs.pop('_check_type', True)
|