criteo-api-retailmedia-sdk 2025.1.0.250317__py3-none-any.whl → 2025.1.0.251112__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.
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/METADATA +4 -4
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/RECORD +184 -183
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2025_01/__init__.py +1 -1
- criteo_api_retailmedia_v2025_01/api/accounts_api.py +10 -15
- criteo_api_retailmedia_v2025_01/api/analytics_api.py +10 -30
- criteo_api_retailmedia_v2025_01/api/audience_api.py +165 -193
- criteo_api_retailmedia_v2025_01/api/balance_api.py +261 -265
- criteo_api_retailmedia_v2025_01/api/campaign_api.py +1571 -1569
- criteo_api_retailmedia_v2025_01/api_client.py +1 -1
- criteo_api_retailmedia_v2025_01/configuration.py +1 -1
- criteo_api_retailmedia_v2025_01/model/add_funds_to_balance_v2.py +7 -7
- criteo_api_retailmedia_v2025_01/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/{external_add_to_basket_ids_update_model202110.py → add_to_basket_ids_update_model202110.py} +7 -7
- criteo_api_retailmedia_v2025_01/model/{external_add_to_basket_target202110.py → add_to_basket_target202110.py} +7 -7
- criteo_api_retailmedia_v2025_01/model/add_to_basket_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/asset.py +0 -4
- criteo_api_retailmedia_v2025_01/model/asset_response.py +5 -9
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py +104 -79
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/async_line_items_report.py +104 -79
- criteo_api_retailmedia_v2025_01/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/async_report_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/async_revenue_report.py +145 -103
- criteo_api_retailmedia_v2025_01/model/async_revenue_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/{external_auction_line_item.py → auction_line_item.py} +43 -49
- criteo_api_retailmedia_v2025_01/model/{external_auction_line_item_create_model.py → auction_line_item_create_model.py} +33 -33
- criteo_api_retailmedia_v2025_01/model/auction_line_item_paged_list_response.py +14 -14
- criteo_api_retailmedia_v2025_01/model/auction_line_item_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/{external_auction_line_item_update_model.py → auction_line_item_update_model.py} +26 -26
- criteo_api_retailmedia_v2025_01/model/audience_error.py +16 -16
- criteo_api_retailmedia_v2025_01/model/{external_audience_ids_update_model202110.py → audience_ids_update_model202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/{external_audience_target202110.py → audience_target202110.py} +11 -11
- criteo_api_retailmedia_v2025_01/model/audience_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/audience_warning.py +22 -22
- criteo_api_retailmedia_v2025_01/model/balance_campaign202110_paged_list_response.py +14 -14
- criteo_api_retailmedia_v2025_01/model/balance_history_change_data_capture_v1.py +14 -14
- criteo_api_retailmedia_v2025_01/model/balance_response_v2.py +45 -45
- criteo_api_retailmedia_v2025_01/model/{paged_resource_collection_outcome_of_balance_response_v2.py → balance_response_v2_paged_list_response.py} +12 -12
- criteo_api_retailmedia_v2025_01/model/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py +59 -63
- criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_01/model/campaign_v202301.py +84 -94
- criteo_api_retailmedia_v2025_01/model/category202204.py +8 -8
- criteo_api_retailmedia_v2025_01/model/category202204_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/change_dates_of_balance_v2.py +10 -10
- criteo_api_retailmedia_v2025_01/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/common_error.py +18 -18
- criteo_api_retailmedia_v2025_01/model/{external_common_line_item.py → common_line_item.py} +37 -39
- criteo_api_retailmedia_v2025_01/model/common_line_item_paged_list_response.py +14 -14
- criteo_api_retailmedia_v2025_01/model/common_line_item_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/common_problem.py +20 -20
- criteo_api_retailmedia_v2025_01/model/common_warning.py +18 -18
- criteo_api_retailmedia_v2025_01/model/create_balance_v2.py +15 -15
- criteo_api_retailmedia_v2025_01/model/creative2.py +50 -50
- criteo_api_retailmedia_v2025_01/model/creative202110.py +16 -12
- criteo_api_retailmedia_v2025_01/model/creative202110_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative202210.py +40 -36
- criteo_api_retailmedia_v2025_01/model/creative202210_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative2_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/daily_line_item_budget_override.py +4 -4
- criteo_api_retailmedia_v2025_01/model/editable_campaign_attributes_v202301.py +35 -39
- criteo_api_retailmedia_v2025_01/model/entity_resource_of_retail_media_account.py +4 -4
- criteo_api_retailmedia_v2025_01/model/entity_resource_outcome_of_retail_media_account.py +5 -5
- criteo_api_retailmedia_v2025_01/model/external_account.py +18 -18
- criteo_api_retailmedia_v2025_01/model/external_catalog_request.py +4 -4
- criteo_api_retailmedia_v2025_01/model/external_catalog_status.py +20 -20
- criteo_api_retailmedia_v2025_01/model/external_retail_media_account.py +22 -22
- criteo_api_retailmedia_v2025_01/model/external_retail_media_brand_account_creation.py +8 -8
- criteo_api_retailmedia_v2025_01/model/external_retail_media_seller.py +8 -8
- criteo_api_retailmedia_v2025_01/model/external_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/files_variable_value.py +0 -3
- criteo_api_retailmedia_v2025_01/model/files_variables_specification.py +4 -4
- criteo_api_retailmedia_v2025_01/model/grant_consent_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/grant_consent_model_value_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/input_resource_of_auction_line_item_create_model.py +6 -6
- criteo_api_retailmedia_v2025_01/model/input_resource_of_preferred_line_item_create_model_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/{json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py → json_api_body_with_line_item_bid_multipliers_v2.py} +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_account.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_brand.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_campaign_v202301.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_retailer.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +5 -5
- criteo_api_retailmedia_v2025_01/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_v2025_01/model/{external_keyword_target202110.py → keyword_target202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/keyword_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/keywords.py +18 -18
- criteo_api_retailmedia_v2025_01/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_v2025_01/model/{external_line_item_bid_multipliers_v2.py → line_item_bid_multipliers_v2.py} +31 -31
- criteo_api_retailmedia_v2025_01/model/line_item_bid_multipliers_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/line_item_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_01/model/{external_line_item_capping_v2.py → line_item_capping_v2.py} +12 -12
- criteo_api_retailmedia_v2025_01/model/{external_line_item_page_category_v2.py → line_item_page_category_v2.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/{external_line_item_page_v2.py → line_item_page_v2.py} +12 -12
- criteo_api_retailmedia_v2025_01/model/metadata.py +8 -8
- criteo_api_retailmedia_v2025_01/model/nillable_decimal.py +263 -0
- criteo_api_retailmedia_v2025_01/model/page_metadata.py +16 -16
- criteo_api_retailmedia_v2025_01/model/page_of_balance_history_change_data_capture_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/page_type_environment2.py +14 -14
- criteo_api_retailmedia_v2025_01/model/page_type_environment202210.py +14 -14
- criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_create_model_v2.py → preferred_line_item_create_model_v2.py} +37 -37
- criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_update_model_v2.py → preferred_line_item_update_model_v2.py} +30 -30
- criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_v2.py → preferred_line_item_v2.py} +55 -57
- criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/problem_details.py +20 -20
- criteo_api_retailmedia_v2025_01/model/product_metadata.py +8 -8
- criteo_api_retailmedia_v2025_01/model/promoted_product.py +4 -4
- criteo_api_retailmedia_v2025_01/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item_update_model.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_balance_campaign202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_common_line_item.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_line_item_bid_multipliers_v2.py +5 -5
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_update_model_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_attributes.py +8 -8
- criteo_api_retailmedia_v2025_01/model/rm_algebra_node_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1.py +20 -20
- criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1.py +10 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1.py +30 -30
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_update_entity_v1.py +14 -8
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_create_v1.py +1 -0
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_v1.py +5 -4
- criteo_api_retailmedia_v2025_01/model/rm_events_create_v1.py +311 -0
- criteo_api_retailmedia_v2025_01/model/{report_outcome.py → rm_events_update_v1.py} +45 -15
- criteo_api_retailmedia_v2025_01/model/rm_events_v1.py +23 -23
- criteo_api_retailmedia_v2025_01/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_v2025_01/model/sdk_api_rest_common_problem.py +16 -16
- criteo_api_retailmedia_v2025_01/model/section.py +4 -4
- criteo_api_retailmedia_v2025_01/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_v2025_01/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/status_response.py +20 -20
- criteo_api_retailmedia_v2025_01/model/{external_store_ids_update_model202110.py → store_ids_update_model202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/{external_store_target202110.py → store_target202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/store_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/template.py +24 -24
- criteo_api_retailmedia_v2025_01/model/template_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/template_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/template_variable.py +4 -4
- criteo_api_retailmedia_v2025_01/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_v2025_01/model/update_balance_model_v2.py +8 -8
- criteo_api_retailmedia_v2025_01/model/value_resource_collection_outcome_of_retail_media_seller.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_of_campaign_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_line_item_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_recommended_keywords_result.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brand_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brands.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_campaign_budget_overrides.py +10 -10
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_line_item_budget_overrides.py +10 -10
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_recommended_keywords_result.py +10 -10
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_retail_media_brands.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_ids_update_model202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_keyword_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_ids_update_model202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/video_variable_value.py +16 -16
- criteo_api_retailmedia_v2025_01/models/__init__.py +23 -22
- criteo_api_retailmedia_v2025_01/model/error_code_response.py +0 -281
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/top_level.txt +0 -0
|
@@ -86,14 +86,14 @@ class SdkApiRestCommonProblem(ModelNormal):
|
|
|
86
86
|
and the value is attribute type.
|
|
87
87
|
"""
|
|
88
88
|
return {
|
|
89
|
-
'trace_id': (str, none_type,), # noqa: E501
|
|
90
|
-
'type': (str, none_type,), # noqa: E501
|
|
91
89
|
'code': (str, none_type,), # noqa: E501
|
|
92
|
-
'instance': (str, none_type,), # noqa: E501
|
|
93
|
-
'title': (str, none_type,), # noqa: E501
|
|
94
90
|
'detail': (str, none_type,), # noqa: E501
|
|
91
|
+
'instance': (str, none_type,), # noqa: E501
|
|
95
92
|
'source': ({str: (str,)}, none_type,), # noqa: E501
|
|
96
93
|
'stack_trace': (str, none_type,), # noqa: E501
|
|
94
|
+
'title': (str, none_type,), # noqa: E501
|
|
95
|
+
'trace_id': (str, none_type,), # noqa: E501
|
|
96
|
+
'type': (str, none_type,), # noqa: E501
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
@cached_property
|
|
@@ -102,14 +102,14 @@ class SdkApiRestCommonProblem(ModelNormal):
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
attribute_map = {
|
|
105
|
-
'trace_id': 'traceId', # noqa: E501
|
|
106
|
-
'type': 'type', # noqa: E501
|
|
107
105
|
'code': 'code', # noqa: E501
|
|
108
|
-
'instance': 'instance', # noqa: E501
|
|
109
|
-
'title': 'title', # noqa: E501
|
|
110
106
|
'detail': 'detail', # noqa: E501
|
|
107
|
+
'instance': 'instance', # noqa: E501
|
|
111
108
|
'source': 'source', # noqa: E501
|
|
112
109
|
'stack_trace': 'stackTrace', # noqa: E501
|
|
110
|
+
'title': 'title', # noqa: E501
|
|
111
|
+
'trace_id': 'traceId', # noqa: E501
|
|
112
|
+
'type': 'type', # noqa: E501
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
read_only_vars = {
|
|
@@ -153,14 +153,14 @@ class SdkApiRestCommonProblem(ModelNormal):
|
|
|
153
153
|
Animal class but this time we won't travel
|
|
154
154
|
through its discriminator because we passed in
|
|
155
155
|
_visited_composed_classes = (Animal,)
|
|
156
|
-
trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
|
|
157
|
-
type (str, none_type): The problem's category.. [optional] # noqa: E501
|
|
158
156
|
code (str, none_type): A machine-readable error code, expressed as a string value.. [optional] # noqa: E501
|
|
159
|
-
instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
|
|
160
|
-
title (str, none_type): A short human-readable description of the problem type.. [optional] # noqa: E501
|
|
161
157
|
detail (str, none_type): A human-readable explanation specific to this occurrence of the problem.. [optional] # noqa: E501
|
|
158
|
+
instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
|
|
162
159
|
source ({str: (str,)}, none_type): A machine-readable structure to reference to the exact location(s) causing the error(s).. [optional] # noqa: E501
|
|
163
160
|
stack_trace (str, none_type): . [optional] # noqa: E501
|
|
161
|
+
title (str, none_type): A short human-readable description of the problem type.. [optional] # noqa: E501
|
|
162
|
+
trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
|
|
163
|
+
type (str, none_type): The problem's category.. [optional] # noqa: E501
|
|
164
164
|
"""
|
|
165
165
|
|
|
166
166
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -246,14 +246,14 @@ class SdkApiRestCommonProblem(ModelNormal):
|
|
|
246
246
|
Animal class but this time we won't travel
|
|
247
247
|
through its discriminator because we passed in
|
|
248
248
|
_visited_composed_classes = (Animal,)
|
|
249
|
-
trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
|
|
250
|
-
type (str, none_type): The problem's category.. [optional] # noqa: E501
|
|
251
249
|
code (str, none_type): A machine-readable error code, expressed as a string value.. [optional] # noqa: E501
|
|
252
|
-
instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
|
|
253
|
-
title (str, none_type): A short human-readable description of the problem type.. [optional] # noqa: E501
|
|
254
250
|
detail (str, none_type): A human-readable explanation specific to this occurrence of the problem.. [optional] # noqa: E501
|
|
251
|
+
instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
|
|
255
252
|
source ({str: (str,)}, none_type): A machine-readable structure to reference to the exact location(s) causing the error(s).. [optional] # noqa: E501
|
|
256
253
|
stack_trace (str, none_type): . [optional] # noqa: E501
|
|
254
|
+
title (str, none_type): A short human-readable description of the problem type.. [optional] # noqa: E501
|
|
255
|
+
trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
|
|
256
|
+
type (str, none_type): The problem's category.. [optional] # noqa: E501
|
|
257
257
|
"""
|
|
258
258
|
|
|
259
259
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -81,8 +81,8 @@ class Section(ModelNormal):
|
|
|
81
81
|
lazy_import()
|
|
82
82
|
return {
|
|
83
83
|
'template_variables': ([TemplateVariable],), # noqa: E501
|
|
84
|
-
'title': (str, none_type,), # noqa: E501
|
|
85
84
|
'description': (str, none_type,), # noqa: E501
|
|
85
|
+
'title': (str, none_type,), # noqa: E501
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
@cached_property
|
|
@@ -92,8 +92,8 @@ class Section(ModelNormal):
|
|
|
92
92
|
|
|
93
93
|
attribute_map = {
|
|
94
94
|
'template_variables': 'templateVariables', # noqa: E501
|
|
95
|
-
'title': 'title', # noqa: E501
|
|
96
95
|
'description': 'description', # noqa: E501
|
|
96
|
+
'title': 'title', # noqa: E501
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
read_only_vars = {
|
|
@@ -140,8 +140,8 @@ class Section(ModelNormal):
|
|
|
140
140
|
Animal class but this time we won't travel
|
|
141
141
|
through its discriminator because we passed in
|
|
142
142
|
_visited_composed_classes = (Animal,)
|
|
143
|
-
title (str, none_type): [optional] # noqa: E501
|
|
144
143
|
description (str, none_type): [optional] # noqa: E501
|
|
144
|
+
title (str, none_type): [optional] # noqa: E501
|
|
145
145
|
"""
|
|
146
146
|
|
|
147
147
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -231,8 +231,8 @@ class Section(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
|
-
title (str, none_type): [optional] # noqa: E501
|
|
235
234
|
description (str, none_type): [optional] # noqa: E501
|
|
235
|
+
title (str, none_type): [optional] # noqa: E501
|
|
236
236
|
"""
|
|
237
237
|
|
|
238
238
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -79,8 +79,8 @@ class SetBidModel(ModelNormal):
|
|
|
79
79
|
and the value is attribute type.
|
|
80
80
|
"""
|
|
81
81
|
return {
|
|
82
|
-
'phrase': (str, none_type,), # noqa: E501
|
|
83
82
|
'bid': (float, none_type,), # noqa: E501
|
|
83
|
+
'phrase': (str, none_type,), # noqa: E501
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
@cached_property
|
|
@@ -89,8 +89,8 @@ class SetBidModel(ModelNormal):
|
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
attribute_map = {
|
|
92
|
-
'phrase': 'phrase', # noqa: E501
|
|
93
92
|
'bid': 'bid', # noqa: E501
|
|
93
|
+
'phrase': 'phrase', # noqa: E501
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
read_only_vars = {
|
|
@@ -134,8 +134,8 @@ class SetBidModel(ModelNormal):
|
|
|
134
134
|
Animal class but this time we won't travel
|
|
135
135
|
through its discriminator because we passed in
|
|
136
136
|
_visited_composed_classes = (Animal,)
|
|
137
|
-
phrase (str, none_type): [optional] # noqa: E501
|
|
138
137
|
bid (float, none_type): [optional] # noqa: E501
|
|
138
|
+
phrase (str, none_type): [optional] # noqa: E501
|
|
139
139
|
"""
|
|
140
140
|
|
|
141
141
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -221,8 +221,8 @@ class SetBidModel(ModelNormal):
|
|
|
221
221
|
Animal class but this time we won't travel
|
|
222
222
|
through its discriminator because we passed in
|
|
223
223
|
_visited_composed_classes = (Animal,)
|
|
224
|
-
phrase (str, none_type): [optional] # noqa: E501
|
|
225
224
|
bid (float, none_type): [optional] # noqa: E501
|
|
225
|
+
phrase (str, none_type): [optional] # noqa: E501
|
|
226
226
|
"""
|
|
227
227
|
|
|
228
228
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -80,9 +80,9 @@ class SetBidsModelResource(ModelNormal):
|
|
|
80
80
|
"""
|
|
81
81
|
lazy_import()
|
|
82
82
|
return {
|
|
83
|
+
'attributes': (SetBidsModel,), # noqa: E501
|
|
83
84
|
'id': (str, none_type,), # noqa: E501
|
|
84
85
|
'type': (str, none_type,), # noqa: E501
|
|
85
|
-
'attributes': (SetBidsModel,), # noqa: E501
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
@cached_property
|
|
@@ -91,9 +91,9 @@ class SetBidsModelResource(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 SetBidsModelResource(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 (SetBidsModel): [optional] # noqa: E501
|
|
140
141
|
id (str, none_type): [optional] # noqa: E501
|
|
141
142
|
type (str, none_type): [optional] # noqa: E501
|
|
142
|
-
attributes (SetBidsModel): [optional] # noqa: E501
|
|
143
143
|
"""
|
|
144
144
|
|
|
145
145
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -225,9 +225,9 @@ class SetBidsModelResource(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 (SetBidsModel): [optional] # noqa: E501
|
|
228
229
|
id (str, none_type): [optional] # noqa: E501
|
|
229
230
|
type (str, none_type): [optional] # noqa: E501
|
|
230
|
-
attributes (SetBidsModel): [optional] # noqa: E501
|
|
231
231
|
"""
|
|
232
232
|
|
|
233
233
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -88,14 +88,14 @@ class StatusResponse(ModelNormal):
|
|
|
88
88
|
and the value is attribute type.
|
|
89
89
|
"""
|
|
90
90
|
return {
|
|
91
|
-
'status': (str, none_type,), # noqa: E501
|
|
92
|
-
'row_count': (int, none_type,), # noqa: E501
|
|
93
|
-
'file_size_bytes': (int, none_type,), # noqa: E501
|
|
94
|
-
'md5_check_sum': (str, none_type,), # noqa: E501
|
|
95
91
|
'created_at': (str, none_type,), # noqa: E501
|
|
96
92
|
'expires_at': (str, none_type,), # noqa: E501
|
|
97
|
-
'
|
|
93
|
+
'file_size_bytes': (int, none_type,), # noqa: E501
|
|
98
94
|
'id': (str, none_type,), # noqa: E501
|
|
95
|
+
'md5_check_sum': (str, none_type,), # noqa: E501
|
|
96
|
+
'message': (str, none_type,), # noqa: E501
|
|
97
|
+
'row_count': (int, none_type,), # noqa: E501
|
|
98
|
+
'status': (str, none_type,), # noqa: E501
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
@cached_property
|
|
@@ -104,14 +104,14 @@ class StatusResponse(ModelNormal):
|
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
attribute_map = {
|
|
107
|
-
'status': 'status', # noqa: E501
|
|
108
|
-
'row_count': 'rowCount', # noqa: E501
|
|
109
|
-
'file_size_bytes': 'fileSizeBytes', # noqa: E501
|
|
110
|
-
'md5_check_sum': 'md5CheckSum', # noqa: E501
|
|
111
107
|
'created_at': 'createdAt', # noqa: E501
|
|
112
108
|
'expires_at': 'expiresAt', # noqa: E501
|
|
113
|
-
'
|
|
109
|
+
'file_size_bytes': 'fileSizeBytes', # noqa: E501
|
|
114
110
|
'id': 'id', # noqa: E501
|
|
111
|
+
'md5_check_sum': 'md5CheckSum', # noqa: E501
|
|
112
|
+
'message': 'message', # noqa: E501
|
|
113
|
+
'row_count': 'rowCount', # noqa: E501
|
|
114
|
+
'status': 'status', # noqa: E501
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
read_only_vars = {
|
|
@@ -155,14 +155,14 @@ class StatusResponse(ModelNormal):
|
|
|
155
155
|
Animal class but this time we won't travel
|
|
156
156
|
through its discriminator because we passed in
|
|
157
157
|
_visited_composed_classes = (Animal,)
|
|
158
|
-
status (str, none_type): [optional] # noqa: E501
|
|
159
|
-
row_count (int, none_type): [optional] # noqa: E501
|
|
160
|
-
file_size_bytes (int, none_type): [optional] # noqa: E501
|
|
161
|
-
md5_check_sum (str, none_type): [optional] # noqa: E501
|
|
162
158
|
created_at (str, none_type): [optional] # noqa: E501
|
|
163
159
|
expires_at (str, none_type): [optional] # noqa: E501
|
|
164
|
-
|
|
160
|
+
file_size_bytes (int, none_type): [optional] # noqa: E501
|
|
165
161
|
id (str, none_type): [optional] # noqa: E501
|
|
162
|
+
md5_check_sum (str, none_type): [optional] # noqa: E501
|
|
163
|
+
message (str, none_type): [optional] # noqa: E501
|
|
164
|
+
row_count (int, none_type): [optional] # noqa: E501
|
|
165
|
+
status (str, none_type): [optional] # noqa: E501
|
|
166
166
|
"""
|
|
167
167
|
|
|
168
168
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -248,14 +248,14 @@ class StatusResponse(ModelNormal):
|
|
|
248
248
|
Animal class but this time we won't travel
|
|
249
249
|
through its discriminator because we passed in
|
|
250
250
|
_visited_composed_classes = (Animal,)
|
|
251
|
-
status (str, none_type): [optional] # noqa: E501
|
|
252
|
-
row_count (int, none_type): [optional] # noqa: E501
|
|
253
|
-
file_size_bytes (int, none_type): [optional] # noqa: E501
|
|
254
|
-
md5_check_sum (str, none_type): [optional] # noqa: E501
|
|
255
251
|
created_at (str, none_type): [optional] # noqa: E501
|
|
256
252
|
expires_at (str, none_type): [optional] # noqa: E501
|
|
257
|
-
|
|
253
|
+
file_size_bytes (int, none_type): [optional] # noqa: E501
|
|
258
254
|
id (str, none_type): [optional] # noqa: E501
|
|
255
|
+
md5_check_sum (str, none_type): [optional] # noqa: E501
|
|
256
|
+
message (str, none_type): [optional] # noqa: E501
|
|
257
|
+
row_count (int, none_type): [optional] # noqa: E501
|
|
258
|
+
status (str, none_type): [optional] # noqa: E501
|
|
259
259
|
"""
|
|
260
260
|
|
|
261
261
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class StoreIdsUpdateModel202110(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -101,7 +101,7 @@ class ExternalStoreIdsUpdateModel202110(ModelNormal):
|
|
|
101
101
|
@classmethod
|
|
102
102
|
@convert_js_args_to_python_args
|
|
103
103
|
def _from_openapi_data(cls, store_ids, *args, **kwargs): # noqa: E501
|
|
104
|
-
"""
|
|
104
|
+
"""StoreIdsUpdateModel202110 - a model defined in OpenAPI
|
|
105
105
|
|
|
106
106
|
Args:
|
|
107
107
|
store_ids ([str]): Store ids that should be targeted
|
|
@@ -190,7 +190,7 @@ class ExternalStoreIdsUpdateModel202110(ModelNormal):
|
|
|
190
190
|
|
|
191
191
|
@convert_js_args_to_python_args
|
|
192
192
|
def __init__(self, store_ids, *args, **kwargs): # noqa: E501
|
|
193
|
-
"""
|
|
193
|
+
"""StoreIdsUpdateModel202110 - a model defined in OpenAPI
|
|
194
194
|
|
|
195
195
|
Args:
|
|
196
196
|
store_ids ([str]): Store ids that should be targeted
|
criteo_api_retailmedia_v2025_01/model/{external_store_target202110.py → store_target202110.py}
RENAMED
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class StoreTarget202110(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -108,7 +108,7 @@ class ExternalStoreTarget202110(ModelNormal):
|
|
|
108
108
|
@classmethod
|
|
109
109
|
@convert_js_args_to_python_args
|
|
110
110
|
def _from_openapi_data(cls, scope, store_ids, *args, **kwargs): # noqa: E501
|
|
111
|
-
"""
|
|
111
|
+
"""StoreTarget202110 - a model defined in OpenAPI
|
|
112
112
|
|
|
113
113
|
Args:
|
|
114
114
|
scope (str): Scope of the store target
|
|
@@ -199,7 +199,7 @@ class ExternalStoreTarget202110(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, scope, store_ids, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""StoreTarget202110 - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Args:
|
|
205
205
|
scope (str): Scope of the store target
|
|
@@ -30,9 +30,9 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2025_01.model.
|
|
33
|
+
from criteo_api_retailmedia_v2025_01.model.common_problem import CommonProblem
|
|
34
34
|
from criteo_api_retailmedia_v2025_01.model.value_type_resource_of_store_target202110 import ValueTypeResourceOfStoreTarget202110
|
|
35
|
-
globals()['
|
|
35
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
36
|
globals()['ValueTypeResourceOfStoreTarget202110'] = ValueTypeResourceOfStoreTarget202110
|
|
37
37
|
|
|
38
38
|
|
|
@@ -90,8 +90,8 @@ class StoreTarget202110Response(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': (ValueTypeResourceOfStoreTarget202110,), # noqa: E501
|
|
93
|
-
'
|
|
94
|
-
'
|
|
93
|
+
'errors': ([CommonProblem],), # noqa: E501
|
|
94
|
+
'warnings': ([CommonProblem],), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class StoreTarget202110Response(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 StoreTarget202110Response(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data (ValueTypeResourceOfStoreTarget202110): [optional] # noqa: E501
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
errors ([CommonProblem]): [optional] # noqa: E501
|
|
153
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class StoreTarget202110Response(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data (ValueTypeResourceOfStoreTarget202110): [optional] # noqa: E501
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
errors ([CommonProblem]): [optional] # noqa: E501
|
|
241
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -92,17 +92,17 @@ class Template(ModelNormal):
|
|
|
92
92
|
"""
|
|
93
93
|
lazy_import()
|
|
94
94
|
return {
|
|
95
|
+
'all_collections_mandatory': (bool,), # noqa: E501
|
|
96
|
+
'created_at': (datetime,), # noqa: E501
|
|
95
97
|
'creative_format': (str,), # noqa: E501
|
|
96
98
|
'name': (str,), # noqa: E501
|
|
99
|
+
'sections': ([Section],), # noqa: E501
|
|
97
100
|
'sku_collection_min': (int,), # noqa: E501
|
|
98
101
|
'sku_per_collection_min': (int,), # noqa: E501
|
|
99
|
-
'all_collections_mandatory': (bool,), # noqa: E501
|
|
100
|
-
'created_at': (datetime,), # noqa: E501
|
|
101
102
|
'updated_at': (datetime,), # noqa: E501
|
|
102
|
-
'
|
|
103
|
+
'displayable_skus_max': (int, none_type,), # noqa: E501
|
|
103
104
|
'sku_collection_max': (int, none_type,), # noqa: E501
|
|
104
105
|
'sku_per_collection_max': (int, none_type,), # noqa: E501
|
|
105
|
-
'displayable_skus_max': (int, none_type,), # noqa: E501
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
@cached_property
|
|
@@ -111,17 +111,17 @@ class Template(ModelNormal):
|
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
attribute_map = {
|
|
114
|
+
'all_collections_mandatory': 'allCollectionsMandatory', # noqa: E501
|
|
115
|
+
'created_at': 'createdAt', # noqa: E501
|
|
114
116
|
'creative_format': 'creativeFormat', # noqa: E501
|
|
115
117
|
'name': 'name', # noqa: E501
|
|
118
|
+
'sections': 'sections', # noqa: E501
|
|
116
119
|
'sku_collection_min': 'skuCollectionMin', # noqa: E501
|
|
117
120
|
'sku_per_collection_min': 'skuPerCollectionMin', # noqa: E501
|
|
118
|
-
'all_collections_mandatory': 'allCollectionsMandatory', # noqa: E501
|
|
119
|
-
'created_at': 'createdAt', # noqa: E501
|
|
120
121
|
'updated_at': 'updatedAt', # noqa: E501
|
|
121
|
-
'
|
|
122
|
+
'displayable_skus_max': 'displayableSkusMax', # noqa: E501
|
|
122
123
|
'sku_collection_max': 'skuCollectionMax', # noqa: E501
|
|
123
124
|
'sku_per_collection_max': 'skuPerCollectionMax', # noqa: E501
|
|
124
|
-
'displayable_skus_max': 'displayableSkusMax', # noqa: E501
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
read_only_vars = {
|
|
@@ -131,18 +131,18 @@ class Template(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, all_collections_mandatory, created_at, creative_format, name, sections, sku_collection_min, sku_per_collection_min, updated_at, *args, **kwargs): # noqa: E501
|
|
135
135
|
"""Template - a model defined in OpenAPI
|
|
136
136
|
|
|
137
137
|
Args:
|
|
138
|
+
all_collections_mandatory (bool): Marks whether or not all collections are mandatory
|
|
139
|
+
created_at (datetime): The time at which the template was created
|
|
138
140
|
creative_format (str): The kind of creative this template can be used to build.
|
|
139
141
|
name (str): The name of the template
|
|
142
|
+
sections ([Section]): The sections holding various template variables
|
|
140
143
|
sku_collection_min (int): Minimum number of skus in the collection
|
|
141
144
|
sku_per_collection_min (int): Minimum number of skus per collection
|
|
142
|
-
all_collections_mandatory (bool): Marks whether or not all collections are mandatory
|
|
143
|
-
created_at (datetime): The time at which the template was created
|
|
144
145
|
updated_at (datetime): The time at which the template was updated
|
|
145
|
-
sections ([Section]): The sections holding various template variables
|
|
146
146
|
|
|
147
147
|
Keyword Args:
|
|
148
148
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -175,9 +175,9 @@ class Template(ModelNormal):
|
|
|
175
175
|
Animal class but this time we won't travel
|
|
176
176
|
through its discriminator because we passed in
|
|
177
177
|
_visited_composed_classes = (Animal,)
|
|
178
|
+
displayable_skus_max (int, none_type): Maximum number of displayable skus. [optional] # noqa: E501
|
|
178
179
|
sku_collection_max (int, none_type): Maximum number of skus in the collection. [optional] # noqa: E501
|
|
179
180
|
sku_per_collection_max (int, none_type): Maximum number of skus per collection. [optional] # noqa: E501
|
|
180
|
-
displayable_skus_max (int, none_type): Maximum number of displayable skus. [optional] # noqa: E501
|
|
181
181
|
"""
|
|
182
182
|
|
|
183
183
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -209,14 +209,14 @@ class Template(ModelNormal):
|
|
|
209
209
|
self._configuration = _configuration
|
|
210
210
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
211
211
|
|
|
212
|
+
self.all_collections_mandatory = all_collections_mandatory
|
|
213
|
+
self.created_at = created_at
|
|
212
214
|
self.creative_format = creative_format
|
|
213
215
|
self.name = name
|
|
216
|
+
self.sections = sections
|
|
214
217
|
self.sku_collection_min = sku_collection_min
|
|
215
218
|
self.sku_per_collection_min = sku_per_collection_min
|
|
216
|
-
self.all_collections_mandatory = all_collections_mandatory
|
|
217
|
-
self.created_at = created_at
|
|
218
219
|
self.updated_at = updated_at
|
|
219
|
-
self.sections = sections
|
|
220
220
|
for var_name, var_value in kwargs.items():
|
|
221
221
|
if var_name not in self.attribute_map and \
|
|
222
222
|
self._configuration is not None and \
|
|
@@ -237,18 +237,18 @@ class Template(ModelNormal):
|
|
|
237
237
|
])
|
|
238
238
|
|
|
239
239
|
@convert_js_args_to_python_args
|
|
240
|
-
def __init__(self,
|
|
240
|
+
def __init__(self, all_collections_mandatory, created_at, creative_format, name, sections, sku_collection_min, sku_per_collection_min, updated_at, *args, **kwargs): # noqa: E501
|
|
241
241
|
"""Template - a model defined in OpenAPI
|
|
242
242
|
|
|
243
243
|
Args:
|
|
244
|
+
all_collections_mandatory (bool): Marks whether or not all collections are mandatory
|
|
245
|
+
created_at (datetime): The time at which the template was created
|
|
244
246
|
creative_format (str): The kind of creative this template can be used to build.
|
|
245
247
|
name (str): The name of the template
|
|
248
|
+
sections ([Section]): The sections holding various template variables
|
|
246
249
|
sku_collection_min (int): Minimum number of skus in the collection
|
|
247
250
|
sku_per_collection_min (int): Minimum number of skus per collection
|
|
248
|
-
all_collections_mandatory (bool): Marks whether or not all collections are mandatory
|
|
249
|
-
created_at (datetime): The time at which the template was created
|
|
250
251
|
updated_at (datetime): The time at which the template was updated
|
|
251
|
-
sections ([Section]): The sections holding various template variables
|
|
252
252
|
|
|
253
253
|
Keyword Args:
|
|
254
254
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -281,9 +281,9 @@ class Template(ModelNormal):
|
|
|
281
281
|
Animal class but this time we won't travel
|
|
282
282
|
through its discriminator because we passed in
|
|
283
283
|
_visited_composed_classes = (Animal,)
|
|
284
|
+
displayable_skus_max (int, none_type): Maximum number of displayable skus. [optional] # noqa: E501
|
|
284
285
|
sku_collection_max (int, none_type): Maximum number of skus in the collection. [optional] # noqa: E501
|
|
285
286
|
sku_per_collection_max (int, none_type): Maximum number of skus per collection. [optional] # noqa: E501
|
|
286
|
-
displayable_skus_max (int, none_type): Maximum number of displayable skus. [optional] # noqa: E501
|
|
287
287
|
"""
|
|
288
288
|
|
|
289
289
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -313,14 +313,14 @@ class Template(ModelNormal):
|
|
|
313
313
|
self._configuration = _configuration
|
|
314
314
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
315
315
|
|
|
316
|
+
self.all_collections_mandatory = all_collections_mandatory
|
|
317
|
+
self.created_at = created_at
|
|
316
318
|
self.creative_format = creative_format
|
|
317
319
|
self.name = name
|
|
320
|
+
self.sections = sections
|
|
318
321
|
self.sku_collection_min = sku_collection_min
|
|
319
322
|
self.sku_per_collection_min = sku_per_collection_min
|
|
320
|
-
self.all_collections_mandatory = all_collections_mandatory
|
|
321
|
-
self.created_at = created_at
|
|
322
323
|
self.updated_at = updated_at
|
|
323
|
-
self.sections = sections
|
|
324
324
|
for var_name, var_value in kwargs.items():
|
|
325
325
|
if var_name not in self.attribute_map and \
|
|
326
326
|
self._configuration is not None and \
|
|
@@ -83,8 +83,8 @@ class TemplateListResponse(ModelNormal):
|
|
|
83
83
|
lazy_import()
|
|
84
84
|
return {
|
|
85
85
|
'data': ([ResourceOfTemplate], none_type,), # noqa: E501
|
|
86
|
-
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
87
86
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
87
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
@cached_property
|
|
@@ -94,13 +94,13 @@ class TemplateListResponse(ModelNormal):
|
|
|
94
94
|
|
|
95
95
|
attribute_map = {
|
|
96
96
|
'data': 'data', # noqa: E501
|
|
97
|
-
'warnings': 'warnings', # noqa: E501
|
|
98
97
|
'errors': 'errors', # noqa: E501
|
|
98
|
+
'warnings': 'warnings', # noqa: E501
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
read_only_vars = {
|
|
102
|
-
'warnings', # noqa: E501
|
|
103
102
|
'errors', # noqa: E501
|
|
103
|
+
'warnings', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
_composed_schemas = {}
|
|
@@ -142,8 +142,8 @@ class TemplateListResponse(ModelNormal):
|
|
|
142
142
|
through its discriminator because we passed in
|
|
143
143
|
_visited_composed_classes = (Animal,)
|
|
144
144
|
data ([ResourceOfTemplate], none_type): [optional] # noqa: E501
|
|
145
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
146
145
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
146
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -230,8 +230,8 @@ class TemplateListResponse(ModelNormal):
|
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
232
|
data ([ResourceOfTemplate], none_type): [optional] # noqa: E501
|
|
233
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
234
233
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
234
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
235
235
|
"""
|
|
236
236
|
|
|
237
237
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -83,8 +83,8 @@ class TemplateResponse(ModelNormal):
|
|
|
83
83
|
lazy_import()
|
|
84
84
|
return {
|
|
85
85
|
'data': (ResourceOfTemplate,), # noqa: E501
|
|
86
|
-
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
87
86
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
87
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
@cached_property
|
|
@@ -94,13 +94,13 @@ class TemplateResponse(ModelNormal):
|
|
|
94
94
|
|
|
95
95
|
attribute_map = {
|
|
96
96
|
'data': 'data', # noqa: E501
|
|
97
|
-
'warnings': 'warnings', # noqa: E501
|
|
98
97
|
'errors': 'errors', # noqa: E501
|
|
98
|
+
'warnings': 'warnings', # noqa: E501
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
read_only_vars = {
|
|
102
|
-
'warnings', # noqa: E501
|
|
103
102
|
'errors', # noqa: E501
|
|
103
|
+
'warnings', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
_composed_schemas = {}
|
|
@@ -142,8 +142,8 @@ class TemplateResponse(ModelNormal):
|
|
|
142
142
|
through its discriminator because we passed in
|
|
143
143
|
_visited_composed_classes = (Animal,)
|
|
144
144
|
data (ResourceOfTemplate): [optional] # noqa: E501
|
|
145
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
146
145
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
146
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -230,8 +230,8 @@ class TemplateResponse(ModelNormal):
|
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
232
|
data (ResourceOfTemplate): [optional] # noqa: E501
|
|
233
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
234
233
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
234
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
235
235
|
"""
|
|
236
236
|
|
|
237
237
|
_check_type = kwargs.pop('_check_type', True)
|