criteo-api-retailmedia-sdk 0.0.250320__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 +387 -76
- 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 +280 -0
- 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 +270 -0
- 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 +311 -0
- 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 +12 -12
- 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_keywords_review.py +271 -0
- criteo_api_retailmedia_preview/model/retail_media_keywords_review_result.py +271 -0
- criteo_api_retailmedia_preview/model/retail_media_seller.py +8 -8
- criteo_api_retailmedia_preview/model/review_set_state.py +278 -0
- 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/value_resource_input_retail_media_keywords_review.py +262 -0
- 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 +274 -0
- 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 +266 -0
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py +266 -0
- criteo_api_retailmedia_preview/model/video_variable_value.py +16 -16
- criteo_api_retailmedia_preview/models/__init__.py +34 -6
- {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/RECORD +209 -181
- {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/WHEEL +1 -1
- {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/top_level.txt +0 -0
|
@@ -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 \
|
|
@@ -55,18 +55,18 @@ class ExternalRetailMediaChildAccount(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
-
('type',): {
|
|
59
|
-
'None': None,
|
|
60
|
-
'UNKNOWN': "Unknown",
|
|
61
|
-
'SUPPLY': "Supply",
|
|
62
|
-
'DEMAND': "Demand",
|
|
63
|
-
},
|
|
64
58
|
('sub_type',): {
|
|
65
59
|
'None': None,
|
|
66
60
|
'UNKNOWN': "Unknown",
|
|
67
61
|
'BRAND': "Brand",
|
|
68
62
|
'SELLER': "Seller",
|
|
69
63
|
},
|
|
64
|
+
('type',): {
|
|
65
|
+
'None': None,
|
|
66
|
+
'UNKNOWN': "Unknown",
|
|
67
|
+
'SUPPLY': "Supply",
|
|
68
|
+
'DEMAND': "Demand",
|
|
69
|
+
},
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
validations = {
|
|
@@ -87,14 +87,14 @@ class ExternalRetailMediaChildAccount(ModelNormal):
|
|
|
87
87
|
and the value is attribute type.
|
|
88
88
|
"""
|
|
89
89
|
return {
|
|
90
|
-
'name': (str, none_type,), # noqa: E501
|
|
91
90
|
'company_name': (str, none_type,), # noqa: E501
|
|
92
|
-
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
93
|
-
'type': (str, none_type,), # noqa: E501
|
|
94
|
-
'sub_type': (str, none_type,), # noqa: E501
|
|
95
91
|
'country_ids': ([str], none_type,), # noqa: E501
|
|
96
92
|
'currency_id': (str, none_type,), # noqa: E501
|
|
93
|
+
'name': (str, none_type,), # noqa: E501
|
|
94
|
+
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
95
|
+
'sub_type': (str, none_type,), # noqa: E501
|
|
97
96
|
'time_zone': (str, none_type,), # noqa: E501
|
|
97
|
+
'type': (str, none_type,), # noqa: E501
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
@cached_property
|
|
@@ -103,14 +103,14 @@ class ExternalRetailMediaChildAccount(ModelNormal):
|
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
attribute_map = {
|
|
106
|
-
'name': 'name', # noqa: E501
|
|
107
106
|
'company_name': 'companyName', # noqa: E501
|
|
108
|
-
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
109
|
-
'type': 'type', # noqa: E501
|
|
110
|
-
'sub_type': 'subType', # noqa: E501
|
|
111
107
|
'country_ids': 'countryIds', # noqa: E501
|
|
112
108
|
'currency_id': 'currencyId', # noqa: E501
|
|
109
|
+
'name': 'name', # noqa: E501
|
|
110
|
+
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
111
|
+
'sub_type': 'subType', # noqa: E501
|
|
113
112
|
'time_zone': 'timeZone', # noqa: E501
|
|
113
|
+
'type': 'type', # noqa: E501
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
read_only_vars = {
|
|
@@ -154,14 +154,14 @@ class ExternalRetailMediaChildAccount(ModelNormal):
|
|
|
154
154
|
Animal class but this time we won't travel
|
|
155
155
|
through its discriminator because we passed in
|
|
156
156
|
_visited_composed_classes = (Animal,)
|
|
157
|
-
name (str, none_type): account name. [optional] # noqa: E501
|
|
158
157
|
company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
159
|
-
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
160
|
-
type (str, none_type): Type for the account. [optional] # noqa: E501
|
|
161
|
-
sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
|
|
162
158
|
country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501
|
|
163
159
|
currency_id (str, none_type): the currency for the account. [optional] # noqa: E501
|
|
160
|
+
name (str, none_type): account name. [optional] # noqa: E501
|
|
161
|
+
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
162
|
+
sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
|
|
164
163
|
time_zone (str, none_type): the timezone for the account. [optional] # noqa: E501
|
|
164
|
+
type (str, none_type): Type for the account. [optional] # noqa: E501
|
|
165
165
|
"""
|
|
166
166
|
|
|
167
167
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -247,14 +247,14 @@ class ExternalRetailMediaChildAccount(ModelNormal):
|
|
|
247
247
|
Animal class but this time we won't travel
|
|
248
248
|
through its discriminator because we passed in
|
|
249
249
|
_visited_composed_classes = (Animal,)
|
|
250
|
-
name (str, none_type): account name. [optional] # noqa: E501
|
|
251
250
|
company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
252
|
-
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
253
|
-
type (str, none_type): Type for the account. [optional] # noqa: E501
|
|
254
|
-
sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
|
|
255
251
|
country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501
|
|
256
252
|
currency_id (str, none_type): the currency for the account. [optional] # noqa: E501
|
|
253
|
+
name (str, none_type): account name. [optional] # noqa: E501
|
|
254
|
+
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
255
|
+
sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
|
|
257
256
|
time_zone (str, none_type): the timezone for the account. [optional] # noqa: E501
|
|
257
|
+
type (str, none_type): Type for the account. [optional] # noqa: E501
|
|
258
258
|
"""
|
|
259
259
|
|
|
260
260
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -81,8 +81,8 @@ class GrantConsentModel(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'client_id': (str,), # noqa: E501
|
|
85
84
|
'callback_url': (str,), # noqa: E501
|
|
85
|
+
'client_id': (str,), # noqa: E501
|
|
86
86
|
'callback_state': (str,), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -92,8 +92,8 @@ class GrantConsentModel(ModelNormal):
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
attribute_map = {
|
|
95
|
-
'client_id': 'clientId', # noqa: E501
|
|
96
95
|
'callback_url': 'callbackUrl', # noqa: E501
|
|
96
|
+
'client_id': 'clientId', # noqa: E501
|
|
97
97
|
'callback_state': 'callbackState', # noqa: E501
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -104,12 +104,12 @@ class GrantConsentModel(ModelNormal):
|
|
|
104
104
|
|
|
105
105
|
@classmethod
|
|
106
106
|
@convert_js_args_to_python_args
|
|
107
|
-
def _from_openapi_data(cls,
|
|
107
|
+
def _from_openapi_data(cls, callback_url, client_id, *args, **kwargs): # noqa: E501
|
|
108
108
|
"""GrantConsentModel - a model defined in OpenAPI
|
|
109
109
|
|
|
110
110
|
Args:
|
|
111
|
-
client_id (str):
|
|
112
111
|
callback_url (str):
|
|
112
|
+
client_id (str):
|
|
113
113
|
|
|
114
114
|
Keyword Args:
|
|
115
115
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -174,8 +174,8 @@ class GrantConsentModel(ModelNormal):
|
|
|
174
174
|
self._configuration = _configuration
|
|
175
175
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
176
176
|
|
|
177
|
-
self.client_id = client_id
|
|
178
177
|
self.callback_url = callback_url
|
|
178
|
+
self.client_id = client_id
|
|
179
179
|
for var_name, var_value in kwargs.items():
|
|
180
180
|
if var_name not in self.attribute_map and \
|
|
181
181
|
self._configuration is not None and \
|
|
@@ -196,12 +196,12 @@ class GrantConsentModel(ModelNormal):
|
|
|
196
196
|
])
|
|
197
197
|
|
|
198
198
|
@convert_js_args_to_python_args
|
|
199
|
-
def __init__(self,
|
|
199
|
+
def __init__(self, callback_url, client_id, *args, **kwargs): # noqa: E501
|
|
200
200
|
"""GrantConsentModel - a model defined in OpenAPI
|
|
201
201
|
|
|
202
202
|
Args:
|
|
203
|
-
client_id (str):
|
|
204
203
|
callback_url (str):
|
|
204
|
+
client_id (str):
|
|
205
205
|
|
|
206
206
|
Keyword Args:
|
|
207
207
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -264,8 +264,8 @@ class GrantConsentModel(ModelNormal):
|
|
|
264
264
|
self._configuration = _configuration
|
|
265
265
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
266
266
|
|
|
267
|
-
self.client_id = client_id
|
|
268
267
|
self.callback_url = callback_url
|
|
268
|
+
self.client_id = client_id
|
|
269
269
|
for var_name, var_value in kwargs.items():
|
|
270
270
|
if var_name not in self.attribute_map and \
|
|
271
271
|
self._configuration is not None and \
|
|
@@ -87,8 +87,8 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'type': (str,), # noqa: E501
|
|
91
90
|
'attributes': (GrantConsentModel,), # noqa: E501
|
|
91
|
+
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'type': 'type', # noqa: E501
|
|
101
100
|
'attributes': 'attributes', # noqa: E501
|
|
101
|
+
'type': 'type', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -142,8 +142,8 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
type (str): [optional] # noqa: E501
|
|
146
145
|
attributes (GrantConsentModel): [optional] # noqa: E501
|
|
146
|
+
type (str): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -229,8 +229,8 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
type (str): [optional] # noqa: E501
|
|
233
232
|
attributes (GrantConsentModel): [optional] # noqa: E501
|
|
233
|
+
type (str): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|
criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py
CHANGED
|
@@ -87,8 +87,8 @@ class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'type': (str,), # noqa: E501
|
|
91
90
|
'attributes': (ExternalPreferredLineItemCreateModelV2,), # noqa: E501
|
|
91
|
+
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'type': 'type', # noqa: E501
|
|
101
100
|
'attributes': 'attributes', # noqa: E501
|
|
101
|
+
'type': 'type', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -142,8 +142,8 @@ class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
type (str): [optional] # noqa: E501
|
|
146
145
|
attributes (ExternalPreferredLineItemCreateModelV2): [optional] # noqa: E501
|
|
146
|
+
type (str): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -229,8 +229,8 @@ class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
type (str): [optional] # noqa: E501
|
|
233
232
|
attributes (ExternalPreferredLineItemCreateModelV2): [optional] # noqa: E501
|
|
233
|
+
type (str): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -87,8 +87,8 @@ class Installment(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'months': (int,), # noqa: E501
|
|
91
90
|
'amount': (Price,), # noqa: E501
|
|
91
|
+
'months': (int,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class Installment(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'months': 'months', # noqa: E501
|
|
101
100
|
'amount': 'amount', # noqa: E501
|
|
101
|
+
'months': 'months', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -142,8 +142,8 @@ class Installment(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
months (int): The number of installments the buyer has to pay.. [optional] # noqa: E501
|
|
146
145
|
amount (Price): [optional] # noqa: E501
|
|
146
|
+
months (int): The number of installments the buyer has to pay.. [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -229,8 +229,8 @@ class Installment(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
months (int): The number of installments the buyer has to pay.. [optional] # noqa: E501
|
|
233
232
|
amount (Price): [optional] # noqa: E501
|
|
233
|
+
months (int): The number of installments the buyer has to pay.. [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|