criteo-api-retailmedia-sdk 2024.1.0.250320__py3-none-any.whl → 2024.1.0.250409__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-2024.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.1.0.250409.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2024.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.1.0.250409.dist-info}/RECORD +130 -130
- {criteo_api_retailmedia_sdk-2024.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.1.0.250409.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2024_01/__init__.py +1 -1
- criteo_api_retailmedia_v2024_01/api/analytics_api.py +2 -2
- criteo_api_retailmedia_v2024_01/api/audience_api.py +12 -12
- criteo_api_retailmedia_v2024_01/api/campaign_api.py +18 -18
- criteo_api_retailmedia_v2024_01/api_client.py +1 -1
- criteo_api_retailmedia_v2024_01/configuration.py +1 -1
- criteo_api_retailmedia_v2024_01/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_v2024_01/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/add_to_basket_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_v2024_01/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/asset_response.py +7 -7
- criteo_api_retailmedia_v2024_01/model/async_campaigns_report.py +79 -79
- criteo_api_retailmedia_v2024_01/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/async_line_items_report.py +79 -79
- criteo_api_retailmedia_v2024_01/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/async_report_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/async_revenue_report.py +104 -104
- criteo_api_retailmedia_v2024_01/model/async_revenue_report_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/auction_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_01/model/auction_line_item_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/audience_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/balance_campaign202110_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_01/model/balance_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/balance_response_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_01/model/campaign_attributes_v202301.py +57 -57
- criteo_api_retailmedia_v2024_01/model/campaign_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2024_01/model/campaign_v202301.py +82 -82
- criteo_api_retailmedia_v2024_01/model/category202204.py +8 -8
- criteo_api_retailmedia_v2024_01/model/category202204_list_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/common_error.py +16 -16
- criteo_api_retailmedia_v2024_01/model/common_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_01/model/common_line_item_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/common_problem.py +20 -20
- criteo_api_retailmedia_v2024_01/model/common_warning.py +16 -16
- criteo_api_retailmedia_v2024_01/model/creative202110.py +16 -12
- criteo_api_retailmedia_v2024_01/model/creative202110_list_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/creative202210.py +40 -36
- criteo_api_retailmedia_v2024_01/model/creative202210_list_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/creative202210_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/daily_line_item_budget_override.py +4 -4
- criteo_api_retailmedia_v2024_01/model/editable_campaign_attributes_v202301.py +32 -32
- criteo_api_retailmedia_v2024_01/model/external_account.py +18 -18
- criteo_api_retailmedia_v2024_01/model/external_add_to_basket_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/external_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/external_auction_line_item.py +44 -44
- criteo_api_retailmedia_v2024_01/model/external_auction_line_item_create_model.py +30 -30
- criteo_api_retailmedia_v2024_01/model/external_auction_line_item_update_model.py +20 -20
- criteo_api_retailmedia_v2024_01/model/external_audience_target202110.py +8 -8
- criteo_api_retailmedia_v2024_01/model/external_balance_response.py +66 -66
- criteo_api_retailmedia_v2024_01/model/external_catalog_request.py +4 -4
- criteo_api_retailmedia_v2024_01/model/external_catalog_status.py +20 -20
- criteo_api_retailmedia_v2024_01/model/external_change_dates_of_balance.py +8 -8
- criteo_api_retailmedia_v2024_01/model/external_common_line_item.py +34 -34
- criteo_api_retailmedia_v2024_01/model/external_create_balance.py +20 -20
- criteo_api_retailmedia_v2024_01/model/external_line_item_capping202110.py +8 -8
- criteo_api_retailmedia_v2024_01/model/external_line_item_page202110.py +3 -3
- criteo_api_retailmedia_v2024_01/model/external_preferred_line_item202110.py +55 -51
- criteo_api_retailmedia_v2024_01/model/external_preferred_line_item_create_model202110.py +24 -24
- criteo_api_retailmedia_v2024_01/model/external_preferred_line_item_update_model202110.py +20 -20
- criteo_api_retailmedia_v2024_01/model/external_update_balance_model.py +8 -8
- criteo_api_retailmedia_v2024_01/model/files_variables_specification.py +4 -4
- criteo_api_retailmedia_v2024_01/model/input_resource_of_auction_line_item_create_model.py +4 -4
- criteo_api_retailmedia_v2024_01/model/input_resource_of_preferred_line_item_create_model202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/json_api_page_response_of_account.py +8 -8
- criteo_api_retailmedia_v2024_01/model/json_api_page_response_of_brand.py +8 -8
- criteo_api_retailmedia_v2024_01/model/json_api_page_response_of_campaign_v202301.py +8 -8
- criteo_api_retailmedia_v2024_01/model/json_api_page_response_of_retailer.py +8 -8
- criteo_api_retailmedia_v2024_01/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_v2024_01/model/keyword_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_v2024_01/model/line_item_bid_multipliers.py +20 -20
- criteo_api_retailmedia_v2024_01/model/line_item_bid_multipliers_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/line_item_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2024_01/model/page_metadata.py +16 -16
- criteo_api_retailmedia_v2024_01/model/page_type_environment202210.py +14 -14
- criteo_api_retailmedia_v2024_01/model/preferred_line_item202110_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_01/model/preferred_line_item202110_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/problem_details.py +20 -20
- criteo_api_retailmedia_v2024_01/model/promoted_product202110_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_01/model/report_outcome.py +5 -5
- criteo_api_retailmedia_v2024_01/model/resource_of_auction_line_item.py +4 -4
- criteo_api_retailmedia_v2024_01/model/resource_of_auction_line_item_update_model.py +4 -4
- criteo_api_retailmedia_v2024_01/model/resource_of_balance_campaign202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/resource_of_common_line_item.py +4 -4
- criteo_api_retailmedia_v2024_01/model/resource_of_preferred_line_item202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/resource_of_preferred_line_item_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/resource_of_promoted_product202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_create_entity_v1.py +19 -19
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_create_entity_v1_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_create_entity_v2.py +8 -8
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_create_entity_v2_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v1.py +4 -4
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v2.py +12 -12
- criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v2_list_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/rm_legacy_segment_customer_list.py +8 -8
- criteo_api_retailmedia_v2024_01/model/rm_legacy_segment_user_behavior_create_v2.py +19 -19
- criteo_api_retailmedia_v2024_01/model/rm_legacy_segment_user_behavior_v1.py +17 -17
- criteo_api_retailmedia_v2024_01/model/rm_legacy_segment_user_behavior_v2.py +23 -23
- criteo_api_retailmedia_v2024_01/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_v2024_01/model/section.py +4 -4
- criteo_api_retailmedia_v2024_01/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_v2024_01/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_01/model/status_response.py +20 -20
- criteo_api_retailmedia_v2024_01/model/store_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/template.py +24 -24
- criteo_api_retailmedia_v2024_01/model/template_list_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/template_response.py +5 -5
- criteo_api_retailmedia_v2024_01/model/template_variable.py +4 -4
- criteo_api_retailmedia_v2024_01/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_resource_of_campaign_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_resource_of_line_item_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_resource_outcome_of_campaign_budget_overrides.py +5 -5
- criteo_api_retailmedia_v2024_01/model/value_resource_outcome_of_line_item_budget_overrides.py +5 -5
- criteo_api_retailmedia_v2024_01/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_type_resource_of_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_type_resource_of_audience_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_type_resource_of_audience_target202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_type_resource_of_keyword_target202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_type_resource_of_store_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/value_type_resource_of_store_target202110.py +4 -4
- criteo_api_retailmedia_v2024_01/model/video_variable_value.py +16 -16
- {criteo_api_retailmedia_sdk-2024.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.1.0.250409.dist-info}/top_level.txt +0 -0
|
@@ -101,18 +101,18 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
101
101
|
and the value is attribute type.
|
|
102
102
|
"""
|
|
103
103
|
return {
|
|
104
|
+
'budget_remaining': (float, none_type,), # noqa: E501
|
|
105
|
+
'campaign_id': (str,), # noqa: E501
|
|
106
|
+
'created_at': (datetime,), # noqa: E501
|
|
104
107
|
'name': (str,), # noqa: E501
|
|
105
|
-
'type': (str,), # noqa: E501
|
|
106
108
|
'start_date': (date,), # noqa: E501
|
|
107
109
|
'target_retailer_id': (str,), # noqa: E501
|
|
108
|
-
'
|
|
109
|
-
'budget_remaining': (float, none_type,), # noqa: E501
|
|
110
|
-
'created_at': (datetime,), # noqa: E501
|
|
110
|
+
'type': (str,), # noqa: E501
|
|
111
111
|
'updated_at': (datetime,), # noqa: E501
|
|
112
|
-
'end_date': (date, none_type,), # noqa: E501
|
|
113
|
-
'status': (str,), # noqa: E501
|
|
114
112
|
'budget': (float, none_type,), # noqa: E501
|
|
115
113
|
'budget_spent': (float,), # noqa: E501
|
|
114
|
+
'end_date': (date, none_type,), # noqa: E501
|
|
115
|
+
'status': (str,), # noqa: E501
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
@cached_property
|
|
@@ -121,18 +121,18 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
attribute_map = {
|
|
124
|
+
'budget_remaining': 'budgetRemaining', # noqa: E501
|
|
125
|
+
'campaign_id': 'campaignId', # noqa: E501
|
|
126
|
+
'created_at': 'createdAt', # noqa: E501
|
|
124
127
|
'name': 'name', # noqa: E501
|
|
125
|
-
'type': 'type', # noqa: E501
|
|
126
128
|
'start_date': 'startDate', # noqa: E501
|
|
127
129
|
'target_retailer_id': 'targetRetailerId', # noqa: E501
|
|
128
|
-
'
|
|
129
|
-
'budget_remaining': 'budgetRemaining', # noqa: E501
|
|
130
|
-
'created_at': 'createdAt', # noqa: E501
|
|
130
|
+
'type': 'type', # noqa: E501
|
|
131
131
|
'updated_at': 'updatedAt', # noqa: E501
|
|
132
|
-
'end_date': 'endDate', # noqa: E501
|
|
133
|
-
'status': 'status', # noqa: E501
|
|
134
132
|
'budget': 'budget', # noqa: E501
|
|
135
133
|
'budget_spent': 'budgetSpent', # noqa: E501
|
|
134
|
+
'end_date': 'endDate', # noqa: E501
|
|
135
|
+
'status': 'status', # noqa: E501
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
read_only_vars = {
|
|
@@ -142,17 +142,17 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
142
142
|
|
|
143
143
|
@classmethod
|
|
144
144
|
@convert_js_args_to_python_args
|
|
145
|
-
def _from_openapi_data(cls,
|
|
145
|
+
def _from_openapi_data(cls, budget_remaining, campaign_id, created_at, name, start_date, target_retailer_id, type, updated_at, *args, **kwargs): # noqa: E501
|
|
146
146
|
"""ExternalCommonLineItem - a model defined in OpenAPI
|
|
147
147
|
|
|
148
148
|
Args:
|
|
149
|
+
budget_remaining (float, none_type):
|
|
150
|
+
campaign_id (str):
|
|
151
|
+
created_at (datetime):
|
|
149
152
|
name (str):
|
|
150
|
-
type (str):
|
|
151
153
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
152
154
|
target_retailer_id (str):
|
|
153
|
-
|
|
154
|
-
budget_remaining (float, none_type):
|
|
155
|
-
created_at (datetime):
|
|
155
|
+
type (str):
|
|
156
156
|
updated_at (datetime):
|
|
157
157
|
|
|
158
158
|
Keyword Args:
|
|
@@ -186,10 +186,10 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
186
186
|
Animal class but this time we won't travel
|
|
187
187
|
through its discriminator because we passed in
|
|
188
188
|
_visited_composed_classes = (Animal,)
|
|
189
|
-
end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
|
|
190
|
-
status (str): [optional] # noqa: E501
|
|
191
189
|
budget (float, none_type): [optional] # noqa: E501
|
|
192
190
|
budget_spent (float): [optional] # noqa: E501
|
|
191
|
+
end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
|
|
192
|
+
status (str): [optional] # noqa: E501
|
|
193
193
|
"""
|
|
194
194
|
|
|
195
195
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -221,13 +221,13 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
221
221
|
self._configuration = _configuration
|
|
222
222
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
223
223
|
|
|
224
|
+
self.budget_remaining = budget_remaining
|
|
225
|
+
self.campaign_id = campaign_id
|
|
226
|
+
self.created_at = created_at
|
|
224
227
|
self.name = name
|
|
225
|
-
self.type = type
|
|
226
228
|
self.start_date = start_date
|
|
227
229
|
self.target_retailer_id = target_retailer_id
|
|
228
|
-
self.
|
|
229
|
-
self.budget_remaining = budget_remaining
|
|
230
|
-
self.created_at = created_at
|
|
230
|
+
self.type = type
|
|
231
231
|
self.updated_at = updated_at
|
|
232
232
|
for var_name, var_value in kwargs.items():
|
|
233
233
|
if var_name not in self.attribute_map and \
|
|
@@ -249,17 +249,17 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
249
249
|
])
|
|
250
250
|
|
|
251
251
|
@convert_js_args_to_python_args
|
|
252
|
-
def __init__(self,
|
|
252
|
+
def __init__(self, budget_remaining, campaign_id, created_at, name, start_date, target_retailer_id, type, updated_at, *args, **kwargs): # noqa: E501
|
|
253
253
|
"""ExternalCommonLineItem - a model defined in OpenAPI
|
|
254
254
|
|
|
255
255
|
Args:
|
|
256
|
+
budget_remaining (float, none_type):
|
|
257
|
+
campaign_id (str):
|
|
258
|
+
created_at (datetime):
|
|
256
259
|
name (str):
|
|
257
|
-
type (str):
|
|
258
260
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
259
261
|
target_retailer_id (str):
|
|
260
|
-
|
|
261
|
-
budget_remaining (float, none_type):
|
|
262
|
-
created_at (datetime):
|
|
262
|
+
type (str):
|
|
263
263
|
updated_at (datetime):
|
|
264
264
|
|
|
265
265
|
Keyword Args:
|
|
@@ -293,10 +293,10 @@ class ExternalCommonLineItem(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
|
-
end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
|
|
297
|
-
status (str): [optional] # noqa: E501
|
|
298
296
|
budget (float, none_type): [optional] # noqa: E501
|
|
299
297
|
budget_spent (float): [optional] # noqa: E501
|
|
298
|
+
end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
|
|
299
|
+
status (str): [optional] # noqa: E501
|
|
300
300
|
"""
|
|
301
301
|
|
|
302
302
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -326,13 +326,13 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
326
326
|
self._configuration = _configuration
|
|
327
327
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
328
328
|
|
|
329
|
+
self.budget_remaining = budget_remaining
|
|
330
|
+
self.campaign_id = campaign_id
|
|
331
|
+
self.created_at = created_at
|
|
329
332
|
self.name = name
|
|
330
|
-
self.type = type
|
|
331
333
|
self.start_date = start_date
|
|
332
334
|
self.target_retailer_id = target_retailer_id
|
|
333
|
-
self.
|
|
334
|
-
self.budget_remaining = budget_remaining
|
|
335
|
-
self.created_at = created_at
|
|
335
|
+
self.type = type
|
|
336
336
|
self.updated_at = updated_at
|
|
337
337
|
for var_name, var_value in kwargs.items():
|
|
338
338
|
if var_name not in self.attribute_map and \
|
|
@@ -86,13 +86,13 @@ class ExternalCreateBalance(ModelNormal):
|
|
|
86
86
|
and the value is attribute type.
|
|
87
87
|
"""
|
|
88
88
|
return {
|
|
89
|
-
'name': (str,), # noqa: E501
|
|
90
89
|
'deposited': (float, none_type,), # noqa: E501
|
|
91
|
-
'start_date': (date,), # noqa: E501
|
|
92
90
|
'end_date': (date,), # noqa: E501
|
|
93
|
-
'spend_type': (str,), # noqa: E501
|
|
94
91
|
'memo': (str,), # noqa: E501
|
|
92
|
+
'name': (str,), # noqa: E501
|
|
95
93
|
'sales_force_id': (str,), # noqa: E501
|
|
94
|
+
'spend_type': (str,), # noqa: E501
|
|
95
|
+
'start_date': (date,), # noqa: E501
|
|
96
96
|
'po_number': (str,), # noqa: E501
|
|
97
97
|
}
|
|
98
98
|
|
|
@@ -102,13 +102,13 @@ class ExternalCreateBalance(ModelNormal):
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
attribute_map = {
|
|
105
|
-
'name': 'name', # noqa: E501
|
|
106
105
|
'deposited': 'deposited', # noqa: E501
|
|
107
|
-
'start_date': 'startDate', # noqa: E501
|
|
108
106
|
'end_date': 'endDate', # noqa: E501
|
|
109
|
-
'spend_type': 'spendType', # noqa: E501
|
|
110
107
|
'memo': 'memo', # noqa: E501
|
|
108
|
+
'name': 'name', # noqa: E501
|
|
111
109
|
'sales_force_id': 'salesForceId', # noqa: E501
|
|
110
|
+
'spend_type': 'spendType', # noqa: E501
|
|
111
|
+
'start_date': 'startDate', # noqa: E501
|
|
112
112
|
'po_number': 'poNumber', # noqa: E501
|
|
113
113
|
}
|
|
114
114
|
|
|
@@ -119,17 +119,17 @@ class ExternalCreateBalance(ModelNormal):
|
|
|
119
119
|
|
|
120
120
|
@classmethod
|
|
121
121
|
@convert_js_args_to_python_args
|
|
122
|
-
def _from_openapi_data(cls,
|
|
122
|
+
def _from_openapi_data(cls, deposited, end_date, memo, name, sales_force_id, spend_type, start_date, *args, **kwargs): # noqa: E501
|
|
123
123
|
"""ExternalCreateBalance - a model defined in OpenAPI
|
|
124
124
|
|
|
125
125
|
Args:
|
|
126
|
-
name (str): Name of the balance.
|
|
127
126
|
deposited (float, none_type): Amount of billable funds allotted to the balance.
|
|
128
|
-
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
129
127
|
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
130
|
-
spend_type (str): Type of the balance spend.
|
|
131
128
|
memo (str): Memo
|
|
129
|
+
name (str): Name of the balance.
|
|
132
130
|
sales_force_id (str): SalesForceId the balance is linked to.
|
|
131
|
+
spend_type (str): Type of the balance spend.
|
|
132
|
+
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
133
133
|
|
|
134
134
|
Keyword Args:
|
|
135
135
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -194,13 +194,13 @@ class ExternalCreateBalance(ModelNormal):
|
|
|
194
194
|
self._configuration = _configuration
|
|
195
195
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
196
196
|
|
|
197
|
-
self.name = name
|
|
198
197
|
self.deposited = deposited
|
|
199
|
-
self.start_date = start_date
|
|
200
198
|
self.end_date = end_date
|
|
201
|
-
self.spend_type = spend_type
|
|
202
199
|
self.memo = memo
|
|
200
|
+
self.name = name
|
|
203
201
|
self.sales_force_id = sales_force_id
|
|
202
|
+
self.spend_type = spend_type
|
|
203
|
+
self.start_date = start_date
|
|
204
204
|
for var_name, var_value in kwargs.items():
|
|
205
205
|
if var_name not in self.attribute_map and \
|
|
206
206
|
self._configuration is not None and \
|
|
@@ -221,17 +221,17 @@ class ExternalCreateBalance(ModelNormal):
|
|
|
221
221
|
])
|
|
222
222
|
|
|
223
223
|
@convert_js_args_to_python_args
|
|
224
|
-
def __init__(self,
|
|
224
|
+
def __init__(self, deposited, end_date, memo, name, sales_force_id, spend_type, start_date, *args, **kwargs): # noqa: E501
|
|
225
225
|
"""ExternalCreateBalance - a model defined in OpenAPI
|
|
226
226
|
|
|
227
227
|
Args:
|
|
228
|
-
name (str): Name of the balance.
|
|
229
228
|
deposited (float, none_type): Amount of billable funds allotted to the balance.
|
|
230
|
-
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
231
229
|
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
232
|
-
spend_type (str): Type of the balance spend.
|
|
233
230
|
memo (str): Memo
|
|
231
|
+
name (str): Name of the balance.
|
|
234
232
|
sales_force_id (str): SalesForceId the balance is linked to.
|
|
233
|
+
spend_type (str): Type of the balance spend.
|
|
234
|
+
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
235
235
|
|
|
236
236
|
Keyword Args:
|
|
237
237
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -294,13 +294,13 @@ class ExternalCreateBalance(ModelNormal):
|
|
|
294
294
|
self._configuration = _configuration
|
|
295
295
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
296
296
|
|
|
297
|
-
self.name = name
|
|
298
297
|
self.deposited = deposited
|
|
299
|
-
self.start_date = start_date
|
|
300
298
|
self.end_date = end_date
|
|
301
|
-
self.spend_type = spend_type
|
|
302
299
|
self.memo = memo
|
|
300
|
+
self.name = name
|
|
303
301
|
self.sales_force_id = sales_force_id
|
|
302
|
+
self.spend_type = spend_type
|
|
303
|
+
self.start_date = start_date
|
|
304
304
|
for var_name, var_value in kwargs.items():
|
|
305
305
|
if var_name not in self.attribute_map and \
|
|
306
306
|
self._configuration is not None and \
|
|
@@ -86,8 +86,8 @@ class ExternalLineItemCapping202110(ModelNormal):
|
|
|
86
86
|
and the value is attribute type.
|
|
87
87
|
"""
|
|
88
88
|
return {
|
|
89
|
-
'type': (str,), # noqa: E501
|
|
90
89
|
'count': (int,), # noqa: E501
|
|
90
|
+
'type': (str,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -96,8 +96,8 @@ class ExternalLineItemCapping202110(ModelNormal):
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
attribute_map = {
|
|
99
|
-
'type': 'type', # noqa: E501
|
|
100
99
|
'count': 'count', # noqa: E501
|
|
100
|
+
'type': 'type', # noqa: E501
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
read_only_vars = {
|
|
@@ -107,12 +107,12 @@ class ExternalLineItemCapping202110(ModelNormal):
|
|
|
107
107
|
|
|
108
108
|
@classmethod
|
|
109
109
|
@convert_js_args_to_python_args
|
|
110
|
-
def _from_openapi_data(cls,
|
|
110
|
+
def _from_openapi_data(cls, count, type, *args, **kwargs): # noqa: E501
|
|
111
111
|
"""ExternalLineItemCapping202110 - a model defined in OpenAPI
|
|
112
112
|
|
|
113
113
|
Args:
|
|
114
|
-
type (str):
|
|
115
114
|
count (int):
|
|
115
|
+
type (str):
|
|
116
116
|
|
|
117
117
|
Keyword Args:
|
|
118
118
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -176,8 +176,8 @@ class ExternalLineItemCapping202110(ModelNormal):
|
|
|
176
176
|
self._configuration = _configuration
|
|
177
177
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
178
178
|
|
|
179
|
-
self.type = type
|
|
180
179
|
self.count = count
|
|
180
|
+
self.type = type
|
|
181
181
|
for var_name, var_value in kwargs.items():
|
|
182
182
|
if var_name not in self.attribute_map and \
|
|
183
183
|
self._configuration is not None and \
|
|
@@ -198,12 +198,12 @@ class ExternalLineItemCapping202110(ModelNormal):
|
|
|
198
198
|
])
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
|
-
def __init__(self,
|
|
201
|
+
def __init__(self, count, type, *args, **kwargs): # noqa: E501
|
|
202
202
|
"""ExternalLineItemCapping202110 - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Args:
|
|
205
|
-
type (str):
|
|
206
205
|
count (int):
|
|
206
|
+
type (str):
|
|
207
207
|
|
|
208
208
|
Keyword Args:
|
|
209
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -265,8 +265,8 @@ class ExternalLineItemCapping202110(ModelNormal):
|
|
|
265
265
|
self._configuration = _configuration
|
|
266
266
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
267
267
|
|
|
268
|
-
self.type = type
|
|
269
268
|
self.count = count
|
|
269
|
+
self.type = type
|
|
270
270
|
for var_name, var_value in kwargs.items():
|
|
271
271
|
if var_name not in self.attribute_map and \
|
|
272
272
|
self._configuration is not None and \
|
|
@@ -98,7 +98,7 @@ class ExternalLineItemPage202110(ModelNormal):
|
|
|
98
98
|
lazy_import()
|
|
99
99
|
return {
|
|
100
100
|
'page_type': (str,), # noqa: E501
|
|
101
|
-
'categories': ([ExternalLineItemPageCategory202110],), # noqa: E501
|
|
101
|
+
'categories': ([ExternalLineItemPageCategory202110], none_type,), # noqa: E501
|
|
102
102
|
'search_keywords': ([str],), # noqa: E501
|
|
103
103
|
}
|
|
104
104
|
|
|
@@ -157,7 +157,7 @@ class ExternalLineItemPage202110(ModelNormal):
|
|
|
157
157
|
Animal class but this time we won't travel
|
|
158
158
|
through its discriminator because we passed in
|
|
159
159
|
_visited_composed_classes = (Animal,)
|
|
160
|
-
categories ([ExternalLineItemPageCategory202110]): [optional] # noqa: E501
|
|
160
|
+
categories ([ExternalLineItemPageCategory202110], none_type): [optional] # noqa: E501
|
|
161
161
|
search_keywords ([str]): [optional] # noqa: E501
|
|
162
162
|
"""
|
|
163
163
|
|
|
@@ -248,7 +248,7 @@ class ExternalLineItemPage202110(ModelNormal):
|
|
|
248
248
|
Animal class but this time we won't travel
|
|
249
249
|
through its discriminator because we passed in
|
|
250
250
|
_visited_composed_classes = (Animal,)
|
|
251
|
-
categories ([ExternalLineItemPageCategory202110]): [optional] # noqa: E501
|
|
251
|
+
categories ([ExternalLineItemPageCategory202110], none_type): [optional] # noqa: E501
|
|
252
252
|
search_keywords ([str]): [optional] # noqa: E501
|
|
253
253
|
"""
|
|
254
254
|
|
|
@@ -61,6 +61,11 @@ class ExternalPreferredLineItem202110(ModelNormal):
|
|
|
61
61
|
"""
|
|
62
62
|
|
|
63
63
|
allowed_values = {
|
|
64
|
+
('pacing',): {
|
|
65
|
+
'UNKNOWN': "unknown",
|
|
66
|
+
'STANDARD': "standard",
|
|
67
|
+
'ACCELERATED': "accelerated",
|
|
68
|
+
},
|
|
64
69
|
('status',): {
|
|
65
70
|
'UNKNOWN': "unknown",
|
|
66
71
|
'ACTIVE': "active",
|
|
@@ -72,11 +77,6 @@ class ExternalPreferredLineItem202110(ModelNormal):
|
|
|
72
77
|
'ARCHIVED': "archived",
|
|
73
78
|
'NOFUNDS': "noFunds",
|
|
74
79
|
},
|
|
75
|
-
('pacing',): {
|
|
76
|
-
'UNKNOWN': "unknown",
|
|
77
|
-
'STANDARD': "standard",
|
|
78
|
-
'ACCELERATED': "accelerated",
|
|
79
|
-
},
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
validations = {
|
|
@@ -109,21 +109,22 @@ class ExternalPreferredLineItem202110(ModelNormal):
|
|
|
109
109
|
"""
|
|
110
110
|
lazy_import()
|
|
111
111
|
return {
|
|
112
|
-
'
|
|
113
|
-
'
|
|
112
|
+
'budget': (float,), # noqa: E501
|
|
113
|
+
'campaign_id': (str,), # noqa: E501
|
|
114
|
+
'created_at': (datetime,), # noqa: E501
|
|
114
115
|
'end_date': (date,), # noqa: E501
|
|
115
|
-
'
|
|
116
|
+
'name': (str,), # noqa: E501
|
|
116
117
|
'pacing': (str,), # noqa: E501
|
|
117
118
|
'page': (ExternalLineItemPage202110,), # noqa: E501
|
|
119
|
+
'start_date': (date,), # noqa: E501
|
|
120
|
+
'status': (str,), # noqa: E501
|
|
118
121
|
'target_retailer_id': (str,), # noqa: E501
|
|
119
|
-
'budget': (float,), # noqa: E501
|
|
120
|
-
'campaign_id': (str,), # noqa: E501
|
|
121
|
-
'created_at': (datetime,), # noqa: E501
|
|
122
122
|
'updated_at': (datetime,), # noqa: E501
|
|
123
|
-
'capping': (ExternalLineItemCapping202110,), # noqa: E501
|
|
124
|
-
'budget_spent': (float,), # noqa: E501
|
|
125
123
|
'budget_remaining': (float,), # noqa: E501
|
|
124
|
+
'budget_spent': (float,), # noqa: E501
|
|
125
|
+
'capping': (ExternalLineItemCapping202110,), # noqa: E501
|
|
126
126
|
'creative_id': (str, none_type,), # noqa: E501
|
|
127
|
+
'id': (str, none_type,), # noqa: E501
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
@cached_property
|
|
@@ -132,21 +133,22 @@ class ExternalPreferredLineItem202110(ModelNormal):
|
|
|
132
133
|
|
|
133
134
|
|
|
134
135
|
attribute_map = {
|
|
135
|
-
'
|
|
136
|
-
'
|
|
136
|
+
'budget': 'budget', # noqa: E501
|
|
137
|
+
'campaign_id': 'campaignId', # noqa: E501
|
|
138
|
+
'created_at': 'createdAt', # noqa: E501
|
|
137
139
|
'end_date': 'endDate', # noqa: E501
|
|
138
|
-
'
|
|
140
|
+
'name': 'name', # noqa: E501
|
|
139
141
|
'pacing': 'pacing', # noqa: E501
|
|
140
142
|
'page': 'page', # noqa: E501
|
|
143
|
+
'start_date': 'startDate', # noqa: E501
|
|
144
|
+
'status': 'status', # noqa: E501
|
|
141
145
|
'target_retailer_id': 'targetRetailerId', # noqa: E501
|
|
142
|
-
'budget': 'budget', # noqa: E501
|
|
143
|
-
'campaign_id': 'campaignId', # noqa: E501
|
|
144
|
-
'created_at': 'createdAt', # noqa: E501
|
|
145
146
|
'updated_at': 'updatedAt', # noqa: E501
|
|
146
|
-
'capping': 'capping', # noqa: E501
|
|
147
|
-
'budget_spent': 'budgetSpent', # noqa: E501
|
|
148
147
|
'budget_remaining': 'budgetRemaining', # noqa: E501
|
|
148
|
+
'budget_spent': 'budgetSpent', # noqa: E501
|
|
149
|
+
'capping': 'capping', # noqa: E501
|
|
149
150
|
'creative_id': 'creativeId', # noqa: E501
|
|
151
|
+
'id': 'id', # noqa: E501
|
|
150
152
|
}
|
|
151
153
|
|
|
152
154
|
read_only_vars = {
|
|
@@ -156,20 +158,20 @@ class ExternalPreferredLineItem202110(ModelNormal):
|
|
|
156
158
|
|
|
157
159
|
@classmethod
|
|
158
160
|
@convert_js_args_to_python_args
|
|
159
|
-
def _from_openapi_data(cls,
|
|
161
|
+
def _from_openapi_data(cls, budget, campaign_id, created_at, end_date, name, pacing, page, start_date, status, target_retailer_id, updated_at, *args, **kwargs): # noqa: E501
|
|
160
162
|
"""ExternalPreferredLineItem202110 - a model defined in OpenAPI
|
|
161
163
|
|
|
162
164
|
Args:
|
|
163
|
-
|
|
164
|
-
|
|
165
|
+
budget (float):
|
|
166
|
+
campaign_id (str):
|
|
167
|
+
created_at (datetime):
|
|
165
168
|
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
166
|
-
|
|
169
|
+
name (str):
|
|
167
170
|
pacing (str):
|
|
168
171
|
page (ExternalLineItemPage202110):
|
|
172
|
+
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
173
|
+
status (str):
|
|
169
174
|
target_retailer_id (str):
|
|
170
|
-
budget (float):
|
|
171
|
-
campaign_id (str):
|
|
172
|
-
created_at (datetime):
|
|
173
175
|
updated_at (datetime):
|
|
174
176
|
|
|
175
177
|
Keyword Args:
|
|
@@ -203,10 +205,11 @@ class ExternalPreferredLineItem202110(ModelNormal):
|
|
|
203
205
|
Animal class but this time we won't travel
|
|
204
206
|
through its discriminator because we passed in
|
|
205
207
|
_visited_composed_classes = (Animal,)
|
|
206
|
-
capping (ExternalLineItemCapping202110): [optional] # noqa: E501
|
|
207
|
-
budget_spent (float): [optional] # noqa: E501
|
|
208
208
|
budget_remaining (float): [optional] # noqa: E501
|
|
209
|
+
budget_spent (float): [optional] # noqa: E501
|
|
210
|
+
capping (ExternalLineItemCapping202110): [optional] # noqa: E501
|
|
209
211
|
creative_id (str, none_type): [optional] # noqa: E501
|
|
212
|
+
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
210
213
|
"""
|
|
211
214
|
|
|
212
215
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -238,16 +241,16 @@ class ExternalPreferredLineItem202110(ModelNormal):
|
|
|
238
241
|
self._configuration = _configuration
|
|
239
242
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
240
243
|
|
|
241
|
-
self.
|
|
242
|
-
self.
|
|
244
|
+
self.budget = budget
|
|
245
|
+
self.campaign_id = campaign_id
|
|
246
|
+
self.created_at = created_at
|
|
243
247
|
self.end_date = end_date
|
|
244
|
-
self.
|
|
248
|
+
self.name = name
|
|
245
249
|
self.pacing = pacing
|
|
246
250
|
self.page = page
|
|
251
|
+
self.start_date = start_date
|
|
252
|
+
self.status = status
|
|
247
253
|
self.target_retailer_id = target_retailer_id
|
|
248
|
-
self.budget = budget
|
|
249
|
-
self.campaign_id = campaign_id
|
|
250
|
-
self.created_at = created_at
|
|
251
254
|
self.updated_at = updated_at
|
|
252
255
|
for var_name, var_value in kwargs.items():
|
|
253
256
|
if var_name not in self.attribute_map and \
|
|
@@ -269,20 +272,20 @@ class ExternalPreferredLineItem202110(ModelNormal):
|
|
|
269
272
|
])
|
|
270
273
|
|
|
271
274
|
@convert_js_args_to_python_args
|
|
272
|
-
def __init__(self,
|
|
275
|
+
def __init__(self, budget, campaign_id, created_at, end_date, name, pacing, page, start_date, status, target_retailer_id, updated_at, *args, **kwargs): # noqa: E501
|
|
273
276
|
"""ExternalPreferredLineItem202110 - a model defined in OpenAPI
|
|
274
277
|
|
|
275
278
|
Args:
|
|
276
|
-
|
|
277
|
-
|
|
279
|
+
budget (float):
|
|
280
|
+
campaign_id (str):
|
|
281
|
+
created_at (datetime):
|
|
278
282
|
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
279
|
-
|
|
283
|
+
name (str):
|
|
280
284
|
pacing (str):
|
|
281
285
|
page (ExternalLineItemPage202110):
|
|
286
|
+
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
287
|
+
status (str):
|
|
282
288
|
target_retailer_id (str):
|
|
283
|
-
budget (float):
|
|
284
|
-
campaign_id (str):
|
|
285
|
-
created_at (datetime):
|
|
286
289
|
updated_at (datetime):
|
|
287
290
|
|
|
288
291
|
Keyword Args:
|
|
@@ -316,10 +319,11 @@ class ExternalPreferredLineItem202110(ModelNormal):
|
|
|
316
319
|
Animal class but this time we won't travel
|
|
317
320
|
through its discriminator because we passed in
|
|
318
321
|
_visited_composed_classes = (Animal,)
|
|
319
|
-
capping (ExternalLineItemCapping202110): [optional] # noqa: E501
|
|
320
|
-
budget_spent (float): [optional] # noqa: E501
|
|
321
322
|
budget_remaining (float): [optional] # noqa: E501
|
|
323
|
+
budget_spent (float): [optional] # noqa: E501
|
|
324
|
+
capping (ExternalLineItemCapping202110): [optional] # noqa: E501
|
|
322
325
|
creative_id (str, none_type): [optional] # noqa: E501
|
|
326
|
+
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
323
327
|
"""
|
|
324
328
|
|
|
325
329
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -349,16 +353,16 @@ class ExternalPreferredLineItem202110(ModelNormal):
|
|
|
349
353
|
self._configuration = _configuration
|
|
350
354
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
351
355
|
|
|
352
|
-
self.
|
|
353
|
-
self.
|
|
356
|
+
self.budget = budget
|
|
357
|
+
self.campaign_id = campaign_id
|
|
358
|
+
self.created_at = created_at
|
|
354
359
|
self.end_date = end_date
|
|
355
|
-
self.
|
|
360
|
+
self.name = name
|
|
356
361
|
self.pacing = pacing
|
|
357
362
|
self.page = page
|
|
363
|
+
self.start_date = start_date
|
|
364
|
+
self.status = status
|
|
358
365
|
self.target_retailer_id = target_retailer_id
|
|
359
|
-
self.budget = budget
|
|
360
|
-
self.campaign_id = campaign_id
|
|
361
|
-
self.created_at = created_at
|
|
362
366
|
self.updated_at = updated_at
|
|
363
367
|
for var_name, var_value in kwargs.items():
|
|
364
368
|
if var_name not in self.attribute_map and \
|