criteo-api-retailmedia-sdk 2025.1.0.250320__py3-none-any.whl → 2025.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-2025.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250409.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2025.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250409.dist-info}/RECORD +168 -168
- {criteo_api_retailmedia_sdk-2025.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250409.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2025_01/__init__.py +1 -1
- criteo_api_retailmedia_v2025_01/api/analytics_api.py +2 -2
- criteo_api_retailmedia_v2025_01/api/balance_api.py +12 -12
- criteo_api_retailmedia_v2025_01/api/campaign_api.py +30 -30
- criteo_api_retailmedia_v2025_01/api_client.py +1 -1
- criteo_api_retailmedia_v2025_01/configuration.py +1 -1
- criteo_api_retailmedia_v2025_01/model/add_funds_to_balance_v2.py +4 -4
- criteo_api_retailmedia_v2025_01/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/add_to_basket_target202110_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/asset_response.py +7 -7
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py +79 -79
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/async_line_items_report.py +79 -79
- criteo_api_retailmedia_v2025_01/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/async_report_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/async_revenue_report.py +104 -104
- criteo_api_retailmedia_v2025_01/model/async_revenue_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/auction_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/auction_line_item_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/audience_error.py +16 -16
- criteo_api_retailmedia_v2025_01/model/audience_target202110_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/audience_warning.py +22 -22
- criteo_api_retailmedia_v2025_01/model/balance_campaign202110_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/balance_history_change_data_capture_v1.py +14 -14
- criteo_api_retailmedia_v2025_01/model/balance_response_v2.py +45 -45
- criteo_api_retailmedia_v2025_01/model/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py +57 -57
- criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_01/model/campaign_v202301.py +82 -82
- criteo_api_retailmedia_v2025_01/model/category202204.py +8 -8
- criteo_api_retailmedia_v2025_01/model/category202204_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/change_dates_of_balance_v2.py +4 -4
- criteo_api_retailmedia_v2025_01/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/common_error.py +16 -16
- criteo_api_retailmedia_v2025_01/model/common_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/common_line_item_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/common_problem.py +20 -20
- criteo_api_retailmedia_v2025_01/model/common_warning.py +16 -16
- criteo_api_retailmedia_v2025_01/model/create_balance_v2.py +12 -12
- criteo_api_retailmedia_v2025_01/model/creative2.py +50 -50
- criteo_api_retailmedia_v2025_01/model/creative202110.py +16 -12
- criteo_api_retailmedia_v2025_01/model/creative202110_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative202210.py +40 -36
- criteo_api_retailmedia_v2025_01/model/creative202210_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative2_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/daily_line_item_budget_override.py +4 -4
- criteo_api_retailmedia_v2025_01/model/editable_campaign_attributes_v202301.py +32 -32
- criteo_api_retailmedia_v2025_01/model/entity_resource_of_retail_media_account.py +4 -4
- criteo_api_retailmedia_v2025_01/model/entity_resource_outcome_of_retail_media_account.py +5 -5
- criteo_api_retailmedia_v2025_01/model/external_account.py +18 -18
- criteo_api_retailmedia_v2025_01/model/external_add_to_basket_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/external_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item.py +44 -44
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item_create_model.py +30 -30
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item_update_model.py +20 -20
- criteo_api_retailmedia_v2025_01/model/external_audience_target202110.py +8 -8
- criteo_api_retailmedia_v2025_01/model/external_catalog_request.py +4 -4
- criteo_api_retailmedia_v2025_01/model/external_catalog_status.py +20 -20
- criteo_api_retailmedia_v2025_01/model/external_common_line_item.py +34 -34
- criteo_api_retailmedia_v2025_01/model/external_line_item_bid_multipliers_v2.py +28 -28
- criteo_api_retailmedia_v2025_01/model/external_line_item_capping_v2.py +9 -9
- criteo_api_retailmedia_v2025_01/model/external_line_item_page_v2.py +3 -3
- criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_create_model_v2.py +24 -24
- criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_update_model_v2.py +20 -20
- criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_v2.py +36 -36
- criteo_api_retailmedia_v2025_01/model/external_retail_media_account.py +22 -22
- criteo_api_retailmedia_v2025_01/model/external_retail_media_brand_account_creation.py +8 -8
- criteo_api_retailmedia_v2025_01/model/external_retail_media_seller.py +8 -8
- criteo_api_retailmedia_v2025_01/model/external_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/files_variables_specification.py +4 -4
- criteo_api_retailmedia_v2025_01/model/grant_consent_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/grant_consent_model_value_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/input_resource_of_auction_line_item_create_model.py +4 -4
- criteo_api_retailmedia_v2025_01/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_account.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_brand.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_campaign_v202301.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_retailer.py +8 -8
- criteo_api_retailmedia_v2025_01/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_v2025_01/model/keyword_target202110_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/keywords.py +18 -18
- criteo_api_retailmedia_v2025_01/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_v2025_01/model/line_item_bid_multipliers_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/line_item_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_01/model/metadata.py +8 -8
- criteo_api_retailmedia_v2025_01/model/page_metadata.py +16 -16
- criteo_api_retailmedia_v2025_01/model/page_of_balance_history_change_data_capture_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/page_type_environment2.py +14 -14
- criteo_api_retailmedia_v2025_01/model/page_type_environment202210.py +14 -14
- criteo_api_retailmedia_v2025_01/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
- criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/problem_details.py +20 -20
- criteo_api_retailmedia_v2025_01/model/product_metadata.py +8 -8
- criteo_api_retailmedia_v2025_01/model/promoted_product.py +4 -4
- criteo_api_retailmedia_v2025_01/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_v2025_01/model/report_outcome.py +5 -5
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item_update_model.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_balance_campaign202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_common_line_item.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_v2.py +4 -4
- criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_attributes.py +8 -8
- criteo_api_retailmedia_v2025_01/model/rm_algebra_node_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1.py +20 -20
- criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1.py +30 -30
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_update_entity_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_events_v1.py +23 -23
- criteo_api_retailmedia_v2025_01/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_v2025_01/model/sdk_api_rest_common_problem.py +16 -16
- criteo_api_retailmedia_v2025_01/model/section.py +4 -4
- criteo_api_retailmedia_v2025_01/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_v2025_01/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/status_response.py +20 -20
- criteo_api_retailmedia_v2025_01/model/store_target202110_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/template.py +24 -24
- criteo_api_retailmedia_v2025_01/model/template_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/template_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/template_variable.py +4 -4
- criteo_api_retailmedia_v2025_01/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_v2025_01/model/update_balance_model_v2.py +8 -8
- criteo_api_retailmedia_v2025_01/model/value_resource_collection_outcome_of_retail_media_seller.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_of_campaign_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_line_item_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_recommended_keywords_result.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brand_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brands.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_campaign_budget_overrides.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_line_item_budget_overrides.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_recommended_keywords_result.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_retail_media_brands.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_keyword_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/video_variable_value.py +16 -16
- {criteo_api_retailmedia_sdk-2025.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2025.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 \
|
|
@@ -81,18 +81,18 @@ class ExternalLineItemBidMultipliersV2(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'search': (float, none_type,), # noqa: E501
|
|
85
|
-
'home': (float, none_type,), # noqa: E501
|
|
86
84
|
'category': (float, none_type,), # noqa: E501
|
|
87
|
-
'
|
|
85
|
+
'category_menu': (float, none_type,), # noqa: E501
|
|
86
|
+
'checkout': (float, none_type,), # noqa: E501
|
|
88
87
|
'confirmation': (float, none_type,), # noqa: E501
|
|
89
|
-
'merchandising': (float, none_type,), # noqa: E501
|
|
90
88
|
'deals': (float, none_type,), # noqa: E501
|
|
91
|
-
'checkout': (float, none_type,), # noqa: E501
|
|
92
89
|
'favorites': (float, none_type,), # noqa: E501
|
|
93
|
-
'
|
|
94
|
-
'category_menu': (float, none_type,), # noqa: E501
|
|
90
|
+
'home': (float, none_type,), # noqa: E501
|
|
95
91
|
'id': (str, none_type,), # noqa: E501
|
|
92
|
+
'merchandising': (float, none_type,), # noqa: E501
|
|
93
|
+
'product_detail': (float, none_type,), # noqa: E501
|
|
94
|
+
'search': (float, none_type,), # noqa: E501
|
|
95
|
+
'search_bar': (float, none_type,), # noqa: E501
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
@cached_property
|
|
@@ -101,18 +101,18 @@ class ExternalLineItemBidMultipliersV2(ModelNormal):
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
attribute_map = {
|
|
104
|
-
'search': 'search', # noqa: E501
|
|
105
|
-
'home': 'home', # noqa: E501
|
|
106
104
|
'category': 'category', # noqa: E501
|
|
107
|
-
'
|
|
105
|
+
'category_menu': 'categoryMenu', # noqa: E501
|
|
106
|
+
'checkout': 'checkout', # noqa: E501
|
|
108
107
|
'confirmation': 'confirmation', # noqa: E501
|
|
109
|
-
'merchandising': 'merchandising', # noqa: E501
|
|
110
108
|
'deals': 'deals', # noqa: E501
|
|
111
|
-
'checkout': 'checkout', # noqa: E501
|
|
112
109
|
'favorites': 'favorites', # noqa: E501
|
|
113
|
-
'
|
|
114
|
-
'category_menu': 'categoryMenu', # noqa: E501
|
|
110
|
+
'home': 'home', # noqa: E501
|
|
115
111
|
'id': 'id', # noqa: E501
|
|
112
|
+
'merchandising': 'merchandising', # noqa: E501
|
|
113
|
+
'product_detail': 'productDetail', # noqa: E501
|
|
114
|
+
'search': 'search', # noqa: E501
|
|
115
|
+
'search_bar': 'searchBar', # noqa: E501
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
read_only_vars = {
|
|
@@ -156,18 +156,18 @@ class ExternalLineItemBidMultipliersV2(ModelNormal):
|
|
|
156
156
|
Animal class but this time we won't travel
|
|
157
157
|
through its discriminator because we passed in
|
|
158
158
|
_visited_composed_classes = (Animal,)
|
|
159
|
-
search (float, none_type): Search Page Type Bid Multiplier. [optional] # noqa: E501
|
|
160
|
-
home (float, none_type): Home Page Type Bid Multiplier. [optional] # noqa: E501
|
|
161
159
|
category (float, none_type): Categories Page Type Bid Multiplier. [optional] # noqa: E501
|
|
162
|
-
|
|
160
|
+
category_menu (float, none_type): CategoryMenu Page Type Bid Multiplier. [optional] # noqa: E501
|
|
161
|
+
checkout (float, none_type): Checkout Page Type Bid Multiplier. [optional] # noqa: E501
|
|
163
162
|
confirmation (float, none_type): Confirmation Page Type Bid Multiplier. [optional] # noqa: E501
|
|
164
|
-
merchandising (float, none_type): Merchandising Page Type Bid Multiplier. [optional] # noqa: E501
|
|
165
163
|
deals (float, none_type): Deals Page Type Bid Multiplier. [optional] # noqa: E501
|
|
166
|
-
checkout (float, none_type): Checkout Page Type Bid Multiplier. [optional] # noqa: E501
|
|
167
164
|
favorites (float, none_type): Favorites Page Type Bid Multiplier. [optional] # noqa: E501
|
|
168
|
-
|
|
169
|
-
category_menu (float, none_type): CategoryMenu Page Type Bid Multiplier. [optional] # noqa: E501
|
|
165
|
+
home (float, none_type): Home Page Type Bid Multiplier. [optional] # noqa: E501
|
|
170
166
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
167
|
+
merchandising (float, none_type): Merchandising Page Type Bid Multiplier. [optional] # noqa: E501
|
|
168
|
+
product_detail (float, none_type): ProductDetail Page Type Bid Multiplier. [optional] # noqa: E501
|
|
169
|
+
search (float, none_type): Search Page Type Bid Multiplier. [optional] # noqa: E501
|
|
170
|
+
search_bar (float, none_type): SearchBar Page Type Bid Multiplier. [optional] # noqa: E501
|
|
171
171
|
"""
|
|
172
172
|
|
|
173
173
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -253,18 +253,18 @@ class ExternalLineItemBidMultipliersV2(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
|
-
search (float, none_type): Search Page Type Bid Multiplier. [optional] # noqa: E501
|
|
257
|
-
home (float, none_type): Home Page Type Bid Multiplier. [optional] # noqa: E501
|
|
258
256
|
category (float, none_type): Categories Page Type Bid Multiplier. [optional] # noqa: E501
|
|
259
|
-
|
|
257
|
+
category_menu (float, none_type): CategoryMenu Page Type Bid Multiplier. [optional] # noqa: E501
|
|
258
|
+
checkout (float, none_type): Checkout Page Type Bid Multiplier. [optional] # noqa: E501
|
|
260
259
|
confirmation (float, none_type): Confirmation Page Type Bid Multiplier. [optional] # noqa: E501
|
|
261
|
-
merchandising (float, none_type): Merchandising Page Type Bid Multiplier. [optional] # noqa: E501
|
|
262
260
|
deals (float, none_type): Deals Page Type Bid Multiplier. [optional] # noqa: E501
|
|
263
|
-
checkout (float, none_type): Checkout Page Type Bid Multiplier. [optional] # noqa: E501
|
|
264
261
|
favorites (float, none_type): Favorites Page Type Bid Multiplier. [optional] # noqa: E501
|
|
265
|
-
|
|
266
|
-
category_menu (float, none_type): CategoryMenu Page Type Bid Multiplier. [optional] # noqa: E501
|
|
262
|
+
home (float, none_type): Home Page Type Bid Multiplier. [optional] # noqa: E501
|
|
267
263
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
264
|
+
merchandising (float, none_type): Merchandising Page Type Bid Multiplier. [optional] # noqa: E501
|
|
265
|
+
product_detail (float, none_type): ProductDetail Page Type Bid Multiplier. [optional] # noqa: E501
|
|
266
|
+
search (float, none_type): Search Page Type Bid Multiplier. [optional] # noqa: E501
|
|
267
|
+
search_bar (float, none_type): SearchBar Page Type Bid Multiplier. [optional] # noqa: E501
|
|
268
268
|
"""
|
|
269
269
|
|
|
270
270
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -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 = True
|
|
77
77
|
|
|
78
78
|
@cached_property
|
|
79
79
|
def openapi_types():
|
|
@@ -86,8 +86,8 @@ class ExternalLineItemCappingV2(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 ExternalLineItemCappingV2(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 ExternalLineItemCappingV2(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
|
"""ExternalLineItemCappingV2 - a model defined in OpenAPI
|
|
112
112
|
|
|
113
113
|
Args:
|
|
114
|
-
type (str): Line Item Capping Type Enum
|
|
115
114
|
count (int):
|
|
115
|
+
type (str): Line Item Capping Type Enum
|
|
116
116
|
|
|
117
117
|
Keyword Args:
|
|
118
118
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -176,8 +176,8 @@ class ExternalLineItemCappingV2(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 ExternalLineItemCappingV2(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
|
"""ExternalLineItemCappingV2 - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Args:
|
|
205
|
-
type (str): Line Item Capping Type Enum
|
|
206
205
|
count (int):
|
|
206
|
+
type (str): Line Item Capping Type Enum
|
|
207
207
|
|
|
208
208
|
Keyword Args:
|
|
209
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -265,8 +265,8 @@ class ExternalLineItemCappingV2(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 \
|
|
@@ -104,7 +104,7 @@ class ExternalLineItemPageV2(ModelNormal):
|
|
|
104
104
|
return {
|
|
105
105
|
'page_type': (str,), # noqa: E501
|
|
106
106
|
'categories': ([ExternalLineItemPageCategoryV2], none_type,), # noqa: E501
|
|
107
|
-
'search_keywords': ([str],), # noqa: E501
|
|
107
|
+
'search_keywords': ([str], none_type,), # noqa: E501
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
@cached_property
|
|
@@ -163,7 +163,7 @@ class ExternalLineItemPageV2(ModelNormal):
|
|
|
163
163
|
through its discriminator because we passed in
|
|
164
164
|
_visited_composed_classes = (Animal,)
|
|
165
165
|
categories ([ExternalLineItemPageCategoryV2], none_type): [optional] # noqa: E501
|
|
166
|
-
search_keywords ([str]): [optional] # noqa: E501
|
|
166
|
+
search_keywords ([str], none_type): [optional] # noqa: E501
|
|
167
167
|
"""
|
|
168
168
|
|
|
169
169
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -254,7 +254,7 @@ class ExternalLineItemPageV2(ModelNormal):
|
|
|
254
254
|
through its discriminator because we passed in
|
|
255
255
|
_visited_composed_classes = (Animal,)
|
|
256
256
|
categories ([ExternalLineItemPageCategoryV2], none_type): [optional] # noqa: E501
|
|
257
|
-
search_keywords ([str]): [optional] # noqa: E501
|
|
257
|
+
search_keywords ([str], none_type): [optional] # noqa: E501
|
|
258
258
|
"""
|
|
259
259
|
|
|
260
260
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -109,16 +109,16 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
109
109
|
"""
|
|
110
110
|
lazy_import()
|
|
111
111
|
return {
|
|
112
|
-
'
|
|
113
|
-
'start_date': (date,), # noqa: E501
|
|
112
|
+
'budget': (float,), # noqa: E501
|
|
114
113
|
'end_date': (date,), # noqa: E501
|
|
114
|
+
'name': (str,), # noqa: E501
|
|
115
115
|
'pacing': (str,), # noqa: E501
|
|
116
116
|
'page': (ExternalLineItemPageV2,), # noqa: E501
|
|
117
|
+
'start_date': (date,), # noqa: E501
|
|
117
118
|
'target_retailer_id': (str,), # noqa: E501
|
|
118
|
-
'budget': (float,), # noqa: E501
|
|
119
|
-
'status': (str,), # noqa: E501
|
|
120
119
|
'capping': (ExternalLineItemCappingV2,), # noqa: E501
|
|
121
120
|
'creative_id': (str, none_type,), # noqa: E501
|
|
121
|
+
'status': (str,), # noqa: E501
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
@cached_property
|
|
@@ -127,16 +127,16 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
attribute_map = {
|
|
130
|
-
'
|
|
131
|
-
'start_date': 'startDate', # noqa: E501
|
|
130
|
+
'budget': 'budget', # noqa: E501
|
|
132
131
|
'end_date': 'endDate', # noqa: E501
|
|
132
|
+
'name': 'name', # noqa: E501
|
|
133
133
|
'pacing': 'pacing', # noqa: E501
|
|
134
134
|
'page': 'page', # noqa: E501
|
|
135
|
+
'start_date': 'startDate', # noqa: E501
|
|
135
136
|
'target_retailer_id': 'targetRetailerId', # noqa: E501
|
|
136
|
-
'budget': 'budget', # noqa: E501
|
|
137
|
-
'status': 'status', # noqa: E501
|
|
138
137
|
'capping': 'capping', # noqa: E501
|
|
139
138
|
'creative_id': 'creativeId', # noqa: E501
|
|
139
|
+
'status': 'status', # noqa: E501
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
read_only_vars = {
|
|
@@ -146,17 +146,17 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
146
146
|
|
|
147
147
|
@classmethod
|
|
148
148
|
@convert_js_args_to_python_args
|
|
149
|
-
def _from_openapi_data(cls,
|
|
149
|
+
def _from_openapi_data(cls, budget, end_date, name, pacing, page, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
|
|
150
150
|
"""ExternalPreferredLineItemCreateModelV2 - a model defined in OpenAPI
|
|
151
151
|
|
|
152
152
|
Args:
|
|
153
|
-
|
|
154
|
-
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
153
|
+
budget (float):
|
|
155
154
|
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
155
|
+
name (str):
|
|
156
156
|
pacing (str): Line Item Pacing Enum
|
|
157
157
|
page (ExternalLineItemPageV2):
|
|
158
|
+
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
158
159
|
target_retailer_id (str):
|
|
159
|
-
budget (float):
|
|
160
160
|
|
|
161
161
|
Keyword Args:
|
|
162
162
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -189,9 +189,9 @@ 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
|
-
status (str): Line Item Status Enum. [optional] # noqa: E501
|
|
193
192
|
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
194
193
|
creative_id (str, none_type): [optional] # noqa: E501
|
|
194
|
+
status (str): Line Item Status Enum. [optional] # noqa: E501
|
|
195
195
|
"""
|
|
196
196
|
|
|
197
197
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -223,13 +223,13 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
223
223
|
self._configuration = _configuration
|
|
224
224
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
225
225
|
|
|
226
|
-
self.
|
|
227
|
-
self.start_date = start_date
|
|
226
|
+
self.budget = budget
|
|
228
227
|
self.end_date = end_date
|
|
228
|
+
self.name = name
|
|
229
229
|
self.pacing = pacing
|
|
230
230
|
self.page = page
|
|
231
|
+
self.start_date = start_date
|
|
231
232
|
self.target_retailer_id = target_retailer_id
|
|
232
|
-
self.budget = budget
|
|
233
233
|
for var_name, var_value in kwargs.items():
|
|
234
234
|
if var_name not in self.attribute_map and \
|
|
235
235
|
self._configuration is not None and \
|
|
@@ -250,17 +250,17 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
250
250
|
])
|
|
251
251
|
|
|
252
252
|
@convert_js_args_to_python_args
|
|
253
|
-
def __init__(self,
|
|
253
|
+
def __init__(self, budget, end_date, name, pacing, page, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
|
|
254
254
|
"""ExternalPreferredLineItemCreateModelV2 - a model defined in OpenAPI
|
|
255
255
|
|
|
256
256
|
Args:
|
|
257
|
-
|
|
258
|
-
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
257
|
+
budget (float):
|
|
259
258
|
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
259
|
+
name (str):
|
|
260
260
|
pacing (str): Line Item Pacing Enum
|
|
261
261
|
page (ExternalLineItemPageV2):
|
|
262
|
+
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
262
263
|
target_retailer_id (str):
|
|
263
|
-
budget (float):
|
|
264
264
|
|
|
265
265
|
Keyword Args:
|
|
266
266
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -293,9 +293,9 @@ 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
|
-
status (str): Line Item Status Enum. [optional] # noqa: E501
|
|
297
296
|
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
298
297
|
creative_id (str, none_type): [optional] # noqa: E501
|
|
298
|
+
status (str): Line Item Status Enum. [optional] # noqa: E501
|
|
299
299
|
"""
|
|
300
300
|
|
|
301
301
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -325,13 +325,13 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
325
325
|
self._configuration = _configuration
|
|
326
326
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
327
327
|
|
|
328
|
-
self.
|
|
329
|
-
self.start_date = start_date
|
|
328
|
+
self.budget = budget
|
|
330
329
|
self.end_date = end_date
|
|
330
|
+
self.name = name
|
|
331
331
|
self.pacing = pacing
|
|
332
332
|
self.page = page
|
|
333
|
+
self.start_date = start_date
|
|
333
334
|
self.target_retailer_id = target_retailer_id
|
|
334
|
-
self.budget = budget
|
|
335
335
|
for var_name, var_value in kwargs.items():
|
|
336
336
|
if var_name not in self.attribute_map and \
|
|
337
337
|
self._configuration is not None and \
|
|
@@ -109,15 +109,15 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
109
109
|
"""
|
|
110
110
|
lazy_import()
|
|
111
111
|
return {
|
|
112
|
+
'end_date': (date,), # noqa: E501
|
|
112
113
|
'name': (str,), # noqa: E501
|
|
113
114
|
'start_date': (date,), # noqa: E501
|
|
114
|
-
'end_date': (date,), # noqa: E501
|
|
115
115
|
'status': (str,), # noqa: E501
|
|
116
|
-
'pacing': (str,), # noqa: E501
|
|
117
|
-
'capping': (ExternalLineItemCappingV2,), # noqa: E501
|
|
118
|
-
'page': (ExternalLineItemPageV2,), # noqa: E501
|
|
119
116
|
'budget': (float,), # noqa: E501
|
|
117
|
+
'capping': (ExternalLineItemCappingV2,), # noqa: E501
|
|
120
118
|
'creative_id': (str, none_type,), # noqa: E501
|
|
119
|
+
'pacing': (str,), # noqa: E501
|
|
120
|
+
'page': (ExternalLineItemPageV2,), # noqa: E501
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
@cached_property
|
|
@@ -126,15 +126,15 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
attribute_map = {
|
|
129
|
+
'end_date': 'endDate', # noqa: E501
|
|
129
130
|
'name': 'name', # noqa: E501
|
|
130
131
|
'start_date': 'startDate', # noqa: E501
|
|
131
|
-
'end_date': 'endDate', # noqa: E501
|
|
132
132
|
'status': 'status', # noqa: E501
|
|
133
|
-
'pacing': 'pacing', # noqa: E501
|
|
134
|
-
'capping': 'capping', # noqa: E501
|
|
135
|
-
'page': 'page', # noqa: E501
|
|
136
133
|
'budget': 'budget', # noqa: E501
|
|
134
|
+
'capping': 'capping', # noqa: E501
|
|
137
135
|
'creative_id': 'creativeId', # noqa: E501
|
|
136
|
+
'pacing': 'pacing', # noqa: E501
|
|
137
|
+
'page': 'page', # noqa: E501
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
read_only_vars = {
|
|
@@ -144,13 +144,13 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
144
144
|
|
|
145
145
|
@classmethod
|
|
146
146
|
@convert_js_args_to_python_args
|
|
147
|
-
def _from_openapi_data(cls, name, start_date,
|
|
147
|
+
def _from_openapi_data(cls, end_date, name, start_date, status, *args, **kwargs): # noqa: E501
|
|
148
148
|
"""ExternalPreferredLineItemUpdateModelV2 - a model defined in OpenAPI
|
|
149
149
|
|
|
150
150
|
Args:
|
|
151
|
+
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
151
152
|
name (str):
|
|
152
153
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
153
|
-
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
154
154
|
status (str): Line Item Status Enum
|
|
155
155
|
|
|
156
156
|
Keyword Args:
|
|
@@ -184,11 +184,11 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
184
184
|
Animal class but this time we won't travel
|
|
185
185
|
through its discriminator because we passed in
|
|
186
186
|
_visited_composed_classes = (Animal,)
|
|
187
|
-
pacing (str): [optional] if omitted the server will use the default value of "accelerated" # noqa: E501
|
|
188
|
-
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
189
|
-
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
190
187
|
budget (float): [optional] # noqa: E501
|
|
188
|
+
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
191
189
|
creative_id (str, none_type): [optional] # noqa: E501
|
|
190
|
+
pacing (str): [optional] if omitted the server will use the default value of "accelerated" # noqa: E501
|
|
191
|
+
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
192
192
|
"""
|
|
193
193
|
|
|
194
194
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -220,9 +220,9 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
220
220
|
self._configuration = _configuration
|
|
221
221
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
222
222
|
|
|
223
|
+
self.end_date = end_date
|
|
223
224
|
self.name = name
|
|
224
225
|
self.start_date = start_date
|
|
225
|
-
self.end_date = end_date
|
|
226
226
|
self.status = status
|
|
227
227
|
for var_name, var_value in kwargs.items():
|
|
228
228
|
if var_name not in self.attribute_map and \
|
|
@@ -244,13 +244,13 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
244
244
|
])
|
|
245
245
|
|
|
246
246
|
@convert_js_args_to_python_args
|
|
247
|
-
def __init__(self, name, start_date,
|
|
247
|
+
def __init__(self, end_date, name, start_date, status, *args, **kwargs): # noqa: E501
|
|
248
248
|
"""ExternalPreferredLineItemUpdateModelV2 - a model defined in OpenAPI
|
|
249
249
|
|
|
250
250
|
Args:
|
|
251
|
+
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
251
252
|
name (str):
|
|
252
253
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
253
|
-
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
254
254
|
status (str): Line Item Status Enum
|
|
255
255
|
|
|
256
256
|
Keyword Args:
|
|
@@ -284,11 +284,11 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
284
284
|
Animal class but this time we won't travel
|
|
285
285
|
through its discriminator because we passed in
|
|
286
286
|
_visited_composed_classes = (Animal,)
|
|
287
|
-
pacing (str): [optional] if omitted the server will use the default value of "accelerated" # noqa: E501
|
|
288
|
-
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
289
|
-
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
290
287
|
budget (float): [optional] # noqa: E501
|
|
288
|
+
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
291
289
|
creative_id (str, none_type): [optional] # noqa: E501
|
|
290
|
+
pacing (str): [optional] if omitted the server will use the default value of "accelerated" # noqa: E501
|
|
291
|
+
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
292
292
|
"""
|
|
293
293
|
|
|
294
294
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -318,9 +318,9 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
318
318
|
self._configuration = _configuration
|
|
319
319
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
320
320
|
|
|
321
|
+
self.end_date = end_date
|
|
321
322
|
self.name = name
|
|
322
323
|
self.start_date = start_date
|
|
323
|
-
self.end_date = end_date
|
|
324
324
|
self.status = status
|
|
325
325
|
for var_name, var_value in kwargs.items():
|
|
326
326
|
if var_name not in self.attribute_map and \
|