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
|
@@ -81,8 +81,8 @@ class ProductUnitPricingMeasure(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'value': (float,), # noqa: E501
|
|
85
84
|
'unit': (str,), # noqa: E501
|
|
85
|
+
'value': (float,), # noqa: E501
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
@cached_property
|
|
@@ -91,8 +91,8 @@ class ProductUnitPricingMeasure(ModelNormal):
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
attribute_map = {
|
|
94
|
-
'value': 'value', # noqa: E501
|
|
95
94
|
'unit': 'unit', # noqa: E501
|
|
95
|
+
'value': 'value', # noqa: E501
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
read_only_vars = {
|
|
@@ -136,8 +136,8 @@ class ProductUnitPricingMeasure(ModelNormal):
|
|
|
136
136
|
Animal class but this time we won't travel
|
|
137
137
|
through its discriminator because we passed in
|
|
138
138
|
_visited_composed_classes = (Animal,)
|
|
139
|
-
value (float): The measurement of an item.. [optional] # noqa: E501
|
|
140
139
|
unit (str): The unit of measure.. [optional] # noqa: E501
|
|
140
|
+
value (float): The measurement of an item.. [optional] # noqa: E501
|
|
141
141
|
"""
|
|
142
142
|
|
|
143
143
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -223,8 +223,8 @@ class ProductUnitPricingMeasure(ModelNormal):
|
|
|
223
223
|
Animal class but this time we won't travel
|
|
224
224
|
through its discriminator because we passed in
|
|
225
225
|
_visited_composed_classes = (Animal,)
|
|
226
|
-
value (float): The measurement of an item.. [optional] # noqa: E501
|
|
227
226
|
unit (str): The unit of measure.. [optional] # noqa: E501
|
|
227
|
+
value (float): The measurement of an item.. [optional] # noqa: E501
|
|
228
228
|
"""
|
|
229
229
|
|
|
230
230
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -94,10 +94,10 @@ class ProductsCustomBatchRequestEntry(ModelNormal):
|
|
|
94
94
|
'merchant_id': (int,), # noqa: E501
|
|
95
95
|
'method': (str,), # noqa: E501
|
|
96
96
|
'batch_id': (int,), # noqa: E501
|
|
97
|
-
'
|
|
97
|
+
'feed_id': (str,), # noqa: E501
|
|
98
98
|
'item_group_id': (str,), # noqa: E501
|
|
99
99
|
'product': (Product,), # noqa: E501
|
|
100
|
-
'
|
|
100
|
+
'product_id': (str,), # noqa: E501
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
@cached_property
|
|
@@ -109,10 +109,10 @@ class ProductsCustomBatchRequestEntry(ModelNormal):
|
|
|
109
109
|
'merchant_id': 'merchantId', # noqa: E501
|
|
110
110
|
'method': 'method', # noqa: E501
|
|
111
111
|
'batch_id': 'batchId', # noqa: E501
|
|
112
|
-
'
|
|
112
|
+
'feed_id': 'feedId', # noqa: E501
|
|
113
113
|
'item_group_id': 'itemGroupId', # noqa: E501
|
|
114
114
|
'product': 'product', # noqa: E501
|
|
115
|
-
'
|
|
115
|
+
'product_id': 'productId', # noqa: E501
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
read_only_vars = {
|
|
@@ -161,10 +161,10 @@ class ProductsCustomBatchRequestEntry(ModelNormal):
|
|
|
161
161
|
through its discriminator because we passed in
|
|
162
162
|
_visited_composed_classes = (Animal,)
|
|
163
163
|
batch_id (int): An entry ID, unique within the batch request.. [optional] # noqa: E501
|
|
164
|
-
|
|
164
|
+
feed_id (str): Not used by Criteo.. [optional] # noqa: E501
|
|
165
165
|
item_group_id (str): Deprecated (providing this information is no more needed, this field will be removed in next release). The itemGroupId of the product to delete. To be defined when the method is delete and the product is a variant.. [optional] # noqa: E501
|
|
166
166
|
product (Product): [optional] # noqa: E501
|
|
167
|
-
|
|
167
|
+
product_id (str): The Product ID to delete. Only defined if the method is delete.. [optional] # noqa: E501
|
|
168
168
|
"""
|
|
169
169
|
|
|
170
170
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -257,10 +257,10 @@ class ProductsCustomBatchRequestEntry(ModelNormal):
|
|
|
257
257
|
through its discriminator because we passed in
|
|
258
258
|
_visited_composed_classes = (Animal,)
|
|
259
259
|
batch_id (int): An entry ID, unique within the batch request.. [optional] # noqa: E501
|
|
260
|
-
|
|
260
|
+
feed_id (str): Not used by Criteo.. [optional] # noqa: E501
|
|
261
261
|
item_group_id (str): Deprecated (providing this information is no more needed, this field will be removed in next release). The itemGroupId of the product to delete. To be defined when the method is delete and the product is a variant.. [optional] # noqa: E501
|
|
262
262
|
product (Product): [optional] # noqa: E501
|
|
263
|
-
|
|
263
|
+
product_id (str): The Product ID to delete. Only defined if the method is delete.. [optional] # noqa: E501
|
|
264
264
|
"""
|
|
265
265
|
|
|
266
266
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -80,8 +80,8 @@ class PromotedProduct(ModelNormal):
|
|
|
80
80
|
"""
|
|
81
81
|
lazy_import()
|
|
82
82
|
return {
|
|
83
|
-
'id': (str, none_type,), # noqa: E501
|
|
84
83
|
'bid_override': (float, none_type,), # noqa: E501
|
|
84
|
+
'id': (str, none_type,), # noqa: E501
|
|
85
85
|
'status': (LineItemProductStatus,), # noqa: E501
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -91,8 +91,8 @@ class PromotedProduct(ModelNormal):
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
attribute_map = {
|
|
94
|
-
'id': 'id', # noqa: E501
|
|
95
94
|
'bid_override': 'bidOverride', # noqa: E501
|
|
95
|
+
'id': 'id', # noqa: E501
|
|
96
96
|
'status': 'status', # noqa: E501
|
|
97
97
|
}
|
|
98
98
|
|
|
@@ -137,8 +137,8 @@ class PromotedProduct(ModelNormal):
|
|
|
137
137
|
Animal class but this time we won't travel
|
|
138
138
|
through its discriminator because we passed in
|
|
139
139
|
_visited_composed_classes = (Animal,)
|
|
140
|
-
id (str, none_type): A retailer defined SKU ID for the promoted product.. [optional] # noqa: E501
|
|
141
140
|
bid_override (float, none_type): The bid override for the promoted product for this line item. Ignored unless adding a product.. [optional] # noqa: E501
|
|
141
|
+
id (str, none_type): A retailer defined SKU ID for the promoted product.. [optional] # noqa: E501
|
|
142
142
|
status (LineItemProductStatus): [optional] # noqa: E501
|
|
143
143
|
"""
|
|
144
144
|
|
|
@@ -225,8 +225,8 @@ class PromotedProduct(ModelNormal):
|
|
|
225
225
|
Animal class but this time we won't travel
|
|
226
226
|
through its discriminator because we passed in
|
|
227
227
|
_visited_composed_classes = (Animal,)
|
|
228
|
-
id (str, none_type): A retailer defined SKU ID for the promoted product.. [optional] # noqa: E501
|
|
229
228
|
bid_override (float, none_type): The bid override for the promoted product for this line item. Ignored unless adding a product.. [optional] # noqa: E501
|
|
229
|
+
id (str, none_type): A retailer defined SKU ID for the promoted product.. [optional] # noqa: E501
|
|
230
230
|
status (LineItemProductStatus): [optional] # noqa: E501
|
|
231
231
|
"""
|
|
232
232
|
|
|
@@ -80,9 +80,9 @@ class PromotedProductResource(ModelNormal):
|
|
|
80
80
|
"""
|
|
81
81
|
lazy_import()
|
|
82
82
|
return {
|
|
83
|
+
'attributes': (PromotedProduct,), # noqa: E501
|
|
83
84
|
'id': (str, none_type,), # noqa: E501
|
|
84
85
|
'type': (str, none_type,), # noqa: E501
|
|
85
|
-
'attributes': (PromotedProduct,), # noqa: E501
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
@cached_property
|
|
@@ -91,9 +91,9 @@ class PromotedProductResource(ModelNormal):
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
attribute_map = {
|
|
94
|
+
'attributes': 'attributes', # noqa: E501
|
|
94
95
|
'id': 'id', # noqa: E501
|
|
95
96
|
'type': 'type', # noqa: E501
|
|
96
|
-
'attributes': 'attributes', # noqa: E501
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
read_only_vars = {
|
|
@@ -137,9 +137,9 @@ class PromotedProductResource(ModelNormal):
|
|
|
137
137
|
Animal class but this time we won't travel
|
|
138
138
|
through its discriminator because we passed in
|
|
139
139
|
_visited_composed_classes = (Animal,)
|
|
140
|
+
attributes (PromotedProduct): [optional] # noqa: E501
|
|
140
141
|
id (str, none_type): [optional] # noqa: E501
|
|
141
142
|
type (str, none_type): [optional] # noqa: E501
|
|
142
|
-
attributes (PromotedProduct): [optional] # noqa: E501
|
|
143
143
|
"""
|
|
144
144
|
|
|
145
145
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -225,9 +225,9 @@ class PromotedProductResource(ModelNormal):
|
|
|
225
225
|
Animal class but this time we won't travel
|
|
226
226
|
through its discriminator because we passed in
|
|
227
227
|
_visited_composed_classes = (Animal,)
|
|
228
|
+
attributes (PromotedProduct): [optional] # noqa: E501
|
|
228
229
|
id (str, none_type): [optional] # noqa: E501
|
|
229
230
|
type (str, none_type): [optional] # noqa: E501
|
|
230
|
-
attributes (PromotedProduct): [optional] # noqa: E501
|
|
231
231
|
"""
|
|
232
232
|
|
|
233
233
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -84,10 +84,10 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
|
|
|
84
84
|
"""
|
|
85
85
|
lazy_import()
|
|
86
86
|
return {
|
|
87
|
+
'data': ([PromotedProductResource], none_type,), # noqa: E501
|
|
87
88
|
'errors': ([RmcaCommonProblem], none_type,), # noqa: E501
|
|
88
|
-
'warnings': ([RmcaCommonProblem], none_type,), # noqa: E501
|
|
89
89
|
'meta': (ProductMetadata,), # noqa: E501
|
|
90
|
-
'
|
|
90
|
+
'warnings': ([RmcaCommonProblem], none_type,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -96,10 +96,10 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
attribute_map = {
|
|
99
|
+
'data': 'data', # noqa: E501
|
|
99
100
|
'errors': 'errors', # noqa: E501
|
|
100
|
-
'warnings': 'warnings', # noqa: E501
|
|
101
101
|
'meta': 'meta', # noqa: E501
|
|
102
|
-
'
|
|
102
|
+
'warnings': 'warnings', # noqa: E501
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
read_only_vars = {
|
|
@@ -145,10 +145,10 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
|
|
|
145
145
|
Animal class but this time we won't travel
|
|
146
146
|
through its discriminator because we passed in
|
|
147
147
|
_visited_composed_classes = (Animal,)
|
|
148
|
+
data ([PromotedProductResource], none_type): [optional] # noqa: E501
|
|
148
149
|
errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
149
|
-
warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
150
150
|
meta (ProductMetadata): [optional] # noqa: E501
|
|
151
|
-
|
|
151
|
+
warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
152
152
|
"""
|
|
153
153
|
|
|
154
154
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -234,10 +234,10 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
|
|
|
234
234
|
Animal class but this time we won't travel
|
|
235
235
|
through its discriminator because we passed in
|
|
236
236
|
_visited_composed_classes = (Animal,)
|
|
237
|
+
data ([PromotedProductResource], none_type): [optional] # noqa: E501
|
|
237
238
|
errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
238
|
-
warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
239
239
|
meta (ProductMetadata): [optional] # noqa: E501
|
|
240
|
-
|
|
240
|
+
warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
241
241
|
"""
|
|
242
242
|
|
|
243
243
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -81,8 +81,8 @@ class ReportDataResponseResource(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'type': (str, none_type,), # noqa: E501
|
|
85
84
|
'attributes': ([[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]], none_type,), # noqa: E501
|
|
85
|
+
'type': (str, none_type,), # noqa: E501
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
@cached_property
|
|
@@ -91,8 +91,8 @@ class ReportDataResponseResource(ModelNormal):
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
attribute_map = {
|
|
94
|
-
'type': 'type', # noqa: E501
|
|
95
94
|
'attributes': 'attributes', # noqa: E501
|
|
95
|
+
'type': 'type', # noqa: E501
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
read_only_vars = {
|
|
@@ -136,8 +136,8 @@ class ReportDataResponseResource(ModelNormal):
|
|
|
136
136
|
Animal class but this time we won't travel
|
|
137
137
|
through its discriminator because we passed in
|
|
138
138
|
_visited_composed_classes = (Animal,)
|
|
139
|
-
type (str, none_type): [optional] # noqa: E501
|
|
140
139
|
attributes ([[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]], none_type): Data response format. [optional] # noqa: E501
|
|
140
|
+
type (str, none_type): [optional] # noqa: E501
|
|
141
141
|
"""
|
|
142
142
|
|
|
143
143
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -223,8 +223,8 @@ class ReportDataResponseResource(ModelNormal):
|
|
|
223
223
|
Animal class but this time we won't travel
|
|
224
224
|
through its discriminator because we passed in
|
|
225
225
|
_visited_composed_classes = (Animal,)
|
|
226
|
-
type (str, none_type): [optional] # noqa: E501
|
|
227
226
|
attributes ([[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]], none_type): Data response format. [optional] # noqa: E501
|
|
227
|
+
type (str, none_type): [optional] # noqa: E501
|
|
228
228
|
"""
|
|
229
229
|
|
|
230
230
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -99,9 +99,9 @@ class ReportDetailError(ModelNormal):
|
|
|
99
99
|
and the value is attribute type.
|
|
100
100
|
"""
|
|
101
101
|
return {
|
|
102
|
-
'type': (str,), # noqa: E501
|
|
103
|
-
'message': (str,), # noqa: E501
|
|
104
102
|
'is_server_related': (bool,), # noqa: E501
|
|
103
|
+
'message': (str,), # noqa: E501
|
|
104
|
+
'type': (str,), # noqa: E501
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
@cached_property
|
|
@@ -110,9 +110,9 @@ class ReportDetailError(ModelNormal):
|
|
|
110
110
|
|
|
111
111
|
|
|
112
112
|
attribute_map = {
|
|
113
|
-
'type': 'type', # noqa: E501
|
|
114
|
-
'message': 'message', # noqa: E501
|
|
115
113
|
'is_server_related': 'isServerRelated', # noqa: E501
|
|
114
|
+
'message': 'message', # noqa: E501
|
|
115
|
+
'type': 'type', # noqa: E501
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
read_only_vars = {
|
|
@@ -122,13 +122,13 @@ class ReportDetailError(ModelNormal):
|
|
|
122
122
|
|
|
123
123
|
@classmethod
|
|
124
124
|
@convert_js_args_to_python_args
|
|
125
|
-
def _from_openapi_data(cls,
|
|
125
|
+
def _from_openapi_data(cls, is_server_related, message, type, *args, **kwargs): # noqa: E501
|
|
126
126
|
"""ReportDetailError - a model defined in OpenAPI
|
|
127
127
|
|
|
128
128
|
Args:
|
|
129
|
-
type (str):
|
|
130
|
-
message (str):
|
|
131
129
|
is_server_related (bool):
|
|
130
|
+
message (str):
|
|
131
|
+
type (str):
|
|
132
132
|
|
|
133
133
|
Keyword Args:
|
|
134
134
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -192,9 +192,9 @@ class ReportDetailError(ModelNormal):
|
|
|
192
192
|
self._configuration = _configuration
|
|
193
193
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
194
194
|
|
|
195
|
-
self.type = type
|
|
196
|
-
self.message = message
|
|
197
195
|
self.is_server_related = is_server_related
|
|
196
|
+
self.message = message
|
|
197
|
+
self.type = type
|
|
198
198
|
for var_name, var_value in kwargs.items():
|
|
199
199
|
if var_name not in self.attribute_map and \
|
|
200
200
|
self._configuration is not None and \
|
|
@@ -215,13 +215,13 @@ class ReportDetailError(ModelNormal):
|
|
|
215
215
|
])
|
|
216
216
|
|
|
217
217
|
@convert_js_args_to_python_args
|
|
218
|
-
def __init__(self,
|
|
218
|
+
def __init__(self, is_server_related, message, type, *args, **kwargs): # noqa: E501
|
|
219
219
|
"""ReportDetailError - a model defined in OpenAPI
|
|
220
220
|
|
|
221
221
|
Args:
|
|
222
|
-
type (str):
|
|
223
|
-
message (str):
|
|
224
222
|
is_server_related (bool):
|
|
223
|
+
message (str):
|
|
224
|
+
type (str):
|
|
225
225
|
|
|
226
226
|
Keyword Args:
|
|
227
227
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -283,9 +283,9 @@ class ReportDetailError(ModelNormal):
|
|
|
283
283
|
self._configuration = _configuration
|
|
284
284
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
285
285
|
|
|
286
|
-
self.type = type
|
|
287
|
-
self.message = message
|
|
288
286
|
self.is_server_related = is_server_related
|
|
287
|
+
self.message = message
|
|
288
|
+
self.type = type
|
|
289
289
|
for var_name, var_value in kwargs.items():
|
|
290
290
|
if var_name not in self.attribute_map and \
|
|
291
291
|
self._configuration is not None and \
|
|
@@ -87,8 +87,8 @@ class ReportDetailErrors(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'product_id': (str,), # noqa: E501
|
|
91
90
|
'errors': ([ReportDetailError],), # noqa: E501
|
|
91
|
+
'product_id': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class ReportDetailErrors(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'product_id': 'productId', # noqa: E501
|
|
101
100
|
'errors': 'errors', # noqa: E501
|
|
101
|
+
'product_id': 'productId', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -108,12 +108,12 @@ class ReportDetailErrors(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, errors, product_id, *args, **kwargs): # noqa: E501
|
|
112
112
|
"""ReportDetailErrors - a model defined in OpenAPI
|
|
113
113
|
|
|
114
114
|
Args:
|
|
115
|
-
product_id (str): The product ID in lowercase
|
|
116
115
|
errors ([ReportDetailError]):
|
|
116
|
+
product_id (str): The product ID in lowercase
|
|
117
117
|
|
|
118
118
|
Keyword Args:
|
|
119
119
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -177,8 +177,8 @@ class ReportDetailErrors(ModelNormal):
|
|
|
177
177
|
self._configuration = _configuration
|
|
178
178
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
179
179
|
|
|
180
|
-
self.product_id = product_id
|
|
181
180
|
self.errors = errors
|
|
181
|
+
self.product_id = product_id
|
|
182
182
|
for var_name, var_value in kwargs.items():
|
|
183
183
|
if var_name not in self.attribute_map and \
|
|
184
184
|
self._configuration is not None and \
|
|
@@ -199,12 +199,12 @@ class ReportDetailErrors(ModelNormal):
|
|
|
199
199
|
])
|
|
200
200
|
|
|
201
201
|
@convert_js_args_to_python_args
|
|
202
|
-
def __init__(self,
|
|
202
|
+
def __init__(self, errors, product_id, *args, **kwargs): # noqa: E501
|
|
203
203
|
"""ReportDetailErrors - a model defined in OpenAPI
|
|
204
204
|
|
|
205
205
|
Args:
|
|
206
|
-
product_id (str): The product ID in lowercase
|
|
207
206
|
errors ([ReportDetailError]):
|
|
207
|
+
product_id (str): The product ID in lowercase
|
|
208
208
|
|
|
209
209
|
Keyword Args:
|
|
210
210
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -266,8 +266,8 @@ class ReportDetailErrors(ModelNormal):
|
|
|
266
266
|
self._configuration = _configuration
|
|
267
267
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
268
268
|
|
|
269
|
-
self.product_id = product_id
|
|
270
269
|
self.errors = errors
|
|
270
|
+
self.product_id = product_id
|
|
271
271
|
for var_name, var_value in kwargs.items():
|
|
272
272
|
if var_name not in self.attribute_map and \
|
|
273
273
|
self._configuration is not None and \
|
|
@@ -85,9 +85,9 @@ class ReportDetailWarning(ModelNormal):
|
|
|
85
85
|
and the value is attribute type.
|
|
86
86
|
"""
|
|
87
87
|
return {
|
|
88
|
-
'type': (str,), # noqa: E501
|
|
89
|
-
'message': (str,), # noqa: E501
|
|
90
88
|
'is_server_related': (bool,), # noqa: E501
|
|
89
|
+
'message': (str,), # noqa: E501
|
|
90
|
+
'type': (str,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -96,9 +96,9 @@ class ReportDetailWarning(ModelNormal):
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
attribute_map = {
|
|
99
|
-
'type': 'type', # noqa: E501
|
|
100
|
-
'message': 'message', # noqa: E501
|
|
101
99
|
'is_server_related': 'isServerRelated', # noqa: E501
|
|
100
|
+
'message': 'message', # noqa: E501
|
|
101
|
+
'type': 'type', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -108,13 +108,13 @@ class ReportDetailWarning(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, is_server_related, message, type, *args, **kwargs): # noqa: E501
|
|
112
112
|
"""ReportDetailWarning - a model defined in OpenAPI
|
|
113
113
|
|
|
114
114
|
Args:
|
|
115
|
-
type (str):
|
|
116
|
-
message (str):
|
|
117
115
|
is_server_related (bool):
|
|
116
|
+
message (str):
|
|
117
|
+
type (str):
|
|
118
118
|
|
|
119
119
|
Keyword Args:
|
|
120
120
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -178,9 +178,9 @@ class ReportDetailWarning(ModelNormal):
|
|
|
178
178
|
self._configuration = _configuration
|
|
179
179
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
180
180
|
|
|
181
|
-
self.type = type
|
|
182
|
-
self.message = message
|
|
183
181
|
self.is_server_related = is_server_related
|
|
182
|
+
self.message = message
|
|
183
|
+
self.type = type
|
|
184
184
|
for var_name, var_value in kwargs.items():
|
|
185
185
|
if var_name not in self.attribute_map and \
|
|
186
186
|
self._configuration is not None and \
|
|
@@ -201,13 +201,13 @@ class ReportDetailWarning(ModelNormal):
|
|
|
201
201
|
])
|
|
202
202
|
|
|
203
203
|
@convert_js_args_to_python_args
|
|
204
|
-
def __init__(self,
|
|
204
|
+
def __init__(self, is_server_related, message, type, *args, **kwargs): # noqa: E501
|
|
205
205
|
"""ReportDetailWarning - a model defined in OpenAPI
|
|
206
206
|
|
|
207
207
|
Args:
|
|
208
|
-
type (str):
|
|
209
|
-
message (str):
|
|
210
208
|
is_server_related (bool):
|
|
209
|
+
message (str):
|
|
210
|
+
type (str):
|
|
211
211
|
|
|
212
212
|
Keyword Args:
|
|
213
213
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -269,9 +269,9 @@ class ReportDetailWarning(ModelNormal):
|
|
|
269
269
|
self._configuration = _configuration
|
|
270
270
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
271
271
|
|
|
272
|
-
self.type = type
|
|
273
|
-
self.message = message
|
|
274
272
|
self.is_server_related = is_server_related
|
|
273
|
+
self.message = message
|
|
274
|
+
self.type = type
|
|
275
275
|
for var_name, var_value in kwargs.items():
|
|
276
276
|
if var_name not in self.attribute_map and \
|
|
277
277
|
self._configuration is not None and \
|
|
@@ -96,14 +96,14 @@ class ReportOkResponse(ModelNormal):
|
|
|
96
96
|
"""
|
|
97
97
|
lazy_import()
|
|
98
98
|
return {
|
|
99
|
-
'
|
|
99
|
+
'error_details': ([ReportDetailErrors],), # noqa: E501
|
|
100
100
|
'import_request_timestamp': (str, none_type,), # noqa: E501
|
|
101
|
+
'number_of_products_deleted': (str, none_type,), # noqa: E501
|
|
101
102
|
'number_of_products_in_the_batch': (str, none_type,), # noqa: E501
|
|
102
103
|
'number_of_products_upserted': (str, none_type,), # noqa: E501
|
|
103
|
-
'number_of_products_deleted': (str, none_type,), # noqa: E501
|
|
104
104
|
'number_of_products_with_errors': (str, none_type,), # noqa: E501
|
|
105
|
-
'error_details': ([ReportDetailErrors],), # noqa: E501
|
|
106
105
|
'number_of_products_with_warnings': (str, none_type,), # noqa: E501
|
|
106
|
+
'status': (str,), # noqa: E501
|
|
107
107
|
'warning_details': ([ReportDetailWarnings],), # noqa: E501
|
|
108
108
|
}
|
|
109
109
|
|
|
@@ -113,14 +113,14 @@ class ReportOkResponse(ModelNormal):
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
attribute_map = {
|
|
116
|
-
'
|
|
116
|
+
'error_details': 'errorDetails', # noqa: E501
|
|
117
117
|
'import_request_timestamp': 'importRequestTimestamp', # noqa: E501
|
|
118
|
+
'number_of_products_deleted': 'numberOfProductsDeleted', # noqa: E501
|
|
118
119
|
'number_of_products_in_the_batch': 'numberOfProductsInTheBatch', # noqa: E501
|
|
119
120
|
'number_of_products_upserted': 'numberOfProductsUpserted', # noqa: E501
|
|
120
|
-
'number_of_products_deleted': 'numberOfProductsDeleted', # noqa: E501
|
|
121
121
|
'number_of_products_with_errors': 'numberOfProductsWithErrors', # noqa: E501
|
|
122
|
-
'error_details': 'errorDetails', # noqa: E501
|
|
123
122
|
'number_of_products_with_warnings': 'numberOfProductsWithWarnings', # noqa: E501
|
|
123
|
+
'status': 'status', # noqa: E501
|
|
124
124
|
'warning_details': 'warningDetails', # noqa: E501
|
|
125
125
|
}
|
|
126
126
|
|
|
@@ -131,18 +131,18 @@ class ReportOkResponse(ModelNormal):
|
|
|
131
131
|
|
|
132
132
|
@classmethod
|
|
133
133
|
@convert_js_args_to_python_args
|
|
134
|
-
def _from_openapi_data(cls,
|
|
134
|
+
def _from_openapi_data(cls, error_details, import_request_timestamp, number_of_products_deleted, number_of_products_in_the_batch, number_of_products_upserted, number_of_products_with_errors, number_of_products_with_warnings, status, warning_details, *args, **kwargs): # noqa: E501
|
|
135
135
|
"""ReportOkResponse - a model defined in OpenAPI
|
|
136
136
|
|
|
137
137
|
Args:
|
|
138
|
-
|
|
138
|
+
error_details ([ReportDetailErrors]): The list of errors with details.
|
|
139
139
|
import_request_timestamp (str, none_type): The date when the original batch request was sent.
|
|
140
|
+
number_of_products_deleted (str, none_type): The number of products deleted.
|
|
140
141
|
number_of_products_in_the_batch (str, none_type): The number of products present in the batch.
|
|
141
142
|
number_of_products_upserted (str, none_type): The number of products upserted.
|
|
142
|
-
number_of_products_deleted (str, none_type): The number of products deleted.
|
|
143
143
|
number_of_products_with_errors (str, none_type): The number of products with errors.
|
|
144
|
-
error_details ([ReportDetailErrors]): The list of errors with details.
|
|
145
144
|
number_of_products_with_warnings (str, none_type): The number of products with Warnings.
|
|
145
|
+
status (str): The status of the operation. The operation is completed when the status is one of (VALIDATED,VALIDATED_WITH_ERRORS,FAILED)
|
|
146
146
|
warning_details ([ReportDetailWarnings]): The list of Warnings with details.
|
|
147
147
|
|
|
148
148
|
Keyword Args:
|
|
@@ -207,14 +207,14 @@ class ReportOkResponse(ModelNormal):
|
|
|
207
207
|
self._configuration = _configuration
|
|
208
208
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
209
209
|
|
|
210
|
-
self.
|
|
210
|
+
self.error_details = error_details
|
|
211
211
|
self.import_request_timestamp = import_request_timestamp
|
|
212
|
+
self.number_of_products_deleted = number_of_products_deleted
|
|
212
213
|
self.number_of_products_in_the_batch = number_of_products_in_the_batch
|
|
213
214
|
self.number_of_products_upserted = number_of_products_upserted
|
|
214
|
-
self.number_of_products_deleted = number_of_products_deleted
|
|
215
215
|
self.number_of_products_with_errors = number_of_products_with_errors
|
|
216
|
-
self.error_details = error_details
|
|
217
216
|
self.number_of_products_with_warnings = number_of_products_with_warnings
|
|
217
|
+
self.status = status
|
|
218
218
|
self.warning_details = warning_details
|
|
219
219
|
for var_name, var_value in kwargs.items():
|
|
220
220
|
if var_name not in self.attribute_map and \
|
|
@@ -236,18 +236,18 @@ class ReportOkResponse(ModelNormal):
|
|
|
236
236
|
])
|
|
237
237
|
|
|
238
238
|
@convert_js_args_to_python_args
|
|
239
|
-
def __init__(self,
|
|
239
|
+
def __init__(self, error_details, import_request_timestamp, number_of_products_deleted, number_of_products_in_the_batch, number_of_products_upserted, number_of_products_with_errors, number_of_products_with_warnings, status, warning_details, *args, **kwargs): # noqa: E501
|
|
240
240
|
"""ReportOkResponse - a model defined in OpenAPI
|
|
241
241
|
|
|
242
242
|
Args:
|
|
243
|
-
|
|
243
|
+
error_details ([ReportDetailErrors]): The list of errors with details.
|
|
244
244
|
import_request_timestamp (str, none_type): The date when the original batch request was sent.
|
|
245
|
+
number_of_products_deleted (str, none_type): The number of products deleted.
|
|
245
246
|
number_of_products_in_the_batch (str, none_type): The number of products present in the batch.
|
|
246
247
|
number_of_products_upserted (str, none_type): The number of products upserted.
|
|
247
|
-
number_of_products_deleted (str, none_type): The number of products deleted.
|
|
248
248
|
number_of_products_with_errors (str, none_type): The number of products with errors.
|
|
249
|
-
error_details ([ReportDetailErrors]): The list of errors with details.
|
|
250
249
|
number_of_products_with_warnings (str, none_type): The number of products with Warnings.
|
|
250
|
+
status (str): The status of the operation. The operation is completed when the status is one of (VALIDATED,VALIDATED_WITH_ERRORS,FAILED)
|
|
251
251
|
warning_details ([ReportDetailWarnings]): The list of Warnings with details.
|
|
252
252
|
|
|
253
253
|
Keyword Args:
|
|
@@ -310,14 +310,14 @@ class ReportOkResponse(ModelNormal):
|
|
|
310
310
|
self._configuration = _configuration
|
|
311
311
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
312
312
|
|
|
313
|
-
self.
|
|
313
|
+
self.error_details = error_details
|
|
314
314
|
self.import_request_timestamp = import_request_timestamp
|
|
315
|
+
self.number_of_products_deleted = number_of_products_deleted
|
|
315
316
|
self.number_of_products_in_the_batch = number_of_products_in_the_batch
|
|
316
317
|
self.number_of_products_upserted = number_of_products_upserted
|
|
317
|
-
self.number_of_products_deleted = number_of_products_deleted
|
|
318
318
|
self.number_of_products_with_errors = number_of_products_with_errors
|
|
319
|
-
self.error_details = error_details
|
|
320
319
|
self.number_of_products_with_warnings = number_of_products_with_warnings
|
|
320
|
+
self.status = status
|
|
321
321
|
self.warning_details = warning_details
|
|
322
322
|
for var_name, var_value in kwargs.items():
|
|
323
323
|
if var_name not in self.attribute_map and \
|
|
@@ -87,8 +87,8 @@ class ReportOutcome(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
91
90
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
91
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,13 +97,13 @@ class ReportOutcome(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'warnings': 'warnings', # noqa: E501
|
|
101
100
|
'errors': 'errors', # noqa: E501
|
|
101
|
+
'warnings': 'warnings', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
105
|
-
'warnings', # noqa: E501
|
|
106
105
|
'errors', # noqa: E501
|
|
106
|
+
'warnings', # noqa: E501
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
_composed_schemas = {}
|
|
@@ -144,8 +144,8 @@ class ReportOutcome(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
148
147
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
148
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
149
149
|
"""
|
|
150
150
|
|
|
151
151
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -231,8 +231,8 @@ class ReportOutcome(ModelNormal):
|
|
|
231
231
|
Animal class but this time we won't travel
|
|
232
232
|
through its discriminator because we passed in
|
|
233
233
|
_visited_composed_classes = (Animal,)
|
|
234
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
235
234
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
235
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
236
236
|
"""
|
|
237
237
|
|
|
238
238
|
_check_type = kwargs.pop('_check_type', True)
|