criteo-api-retailmedia-sdk 0.0.250327__py3-none-any.whl → 0.0.250425__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +187 -35
- criteo_api_retailmedia_preview/api/analytics_api.py +144 -2
- criteo_api_retailmedia_preview/api/balance_api.py +12 -12
- criteo_api_retailmedia_preview/api/campaign_api.py +88 -509
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/account_fees_search_request.py +257 -0
- criteo_api_retailmedia_preview/model/account_fees_update_request.py +278 -0
- criteo_api_retailmedia_preview/model/account_fees_update_result.py +261 -0
- criteo_api_retailmedia_preview/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_preview/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_preview/model/async_accounts_report.py +73 -73
- criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +79 -79
- criteo_api_retailmedia_preview/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_fill_rate_report.py +14 -14
- criteo_api_retailmedia_preview/model/async_fill_rate_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_line_items_report.py +79 -79
- criteo_api_retailmedia_preview/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/{common_error.py → async_offsite_report.py} +185 -45
- criteo_api_retailmedia_preview/model/{grant_consent_input.py → async_offsite_report_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{grant_consent_model_value_resource.py → async_offsite_report_resource.py} +9 -9
- criteo_api_retailmedia_preview/model/async_report_response.py +5 -5
- criteo_api_retailmedia_preview/model/audience_error.py +16 -16
- criteo_api_retailmedia_preview/model/audience_warning.py +22 -22
- criteo_api_retailmedia_preview/model/balance_history_change_data_capture_v1.py +14 -14
- criteo_api_retailmedia_preview/model/balance_response_v2.py +45 -45
- criteo_api_retailmedia_preview/model/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/bot_message.py +4 -4
- criteo_api_retailmedia_preview/model/brand_catalog_request_v2.py +9 -9
- criteo_api_retailmedia_preview/model/brand_id_search_request.py +11 -5
- criteo_api_retailmedia_preview/model/brand_id_search_result.py +15 -9
- criteo_api_retailmedia_preview/model/brand_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/catalog_status_v2.py +12 -12
- criteo_api_retailmedia_preview/model/category202204.py +8 -8
- criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +4 -4
- criteo_api_retailmedia_preview/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_preview/model/common_problem.py +20 -20
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +4 -4
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview_response.py +5 -5
- criteo_api_retailmedia_preview/model/create_balance_v2.py +12 -12
- criteo_api_retailmedia_preview/model/creative2.py +50 -50
- criteo_api_retailmedia_preview/model/creative2_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/creative2_response.py +5 -5
- criteo_api_retailmedia_preview/model/demand_managed_fee.py +267 -0
- criteo_api_retailmedia_preview/model/entity_resource_brand_id_search_result.py +12 -5
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py +17 -10
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py +9 -9
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_child_account_and_metadata.py +9 -9
- criteo_api_retailmedia_preview/model/entity_resource_line_item_keyword_review_report.py +4 -4
- criteo_api_retailmedia_preview/model/{resource_of_catalog_status_v2.py → entity_resource_of_catalog_status_v2.py} +7 -7
- criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_child_account.py +4 -4
- criteo_api_retailmedia_preview/model/{catalog_status_v2_response.py → entity_resource_outcome_of_catalog_status_v2.py} +18 -18
- criteo_api_retailmedia_preview/model/entity_resource_outcome_partner_billing_report_status_v1.py +5 -5
- criteo_api_retailmedia_preview/model/entity_resource_partner_billing_report_status_v1.py +4 -4
- criteo_api_retailmedia_preview/model/export_report_column.py +30 -30
- criteo_api_retailmedia_preview/model/external_line_item_capping_v2.py +9 -9
- criteo_api_retailmedia_preview/model/external_line_item_page_v2.py +3 -3
- criteo_api_retailmedia_preview/model/external_preferred_line_item_create_model_v2.py +24 -24
- criteo_api_retailmedia_preview/model/external_preferred_line_item_update_model_v2.py +20 -20
- criteo_api_retailmedia_preview/model/external_preferred_line_item_v2.py +36 -36
- criteo_api_retailmedia_preview/model/external_product_button_request.py +8 -8
- criteo_api_retailmedia_preview/model/external_product_button_response.py +14 -14
- criteo_api_retailmedia_preview/model/external_retail_media_child_account.py +22 -22
- criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
- criteo_api_retailmedia_preview/model/installment.py +4 -4
- criteo_api_retailmedia_preview/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_preview/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +32 -32
- criteo_api_retailmedia_preview/model/{input_keywords.py → managed_service_fee.py} +31 -17
- criteo_api_retailmedia_preview/model/message.py +4 -4
- criteo_api_retailmedia_preview/model/message_error.py +8 -8
- criteo_api_retailmedia_preview/model/metadata.py +8 -8
- criteo_api_retailmedia_preview/model/outcome.py +5 -5
- criteo_api_retailmedia_preview/model/page_metadata.py +16 -16
- criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py +8 -8
- criteo_api_retailmedia_preview/model/page_type_environment2.py +14 -14
- criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
- criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py +15 -9
- criteo_api_retailmedia_preview/model/partner_billing_report_request_v1.py +12 -14
- criteo_api_retailmedia_preview/model/partner_billing_report_status_v1.py +8 -8
- criteo_api_retailmedia_preview/model/placement_preview.py +24 -24
- criteo_api_retailmedia_preview/model/placement_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/preferred_line_item_v2_paged_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/preferred_line_item_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/{recommended_keywords_result.py → private_market_account_fees.py} +13 -13
- criteo_api_retailmedia_preview/model/private_market_fees.py +276 -0
- criteo_api_retailmedia_preview/model/problem_details.py +20 -20
- criteo_api_retailmedia_preview/model/product.py +242 -242
- criteo_api_retailmedia_preview/model/product_button_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/product_importer_error.py +20 -20
- criteo_api_retailmedia_preview/model/product_importer_warning.py +20 -20
- criteo_api_retailmedia_preview/model/product_metadata.py +8 -8
- criteo_api_retailmedia_preview/model/product_recommendation.py +16 -16
- criteo_api_retailmedia_preview/model/product_shipping.py +16 -16
- criteo_api_retailmedia_preview/model/product_shipping_dimension.py +4 -4
- criteo_api_retailmedia_preview/model/product_shipping_weight.py +4 -4
- criteo_api_retailmedia_preview/model/product_tax.py +12 -12
- criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +4 -4
- criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +4 -4
- criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +8 -8
- criteo_api_retailmedia_preview/model/promoted_product.py +4 -4
- criteo_api_retailmedia_preview/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_preview/model/report_data_response_resource.py +4 -4
- criteo_api_retailmedia_preview/model/report_detail_error.py +14 -14
- criteo_api_retailmedia_preview/model/report_detail_errors.py +8 -8
- criteo_api_retailmedia_preview/model/report_detail_warning.py +14 -14
- criteo_api_retailmedia_preview/model/report_ok_response.py +20 -20
- criteo_api_retailmedia_preview/model/report_outcome.py +5 -5
- criteo_api_retailmedia_preview/model/report_response.py +9 -9
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_seller_preview.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_sku_data_preview.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_sku_search_request_preview.py +4 -4
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +8 -8
- criteo_api_retailmedia_preview/model/retail_media_seller.py +8 -8
- criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py +8 -8
- criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py +20 -20
- criteo_api_retailmedia_preview/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +30 -30
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1.py +8 -8
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_events_v1.py +23 -23
- criteo_api_retailmedia_preview/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +16 -16
- criteo_api_retailmedia_preview/model/seller_catalog_request_v2.py +8 -8
- criteo_api_retailmedia_preview/model/seller_preview_response.py +5 -5
- criteo_api_retailmedia_preview/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_preview/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sku_data_preview.py +60 -60
- criteo_api_retailmedia_preview/model/sku_data_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/sku_min_bid.py +8 -8
- criteo_api_retailmedia_preview/model/sku_search_request_preview.py +17 -17
- criteo_api_retailmedia_preview/model/sku_search_request_slim_preview.py +8 -8
- criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +30 -30
- criteo_api_retailmedia_preview/model/sku_slim_data_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +24 -24
- criteo_api_retailmedia_preview/model/sku_slim_data_v2_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/status_response.py +20 -20
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +41 -41
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +48 -48
- criteo_api_retailmedia_preview/model/sync_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +52 -52
- criteo_api_retailmedia_preview/model/sync_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_preview/model/update_balance_model_v2.py +8 -8
- criteo_api_retailmedia_preview/model/value_resource_account_fees_search_request.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_account_fees_update_request.py +266 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_recommended_keywords_result.py → value_resource_account_fees_update_result.py} +11 -11
- criteo_api_retailmedia_preview/model/value_resource_brand_id_search_request.py +12 -5
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_seller_search_result.py +5 -5
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_v2_response.py → value_resource_collection_outcome_private_market_account_fees_and_metadata.py} +26 -27
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_input_account_fees_search_request.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_account_fees_update_request.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_brand_id_search_request.py +8 -1
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_v2_request.py → value_resource_input_of_brand_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_request_of_brand_catalog_request_v2.py → value_resource_input_of_seller_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_brand_catalog_request_v2_and_brand_catalog_request_v2.py → value_resource_of_brand_catalog_request_v2.py} +10 -16
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_seller_catalog_request_v2_and_seller_catalog_request_v2.py → value_resource_of_seller_catalog_request_v2.py} +10 -16
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search_result.py +4 -4
- criteo_api_retailmedia_preview/model/{value_resource_outcome_of_recommended_keywords_result.py → value_resource_outcome_account_fees_update_result.py} +18 -18
- criteo_api_retailmedia_preview/model/value_resource_outcome_cpc_min_bids_response.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_outcome_retail_media_keywords_review_result.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_partner_billing_report_request_v1.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_private_market_account_fees.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py +4 -4
- criteo_api_retailmedia_preview/model/video_variable_value.py +16 -16
- criteo_api_retailmedia_preview/models/__init__.py +24 -22
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/RECORD +197 -195
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_preview/model/common_warning.py +0 -301
- criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +0 -307
- criteo_api_retailmedia_preview/model/grant_consent_model.py +0 -279
- criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py +0 -279
- criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request_v2.py +0 -269
- criteo_api_retailmedia_preview/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +0 -287
- criteo_api_retailmedia_preview/model/keywords.py +0 -297
- criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +0 -277
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/top_level.txt +0 -0
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class AsyncOffsiteReport(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -55,19 +55,109 @@ class CommonError(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
-
('
|
|
58
|
+
('dimensions',): {
|
|
59
|
+
'DATE': "date",
|
|
60
|
+
'HOUR': "hour",
|
|
61
|
+
'DAYSDIFFERENCE': "daysDifference",
|
|
62
|
+
'ADVDATE': "advDate",
|
|
63
|
+
'ADVHOUR': "advHour",
|
|
64
|
+
'CAMPAIGNID': "campaignId",
|
|
65
|
+
'CAMPAIGNNAME': "campaignName",
|
|
66
|
+
'LINEITEMID': "lineItemId",
|
|
67
|
+
'LINEITEMNAME': "lineItemName",
|
|
68
|
+
'RETAILERID': "retailerId",
|
|
69
|
+
'RETAILERNAME': "retailerName",
|
|
70
|
+
'BILLINGTYPE': "billingType",
|
|
71
|
+
'ENVIRONMENT': "environment",
|
|
72
|
+
'ADFORMATSIZE': "adFormatSize",
|
|
73
|
+
'SSP': "ssp",
|
|
74
|
+
'PUBLISHER': "publisher",
|
|
75
|
+
'INVENTORYTYPE': "inventoryType",
|
|
76
|
+
'MEDIATYPE': "mediaType",
|
|
77
|
+
'BUYTYPE': "buyType",
|
|
78
|
+
'SALESCHANNEL': "salesChannel",
|
|
79
|
+
'CREATIVEID': "creativeId",
|
|
80
|
+
'CREATIVENAME': "creativeName",
|
|
81
|
+
},
|
|
82
|
+
('metrics',): {
|
|
83
|
+
'AUDIENCE': "audience",
|
|
84
|
+
'UNIQUEUSERS': "uniqueUsers",
|
|
85
|
+
'REACHRATE': "reachRate",
|
|
86
|
+
'IMPRESSIONS': "impressions",
|
|
87
|
+
'FREQUENCY': "frequency",
|
|
88
|
+
'WINRATE': "winRate",
|
|
89
|
+
'CLICKS': "clicks",
|
|
90
|
+
'CTR': "ctr",
|
|
91
|
+
'VIEWABILITY': "viewability",
|
|
92
|
+
'CPC': "cpc",
|
|
93
|
+
'ECPM': "ecpm",
|
|
94
|
+
'CPM': "cpm",
|
|
95
|
+
'SPEND': "spend",
|
|
96
|
+
'UNITS': "units",
|
|
97
|
+
'SALES': "sales",
|
|
98
|
+
'ROAS': "roas",
|
|
99
|
+
'VIDEOSTARTS': "videoStarts",
|
|
100
|
+
'VIDEOSPLAYEDTO25': "videosPlayedTo25",
|
|
101
|
+
'VIDEOSPLAYEDTO50': "videosPlayedTo50",
|
|
102
|
+
'VIDEOSPLAYEDTO75': "videosPlayedTo75",
|
|
103
|
+
'VIDEOSPLAYEDTO100': "videosPlayedTo100",
|
|
104
|
+
'VIDEOSTARTINGRATE': "videoStartingRate",
|
|
105
|
+
'VIDEOCOMPLETIONRATE': "videoCompletionRate",
|
|
106
|
+
'VIDEOCPC': "videoCPC",
|
|
107
|
+
'VIDEOCPCV': "videoCPCV",
|
|
108
|
+
'VISITS': "visits",
|
|
109
|
+
'QUALIFIEDVISITS': "qualifiedVisits",
|
|
110
|
+
'LANDINGRATE': "landingRate",
|
|
111
|
+
},
|
|
112
|
+
('buy_type',): {
|
|
113
|
+
'AUCTION': "auction",
|
|
114
|
+
'PREFERREDDEALS': "preferredDeals",
|
|
115
|
+
'SPONSORSHIP': "sponsorship",
|
|
116
|
+
},
|
|
117
|
+
('campaign_type',): {
|
|
118
|
+
'ALL': "all",
|
|
119
|
+
'SPONSOREDPRODUCTS': "sponsoredProducts",
|
|
120
|
+
'ONSITEDISPLAYS': "onSiteDisplays",
|
|
121
|
+
},
|
|
122
|
+
('click_attribution_window',): {
|
|
123
|
+
'NONE': "none",
|
|
124
|
+
'7D': "7D",
|
|
125
|
+
'14D': "14D",
|
|
126
|
+
'30D': "30D",
|
|
127
|
+
},
|
|
128
|
+
('format',): {
|
|
129
|
+
'JSON': "json",
|
|
130
|
+
'JSON-COMPACT': "json-compact",
|
|
131
|
+
'JSON-NEWLINE': "json-newline",
|
|
132
|
+
'CSV': "csv",
|
|
133
|
+
},
|
|
134
|
+
('media_type',): {
|
|
59
135
|
'UNKNOWN': "unknown",
|
|
60
|
-
'
|
|
61
|
-
'
|
|
62
|
-
'
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
'
|
|
66
|
-
'
|
|
136
|
+
'VIDEO': "video",
|
|
137
|
+
'DISPLAY': "display",
|
|
138
|
+
'ALL': "all",
|
|
139
|
+
},
|
|
140
|
+
('sales_channel',): {
|
|
141
|
+
'ONLINE': "online",
|
|
142
|
+
'OFFLINE': "offline",
|
|
143
|
+
'ALL': "all",
|
|
144
|
+
},
|
|
145
|
+
('view_attribution_window',): {
|
|
146
|
+
'NONE': "none",
|
|
147
|
+
'1D': "1D",
|
|
148
|
+
'7D': "7D",
|
|
149
|
+
'14D': "14D",
|
|
150
|
+
'30D': "30D",
|
|
67
151
|
},
|
|
68
152
|
}
|
|
69
153
|
|
|
70
154
|
validations = {
|
|
155
|
+
('dimensions',): {
|
|
156
|
+
'min_items': 1,
|
|
157
|
+
},
|
|
158
|
+
('metrics',): {
|
|
159
|
+
'min_items': 1,
|
|
160
|
+
},
|
|
71
161
|
}
|
|
72
162
|
|
|
73
163
|
@cached_property
|
|
@@ -91,14 +181,23 @@ class CommonError(ModelNormal):
|
|
|
91
181
|
and the value is attribute type.
|
|
92
182
|
"""
|
|
93
183
|
return {
|
|
94
|
-
'
|
|
95
|
-
'
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
'
|
|
100
|
-
'
|
|
101
|
-
'
|
|
184
|
+
'account_ids': ([str],), # noqa: E501
|
|
185
|
+
'dimensions': ([str],), # noqa: E501
|
|
186
|
+
'end_date': (datetime,), # noqa: E501
|
|
187
|
+
'metrics': ([str],), # noqa: E501
|
|
188
|
+
'start_date': (datetime,), # noqa: E501
|
|
189
|
+
'buy_type': (str,), # noqa: E501
|
|
190
|
+
'campaign_ids': ([str],), # noqa: E501
|
|
191
|
+
'campaign_type': (str,), # noqa: E501
|
|
192
|
+
'click_attribution_window': (str,), # noqa: E501
|
|
193
|
+
'creative_ids': ([str],), # noqa: E501
|
|
194
|
+
'format': (str,), # noqa: E501
|
|
195
|
+
'line_item_ids': ([str],), # noqa: E501
|
|
196
|
+
'media_type': (str,), # noqa: E501
|
|
197
|
+
'retailer_ids': ([str],), # noqa: E501
|
|
198
|
+
'sales_channel': (str,), # noqa: E501
|
|
199
|
+
'timezone': (str,), # noqa: E501
|
|
200
|
+
'view_attribution_window': (str,), # noqa: E501
|
|
102
201
|
}
|
|
103
202
|
|
|
104
203
|
@cached_property
|
|
@@ -107,14 +206,23 @@ class CommonError(ModelNormal):
|
|
|
107
206
|
|
|
108
207
|
|
|
109
208
|
attribute_map = {
|
|
110
|
-
'
|
|
111
|
-
'
|
|
112
|
-
'
|
|
113
|
-
'
|
|
114
|
-
'
|
|
115
|
-
'
|
|
116
|
-
'
|
|
117
|
-
'
|
|
209
|
+
'account_ids': 'accountIds', # noqa: E501
|
|
210
|
+
'dimensions': 'dimensions', # noqa: E501
|
|
211
|
+
'end_date': 'endDate', # noqa: E501
|
|
212
|
+
'metrics': 'metrics', # noqa: E501
|
|
213
|
+
'start_date': 'startDate', # noqa: E501
|
|
214
|
+
'buy_type': 'buyType', # noqa: E501
|
|
215
|
+
'campaign_ids': 'campaignIds', # noqa: E501
|
|
216
|
+
'campaign_type': 'campaignType', # noqa: E501
|
|
217
|
+
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
218
|
+
'creative_ids': 'creativeIds', # noqa: E501
|
|
219
|
+
'format': 'format', # noqa: E501
|
|
220
|
+
'line_item_ids': 'lineItemIds', # noqa: E501
|
|
221
|
+
'media_type': 'mediaType', # noqa: E501
|
|
222
|
+
'retailer_ids': 'retailerIds', # noqa: E501
|
|
223
|
+
'sales_channel': 'salesChannel', # noqa: E501
|
|
224
|
+
'timezone': 'timezone', # noqa: E501
|
|
225
|
+
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
118
226
|
}
|
|
119
227
|
|
|
120
228
|
read_only_vars = {
|
|
@@ -124,8 +232,15 @@ class CommonError(ModelNormal):
|
|
|
124
232
|
|
|
125
233
|
@classmethod
|
|
126
234
|
@convert_js_args_to_python_args
|
|
127
|
-
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
128
|
-
"""
|
|
235
|
+
def _from_openapi_data(cls, account_ids, dimensions, end_date, metrics, start_date, *args, **kwargs): # noqa: E501
|
|
236
|
+
"""AsyncOffsiteReport - a model defined in OpenAPI
|
|
237
|
+
|
|
238
|
+
Args:
|
|
239
|
+
account_ids ([str]): Account ids to report on
|
|
240
|
+
dimensions ([str]): List of dimensions to report on
|
|
241
|
+
end_date (datetime): End date
|
|
242
|
+
metrics ([str]): List of metrics to report on
|
|
243
|
+
start_date (datetime): Start date
|
|
129
244
|
|
|
130
245
|
Keyword Args:
|
|
131
246
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -158,14 +273,18 @@ class CommonError(ModelNormal):
|
|
|
158
273
|
Animal class but this time we won't travel
|
|
159
274
|
through its discriminator because we passed in
|
|
160
275
|
_visited_composed_classes = (Animal,)
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
276
|
+
buy_type (str): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501
|
|
277
|
+
campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
|
|
278
|
+
campaign_type (str): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
279
|
+
click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
280
|
+
creative_ids ([str]): Creative ids to filter. [optional] # noqa: E501
|
|
281
|
+
format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
|
|
282
|
+
line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
|
|
283
|
+
media_type (str): Filter on the type of media: unknown, display, video. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
284
|
+
retailer_ids ([str]): Retailer ids to filter. [optional] # noqa: E501
|
|
285
|
+
sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
286
|
+
timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
|
|
287
|
+
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
169
288
|
"""
|
|
170
289
|
|
|
171
290
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -197,6 +316,11 @@ class CommonError(ModelNormal):
|
|
|
197
316
|
self._configuration = _configuration
|
|
198
317
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
199
318
|
|
|
319
|
+
self.account_ids = account_ids
|
|
320
|
+
self.dimensions = dimensions
|
|
321
|
+
self.end_date = end_date
|
|
322
|
+
self.metrics = metrics
|
|
323
|
+
self.start_date = start_date
|
|
200
324
|
for var_name, var_value in kwargs.items():
|
|
201
325
|
if var_name not in self.attribute_map and \
|
|
202
326
|
self._configuration is not None and \
|
|
@@ -217,8 +341,15 @@ class CommonError(ModelNormal):
|
|
|
217
341
|
])
|
|
218
342
|
|
|
219
343
|
@convert_js_args_to_python_args
|
|
220
|
-
def __init__(self, *args, **kwargs): # noqa: E501
|
|
221
|
-
"""
|
|
344
|
+
def __init__(self, account_ids, dimensions, end_date, metrics, start_date, *args, **kwargs): # noqa: E501
|
|
345
|
+
"""AsyncOffsiteReport - a model defined in OpenAPI
|
|
346
|
+
|
|
347
|
+
Args:
|
|
348
|
+
account_ids ([str]): Account ids to report on
|
|
349
|
+
dimensions ([str]): List of dimensions to report on
|
|
350
|
+
end_date (datetime): End date
|
|
351
|
+
metrics ([str]): List of metrics to report on
|
|
352
|
+
start_date (datetime): Start date
|
|
222
353
|
|
|
223
354
|
Keyword Args:
|
|
224
355
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -251,14 +382,18 @@ class CommonError(ModelNormal):
|
|
|
251
382
|
Animal class but this time we won't travel
|
|
252
383
|
through its discriminator because we passed in
|
|
253
384
|
_visited_composed_classes = (Animal,)
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
385
|
+
buy_type (str): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501
|
|
386
|
+
campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
|
|
387
|
+
campaign_type (str): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
388
|
+
click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
389
|
+
creative_ids ([str]): Creative ids to filter. [optional] # noqa: E501
|
|
390
|
+
format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
|
|
391
|
+
line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
|
|
392
|
+
media_type (str): Filter on the type of media: unknown, display, video. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
393
|
+
retailer_ids ([str]): Retailer ids to filter. [optional] # noqa: E501
|
|
394
|
+
sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
395
|
+
timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
|
|
396
|
+
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
262
397
|
"""
|
|
263
398
|
|
|
264
399
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -288,6 +423,11 @@ class CommonError(ModelNormal):
|
|
|
288
423
|
self._configuration = _configuration
|
|
289
424
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
290
425
|
|
|
426
|
+
self.account_ids = account_ids
|
|
427
|
+
self.dimensions = dimensions
|
|
428
|
+
self.end_date = end_date
|
|
429
|
+
self.metrics = metrics
|
|
430
|
+
self.start_date = start_date
|
|
291
431
|
for var_name, var_value in kwargs.items():
|
|
292
432
|
if var_name not in self.attribute_map and \
|
|
293
433
|
self._configuration is not None and \
|
criteo_api_retailmedia_preview/model/{grant_consent_input.py → async_offsite_report_request.py}
RENAMED
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.async_offsite_report_resource import AsyncOffsiteReportResource
|
|
34
|
+
globals()['AsyncOffsiteReportResource'] = AsyncOffsiteReportResource
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class AsyncOffsiteReportRequest(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,7 +87,7 @@ class GrantConsentInput(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'data': (
|
|
90
|
+
'data': (AsyncOffsiteReportResource,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -107,7 +107,7 @@ class GrantConsentInput(ModelNormal):
|
|
|
107
107
|
@classmethod
|
|
108
108
|
@convert_js_args_to_python_args
|
|
109
109
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
-
"""
|
|
110
|
+
"""AsyncOffsiteReportRequest - a model defined in OpenAPI
|
|
111
111
|
|
|
112
112
|
Keyword Args:
|
|
113
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -140,7 +140,7 @@ class GrantConsentInput(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
|
-
data (
|
|
143
|
+
data (AsyncOffsiteReportResource): [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -193,7 +193,7 @@ class GrantConsentInput(ModelNormal):
|
|
|
193
193
|
|
|
194
194
|
@convert_js_args_to_python_args
|
|
195
195
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
196
|
+
"""AsyncOffsiteReportRequest - a model defined in OpenAPI
|
|
197
197
|
|
|
198
198
|
Keyword Args:
|
|
199
199
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -226,7 +226,7 @@ class GrantConsentInput(ModelNormal):
|
|
|
226
226
|
Animal class but this time we won't travel
|
|
227
227
|
through its discriminator because we passed in
|
|
228
228
|
_visited_composed_classes = (Animal,)
|
|
229
|
-
data (
|
|
229
|
+
data (AsyncOffsiteReportResource): [optional] # noqa: E501
|
|
230
230
|
"""
|
|
231
231
|
|
|
232
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.async_offsite_report import AsyncOffsiteReport
|
|
34
|
+
globals()['AsyncOffsiteReport'] = AsyncOffsiteReport
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class AsyncOffsiteReportResource(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,8 +87,8 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
+
'attributes': (AsyncOffsiteReport,), # noqa: E501
|
|
90
91
|
'type': (str,), # noqa: E501
|
|
91
|
-
'attributes': (GrantConsentModel,), # 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 = {
|
|
@@ -109,7 +109,7 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
109
109
|
@classmethod
|
|
110
110
|
@convert_js_args_to_python_args
|
|
111
111
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
112
|
-
"""
|
|
112
|
+
"""AsyncOffsiteReportResource - a model defined in OpenAPI
|
|
113
113
|
|
|
114
114
|
Keyword Args:
|
|
115
115
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -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
|
+
attributes (AsyncOffsiteReport): [optional] # noqa: E501
|
|
145
146
|
type (str): [optional] # noqa: E501
|
|
146
|
-
attributes (GrantConsentModel): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -196,7 +196,7 @@ class GrantConsentModelValueResource(ModelNormal):
|
|
|
196
196
|
|
|
197
197
|
@convert_js_args_to_python_args
|
|
198
198
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
-
"""
|
|
199
|
+
"""AsyncOffsiteReportResource - a model defined in OpenAPI
|
|
200
200
|
|
|
201
201
|
Keyword Args:
|
|
202
202
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -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
|
+
attributes (AsyncOffsiteReport): [optional] # noqa: E501
|
|
232
233
|
type (str): [optional] # noqa: E501
|
|
233
|
-
attributes (GrantConsentModel): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -90,8 +90,8 @@ class AsyncReportResponse(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': (StatusResponseResource,), # noqa: E501
|
|
93
|
-
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
94
93
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
94
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class AsyncReportResponse(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 AsyncReportResponse(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data (StatusResponseResource): [optional] # noqa: E501
|
|
152
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
152
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class AsyncReportResponse(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data (StatusResponseResource): [optional] # noqa: E501
|
|
240
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
240
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -90,14 +90,14 @@ class AudienceError(ModelNormal):
|
|
|
90
90
|
and the value is attribute type.
|
|
91
91
|
"""
|
|
92
92
|
return {
|
|
93
|
-
'type': (str,), # noqa: E501
|
|
94
93
|
'code': (str,), # noqa: E501
|
|
95
94
|
'instance': (str,), # noqa: E501
|
|
96
|
-
'
|
|
97
|
-
'title': (str, none_type,), # noqa: E501
|
|
95
|
+
'type': (str,), # noqa: E501
|
|
98
96
|
'detail': (str, none_type,), # noqa: E501
|
|
99
97
|
'source': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501
|
|
100
98
|
'stack_trace': ([str], none_type,), # noqa: E501
|
|
99
|
+
'title': (str, none_type,), # noqa: E501
|
|
100
|
+
'trace_id': (str, none_type,), # noqa: E501
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
@cached_property
|
|
@@ -106,14 +106,14 @@ class AudienceError(ModelNormal):
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
attribute_map = {
|
|
109
|
-
'type': 'type', # noqa: E501
|
|
110
109
|
'code': 'code', # noqa: E501
|
|
111
110
|
'instance': 'instance', # noqa: E501
|
|
112
|
-
'
|
|
113
|
-
'title': 'title', # noqa: E501
|
|
111
|
+
'type': 'type', # noqa: E501
|
|
114
112
|
'detail': 'detail', # noqa: E501
|
|
115
113
|
'source': 'source', # noqa: E501
|
|
116
114
|
'stack_trace': 'stackTrace', # noqa: E501
|
|
115
|
+
'title': 'title', # noqa: E501
|
|
116
|
+
'trace_id': 'traceId', # noqa: E501
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
read_only_vars = {
|
|
@@ -123,13 +123,13 @@ class AudienceError(ModelNormal):
|
|
|
123
123
|
|
|
124
124
|
@classmethod
|
|
125
125
|
@convert_js_args_to_python_args
|
|
126
|
-
def _from_openapi_data(cls,
|
|
126
|
+
def _from_openapi_data(cls, code, instance, type, *args, **kwargs): # noqa: E501
|
|
127
127
|
"""AudienceError - a model defined in OpenAPI
|
|
128
128
|
|
|
129
129
|
Args:
|
|
130
|
-
type (str): (REQUIRED) The classification of the error
|
|
131
130
|
code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case.
|
|
132
131
|
instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
|
|
132
|
+
type (str): (REQUIRED) The classification of the error
|
|
133
133
|
|
|
134
134
|
Keyword Args:
|
|
135
135
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -162,11 +162,11 @@ class AudienceError(ModelNormal):
|
|
|
162
162
|
Animal class but this time we won't travel
|
|
163
163
|
through its discriminator because we passed in
|
|
164
164
|
_visited_composed_classes = (Animal,)
|
|
165
|
-
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
166
|
-
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
167
165
|
detail (str, none_type): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
|
|
168
166
|
source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
|
|
169
167
|
stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
|
|
168
|
+
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
169
|
+
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
170
170
|
"""
|
|
171
171
|
|
|
172
172
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -198,9 +198,9 @@ class AudienceError(ModelNormal):
|
|
|
198
198
|
self._configuration = _configuration
|
|
199
199
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
200
200
|
|
|
201
|
-
self.type = type
|
|
202
201
|
self.code = code
|
|
203
202
|
self.instance = instance
|
|
203
|
+
self.type = type
|
|
204
204
|
for var_name, var_value in kwargs.items():
|
|
205
205
|
if var_name not in self.attribute_map and \
|
|
206
206
|
self._configuration is not None and \
|
|
@@ -221,13 +221,13 @@ class AudienceError(ModelNormal):
|
|
|
221
221
|
])
|
|
222
222
|
|
|
223
223
|
@convert_js_args_to_python_args
|
|
224
|
-
def __init__(self,
|
|
224
|
+
def __init__(self, code, instance, type, *args, **kwargs): # noqa: E501
|
|
225
225
|
"""AudienceError - a model defined in OpenAPI
|
|
226
226
|
|
|
227
227
|
Args:
|
|
228
|
-
type (str): (REQUIRED) The classification of the error
|
|
229
228
|
code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case.
|
|
230
229
|
instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
|
|
230
|
+
type (str): (REQUIRED) The classification of the error
|
|
231
231
|
|
|
232
232
|
Keyword Args:
|
|
233
233
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -260,11 +260,11 @@ class AudienceError(ModelNormal):
|
|
|
260
260
|
Animal class but this time we won't travel
|
|
261
261
|
through its discriminator because we passed in
|
|
262
262
|
_visited_composed_classes = (Animal,)
|
|
263
|
-
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
264
|
-
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
265
263
|
detail (str, none_type): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
|
|
266
264
|
source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
|
|
267
265
|
stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
|
|
266
|
+
title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
|
|
267
|
+
trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
|
|
268
268
|
"""
|
|
269
269
|
|
|
270
270
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -294,9 +294,9 @@ class AudienceError(ModelNormal):
|
|
|
294
294
|
self._configuration = _configuration
|
|
295
295
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
296
296
|
|
|
297
|
-
self.type = type
|
|
298
297
|
self.code = code
|
|
299
298
|
self.instance = instance
|
|
299
|
+
self.type = type
|
|
300
300
|
for var_name, var_value in kwargs.items():
|
|
301
301
|
if var_name not in self.attribute_map and \
|
|
302
302
|
self._configuration is not None and \
|