criteo-api-retailmedia-sdk 0.0.250327__py3-none-any.whl → 0.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_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +302 -6
- criteo_api_retailmedia_preview/api/analytics_api.py +144 -2
- criteo_api_retailmedia_preview/api/balance_api.py +12 -12
- criteo_api_retailmedia_preview/api/campaign_api.py +88 -88
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/account_fees_search_request.py +257 -0
- criteo_api_retailmedia_preview/model/account_fees_update_request.py +274 -0
- criteo_api_retailmedia_preview/model/account_fees_update_result.py +261 -0
- criteo_api_retailmedia_preview/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_preview/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_preview/model/async_accounts_report.py +71 -71
- criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +79 -79
- criteo_api_retailmedia_preview/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_fill_rate_report.py +14 -14
- criteo_api_retailmedia_preview/model/async_fill_rate_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_line_items_report.py +79 -79
- criteo_api_retailmedia_preview/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_offsite_report.py +434 -0
- criteo_api_retailmedia_preview/model/async_offsite_report_request.py +269 -0
- criteo_api_retailmedia_preview/model/async_offsite_report_resource.py +273 -0
- criteo_api_retailmedia_preview/model/async_report_response.py +5 -5
- criteo_api_retailmedia_preview/model/audience_error.py +16 -16
- criteo_api_retailmedia_preview/model/audience_warning.py +22 -22
- criteo_api_retailmedia_preview/model/balance_history_change_data_capture_v1.py +14 -14
- criteo_api_retailmedia_preview/model/balance_response_v2.py +45 -45
- criteo_api_retailmedia_preview/model/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/bot_message.py +4 -4
- criteo_api_retailmedia_preview/model/brand_catalog_request_v2.py +9 -9
- criteo_api_retailmedia_preview/model/brand_id_search_request.py +4 -4
- criteo_api_retailmedia_preview/model/brand_id_search_result.py +8 -8
- criteo_api_retailmedia_preview/model/brand_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/catalog_status_v2.py +12 -12
- criteo_api_retailmedia_preview/model/category202204.py +8 -8
- criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +4 -4
- criteo_api_retailmedia_preview/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_preview/model/common_error.py +16 -16
- criteo_api_retailmedia_preview/model/common_problem.py +20 -20
- criteo_api_retailmedia_preview/model/common_warning.py +16 -16
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +4 -4
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview_response.py +5 -5
- criteo_api_retailmedia_preview/model/create_balance_v2.py +12 -12
- criteo_api_retailmedia_preview/model/creative2.py +50 -50
- criteo_api_retailmedia_preview/model/creative2_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/creative2_response.py +5 -5
- criteo_api_retailmedia_preview/model/demand_managed_fee.py +267 -0
- criteo_api_retailmedia_preview/model/entity_resource_brand_id_search_result.py +4 -4
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py +9 -9
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py +9 -9
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_child_account_and_metadata.py +9 -9
- criteo_api_retailmedia_preview/model/entity_resource_line_item_keyword_review_report.py +4 -4
- criteo_api_retailmedia_preview/model/{resource_of_catalog_status_v2.py → entity_resource_of_catalog_status_v2.py} +7 -7
- criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_child_account.py +4 -4
- criteo_api_retailmedia_preview/model/{catalog_status_v2_response.py → entity_resource_outcome_of_catalog_status_v2.py} +18 -18
- criteo_api_retailmedia_preview/model/entity_resource_outcome_partner_billing_report_status_v1.py +5 -5
- criteo_api_retailmedia_preview/model/entity_resource_partner_billing_report_status_v1.py +4 -4
- criteo_api_retailmedia_preview/model/export_report_column.py +30 -30
- criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +28 -28
- criteo_api_retailmedia_preview/model/external_line_item_capping_v2.py +9 -9
- criteo_api_retailmedia_preview/model/external_line_item_page_v2.py +3 -3
- criteo_api_retailmedia_preview/model/external_preferred_line_item_create_model_v2.py +24 -24
- criteo_api_retailmedia_preview/model/external_preferred_line_item_update_model_v2.py +20 -20
- criteo_api_retailmedia_preview/model/external_preferred_line_item_v2.py +36 -36
- criteo_api_retailmedia_preview/model/external_product_button_request.py +8 -8
- criteo_api_retailmedia_preview/model/external_product_button_response.py +14 -14
- criteo_api_retailmedia_preview/model/external_retail_media_child_account.py +22 -22
- criteo_api_retailmedia_preview/model/grant_consent_model.py +8 -8
- criteo_api_retailmedia_preview/model/grant_consent_model_value_resource.py +4 -4
- criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
- criteo_api_retailmedia_preview/model/installment.py +4 -4
- criteo_api_retailmedia_preview/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_preview/model/keywords.py +18 -18
- criteo_api_retailmedia_preview/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +32 -32
- criteo_api_retailmedia_preview/model/managed_service_fee.py +279 -0
- criteo_api_retailmedia_preview/model/message.py +4 -4
- criteo_api_retailmedia_preview/model/message_error.py +8 -8
- criteo_api_retailmedia_preview/model/metadata.py +8 -8
- criteo_api_retailmedia_preview/model/outcome.py +5 -5
- criteo_api_retailmedia_preview/model/page_metadata.py +16 -16
- criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py +8 -8
- criteo_api_retailmedia_preview/model/page_type_environment2.py +14 -14
- criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
- criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py +8 -8
- criteo_api_retailmedia_preview/model/partner_billing_report_request_v1.py +12 -14
- criteo_api_retailmedia_preview/model/partner_billing_report_status_v1.py +8 -8
- criteo_api_retailmedia_preview/model/placement_preview.py +24 -24
- criteo_api_retailmedia_preview/model/placement_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/preferred_line_item_v2_paged_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/preferred_line_item_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/private_market_account_fees.py +266 -0
- criteo_api_retailmedia_preview/model/private_market_fees.py +276 -0
- criteo_api_retailmedia_preview/model/problem_details.py +20 -20
- criteo_api_retailmedia_preview/model/product.py +242 -242
- criteo_api_retailmedia_preview/model/product_button_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/product_importer_error.py +20 -20
- criteo_api_retailmedia_preview/model/product_importer_warning.py +20 -20
- criteo_api_retailmedia_preview/model/product_metadata.py +8 -8
- criteo_api_retailmedia_preview/model/product_recommendation.py +16 -16
- criteo_api_retailmedia_preview/model/product_shipping.py +16 -16
- criteo_api_retailmedia_preview/model/product_shipping_dimension.py +4 -4
- criteo_api_retailmedia_preview/model/product_shipping_weight.py +4 -4
- criteo_api_retailmedia_preview/model/product_tax.py +12 -12
- criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +4 -4
- criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +4 -4
- criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +8 -8
- criteo_api_retailmedia_preview/model/promoted_product.py +4 -4
- criteo_api_retailmedia_preview/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_preview/model/report_data_response_resource.py +4 -4
- criteo_api_retailmedia_preview/model/report_detail_error.py +14 -14
- criteo_api_retailmedia_preview/model/report_detail_errors.py +8 -8
- criteo_api_retailmedia_preview/model/report_detail_warning.py +14 -14
- criteo_api_retailmedia_preview/model/report_ok_response.py +20 -20
- criteo_api_retailmedia_preview/model/report_outcome.py +5 -5
- criteo_api_retailmedia_preview/model/report_response.py +9 -9
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_seller_preview.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_sku_data_preview.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_sku_search_request_preview.py +4 -4
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +8 -8
- criteo_api_retailmedia_preview/model/retail_media_seller.py +8 -8
- criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py +8 -8
- criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py +20 -20
- criteo_api_retailmedia_preview/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +30 -30
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1.py +8 -8
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_events_v1.py +23 -23
- criteo_api_retailmedia_preview/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +16 -16
- criteo_api_retailmedia_preview/model/seller_catalog_request_v2.py +8 -8
- criteo_api_retailmedia_preview/model/seller_preview_response.py +5 -5
- criteo_api_retailmedia_preview/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_preview/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sku_data_preview.py +60 -60
- criteo_api_retailmedia_preview/model/sku_data_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/sku_min_bid.py +8 -8
- criteo_api_retailmedia_preview/model/sku_search_request_preview.py +17 -17
- criteo_api_retailmedia_preview/model/sku_search_request_slim_preview.py +8 -8
- criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +30 -30
- criteo_api_retailmedia_preview/model/sku_slim_data_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +24 -24
- criteo_api_retailmedia_preview/model/sku_slim_data_v2_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/status_response.py +20 -20
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +41 -41
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +48 -48
- criteo_api_retailmedia_preview/model/sync_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +52 -52
- criteo_api_retailmedia_preview/model/sync_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_preview/model/update_balance_model_v2.py +8 -8
- criteo_api_retailmedia_preview/model/value_resource_account_fees_search_request.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_account_fees_update_request.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_account_fees_update_result.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_brand_id_search_request.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_seller_search_result.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_private_market_account_fees.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_input_account_fees_search_request.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_account_fees_update_request.py +262 -0
- criteo_api_retailmedia_preview/model/{json_api_request_of_brand_catalog_request_v2.py → value_resource_input_of_brand_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_request_of_seller_catalog_request_v2.py → value_resource_input_of_seller_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_brand_catalog_request_v2_and_brand_catalog_request_v2.py → value_resource_of_brand_catalog_request_v2.py} +10 -16
- criteo_api_retailmedia_preview/model/value_resource_of_recommended_keywords_result.py +4 -4
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_seller_catalog_request_v2_and_seller_catalog_request_v2.py → value_resource_of_seller_catalog_request_v2.py} +10 -16
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search_result.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_outcome_account_fees_update_result.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_outcome_cpc_min_bids_response.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_outcome_of_recommended_keywords_result.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_outcome_retail_media_keywords_review_result.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_partner_billing_report_request_v1.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_private_market_account_fees.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py +4 -4
- criteo_api_retailmedia_preview/model/video_variable_value.py +16 -16
- criteo_api_retailmedia_preview/models/__init__.py +24 -6
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/RECORD +205 -187
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/top_level.txt +0 -0
|
@@ -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 \
|
|
@@ -110,22 +110,22 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
110
110
|
"""
|
|
111
111
|
lazy_import()
|
|
112
112
|
return {
|
|
113
|
+
'campaign_id': (str,), # noqa: E501
|
|
114
|
+
'created_at': (datetime,), # noqa: E501
|
|
115
|
+
'end_date': (date,), # noqa: E501
|
|
113
116
|
'name': (str,), # noqa: E501
|
|
114
117
|
'start_date': (date,), # noqa: E501
|
|
115
|
-
'end_date': (date,), # noqa: E501
|
|
116
118
|
'status': (str,), # noqa: E501
|
|
117
119
|
'target_retailer_id': (str,), # noqa: E501
|
|
118
|
-
'campaign_id': (str,), # noqa: E501
|
|
119
|
-
'created_at': (datetime,), # noqa: E501
|
|
120
120
|
'updated_at': (datetime,), # noqa: E501
|
|
121
|
-
'pacing': (str, none_type,), # noqa: E501
|
|
122
|
-
'capping': (ExternalLineItemCappingV2,), # noqa: E501
|
|
123
|
-
'page': (ExternalLineItemPageV2,), # noqa: E501
|
|
124
121
|
'budget': (float, none_type,), # noqa: E501
|
|
125
|
-
'budget_spent': (float, none_type,), # noqa: E501
|
|
126
122
|
'budget_remaining': (float, none_type,), # noqa: E501
|
|
123
|
+
'budget_spent': (float, none_type,), # noqa: E501
|
|
124
|
+
'capping': (ExternalLineItemCappingV2,), # noqa: E501
|
|
127
125
|
'creative_id': (str, none_type,), # noqa: E501
|
|
128
126
|
'id': (str, none_type,), # noqa: E501
|
|
127
|
+
'pacing': (str, none_type,), # noqa: E501
|
|
128
|
+
'page': (ExternalLineItemPageV2,), # noqa: E501
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
@cached_property
|
|
@@ -134,22 +134,22 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
attribute_map = {
|
|
137
|
+
'campaign_id': 'campaignId', # noqa: E501
|
|
138
|
+
'created_at': 'createdAt', # noqa: E501
|
|
139
|
+
'end_date': 'endDate', # noqa: E501
|
|
137
140
|
'name': 'name', # noqa: E501
|
|
138
141
|
'start_date': 'startDate', # noqa: E501
|
|
139
|
-
'end_date': 'endDate', # noqa: E501
|
|
140
142
|
'status': 'status', # noqa: E501
|
|
141
143
|
'target_retailer_id': 'targetRetailerId', # noqa: E501
|
|
142
|
-
'campaign_id': 'campaignId', # noqa: E501
|
|
143
|
-
'created_at': 'createdAt', # noqa: E501
|
|
144
144
|
'updated_at': 'updatedAt', # noqa: E501
|
|
145
|
-
'pacing': 'pacing', # noqa: E501
|
|
146
|
-
'capping': 'capping', # noqa: E501
|
|
147
|
-
'page': 'page', # noqa: E501
|
|
148
145
|
'budget': 'budget', # noqa: E501
|
|
149
|
-
'budget_spent': 'budgetSpent', # noqa: E501
|
|
150
146
|
'budget_remaining': 'budgetRemaining', # noqa: E501
|
|
147
|
+
'budget_spent': 'budgetSpent', # noqa: E501
|
|
148
|
+
'capping': 'capping', # noqa: E501
|
|
151
149
|
'creative_id': 'creativeId', # noqa: E501
|
|
152
150
|
'id': 'id', # noqa: E501
|
|
151
|
+
'pacing': 'pacing', # noqa: E501
|
|
152
|
+
'page': 'page', # noqa: E501
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
read_only_vars = {
|
|
@@ -159,17 +159,17 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
159
159
|
|
|
160
160
|
@classmethod
|
|
161
161
|
@convert_js_args_to_python_args
|
|
162
|
-
def _from_openapi_data(cls,
|
|
162
|
+
def _from_openapi_data(cls, campaign_id, created_at, end_date, name, start_date, status, target_retailer_id, updated_at, *args, **kwargs): # noqa: E501
|
|
163
163
|
"""ExternalPreferredLineItemV2 - a model defined in OpenAPI
|
|
164
164
|
|
|
165
165
|
Args:
|
|
166
|
+
campaign_id (str):
|
|
167
|
+
created_at (datetime):
|
|
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
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
168
|
-
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
169
171
|
status (str): Line Item Status Enum
|
|
170
172
|
target_retailer_id (str):
|
|
171
|
-
campaign_id (str):
|
|
172
|
-
created_at (datetime):
|
|
173
173
|
updated_at (datetime):
|
|
174
174
|
|
|
175
175
|
Keyword Args:
|
|
@@ -203,14 +203,14 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
203
203
|
Animal class but this time we won't travel
|
|
204
204
|
through its discriminator because we passed in
|
|
205
205
|
_visited_composed_classes = (Animal,)
|
|
206
|
-
pacing (str, none_type): [optional] # noqa: E501
|
|
207
|
-
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
208
|
-
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
209
206
|
budget (float, none_type): [optional] # noqa: E501
|
|
210
|
-
budget_spent (float, none_type): [optional] # noqa: E501
|
|
211
207
|
budget_remaining (float, none_type): [optional] # noqa: E501
|
|
208
|
+
budget_spent (float, none_type): [optional] # noqa: E501
|
|
209
|
+
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
212
210
|
creative_id (str, none_type): External creative Id. [optional] # noqa: E501
|
|
213
211
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
212
|
+
pacing (str, none_type): [optional] # noqa: E501
|
|
213
|
+
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
214
214
|
"""
|
|
215
215
|
|
|
216
216
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -242,13 +242,13 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
242
242
|
self._configuration = _configuration
|
|
243
243
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
244
244
|
|
|
245
|
+
self.campaign_id = campaign_id
|
|
246
|
+
self.created_at = created_at
|
|
247
|
+
self.end_date = end_date
|
|
245
248
|
self.name = name
|
|
246
249
|
self.start_date = start_date
|
|
247
|
-
self.end_date = end_date
|
|
248
250
|
self.status = status
|
|
249
251
|
self.target_retailer_id = target_retailer_id
|
|
250
|
-
self.campaign_id = campaign_id
|
|
251
|
-
self.created_at = created_at
|
|
252
252
|
self.updated_at = updated_at
|
|
253
253
|
for var_name, var_value in kwargs.items():
|
|
254
254
|
if var_name not in self.attribute_map and \
|
|
@@ -270,17 +270,17 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
270
270
|
])
|
|
271
271
|
|
|
272
272
|
@convert_js_args_to_python_args
|
|
273
|
-
def __init__(self,
|
|
273
|
+
def __init__(self, campaign_id, created_at, end_date, name, start_date, status, target_retailer_id, updated_at, *args, **kwargs): # noqa: E501
|
|
274
274
|
"""ExternalPreferredLineItemV2 - a model defined in OpenAPI
|
|
275
275
|
|
|
276
276
|
Args:
|
|
277
|
+
campaign_id (str):
|
|
278
|
+
created_at (datetime):
|
|
279
|
+
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
277
280
|
name (str):
|
|
278
281
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
279
|
-
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
280
282
|
status (str): Line Item Status Enum
|
|
281
283
|
target_retailer_id (str):
|
|
282
|
-
campaign_id (str):
|
|
283
|
-
created_at (datetime):
|
|
284
284
|
updated_at (datetime):
|
|
285
285
|
|
|
286
286
|
Keyword Args:
|
|
@@ -314,14 +314,14 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
314
314
|
Animal class but this time we won't travel
|
|
315
315
|
through its discriminator because we passed in
|
|
316
316
|
_visited_composed_classes = (Animal,)
|
|
317
|
-
pacing (str, none_type): [optional] # noqa: E501
|
|
318
|
-
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
319
|
-
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
320
317
|
budget (float, none_type): [optional] # noqa: E501
|
|
321
|
-
budget_spent (float, none_type): [optional] # noqa: E501
|
|
322
318
|
budget_remaining (float, none_type): [optional] # noqa: E501
|
|
319
|
+
budget_spent (float, none_type): [optional] # noqa: E501
|
|
320
|
+
capping (ExternalLineItemCappingV2): [optional] # noqa: E501
|
|
323
321
|
creative_id (str, none_type): External creative Id. [optional] # noqa: E501
|
|
324
322
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
323
|
+
pacing (str, none_type): [optional] # noqa: E501
|
|
324
|
+
page (ExternalLineItemPageV2): [optional] # noqa: E501
|
|
325
325
|
"""
|
|
326
326
|
|
|
327
327
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -351,13 +351,13 @@ class ExternalPreferredLineItemV2(ModelNormal):
|
|
|
351
351
|
self._configuration = _configuration
|
|
352
352
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
353
353
|
|
|
354
|
+
self.campaign_id = campaign_id
|
|
355
|
+
self.created_at = created_at
|
|
356
|
+
self.end_date = end_date
|
|
354
357
|
self.name = name
|
|
355
358
|
self.start_date = start_date
|
|
356
|
-
self.end_date = end_date
|
|
357
359
|
self.status = status
|
|
358
360
|
self.target_retailer_id = target_retailer_id
|
|
359
|
-
self.campaign_id = campaign_id
|
|
360
|
-
self.created_at = created_at
|
|
361
361
|
self.updated_at = updated_at
|
|
362
362
|
for var_name, var_value in kwargs.items():
|
|
363
363
|
if var_name not in self.attribute_map and \
|
|
@@ -81,9 +81,9 @@ class ExternalProductButtonRequest(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'name': (str,), # noqa: E501
|
|
85
84
|
'background_image': (str,), # noqa: E501
|
|
86
85
|
'is_mandatory': (int,), # noqa: E501
|
|
86
|
+
'name': (str,), # noqa: E501
|
|
87
87
|
'skus': ([str],), # noqa: E501
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -93,9 +93,9 @@ class ExternalProductButtonRequest(ModelNormal):
|
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
attribute_map = {
|
|
96
|
-
'name': 'name', # noqa: E501
|
|
97
96
|
'background_image': 'backgroundImage', # noqa: E501
|
|
98
97
|
'is_mandatory': 'isMandatory', # noqa: E501
|
|
98
|
+
'name': 'name', # noqa: E501
|
|
99
99
|
'skus': 'skus', # noqa: E501
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -106,13 +106,13 @@ class ExternalProductButtonRequest(ModelNormal):
|
|
|
106
106
|
|
|
107
107
|
@classmethod
|
|
108
108
|
@convert_js_args_to_python_args
|
|
109
|
-
def _from_openapi_data(cls,
|
|
109
|
+
def _from_openapi_data(cls, background_image, is_mandatory, name, skus, *args, **kwargs): # noqa: E501
|
|
110
110
|
"""ExternalProductButtonRequest - a model defined in OpenAPI
|
|
111
111
|
|
|
112
112
|
Args:
|
|
113
|
-
name (str): Name of the Product Button
|
|
114
113
|
background_image (str): URL of the background image
|
|
115
114
|
is_mandatory (int): If the Product Button is Mandatory
|
|
115
|
+
name (str): Name of the Product Button
|
|
116
116
|
skus ([str]): List of skus on the Product Button
|
|
117
117
|
|
|
118
118
|
Keyword Args:
|
|
@@ -177,9 +177,9 @@ class ExternalProductButtonRequest(ModelNormal):
|
|
|
177
177
|
self._configuration = _configuration
|
|
178
178
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
179
179
|
|
|
180
|
-
self.name = name
|
|
181
180
|
self.background_image = background_image
|
|
182
181
|
self.is_mandatory = is_mandatory
|
|
182
|
+
self.name = name
|
|
183
183
|
self.skus = skus
|
|
184
184
|
for var_name, var_value in kwargs.items():
|
|
185
185
|
if var_name not in self.attribute_map and \
|
|
@@ -201,13 +201,13 @@ class ExternalProductButtonRequest(ModelNormal):
|
|
|
201
201
|
])
|
|
202
202
|
|
|
203
203
|
@convert_js_args_to_python_args
|
|
204
|
-
def __init__(self,
|
|
204
|
+
def __init__(self, background_image, is_mandatory, name, skus, *args, **kwargs): # noqa: E501
|
|
205
205
|
"""ExternalProductButtonRequest - a model defined in OpenAPI
|
|
206
206
|
|
|
207
207
|
Args:
|
|
208
|
-
name (str): Name of the Product Button
|
|
209
208
|
background_image (str): URL of the background image
|
|
210
209
|
is_mandatory (int): If the Product Button is Mandatory
|
|
210
|
+
name (str): Name of the Product Button
|
|
211
211
|
skus ([str]): List of skus on the Product Button
|
|
212
212
|
|
|
213
213
|
Keyword Args:
|
|
@@ -270,9 +270,9 @@ class ExternalProductButtonRequest(ModelNormal):
|
|
|
270
270
|
self._configuration = _configuration
|
|
271
271
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
272
272
|
|
|
273
|
-
self.name = name
|
|
274
273
|
self.background_image = background_image
|
|
275
274
|
self.is_mandatory = is_mandatory
|
|
275
|
+
self.name = name
|
|
276
276
|
self.skus = skus
|
|
277
277
|
for var_name, var_value in kwargs.items():
|
|
278
278
|
if var_name not in self.attribute_map and \
|
|
@@ -81,10 +81,10 @@ class ExternalProductButtonResponse(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'name': (str,), # noqa: E501
|
|
85
84
|
'background_image': (str,), # noqa: E501
|
|
86
|
-
'rank': (int,), # noqa: E501
|
|
87
85
|
'is_mandatory': (int,), # noqa: E501
|
|
86
|
+
'name': (str,), # noqa: E501
|
|
87
|
+
'rank': (int,), # noqa: E501
|
|
88
88
|
'skus': ([str],), # noqa: E501
|
|
89
89
|
}
|
|
90
90
|
|
|
@@ -94,10 +94,10 @@ class ExternalProductButtonResponse(ModelNormal):
|
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
attribute_map = {
|
|
97
|
-
'name': 'name', # noqa: E501
|
|
98
97
|
'background_image': 'backgroundImage', # noqa: E501
|
|
99
|
-
'rank': 'rank', # noqa: E501
|
|
100
98
|
'is_mandatory': 'isMandatory', # noqa: E501
|
|
99
|
+
'name': 'name', # noqa: E501
|
|
100
|
+
'rank': 'rank', # noqa: E501
|
|
101
101
|
'skus': 'skus', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
@@ -108,14 +108,14 @@ class ExternalProductButtonResponse(ModelNormal):
|
|
|
108
108
|
|
|
109
109
|
@classmethod
|
|
110
110
|
@convert_js_args_to_python_args
|
|
111
|
-
def _from_openapi_data(cls,
|
|
111
|
+
def _from_openapi_data(cls, background_image, is_mandatory, name, rank, skus, *args, **kwargs): # noqa: E501
|
|
112
112
|
"""ExternalProductButtonResponse - a model defined in OpenAPI
|
|
113
113
|
|
|
114
114
|
Args:
|
|
115
|
-
name (str): Name of the Product Button
|
|
116
115
|
background_image (str): URL of the background image
|
|
117
|
-
rank (int): Rank of the Product Button
|
|
118
116
|
is_mandatory (int): If the Product Button is Mandatory
|
|
117
|
+
name (str): Name of the Product Button
|
|
118
|
+
rank (int): Rank of the Product Button
|
|
119
119
|
skus ([str]): List of skus on the Product Button
|
|
120
120
|
|
|
121
121
|
Keyword Args:
|
|
@@ -180,10 +180,10 @@ class ExternalProductButtonResponse(ModelNormal):
|
|
|
180
180
|
self._configuration = _configuration
|
|
181
181
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
182
182
|
|
|
183
|
-
self.name = name
|
|
184
183
|
self.background_image = background_image
|
|
185
|
-
self.rank = rank
|
|
186
184
|
self.is_mandatory = is_mandatory
|
|
185
|
+
self.name = name
|
|
186
|
+
self.rank = rank
|
|
187
187
|
self.skus = skus
|
|
188
188
|
for var_name, var_value in kwargs.items():
|
|
189
189
|
if var_name not in self.attribute_map and \
|
|
@@ -205,14 +205,14 @@ class ExternalProductButtonResponse(ModelNormal):
|
|
|
205
205
|
])
|
|
206
206
|
|
|
207
207
|
@convert_js_args_to_python_args
|
|
208
|
-
def __init__(self,
|
|
208
|
+
def __init__(self, background_image, is_mandatory, name, rank, skus, *args, **kwargs): # noqa: E501
|
|
209
209
|
"""ExternalProductButtonResponse - a model defined in OpenAPI
|
|
210
210
|
|
|
211
211
|
Args:
|
|
212
|
-
name (str): Name of the Product Button
|
|
213
212
|
background_image (str): URL of the background image
|
|
214
|
-
rank (int): Rank of the Product Button
|
|
215
213
|
is_mandatory (int): If the Product Button is Mandatory
|
|
214
|
+
name (str): Name of the Product Button
|
|
215
|
+
rank (int): Rank of the Product Button
|
|
216
216
|
skus ([str]): List of skus on the Product Button
|
|
217
217
|
|
|
218
218
|
Keyword Args:
|
|
@@ -275,10 +275,10 @@ class ExternalProductButtonResponse(ModelNormal):
|
|
|
275
275
|
self._configuration = _configuration
|
|
276
276
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
277
277
|
|
|
278
|
-
self.name = name
|
|
279
278
|
self.background_image = background_image
|
|
280
|
-
self.rank = rank
|
|
281
279
|
self.is_mandatory = is_mandatory
|
|
280
|
+
self.name = name
|
|
281
|
+
self.rank = rank
|
|
282
282
|
self.skus = skus
|
|
283
283
|
for var_name, var_value in kwargs.items():
|
|
284
284
|
if var_name not in self.attribute_map and \
|