criteo-api-retailmedia-sdk 0.0.250327__py3-none-any.whl → 0.0.250425__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 +187 -35
- criteo_api_retailmedia_preview/api/analytics_api.py +144 -2
- criteo_api_retailmedia_preview/api/balance_api.py +12 -12
- criteo_api_retailmedia_preview/api/campaign_api.py +88 -509
- 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 +278 -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 +73 -73
- 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/{common_error.py → async_offsite_report.py} +185 -45
- criteo_api_retailmedia_preview/model/{grant_consent_input.py → async_offsite_report_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{grant_consent_model_value_resource.py → async_offsite_report_resource.py} +9 -9
- 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 +11 -5
- criteo_api_retailmedia_preview/model/brand_id_search_result.py +15 -9
- 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_problem.py +20 -20
- 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 +12 -5
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py +17 -10
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py +9 -9
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_child_account_and_metadata.py +9 -9
- criteo_api_retailmedia_preview/model/entity_resource_line_item_keyword_review_report.py +4 -4
- criteo_api_retailmedia_preview/model/{resource_of_catalog_status_v2.py → entity_resource_of_catalog_status_v2.py} +7 -7
- criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_child_account.py +4 -4
- criteo_api_retailmedia_preview/model/{catalog_status_v2_response.py → entity_resource_outcome_of_catalog_status_v2.py} +18 -18
- criteo_api_retailmedia_preview/model/entity_resource_outcome_partner_billing_report_status_v1.py +5 -5
- criteo_api_retailmedia_preview/model/entity_resource_partner_billing_report_status_v1.py +4 -4
- criteo_api_retailmedia_preview/model/export_report_column.py +30 -30
- criteo_api_retailmedia_preview/model/external_line_item_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/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_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +32 -32
- criteo_api_retailmedia_preview/model/{input_keywords.py → managed_service_fee.py} +31 -17
- 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 +15 -9
- criteo_api_retailmedia_preview/model/partner_billing_report_request_v1.py +12 -14
- criteo_api_retailmedia_preview/model/partner_billing_report_status_v1.py +8 -8
- criteo_api_retailmedia_preview/model/placement_preview.py +24 -24
- criteo_api_retailmedia_preview/model/placement_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/preferred_line_item_v2_paged_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/preferred_line_item_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/{recommended_keywords_result.py → private_market_account_fees.py} +13 -13
- criteo_api_retailmedia_preview/model/private_market_fees.py +276 -0
- criteo_api_retailmedia_preview/model/problem_details.py +20 -20
- criteo_api_retailmedia_preview/model/product.py +242 -242
- criteo_api_retailmedia_preview/model/product_button_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/product_importer_error.py +20 -20
- criteo_api_retailmedia_preview/model/product_importer_warning.py +20 -20
- criteo_api_retailmedia_preview/model/product_metadata.py +8 -8
- criteo_api_retailmedia_preview/model/product_recommendation.py +16 -16
- criteo_api_retailmedia_preview/model/product_shipping.py +16 -16
- criteo_api_retailmedia_preview/model/product_shipping_dimension.py +4 -4
- criteo_api_retailmedia_preview/model/product_shipping_weight.py +4 -4
- criteo_api_retailmedia_preview/model/product_tax.py +12 -12
- criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +4 -4
- criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +4 -4
- criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +8 -8
- criteo_api_retailmedia_preview/model/promoted_product.py +4 -4
- criteo_api_retailmedia_preview/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_preview/model/report_data_response_resource.py +4 -4
- criteo_api_retailmedia_preview/model/report_detail_error.py +14 -14
- criteo_api_retailmedia_preview/model/report_detail_errors.py +8 -8
- criteo_api_retailmedia_preview/model/report_detail_warning.py +14 -14
- criteo_api_retailmedia_preview/model/report_ok_response.py +20 -20
- criteo_api_retailmedia_preview/model/report_outcome.py +5 -5
- criteo_api_retailmedia_preview/model/report_response.py +9 -9
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_seller_preview.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_sku_data_preview.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_sku_search_request_preview.py +4 -4
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +8 -8
- criteo_api_retailmedia_preview/model/retail_media_seller.py +8 -8
- criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py +8 -8
- criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py +20 -20
- criteo_api_retailmedia_preview/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +30 -30
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1.py +8 -8
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_events_v1.py +23 -23
- criteo_api_retailmedia_preview/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +16 -16
- criteo_api_retailmedia_preview/model/seller_catalog_request_v2.py +8 -8
- criteo_api_retailmedia_preview/model/seller_preview_response.py +5 -5
- criteo_api_retailmedia_preview/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_preview/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sku_data_preview.py +60 -60
- criteo_api_retailmedia_preview/model/sku_data_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/sku_min_bid.py +8 -8
- criteo_api_retailmedia_preview/model/sku_search_request_preview.py +17 -17
- criteo_api_retailmedia_preview/model/sku_search_request_slim_preview.py +8 -8
- criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +30 -30
- criteo_api_retailmedia_preview/model/sku_slim_data_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +24 -24
- criteo_api_retailmedia_preview/model/sku_slim_data_v2_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/status_response.py +20 -20
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +41 -41
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +48 -48
- criteo_api_retailmedia_preview/model/sync_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +52 -52
- criteo_api_retailmedia_preview/model/sync_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_preview/model/update_balance_model_v2.py +8 -8
- criteo_api_retailmedia_preview/model/value_resource_account_fees_search_request.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_account_fees_update_request.py +266 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_recommended_keywords_result.py → value_resource_account_fees_update_result.py} +11 -11
- criteo_api_retailmedia_preview/model/value_resource_brand_id_search_request.py +12 -5
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_seller_search_result.py +5 -5
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_v2_response.py → value_resource_collection_outcome_private_market_account_fees_and_metadata.py} +26 -27
- 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/value_resource_input_brand_id_search_request.py +8 -1
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_v2_request.py → value_resource_input_of_brand_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_request_of_brand_catalog_request_v2.py → value_resource_input_of_seller_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_brand_catalog_request_v2_and_brand_catalog_request_v2.py → value_resource_of_brand_catalog_request_v2.py} +10 -16
- criteo_api_retailmedia_preview/model/{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_of_recommended_keywords_result.py → value_resource_outcome_account_fees_update_result.py} +18 -18
- criteo_api_retailmedia_preview/model/value_resource_outcome_cpc_min_bids_response.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_outcome_retail_media_keywords_review_result.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_partner_billing_report_request_v1.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_private_market_account_fees.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py +4 -4
- criteo_api_retailmedia_preview/model/video_variable_value.py +16 -16
- criteo_api_retailmedia_preview/models/__init__.py +24 -22
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/RECORD +197 -195
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_preview/model/common_warning.py +0 -301
- criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +0 -307
- criteo_api_retailmedia_preview/model/grant_consent_model.py +0 -279
- criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py +0 -279
- criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request_v2.py +0 -269
- criteo_api_retailmedia_preview/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +0 -287
- criteo_api_retailmedia_preview/model/keywords.py +0 -297
- criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +0 -277
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/top_level.txt +0 -0
|
@@ -66,11 +66,11 @@ class SkuDataPreview(ModelNormal):
|
|
|
66
66
|
'max_length': 100,
|
|
67
67
|
'min_length': 0,
|
|
68
68
|
},
|
|
69
|
-
('
|
|
69
|
+
('category',): {
|
|
70
70
|
'max_length': 1000,
|
|
71
71
|
'min_length': 0,
|
|
72
72
|
},
|
|
73
|
-
('
|
|
73
|
+
('name',): {
|
|
74
74
|
'max_length': 1000,
|
|
75
75
|
'min_length': 0,
|
|
76
76
|
},
|
|
@@ -97,28 +97,28 @@ class SkuDataPreview(ModelNormal):
|
|
|
97
97
|
and the value is attribute type.
|
|
98
98
|
"""
|
|
99
99
|
return {
|
|
100
|
-
'sku_key': (str,), # noqa: E501
|
|
101
|
-
'category_id': (str,), # noqa: E501
|
|
102
100
|
'brand_id': (str,), # noqa: E501
|
|
103
101
|
'brand_name': (str,), # noqa: E501
|
|
102
|
+
'category_id': (str,), # noqa: E501
|
|
103
|
+
'is_in_stock': (bool,), # noqa: E501
|
|
104
|
+
'price': (float,), # noqa: E501
|
|
104
105
|
'retailer_id': (str,), # noqa: E501
|
|
105
106
|
'retailer_name': (str,), # noqa: E501
|
|
106
|
-
'
|
|
107
|
-
'is_in_stock': (bool,), # noqa: E501
|
|
107
|
+
'sku_key': (str,), # noqa: E501
|
|
108
108
|
'updated_at': (datetime,), # noqa: E501
|
|
109
|
-
'name': (str,), # noqa: E501
|
|
110
|
-
'description': (str, none_type,), # noqa: E501
|
|
111
109
|
'category': (str, none_type,), # noqa: E501
|
|
112
|
-
'
|
|
113
|
-
'is_buybox': (bool,), # noqa: E501
|
|
114
|
-
'seller_id': (str, none_type,), # noqa: E501
|
|
115
|
-
'seller_name': (str, none_type,), # noqa: E501
|
|
110
|
+
'description': (str, none_type,), # noqa: E501
|
|
116
111
|
'gtin': (str, none_type,), # noqa: E501
|
|
117
|
-
'
|
|
112
|
+
'image_url': (str,), # noqa: E501
|
|
113
|
+
'is_buybox': (bool,), # noqa: E501
|
|
114
|
+
'is_seller_sku': (bool,), # noqa: E501
|
|
118
115
|
'model_number': (str, none_type,), # noqa: E501
|
|
116
|
+
'mpn': (str, none_type,), # noqa: E501
|
|
117
|
+
'name': (str,), # noqa: E501
|
|
119
118
|
'parent_id': (str, none_type,), # noqa: E501
|
|
120
|
-
'image_url': (str,), # noqa: E501
|
|
121
119
|
'product_page': (str, none_type,), # noqa: E501
|
|
120
|
+
'seller_id': (str, none_type,), # noqa: E501
|
|
121
|
+
'seller_name': (str, none_type,), # noqa: E501
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
@cached_property
|
|
@@ -127,28 +127,28 @@ class SkuDataPreview(ModelNormal):
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
attribute_map = {
|
|
130
|
-
'sku_key': 'skuKey', # noqa: E501
|
|
131
|
-
'category_id': 'categoryId', # noqa: E501
|
|
132
130
|
'brand_id': 'brandId', # noqa: E501
|
|
133
131
|
'brand_name': 'brandName', # noqa: E501
|
|
132
|
+
'category_id': 'categoryId', # noqa: E501
|
|
133
|
+
'is_in_stock': 'isInStock', # noqa: E501
|
|
134
|
+
'price': 'price', # noqa: E501
|
|
134
135
|
'retailer_id': 'retailerId', # noqa: E501
|
|
135
136
|
'retailer_name': 'retailerName', # noqa: E501
|
|
136
|
-
'
|
|
137
|
-
'is_in_stock': 'isInStock', # noqa: E501
|
|
137
|
+
'sku_key': 'skuKey', # noqa: E501
|
|
138
138
|
'updated_at': 'updatedAt', # noqa: E501
|
|
139
|
-
'name': 'name', # noqa: E501
|
|
140
|
-
'description': 'description', # noqa: E501
|
|
141
139
|
'category': 'category', # noqa: E501
|
|
142
|
-
'
|
|
143
|
-
'is_buybox': 'isBuybox', # noqa: E501
|
|
144
|
-
'seller_id': 'sellerId', # noqa: E501
|
|
145
|
-
'seller_name': 'sellerName', # noqa: E501
|
|
140
|
+
'description': 'description', # noqa: E501
|
|
146
141
|
'gtin': 'gtin', # noqa: E501
|
|
147
|
-
'
|
|
142
|
+
'image_url': 'imageUrl', # noqa: E501
|
|
143
|
+
'is_buybox': 'isBuybox', # noqa: E501
|
|
144
|
+
'is_seller_sku': 'isSellerSku', # noqa: E501
|
|
148
145
|
'model_number': 'modelNumber', # noqa: E501
|
|
146
|
+
'mpn': 'mpn', # noqa: E501
|
|
147
|
+
'name': 'name', # noqa: E501
|
|
149
148
|
'parent_id': 'parentId', # noqa: E501
|
|
150
|
-
'image_url': 'imageUrl', # noqa: E501
|
|
151
149
|
'product_page': 'productPage', # noqa: E501
|
|
150
|
+
'seller_id': 'sellerId', # noqa: E501
|
|
151
|
+
'seller_name': 'sellerName', # noqa: E501
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
read_only_vars = {
|
|
@@ -158,18 +158,18 @@ class SkuDataPreview(ModelNormal):
|
|
|
158
158
|
|
|
159
159
|
@classmethod
|
|
160
160
|
@convert_js_args_to_python_args
|
|
161
|
-
def _from_openapi_data(cls,
|
|
161
|
+
def _from_openapi_data(cls, brand_id, brand_name, category_id, is_in_stock, price, retailer_id, retailer_name, sku_key, updated_at, *args, **kwargs): # noqa: E501
|
|
162
162
|
"""SkuDataPreview - a model defined in OpenAPI
|
|
163
163
|
|
|
164
164
|
Args:
|
|
165
|
-
sku_key (str): The product SKU Key.
|
|
166
|
-
category_id (str): The category Id.
|
|
167
165
|
brand_id (str): The global brand id associated to the product.
|
|
168
166
|
brand_name (str): The name of the global brand.
|
|
167
|
+
category_id (str): The category Id.
|
|
168
|
+
is_in_stock (bool): An indication of if the retailer currently has the product in stock.
|
|
169
|
+
price (float): The price of the product on the retailer site.
|
|
169
170
|
retailer_id (str): The identifier for the retailer the product is listed by.
|
|
170
171
|
retailer_name (str): The retailer name.
|
|
171
|
-
|
|
172
|
-
is_in_stock (bool): An indication of if the retailer currently has the product in stock.
|
|
172
|
+
sku_key (str): The product SKU Key.
|
|
173
173
|
updated_at (datetime): The last time this product was updated in the Retail Media Catalog. Represented as a UTC ISO8601 string.
|
|
174
174
|
|
|
175
175
|
Keyword Args:
|
|
@@ -203,19 +203,19 @@ class SkuDataPreview(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
|
-
name (str): A short product name.. [optional] # noqa: E501
|
|
207
|
-
description (str, none_type): A product description.. [optional] # noqa: E501
|
|
208
206
|
category (str, none_type): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
|
|
209
|
-
|
|
210
|
-
is_buybox (bool): Whether the Sku is a Buybox Winner.. [optional] # noqa: E501
|
|
211
|
-
seller_id (str, none_type): The id of the seller.. [optional] # noqa: E501
|
|
212
|
-
seller_name (str, none_type): The name of the seller.. [optional] # noqa: E501
|
|
207
|
+
description (str, none_type): A product description.. [optional] # noqa: E501
|
|
213
208
|
gtin (str, none_type): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
|
|
214
|
-
|
|
209
|
+
image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
|
|
210
|
+
is_buybox (bool): Whether the Sku is a Buybox Winner.. [optional] # noqa: E501
|
|
211
|
+
is_seller_sku (bool): An indication of if the sku is seller sku.. [optional] # noqa: E501
|
|
215
212
|
model_number (str, none_type): The Model Number for the product if available.. [optional] # noqa: E501
|
|
213
|
+
mpn (str, none_type): The MPN for the product if available.. [optional] # noqa: E501
|
|
214
|
+
name (str): A short product name.. [optional] # noqa: E501
|
|
216
215
|
parent_id (str, none_type): The ParentId for the product if available.. [optional] # noqa: E501
|
|
217
|
-
image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
|
|
218
216
|
product_page (str, none_type): The product page URL. [optional] # noqa: E501
|
|
217
|
+
seller_id (str, none_type): The id of the seller.. [optional] # noqa: E501
|
|
218
|
+
seller_name (str, none_type): The name of the seller.. [optional] # noqa: E501
|
|
219
219
|
"""
|
|
220
220
|
|
|
221
221
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -247,14 +247,14 @@ class SkuDataPreview(ModelNormal):
|
|
|
247
247
|
self._configuration = _configuration
|
|
248
248
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
249
249
|
|
|
250
|
-
self.sku_key = sku_key
|
|
251
|
-
self.category_id = category_id
|
|
252
250
|
self.brand_id = brand_id
|
|
253
251
|
self.brand_name = brand_name
|
|
252
|
+
self.category_id = category_id
|
|
253
|
+
self.is_in_stock = is_in_stock
|
|
254
|
+
self.price = price
|
|
254
255
|
self.retailer_id = retailer_id
|
|
255
256
|
self.retailer_name = retailer_name
|
|
256
|
-
self.
|
|
257
|
-
self.is_in_stock = is_in_stock
|
|
257
|
+
self.sku_key = sku_key
|
|
258
258
|
self.updated_at = updated_at
|
|
259
259
|
for var_name, var_value in kwargs.items():
|
|
260
260
|
if var_name not in self.attribute_map and \
|
|
@@ -276,18 +276,18 @@ class SkuDataPreview(ModelNormal):
|
|
|
276
276
|
])
|
|
277
277
|
|
|
278
278
|
@convert_js_args_to_python_args
|
|
279
|
-
def __init__(self,
|
|
279
|
+
def __init__(self, brand_id, brand_name, category_id, is_in_stock, price, retailer_id, retailer_name, sku_key, updated_at, *args, **kwargs): # noqa: E501
|
|
280
280
|
"""SkuDataPreview - a model defined in OpenAPI
|
|
281
281
|
|
|
282
282
|
Args:
|
|
283
|
-
sku_key (str): The product SKU Key.
|
|
284
|
-
category_id (str): The category Id.
|
|
285
283
|
brand_id (str): The global brand id associated to the product.
|
|
286
284
|
brand_name (str): The name of the global brand.
|
|
285
|
+
category_id (str): The category Id.
|
|
286
|
+
is_in_stock (bool): An indication of if the retailer currently has the product in stock.
|
|
287
|
+
price (float): The price of the product on the retailer site.
|
|
287
288
|
retailer_id (str): The identifier for the retailer the product is listed by.
|
|
288
289
|
retailer_name (str): The retailer name.
|
|
289
|
-
|
|
290
|
-
is_in_stock (bool): An indication of if the retailer currently has the product in stock.
|
|
290
|
+
sku_key (str): The product SKU Key.
|
|
291
291
|
updated_at (datetime): The last time this product was updated in the Retail Media Catalog. Represented as a UTC ISO8601 string.
|
|
292
292
|
|
|
293
293
|
Keyword Args:
|
|
@@ -321,19 +321,19 @@ class SkuDataPreview(ModelNormal):
|
|
|
321
321
|
Animal class but this time we won't travel
|
|
322
322
|
through its discriminator because we passed in
|
|
323
323
|
_visited_composed_classes = (Animal,)
|
|
324
|
-
name (str): A short product name.. [optional] # noqa: E501
|
|
325
|
-
description (str, none_type): A product description.. [optional] # noqa: E501
|
|
326
324
|
category (str, none_type): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
|
|
327
|
-
|
|
328
|
-
is_buybox (bool): Whether the Sku is a Buybox Winner.. [optional] # noqa: E501
|
|
329
|
-
seller_id (str, none_type): The id of the seller.. [optional] # noqa: E501
|
|
330
|
-
seller_name (str, none_type): The name of the seller.. [optional] # noqa: E501
|
|
325
|
+
description (str, none_type): A product description.. [optional] # noqa: E501
|
|
331
326
|
gtin (str, none_type): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
|
|
332
|
-
|
|
327
|
+
image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
|
|
328
|
+
is_buybox (bool): Whether the Sku is a Buybox Winner.. [optional] # noqa: E501
|
|
329
|
+
is_seller_sku (bool): An indication of if the sku is seller sku.. [optional] # noqa: E501
|
|
333
330
|
model_number (str, none_type): The Model Number for the product if available.. [optional] # noqa: E501
|
|
331
|
+
mpn (str, none_type): The MPN for the product if available.. [optional] # noqa: E501
|
|
332
|
+
name (str): A short product name.. [optional] # noqa: E501
|
|
334
333
|
parent_id (str, none_type): The ParentId for the product if available.. [optional] # noqa: E501
|
|
335
|
-
image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
|
|
336
334
|
product_page (str, none_type): The product page URL. [optional] # noqa: E501
|
|
335
|
+
seller_id (str, none_type): The id of the seller.. [optional] # noqa: E501
|
|
336
|
+
seller_name (str, none_type): The name of the seller.. [optional] # noqa: E501
|
|
337
337
|
"""
|
|
338
338
|
|
|
339
339
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -363,14 +363,14 @@ class SkuDataPreview(ModelNormal):
|
|
|
363
363
|
self._configuration = _configuration
|
|
364
364
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
365
365
|
|
|
366
|
-
self.sku_key = sku_key
|
|
367
|
-
self.category_id = category_id
|
|
368
366
|
self.brand_id = brand_id
|
|
369
367
|
self.brand_name = brand_name
|
|
368
|
+
self.category_id = category_id
|
|
369
|
+
self.is_in_stock = is_in_stock
|
|
370
|
+
self.price = price
|
|
370
371
|
self.retailer_id = retailer_id
|
|
371
372
|
self.retailer_name = retailer_name
|
|
372
|
-
self.
|
|
373
|
-
self.is_in_stock = is_in_stock
|
|
373
|
+
self.sku_key = sku_key
|
|
374
374
|
self.updated_at = updated_at
|
|
375
375
|
for var_name, var_value in kwargs.items():
|
|
376
376
|
if var_name not in self.attribute_map and \
|
|
@@ -90,8 +90,8 @@ class SkuDataPreviewListResponse(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': ([ResourceOfSkuDataPreview],), # noqa: E501
|
|
93
|
-
'warnings': ([ProblemDetails],), # noqa: E501
|
|
94
93
|
'errors': ([ProblemDetails],), # noqa: E501
|
|
94
|
+
'warnings': ([ProblemDetails],), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class SkuDataPreviewListResponse(ModelNormal):
|
|
|
101
101
|
|
|
102
102
|
attribute_map = {
|
|
103
103
|
'data': 'data', # noqa: E501
|
|
104
|
-
'warnings': 'warnings', # noqa: E501
|
|
105
104
|
'errors': 'errors', # noqa: E501
|
|
105
|
+
'warnings': 'warnings', # noqa: E501
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
read_only_vars = {
|
|
109
|
-
'warnings', # noqa: E501
|
|
110
109
|
'errors', # noqa: E501
|
|
110
|
+
'warnings', # noqa: E501
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
_composed_schemas = {}
|
|
@@ -149,8 +149,8 @@ class SkuDataPreviewListResponse(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data ([ResourceOfSkuDataPreview]): [optional] # noqa: E501
|
|
152
|
-
warnings ([ProblemDetails]): [optional] # noqa: E501
|
|
153
152
|
errors ([ProblemDetails]): [optional] # noqa: E501
|
|
153
|
+
warnings ([ProblemDetails]): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class SkuDataPreviewListResponse(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data ([ResourceOfSkuDataPreview]): [optional] # noqa: E501
|
|
240
|
-
warnings ([ProblemDetails]): [optional] # noqa: E501
|
|
241
240
|
errors ([ProblemDetails]): [optional] # noqa: E501
|
|
241
|
+
warnings ([ProblemDetails]): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -75,8 +75,8 @@ class SkuMinBid(ModelNormal):
|
|
|
75
75
|
and the value is attribute type.
|
|
76
76
|
"""
|
|
77
77
|
return {
|
|
78
|
-
'sku_id': (str,), # noqa: E501
|
|
79
78
|
'min_bid': (float,), # noqa: E501
|
|
79
|
+
'sku_id': (str,), # noqa: E501
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
@cached_property
|
|
@@ -85,8 +85,8 @@ class SkuMinBid(ModelNormal):
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
attribute_map = {
|
|
88
|
-
'sku_id': 'skuId', # noqa: E501
|
|
89
88
|
'min_bid': 'minBid', # noqa: E501
|
|
89
|
+
'sku_id': 'skuId', # noqa: E501
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
read_only_vars = {
|
|
@@ -96,12 +96,12 @@ class SkuMinBid(ModelNormal):
|
|
|
96
96
|
|
|
97
97
|
@classmethod
|
|
98
98
|
@convert_js_args_to_python_args
|
|
99
|
-
def _from_openapi_data(cls,
|
|
99
|
+
def _from_openapi_data(cls, min_bid, sku_id, *args, **kwargs): # noqa: E501
|
|
100
100
|
"""SkuMinBid - a model defined in OpenAPI
|
|
101
101
|
|
|
102
102
|
Args:
|
|
103
|
-
sku_id (str): Sku id.
|
|
104
103
|
min_bid (float): Minimum bid amount value.
|
|
104
|
+
sku_id (str): Sku id.
|
|
105
105
|
|
|
106
106
|
Keyword Args:
|
|
107
107
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -165,8 +165,8 @@ class SkuMinBid(ModelNormal):
|
|
|
165
165
|
self._configuration = _configuration
|
|
166
166
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
167
167
|
|
|
168
|
-
self.sku_id = sku_id
|
|
169
168
|
self.min_bid = min_bid
|
|
169
|
+
self.sku_id = sku_id
|
|
170
170
|
for var_name, var_value in kwargs.items():
|
|
171
171
|
if var_name not in self.attribute_map and \
|
|
172
172
|
self._configuration is not None and \
|
|
@@ -187,12 +187,12 @@ class SkuMinBid(ModelNormal):
|
|
|
187
187
|
])
|
|
188
188
|
|
|
189
189
|
@convert_js_args_to_python_args
|
|
190
|
-
def __init__(self,
|
|
190
|
+
def __init__(self, min_bid, sku_id, *args, **kwargs): # noqa: E501
|
|
191
191
|
"""SkuMinBid - a model defined in OpenAPI
|
|
192
192
|
|
|
193
193
|
Args:
|
|
194
|
-
sku_id (str): Sku id.
|
|
195
194
|
min_bid (float): Minimum bid amount value.
|
|
195
|
+
sku_id (str): Sku id.
|
|
196
196
|
|
|
197
197
|
Keyword Args:
|
|
198
198
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -254,8 +254,8 @@ class SkuMinBid(ModelNormal):
|
|
|
254
254
|
self._configuration = _configuration
|
|
255
255
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
256
256
|
|
|
257
|
-
self.sku_id = sku_id
|
|
258
257
|
self.min_bid = min_bid
|
|
258
|
+
self.sku_id = sku_id
|
|
259
259
|
for var_name, var_value in kwargs.items():
|
|
260
260
|
if var_name not in self.attribute_map and \
|
|
261
261
|
self._configuration is not None and \
|
|
@@ -55,11 +55,6 @@ class SkuSearchRequestPreview(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
-
('sku_type',): {
|
|
59
|
-
'BRAND': "brand",
|
|
60
|
-
'SELLER': "seller",
|
|
61
|
-
'ALL': "all",
|
|
62
|
-
},
|
|
63
58
|
('product_id_type',): {
|
|
64
59
|
'SKUKEY': "skuKey",
|
|
65
60
|
'GTIN': "gtin",
|
|
@@ -68,6 +63,11 @@ class SkuSearchRequestPreview(ModelNormal):
|
|
|
68
63
|
'SKUID': "skuId",
|
|
69
64
|
'PARENTID': "parentId",
|
|
70
65
|
},
|
|
66
|
+
('sku_type',): {
|
|
67
|
+
'BRAND': "brand",
|
|
68
|
+
'SELLER': "seller",
|
|
69
|
+
'ALL': "all",
|
|
70
|
+
},
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
validations = {
|
|
@@ -96,11 +96,11 @@ class SkuSearchRequestPreview(ModelNormal):
|
|
|
96
96
|
return {
|
|
97
97
|
'query_string': (str,), # noqa: E501
|
|
98
98
|
'retailer_id': (str,), # noqa: E501
|
|
99
|
-
'sellers': ([str],), # noqa: E501
|
|
100
99
|
'brand_ids': ([str],), # noqa: E501
|
|
101
|
-
'sku_type': (str,), # noqa: E501
|
|
102
|
-
'product_id_type': (str,), # noqa: E501
|
|
103
100
|
'product_ids': ([str],), # noqa: E501
|
|
101
|
+
'product_id_type': (str,), # noqa: E501
|
|
102
|
+
'sellers': ([str],), # noqa: E501
|
|
103
|
+
'sku_type': (str,), # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
@cached_property
|
|
@@ -111,11 +111,11 @@ class SkuSearchRequestPreview(ModelNormal):
|
|
|
111
111
|
attribute_map = {
|
|
112
112
|
'query_string': 'queryString', # noqa: E501
|
|
113
113
|
'retailer_id': 'retailerId', # noqa: E501
|
|
114
|
-
'sellers': 'sellers', # noqa: E501
|
|
115
114
|
'brand_ids': 'brandIds', # noqa: E501
|
|
116
|
-
'sku_type': 'skuType', # noqa: E501
|
|
117
|
-
'product_id_type': 'productIdType', # noqa: E501
|
|
118
115
|
'product_ids': 'productIds', # noqa: E501
|
|
116
|
+
'product_id_type': 'productIdType', # noqa: E501
|
|
117
|
+
'sellers': 'sellers', # noqa: E501
|
|
118
|
+
'sku_type': 'skuType', # noqa: E501
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
read_only_vars = {
|
|
@@ -163,11 +163,11 @@ class SkuSearchRequestPreview(ModelNormal):
|
|
|
163
163
|
Animal class but this time we won't travel
|
|
164
164
|
through its discriminator because we passed in
|
|
165
165
|
_visited_composed_classes = (Animal,)
|
|
166
|
-
sellers ([str]): A list of seller names and/or seller Id's. [optional] # noqa: E501
|
|
167
166
|
brand_ids ([str]): A list of brand Id's. [optional] # noqa: E501
|
|
168
|
-
sku_type (str): Enum to set isSellerSku field. [optional] if omitted the server will use the default value of "brand" # noqa: E501
|
|
169
|
-
product_id_type (str): Type of product Ids to search for(SkuKey, SkuId, Gtin, Mpn, Model, ParentId). [optional] if omitted the server will use the default value of "skuKey" # noqa: E501
|
|
170
167
|
product_ids ([str]): A list of product Id's, if not passed ignore and search by QueryString. [optional] # noqa: E501
|
|
168
|
+
product_id_type (str): Type of product Ids to search for(SkuKey, SkuId, Gtin, Mpn, Model, ParentId). [optional] if omitted the server will use the default value of "skuKey" # noqa: E501
|
|
169
|
+
sellers ([str]): A list of seller names and/or seller Id's. [optional] # noqa: E501
|
|
170
|
+
sku_type (str): Enum to set isSellerSku field. [optional] if omitted the server will use the default value of "brand" # noqa: E501
|
|
171
171
|
"""
|
|
172
172
|
|
|
173
173
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -259,11 +259,11 @@ class SkuSearchRequestPreview(ModelNormal):
|
|
|
259
259
|
Animal class but this time we won't travel
|
|
260
260
|
through its discriminator because we passed in
|
|
261
261
|
_visited_composed_classes = (Animal,)
|
|
262
|
-
sellers ([str]): A list of seller names and/or seller Id's. [optional] # noqa: E501
|
|
263
262
|
brand_ids ([str]): A list of brand Id's. [optional] # noqa: E501
|
|
264
|
-
sku_type (str): Enum to set isSellerSku field. [optional] if omitted the server will use the default value of "brand" # noqa: E501
|
|
265
|
-
product_id_type (str): Type of product Ids to search for(SkuKey, SkuId, Gtin, Mpn, Model, ParentId). [optional] if omitted the server will use the default value of "skuKey" # noqa: E501
|
|
266
263
|
product_ids ([str]): A list of product Id's, if not passed ignore and search by QueryString. [optional] # noqa: E501
|
|
264
|
+
product_id_type (str): Type of product Ids to search for(SkuKey, SkuId, Gtin, Mpn, Model, ParentId). [optional] if omitted the server will use the default value of "skuKey" # noqa: E501
|
|
265
|
+
sellers ([str]): A list of seller names and/or seller Id's. [optional] # noqa: E501
|
|
266
|
+
sku_type (str): Enum to set isSellerSku field. [optional] if omitted the server will use the default value of "brand" # noqa: E501
|
|
267
267
|
"""
|
|
268
268
|
|
|
269
269
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -81,8 +81,8 @@ class SkuSearchRequestSlimPreview(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'search_string': (str,), # noqa: E501
|
|
85
84
|
'limit_results_to_skus_with_brand_ids': ([str],), # noqa: E501
|
|
85
|
+
'search_string': (str,), # noqa: E501
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
@cached_property
|
|
@@ -91,8 +91,8 @@ class SkuSearchRequestSlimPreview(ModelNormal):
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
attribute_map = {
|
|
94
|
-
'search_string': 'searchString', # noqa: E501
|
|
95
94
|
'limit_results_to_skus_with_brand_ids': 'limitResultsToSkusWithBrandIds', # noqa: E501
|
|
95
|
+
'search_string': 'searchString', # noqa: E501
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
read_only_vars = {
|
|
@@ -102,12 +102,12 @@ class SkuSearchRequestSlimPreview(ModelNormal):
|
|
|
102
102
|
|
|
103
103
|
@classmethod
|
|
104
104
|
@convert_js_args_to_python_args
|
|
105
|
-
def _from_openapi_data(cls,
|
|
105
|
+
def _from_openapi_data(cls, limit_results_to_skus_with_brand_ids, search_string, *args, **kwargs): # noqa: E501
|
|
106
106
|
"""SkuSearchRequestSlimPreview - a model defined in OpenAPI
|
|
107
107
|
|
|
108
108
|
Args:
|
|
109
|
-
search_string (str): Query string to search for across SKU's properties (gtin, mpn, feed ID, Title, and Description)
|
|
110
109
|
limit_results_to_skus_with_brand_ids ([str]): A list of brand Id's to limit the search results to
|
|
110
|
+
search_string (str): Query string to search for across SKU's properties (gtin, mpn, feed ID, Title, and Description)
|
|
111
111
|
|
|
112
112
|
Keyword Args:
|
|
113
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -171,8 +171,8 @@ class SkuSearchRequestSlimPreview(ModelNormal):
|
|
|
171
171
|
self._configuration = _configuration
|
|
172
172
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
173
173
|
|
|
174
|
-
self.search_string = search_string
|
|
175
174
|
self.limit_results_to_skus_with_brand_ids = limit_results_to_skus_with_brand_ids
|
|
175
|
+
self.search_string = search_string
|
|
176
176
|
for var_name, var_value in kwargs.items():
|
|
177
177
|
if var_name not in self.attribute_map and \
|
|
178
178
|
self._configuration is not None and \
|
|
@@ -193,12 +193,12 @@ class SkuSearchRequestSlimPreview(ModelNormal):
|
|
|
193
193
|
])
|
|
194
194
|
|
|
195
195
|
@convert_js_args_to_python_args
|
|
196
|
-
def __init__(self,
|
|
196
|
+
def __init__(self, limit_results_to_skus_with_brand_ids, search_string, *args, **kwargs): # noqa: E501
|
|
197
197
|
"""SkuSearchRequestSlimPreview - a model defined in OpenAPI
|
|
198
198
|
|
|
199
199
|
Args:
|
|
200
|
-
search_string (str): Query string to search for across SKU's properties (gtin, mpn, feed ID, Title, and Description)
|
|
201
200
|
limit_results_to_skus_with_brand_ids ([str]): A list of brand Id's to limit the search results to
|
|
201
|
+
search_string (str): Query string to search for across SKU's properties (gtin, mpn, feed ID, Title, and Description)
|
|
202
202
|
|
|
203
203
|
Keyword Args:
|
|
204
204
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -260,8 +260,8 @@ class SkuSearchRequestSlimPreview(ModelNormal):
|
|
|
260
260
|
self._configuration = _configuration
|
|
261
261
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
262
262
|
|
|
263
|
-
self.search_string = search_string
|
|
264
263
|
self.limit_results_to_skus_with_brand_ids = limit_results_to_skus_with_brand_ids
|
|
264
|
+
self.search_string = search_string
|
|
265
265
|
for var_name, var_value in kwargs.items():
|
|
266
266
|
if var_name not in self.attribute_map and \
|
|
267
267
|
self._configuration is not None and \
|
|
@@ -62,11 +62,11 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
62
62
|
'max_length': 120,
|
|
63
63
|
'min_length': 0,
|
|
64
64
|
},
|
|
65
|
-
('
|
|
65
|
+
('category',): {
|
|
66
66
|
'max_length': 1000,
|
|
67
67
|
'min_length': 0,
|
|
68
68
|
},
|
|
69
|
-
('
|
|
69
|
+
('name',): {
|
|
70
70
|
'max_length': 1000,
|
|
71
71
|
'min_length': 0,
|
|
72
72
|
},
|
|
@@ -100,17 +100,17 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
100
100
|
'category_id': (str,), # noqa: E501
|
|
101
101
|
'global_brand_id': (str,), # noqa: E501
|
|
102
102
|
'global_brand_name': (str,), # noqa: E501
|
|
103
|
-
'price': (float, none_type,), # noqa: E501
|
|
104
103
|
'is_in_stock': (bool,), # noqa: E501
|
|
104
|
+
'price': (float, none_type,), # noqa: E501
|
|
105
105
|
'updated_at': (datetime,), # noqa: E501
|
|
106
|
-
'name': (str,), # noqa: E501
|
|
107
|
-
'global_category_id': (str,), # noqa: E501
|
|
108
106
|
'category': (str,), # noqa: E501
|
|
107
|
+
'global_category_id': (str,), # noqa: E501
|
|
108
|
+
'gtin': (str, none_type,), # noqa: E501
|
|
109
|
+
'image_url': (str,), # noqa: E501
|
|
110
|
+
'mpn': (str, none_type,), # noqa: E501
|
|
111
|
+
'name': (str,), # noqa: E501
|
|
109
112
|
'retailer_brand_id': (str,), # noqa: E501
|
|
110
113
|
'retailer_brand_name': (str,), # noqa: E501
|
|
111
|
-
'gtin': (str,), # noqa: E501
|
|
112
|
-
'mpn': (str,), # noqa: E501
|
|
113
|
-
'image_url': (str,), # noqa: E501
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
@cached_property
|
|
@@ -122,17 +122,17 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
122
122
|
'category_id': 'categoryId', # noqa: E501
|
|
123
123
|
'global_brand_id': 'globalBrandId', # noqa: E501
|
|
124
124
|
'global_brand_name': 'globalBrandName', # noqa: E501
|
|
125
|
-
'price': 'price', # noqa: E501
|
|
126
125
|
'is_in_stock': 'isInStock', # noqa: E501
|
|
126
|
+
'price': 'price', # noqa: E501
|
|
127
127
|
'updated_at': 'updatedAt', # noqa: E501
|
|
128
|
-
'name': 'name', # noqa: E501
|
|
129
|
-
'global_category_id': 'globalCategoryId', # noqa: E501
|
|
130
128
|
'category': 'category', # noqa: E501
|
|
131
|
-
'
|
|
132
|
-
'retailer_brand_name': 'retailerBrandName', # noqa: E501
|
|
129
|
+
'global_category_id': 'globalCategoryId', # noqa: E501
|
|
133
130
|
'gtin': 'gtin', # noqa: E501
|
|
134
|
-
'mpn': 'mpn', # noqa: E501
|
|
135
131
|
'image_url': 'imageUrl', # noqa: E501
|
|
132
|
+
'mpn': 'mpn', # noqa: E501
|
|
133
|
+
'name': 'name', # noqa: E501
|
|
134
|
+
'retailer_brand_id': 'retailerBrandId', # noqa: E501
|
|
135
|
+
'retailer_brand_name': 'retailerBrandName', # noqa: E501
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
read_only_vars = {
|
|
@@ -142,15 +142,15 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
142
142
|
|
|
143
143
|
@classmethod
|
|
144
144
|
@convert_js_args_to_python_args
|
|
145
|
-
def _from_openapi_data(cls, category_id, global_brand_id, global_brand_name,
|
|
145
|
+
def _from_openapi_data(cls, category_id, global_brand_id, global_brand_name, is_in_stock, price, updated_at, *args, **kwargs): # noqa: E501
|
|
146
146
|
"""SkuSlimDataPreview - a model defined in OpenAPI
|
|
147
147
|
|
|
148
148
|
Args:
|
|
149
149
|
category_id (str): The category Id.
|
|
150
150
|
global_brand_id (str): The global brand id associated to the product.
|
|
151
151
|
global_brand_name (str): The name of the global brand.
|
|
152
|
-
price (float, none_type): The price of the product on the retailer site. Can be omitted in certain circumstances
|
|
153
152
|
is_in_stock (bool): An indication of if the retailer currently has the product in stock.
|
|
153
|
+
price (float, none_type): The price of the product on the retailer site. Can be omitted in certain circumstances
|
|
154
154
|
updated_at (datetime): The last time this product was updated in the Retail Media Catalog. Represented as a UTC ISO8601 string.
|
|
155
155
|
|
|
156
156
|
Keyword Args:
|
|
@@ -184,14 +184,14 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
184
184
|
Animal class but this time we won't travel
|
|
185
185
|
through its discriminator because we passed in
|
|
186
186
|
_visited_composed_classes = (Animal,)
|
|
187
|
-
name (str): A short product name.. [optional] # noqa: E501
|
|
188
|
-
global_category_id (str): The global category Id.. [optional] # noqa: E501
|
|
189
187
|
category (str): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
|
|
188
|
+
global_category_id (str): The global category Id.. [optional] # noqa: E501
|
|
189
|
+
gtin (str, none_type): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
|
|
190
|
+
image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
|
|
191
|
+
mpn (str, none_type): The MPN for the product if available.. [optional] # noqa: E501
|
|
192
|
+
name (str): A short product name.. [optional] # noqa: E501
|
|
190
193
|
retailer_brand_id (str): The retailer brand id associated to the product.. [optional] # noqa: E501
|
|
191
194
|
retailer_brand_name (str): The name of the retailer brand.. [optional] # noqa: E501
|
|
192
|
-
gtin (str): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
|
|
193
|
-
mpn (str): The MPN for the product if available.. [optional] # noqa: E501
|
|
194
|
-
image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
|
|
195
195
|
"""
|
|
196
196
|
|
|
197
197
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -226,8 +226,8 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
226
226
|
self.category_id = category_id
|
|
227
227
|
self.global_brand_id = global_brand_id
|
|
228
228
|
self.global_brand_name = global_brand_name
|
|
229
|
-
self.price = price
|
|
230
229
|
self.is_in_stock = is_in_stock
|
|
230
|
+
self.price = price
|
|
231
231
|
self.updated_at = updated_at
|
|
232
232
|
for var_name, var_value in kwargs.items():
|
|
233
233
|
if var_name not in self.attribute_map and \
|
|
@@ -249,15 +249,15 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
249
249
|
])
|
|
250
250
|
|
|
251
251
|
@convert_js_args_to_python_args
|
|
252
|
-
def __init__(self, category_id, global_brand_id, global_brand_name,
|
|
252
|
+
def __init__(self, category_id, global_brand_id, global_brand_name, is_in_stock, price, updated_at, *args, **kwargs): # noqa: E501
|
|
253
253
|
"""SkuSlimDataPreview - a model defined in OpenAPI
|
|
254
254
|
|
|
255
255
|
Args:
|
|
256
256
|
category_id (str): The category Id.
|
|
257
257
|
global_brand_id (str): The global brand id associated to the product.
|
|
258
258
|
global_brand_name (str): The name of the global brand.
|
|
259
|
-
price (float, none_type): The price of the product on the retailer site. Can be omitted in certain circumstances
|
|
260
259
|
is_in_stock (bool): An indication of if the retailer currently has the product in stock.
|
|
260
|
+
price (float, none_type): The price of the product on the retailer site. Can be omitted in certain circumstances
|
|
261
261
|
updated_at (datetime): The last time this product was updated in the Retail Media Catalog. Represented as a UTC ISO8601 string.
|
|
262
262
|
|
|
263
263
|
Keyword Args:
|
|
@@ -291,14 +291,14 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
291
291
|
Animal class but this time we won't travel
|
|
292
292
|
through its discriminator because we passed in
|
|
293
293
|
_visited_composed_classes = (Animal,)
|
|
294
|
-
name (str): A short product name.. [optional] # noqa: E501
|
|
295
|
-
global_category_id (str): The global category Id.. [optional] # noqa: E501
|
|
296
294
|
category (str): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
|
|
295
|
+
global_category_id (str): The global category Id.. [optional] # noqa: E501
|
|
296
|
+
gtin (str, none_type): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
|
|
297
|
+
image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
|
|
298
|
+
mpn (str, none_type): The MPN for the product if available.. [optional] # noqa: E501
|
|
299
|
+
name (str): A short product name.. [optional] # noqa: E501
|
|
297
300
|
retailer_brand_id (str): The retailer brand id associated to the product.. [optional] # noqa: E501
|
|
298
301
|
retailer_brand_name (str): The name of the retailer brand.. [optional] # noqa: E501
|
|
299
|
-
gtin (str): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
|
|
300
|
-
mpn (str): The MPN for the product if available.. [optional] # noqa: E501
|
|
301
|
-
image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
|
|
302
302
|
"""
|
|
303
303
|
|
|
304
304
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -331,8 +331,8 @@ class SkuSlimDataPreview(ModelNormal):
|
|
|
331
331
|
self.category_id = category_id
|
|
332
332
|
self.global_brand_id = global_brand_id
|
|
333
333
|
self.global_brand_name = global_brand_name
|
|
334
|
-
self.price = price
|
|
335
334
|
self.is_in_stock = is_in_stock
|
|
335
|
+
self.price = price
|
|
336
336
|
self.updated_at = updated_at
|
|
337
337
|
for var_name, var_value in kwargs.items():
|
|
338
338
|
if var_name not in self.attribute_map and \
|