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
|
@@ -55,18 +55,18 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
-
('type',): {
|
|
59
|
-
'None': None,
|
|
60
|
-
'UNKNOWN': "Unknown",
|
|
61
|
-
'SUPPLY': "Supply",
|
|
62
|
-
'DEMAND': "Demand",
|
|
63
|
-
},
|
|
64
58
|
('sub_type',): {
|
|
65
59
|
'None': None,
|
|
66
60
|
'UNKNOWN': "Unknown",
|
|
67
61
|
'BRAND': "Brand",
|
|
68
62
|
'SELLER': "Seller",
|
|
69
63
|
},
|
|
64
|
+
('type',): {
|
|
65
|
+
'None': None,
|
|
66
|
+
'UNKNOWN': "Unknown",
|
|
67
|
+
'SUPPLY': "Supply",
|
|
68
|
+
'DEMAND': "Demand",
|
|
69
|
+
},
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
validations = {
|
|
@@ -87,15 +87,15 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
87
87
|
and the value is attribute type.
|
|
88
88
|
"""
|
|
89
89
|
return {
|
|
90
|
-
'name': (str, none_type,), # noqa: E501
|
|
91
90
|
'company_name': (str, none_type,), # noqa: E501
|
|
92
|
-
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
93
|
-
'type': (str, none_type,), # noqa: E501
|
|
94
|
-
'sub_type': (str, none_type,), # noqa: E501
|
|
95
91
|
'country_ids': ([str], none_type,), # noqa: E501
|
|
96
92
|
'currency_id': (str, none_type,), # noqa: E501
|
|
93
|
+
'name': (str, none_type,), # noqa: E501
|
|
94
|
+
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
97
95
|
'parent_account_label': (str, none_type,), # noqa: E501
|
|
96
|
+
'sub_type': (str, none_type,), # noqa: E501
|
|
98
97
|
'time_zone': (str, none_type,), # noqa: E501
|
|
98
|
+
'type': (str, none_type,), # noqa: E501
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
@cached_property
|
|
@@ -104,15 +104,15 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
attribute_map = {
|
|
107
|
-
'name': 'name', # noqa: E501
|
|
108
107
|
'company_name': 'companyName', # noqa: E501
|
|
109
|
-
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
110
|
-
'type': 'type', # noqa: E501
|
|
111
|
-
'sub_type': 'subType', # noqa: E501
|
|
112
108
|
'country_ids': 'countryIds', # noqa: E501
|
|
113
109
|
'currency_id': 'currencyId', # noqa: E501
|
|
110
|
+
'name': 'name', # noqa: E501
|
|
111
|
+
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
114
112
|
'parent_account_label': 'parentAccountLabel', # noqa: E501
|
|
113
|
+
'sub_type': 'subType', # noqa: E501
|
|
115
114
|
'time_zone': 'timeZone', # noqa: E501
|
|
115
|
+
'type': 'type', # noqa: E501
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
read_only_vars = {
|
|
@@ -156,15 +156,15 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
156
156
|
Animal class but this time we won't travel
|
|
157
157
|
through its discriminator because we passed in
|
|
158
158
|
_visited_composed_classes = (Animal,)
|
|
159
|
-
name (str, none_type): account name. [optional] # noqa: E501
|
|
160
159
|
company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
161
|
-
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
162
|
-
type (str, none_type): Type for the account. [optional] # noqa: E501
|
|
163
|
-
sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
|
|
164
160
|
country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501
|
|
165
161
|
currency_id (str, none_type): the currency for the account. [optional] # noqa: E501
|
|
162
|
+
name (str, none_type): account name. [optional] # noqa: E501
|
|
163
|
+
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
166
164
|
parent_account_label (str, none_type): parent account label for the account. [optional] # noqa: E501
|
|
165
|
+
sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
|
|
167
166
|
time_zone (str, none_type): the timezone for the account. [optional] # noqa: E501
|
|
167
|
+
type (str, none_type): Type for the account. [optional] # noqa: E501
|
|
168
168
|
"""
|
|
169
169
|
|
|
170
170
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -250,15 +250,15 @@ class ExternalRetailMediaAccount(ModelNormal):
|
|
|
250
250
|
Animal class but this time we won't travel
|
|
251
251
|
through its discriminator because we passed in
|
|
252
252
|
_visited_composed_classes = (Animal,)
|
|
253
|
-
name (str, none_type): account name. [optional] # noqa: E501
|
|
254
253
|
company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
255
|
-
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
256
|
-
type (str, none_type): Type for the account. [optional] # noqa: E501
|
|
257
|
-
sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
|
|
258
254
|
country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501
|
|
259
255
|
currency_id (str, none_type): the currency for the account. [optional] # noqa: E501
|
|
256
|
+
name (str, none_type): account name. [optional] # noqa: E501
|
|
257
|
+
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
260
258
|
parent_account_label (str, none_type): parent account label for the account. [optional] # noqa: E501
|
|
259
|
+
sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
|
|
261
260
|
time_zone (str, none_type): the timezone for the account. [optional] # noqa: E501
|
|
261
|
+
type (str, none_type): Type for the account. [optional] # noqa: E501
|
|
262
262
|
"""
|
|
263
263
|
|
|
264
264
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -75,10 +75,10 @@ class ExternalRetailMediaBrandAccountCreation(ModelNormal):
|
|
|
75
75
|
and the value is attribute type.
|
|
76
76
|
"""
|
|
77
77
|
return {
|
|
78
|
-
'
|
|
78
|
+
'brands': ([int], none_type,), # noqa: E501
|
|
79
79
|
'company_name': (str, none_type,), # noqa: E501
|
|
80
|
+
'name': (str, none_type,), # noqa: E501
|
|
80
81
|
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
81
|
-
'brands': ([int], none_type,), # noqa: E501
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
@cached_property
|
|
@@ -87,10 +87,10 @@ class ExternalRetailMediaBrandAccountCreation(ModelNormal):
|
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
attribute_map = {
|
|
90
|
-
'
|
|
90
|
+
'brands': 'brands', # noqa: E501
|
|
91
91
|
'company_name': 'companyName', # noqa: E501
|
|
92
|
+
'name': 'name', # noqa: E501
|
|
92
93
|
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
93
|
-
'brands': 'brands', # noqa: E501
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
read_only_vars = {
|
|
@@ -134,10 +134,10 @@ class ExternalRetailMediaBrandAccountCreation(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
|
-
|
|
137
|
+
brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501
|
|
138
138
|
company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
|
|
139
|
+
name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
|
|
139
140
|
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
140
|
-
brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501
|
|
141
141
|
"""
|
|
142
142
|
|
|
143
143
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -223,10 +223,10 @@ class ExternalRetailMediaBrandAccountCreation(ModelNormal):
|
|
|
223
223
|
Animal class but this time we won't travel
|
|
224
224
|
through its discriminator because we passed in
|
|
225
225
|
_visited_composed_classes = (Animal,)
|
|
226
|
-
|
|
226
|
+
brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501
|
|
227
227
|
company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
|
|
228
|
+
name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
|
|
228
229
|
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
229
|
-
brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501
|
|
230
230
|
"""
|
|
231
231
|
|
|
232
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -75,8 +75,8 @@ class ExternalRetailMediaSeller(ModelNormal):
|
|
|
75
75
|
and the value is attribute type.
|
|
76
76
|
"""
|
|
77
77
|
return {
|
|
78
|
-
'seller_id': (str,), # noqa: E501
|
|
79
78
|
'retailer_id': (int,), # noqa: E501
|
|
79
|
+
'seller_id': (str,), # noqa: E501
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
@cached_property
|
|
@@ -85,8 +85,8 @@ class ExternalRetailMediaSeller(ModelNormal):
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
attribute_map = {
|
|
88
|
-
'seller_id': 'sellerId', # noqa: E501
|
|
89
88
|
'retailer_id': 'retailerId', # noqa: E501
|
|
89
|
+
'seller_id': 'sellerId', # noqa: E501
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
read_only_vars = {
|
|
@@ -96,12 +96,12 @@ class ExternalRetailMediaSeller(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, retailer_id, seller_id, *args, **kwargs): # noqa: E501
|
|
100
100
|
"""ExternalRetailMediaSeller - a model defined in OpenAPI
|
|
101
101
|
|
|
102
102
|
Args:
|
|
103
|
-
seller_id (str): the seller id
|
|
104
103
|
retailer_id (int): the retailer id
|
|
104
|
+
seller_id (str): the seller 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 ExternalRetailMediaSeller(ModelNormal):
|
|
|
165
165
|
self._configuration = _configuration
|
|
166
166
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
167
167
|
|
|
168
|
-
self.seller_id = seller_id
|
|
169
168
|
self.retailer_id = retailer_id
|
|
169
|
+
self.seller_id = seller_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 ExternalRetailMediaSeller(ModelNormal):
|
|
|
187
187
|
])
|
|
188
188
|
|
|
189
189
|
@convert_js_args_to_python_args
|
|
190
|
-
def __init__(self,
|
|
190
|
+
def __init__(self, retailer_id, seller_id, *args, **kwargs): # noqa: E501
|
|
191
191
|
"""ExternalRetailMediaSeller - a model defined in OpenAPI
|
|
192
192
|
|
|
193
193
|
Args:
|
|
194
|
-
seller_id (str): the seller id
|
|
195
194
|
retailer_id (int): the retailer id
|
|
195
|
+
seller_id (str): the seller 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 ExternalRetailMediaSeller(ModelNormal):
|
|
|
254
254
|
self._configuration = _configuration
|
|
255
255
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
256
256
|
|
|
257
|
-
self.seller_id = seller_id
|
|
258
257
|
self.retailer_id = retailer_id
|
|
258
|
+
self.seller_id = seller_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 \
|
|
@@ -81,8 +81,8 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
81
81
|
lazy_import()
|
|
82
82
|
return {
|
|
83
83
|
'sellers': ([ExternalRetailMediaSeller],), # noqa: E501
|
|
84
|
-
'name': (str, none_type,), # noqa: E501
|
|
85
84
|
'company_name': (str, none_type,), # noqa: E501
|
|
85
|
+
'name': (str, none_type,), # noqa: E501
|
|
86
86
|
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -93,8 +93,8 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
93
93
|
|
|
94
94
|
attribute_map = {
|
|
95
95
|
'sellers': 'sellers', # noqa: E501
|
|
96
|
-
'name': 'name', # noqa: E501
|
|
97
96
|
'company_name': 'companyName', # noqa: E501
|
|
97
|
+
'name': 'name', # noqa: E501
|
|
98
98
|
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -142,8 +142,8 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
|
|
146
145
|
company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
|
|
146
|
+
name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
|
|
147
147
|
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
148
148
|
"""
|
|
149
149
|
|
|
@@ -234,8 +234,8 @@ class ExternalRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
234
234
|
Animal class but this time we won't travel
|
|
235
235
|
through its discriminator because we passed in
|
|
236
236
|
_visited_composed_classes = (Animal,)
|
|
237
|
-
name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
|
|
238
237
|
company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501
|
|
238
|
+
name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
|
|
239
239
|
on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
|
|
240
240
|
"""
|
|
241
241
|
|
|
@@ -84,8 +84,8 @@ class FilesVariablesSpecification(ModelNormal):
|
|
|
84
84
|
return {
|
|
85
85
|
'extensions': ([str],), # noqa: E501
|
|
86
86
|
'max_bytes': (int, none_type,), # noqa: E501
|
|
87
|
-
'min_files': (int, none_type,), # noqa: E501
|
|
88
87
|
'max_file': (int, none_type,), # noqa: E501
|
|
88
|
+
'min_files': (int, none_type,), # noqa: E501
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
@cached_property
|
|
@@ -96,8 +96,8 @@ class FilesVariablesSpecification(ModelNormal):
|
|
|
96
96
|
attribute_map = {
|
|
97
97
|
'extensions': 'extensions', # noqa: E501
|
|
98
98
|
'max_bytes': 'maxBytes', # noqa: E501
|
|
99
|
-
'min_files': 'minFiles', # noqa: E501
|
|
100
99
|
'max_file': 'maxFile', # noqa: E501
|
|
100
|
+
'min_files': 'minFiles', # noqa: E501
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
read_only_vars = {
|
|
@@ -145,8 +145,8 @@ class FilesVariablesSpecification(ModelNormal):
|
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
147
|
max_bytes (int, none_type): The maximum amount of bytes per file. [optional] # noqa: E501
|
|
148
|
-
min_files (int, none_type): The minimum amount of files requires. [optional] # noqa: E501
|
|
149
148
|
max_file (int, none_type): The maximum amount of files required. [optional] # noqa: E501
|
|
149
|
+
min_files (int, none_type): The minimum amount of files requires. [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class FilesVariablesSpecification(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
max_bytes (int, none_type): The maximum amount of bytes per file. [optional] # noqa: E501
|
|
240
|
-
min_files (int, none_type): The minimum amount of files requires. [optional] # noqa: E501
|
|
241
240
|
max_file (int, none_type): The maximum amount of files required. [optional] # noqa: E501
|
|
241
|
+
min_files (int, none_type): The minimum amount of files requires. [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -81,8 +81,8 @@ class GrantConsentModel(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'client_id': (str,), # noqa: E501
|
|
85
84
|
'callback_url': (str,), # noqa: E501
|
|
85
|
+
'client_id': (str,), # noqa: E501
|
|
86
86
|
'callback_state': (str,), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -92,8 +92,8 @@ class GrantConsentModel(ModelNormal):
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
attribute_map = {
|
|
95
|
-
'client_id': 'clientId', # noqa: E501
|
|
96
95
|
'callback_url': 'callbackUrl', # noqa: E501
|
|
96
|
+
'client_id': 'clientId', # noqa: E501
|
|
97
97
|
'callback_state': 'callbackState', # noqa: E501
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -104,12 +104,12 @@ class GrantConsentModel(ModelNormal):
|
|
|
104
104
|
|
|
105
105
|
@classmethod
|
|
106
106
|
@convert_js_args_to_python_args
|
|
107
|
-
def _from_openapi_data(cls,
|
|
107
|
+
def _from_openapi_data(cls, callback_url, client_id, *args, **kwargs): # noqa: E501
|
|
108
108
|
"""GrantConsentModel - a model defined in OpenAPI
|
|
109
109
|
|
|
110
110
|
Args:
|
|
111
|
-
client_id (str):
|
|
112
111
|
callback_url (str):
|
|
112
|
+
client_id (str):
|
|
113
113
|
|
|
114
114
|
Keyword Args:
|
|
115
115
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -174,8 +174,8 @@ class GrantConsentModel(ModelNormal):
|
|
|
174
174
|
self._configuration = _configuration
|
|
175
175
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
176
176
|
|
|
177
|
-
self.client_id = client_id
|
|
178
177
|
self.callback_url = callback_url
|
|
178
|
+
self.client_id = client_id
|
|
179
179
|
for var_name, var_value in kwargs.items():
|
|
180
180
|
if var_name not in self.attribute_map and \
|
|
181
181
|
self._configuration is not None and \
|
|
@@ -196,12 +196,12 @@ class GrantConsentModel(ModelNormal):
|
|
|
196
196
|
])
|
|
197
197
|
|
|
198
198
|
@convert_js_args_to_python_args
|
|
199
|
-
def __init__(self,
|
|
199
|
+
def __init__(self, callback_url, client_id, *args, **kwargs): # noqa: E501
|
|
200
200
|
"""GrantConsentModel - a model defined in OpenAPI
|
|
201
201
|
|
|
202
202
|
Args:
|
|
203
|
-
client_id (str):
|
|
204
203
|
callback_url (str):
|
|
204
|
+
client_id (str):
|
|
205
205
|
|
|
206
206
|
Keyword Args:
|
|
207
207
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -264,8 +264,8 @@ class GrantConsentModel(ModelNormal):
|
|
|
264
264
|
self._configuration = _configuration
|
|
265
265
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
266
266
|
|
|
267
|
-
self.client_id = client_id
|
|
268
267
|
self.callback_url = callback_url
|
|
268
|
+
self.client_id = client_id
|
|
269
269
|
for var_name, var_value in kwargs.items():
|
|
270
270
|
if var_name not in self.attribute_map and \
|
|
271
271
|
self._configuration is not None and \
|
|
@@ -87,8 +87,8 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'type': (str,), # noqa: E501
|
|
91
90
|
'attributes': (GrantConsentModel,), # noqa: E501
|
|
91
|
+
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'type': 'type', # noqa: E501
|
|
101
100
|
'attributes': 'attributes', # noqa: E501
|
|
101
|
+
'type': 'type', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -142,8 +142,8 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
type (str): [optional] # noqa: E501
|
|
146
145
|
attributes (GrantConsentModel): [optional] # noqa: E501
|
|
146
|
+
type (str): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -229,8 +229,8 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
type (str): [optional] # noqa: E501
|
|
233
232
|
attributes (GrantConsentModel): [optional] # noqa: E501
|
|
233
|
+
type (str): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,8 +30,8 @@ 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.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2025_01.model.auction_line_item_create_model import AuctionLineItemCreateModel
|
|
34
|
+
globals()['AuctionLineItemCreateModel'] = AuctionLineItemCreateModel
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class InputResourceOfAuctionLineItemCreateModel(ModelNormal):
|
|
@@ -87,8 +87,8 @@ class InputResourceOfAuctionLineItemCreateModel(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
+
'attributes': (AuctionLineItemCreateModel,), # noqa: E501
|
|
90
91
|
'type': (str,), # noqa: E501
|
|
91
|
-
'attributes': (ExternalAuctionLineItemCreateModel,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class InputResourceOfAuctionLineItemCreateModel(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'type': 'type', # noqa: E501
|
|
101
100
|
'attributes': 'attributes', # noqa: E501
|
|
101
|
+
'type': 'type', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -142,8 +142,8 @@ class InputResourceOfAuctionLineItemCreateModel(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
+
attributes (AuctionLineItemCreateModel): [optional] # noqa: E501
|
|
145
146
|
type (str): [optional] # noqa: E501
|
|
146
|
-
attributes (ExternalAuctionLineItemCreateModel): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -229,8 +229,8 @@ class InputResourceOfAuctionLineItemCreateModel(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
+
attributes (AuctionLineItemCreateModel): [optional] # noqa: E501
|
|
232
233
|
type (str): [optional] # noqa: E501
|
|
233
|
-
attributes (ExternalAuctionLineItemCreateModel): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|
criteo_api_retailmedia_v2025_01/model/input_resource_of_preferred_line_item_create_model_v2.py
CHANGED
|
@@ -30,8 +30,8 @@ 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.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2025_01.model.preferred_line_item_create_model_v2 import PreferredLineItemCreateModelV2
|
|
34
|
+
globals()['PreferredLineItemCreateModelV2'] = PreferredLineItemCreateModelV2
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
@@ -87,8 +87,8 @@ class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
+
'attributes': (PreferredLineItemCreateModelV2,), # noqa: E501
|
|
90
91
|
'type': (str,), # noqa: E501
|
|
91
|
-
'attributes': (ExternalPreferredLineItemCreateModelV2,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'type': 'type', # noqa: E501
|
|
101
100
|
'attributes': 'attributes', # noqa: E501
|
|
101
|
+
'type': 'type', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -142,8 +142,8 @@ class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
+
attributes (PreferredLineItemCreateModelV2): [optional] # noqa: E501
|
|
145
146
|
type (str): [optional] # noqa: E501
|
|
146
|
-
attributes (ExternalPreferredLineItemCreateModelV2): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -229,8 +229,8 @@ class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
+
attributes (PreferredLineItemCreateModelV2): [optional] # noqa: E501
|
|
232
233
|
type (str): [optional] # noqa: E501
|
|
233
|
-
attributes (ExternalPreferredLineItemCreateModelV2): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,11 +30,11 @@ 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.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2025_01.model.line_item_bid_multipliers_v2 import LineItemBidMultipliersV2
|
|
34
|
+
globals()['LineItemBidMultipliersV2'] = LineItemBidMultipliersV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class JsonApiBodyWithLineItemBidMultipliersV2(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -88,7 +88,7 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
90
|
'type': (str,), # noqa: E501
|
|
91
|
-
'attributes': (
|
|
91
|
+
'attributes': (LineItemBidMultipliersV2,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -109,7 +109,7 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
109
109
|
@classmethod
|
|
110
110
|
@convert_js_args_to_python_args
|
|
111
111
|
def _from_openapi_data(cls, type, *args, **kwargs): # noqa: E501
|
|
112
|
-
"""
|
|
112
|
+
"""JsonApiBodyWithLineItemBidMultipliersV2 - a model defined in OpenAPI
|
|
113
113
|
|
|
114
114
|
Args:
|
|
115
115
|
type (str):
|
|
@@ -145,7 +145,7 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
145
145
|
Animal class but this time we won't travel
|
|
146
146
|
through its discriminator because we passed in
|
|
147
147
|
_visited_composed_classes = (Animal,)
|
|
148
|
-
attributes (
|
|
148
|
+
attributes (LineItemBidMultipliersV2): [optional] # noqa: E501
|
|
149
149
|
"""
|
|
150
150
|
|
|
151
151
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -199,7 +199,7 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, type, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""JsonApiBodyWithLineItemBidMultipliersV2 - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Args:
|
|
205
205
|
type (str):
|
|
@@ -235,7 +235,7 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
235
235
|
Animal class but this time we won't travel
|
|
236
236
|
through its discriminator because we passed in
|
|
237
237
|
_visited_composed_classes = (Animal,)
|
|
238
|
-
attributes (
|
|
238
|
+
attributes (LineItemBidMultipliersV2): [optional] # noqa: E501
|
|
239
239
|
"""
|
|
240
240
|
|
|
241
241
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -86,8 +86,8 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
86
86
|
"""
|
|
87
87
|
lazy_import()
|
|
88
88
|
return {
|
|
89
|
-
'metadata': (PageMetadata,), # noqa: E501
|
|
90
89
|
'data': ([JsonApiBodyWithIdOfInt64AndAccountAndAccount],), # noqa: E501
|
|
90
|
+
'metadata': (PageMetadata,), # noqa: E501
|
|
91
91
|
'errors': ([CommonError], none_type,), # noqa: E501
|
|
92
92
|
'warnings': ([CommonWarning], none_type,), # noqa: E501
|
|
93
93
|
}
|
|
@@ -98,8 +98,8 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
attribute_map = {
|
|
101
|
-
'metadata': 'metadata', # noqa: E501
|
|
102
101
|
'data': 'data', # noqa: E501
|
|
102
|
+
'metadata': 'metadata', # noqa: E501
|
|
103
103
|
'errors': 'errors', # noqa: E501
|
|
104
104
|
'warnings': 'warnings', # noqa: E501
|
|
105
105
|
}
|
|
@@ -111,12 +111,12 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
111
111
|
|
|
112
112
|
@classmethod
|
|
113
113
|
@convert_js_args_to_python_args
|
|
114
|
-
def _from_openapi_data(cls,
|
|
114
|
+
def _from_openapi_data(cls, data, metadata, *args, **kwargs): # noqa: E501
|
|
115
115
|
"""JsonApiPageResponseOfAccount - a model defined in OpenAPI
|
|
116
116
|
|
|
117
117
|
Args:
|
|
118
|
-
metadata (PageMetadata):
|
|
119
118
|
data ([JsonApiBodyWithIdOfInt64AndAccountAndAccount]):
|
|
119
|
+
metadata (PageMetadata):
|
|
120
120
|
|
|
121
121
|
Keyword Args:
|
|
122
122
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -182,8 +182,8 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
182
182
|
self._configuration = _configuration
|
|
183
183
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
184
184
|
|
|
185
|
-
self.metadata = metadata
|
|
186
185
|
self.data = data
|
|
186
|
+
self.metadata = metadata
|
|
187
187
|
for var_name, var_value in kwargs.items():
|
|
188
188
|
if var_name not in self.attribute_map and \
|
|
189
189
|
self._configuration is not None and \
|
|
@@ -204,12 +204,12 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
204
204
|
])
|
|
205
205
|
|
|
206
206
|
@convert_js_args_to_python_args
|
|
207
|
-
def __init__(self,
|
|
207
|
+
def __init__(self, data, metadata, *args, **kwargs): # noqa: E501
|
|
208
208
|
"""JsonApiPageResponseOfAccount - a model defined in OpenAPI
|
|
209
209
|
|
|
210
210
|
Args:
|
|
211
|
-
metadata (PageMetadata):
|
|
212
211
|
data ([JsonApiBodyWithIdOfInt64AndAccountAndAccount]):
|
|
212
|
+
metadata (PageMetadata):
|
|
213
213
|
|
|
214
214
|
Keyword Args:
|
|
215
215
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -273,8 +273,8 @@ class JsonApiPageResponseOfAccount(ModelNormal):
|
|
|
273
273
|
self._configuration = _configuration
|
|
274
274
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
275
275
|
|
|
276
|
-
self.metadata = metadata
|
|
277
276
|
self.data = data
|
|
277
|
+
self.metadata = metadata
|
|
278
278
|
for var_name, var_value in kwargs.items():
|
|
279
279
|
if var_name not in self.attribute_map and \
|
|
280
280
|
self._configuration is not None and \
|