criteo-api-retailmedia-sdk 0.0.250327__py3-none-any.whl → 0.0.250409__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +302 -6
- criteo_api_retailmedia_preview/api/analytics_api.py +144 -2
- criteo_api_retailmedia_preview/api/balance_api.py +12 -12
- criteo_api_retailmedia_preview/api/campaign_api.py +88 -88
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/account_fees_search_request.py +257 -0
- criteo_api_retailmedia_preview/model/account_fees_update_request.py +274 -0
- criteo_api_retailmedia_preview/model/account_fees_update_result.py +261 -0
- criteo_api_retailmedia_preview/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_preview/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_preview/model/async_accounts_report.py +71 -71
- criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +79 -79
- criteo_api_retailmedia_preview/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_fill_rate_report.py +14 -14
- criteo_api_retailmedia_preview/model/async_fill_rate_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_line_items_report.py +79 -79
- criteo_api_retailmedia_preview/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_offsite_report.py +434 -0
- criteo_api_retailmedia_preview/model/async_offsite_report_request.py +269 -0
- criteo_api_retailmedia_preview/model/async_offsite_report_resource.py +273 -0
- criteo_api_retailmedia_preview/model/async_report_response.py +5 -5
- criteo_api_retailmedia_preview/model/audience_error.py +16 -16
- criteo_api_retailmedia_preview/model/audience_warning.py +22 -22
- criteo_api_retailmedia_preview/model/balance_history_change_data_capture_v1.py +14 -14
- criteo_api_retailmedia_preview/model/balance_response_v2.py +45 -45
- criteo_api_retailmedia_preview/model/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/bot_message.py +4 -4
- criteo_api_retailmedia_preview/model/brand_catalog_request_v2.py +9 -9
- criteo_api_retailmedia_preview/model/brand_id_search_request.py +4 -4
- criteo_api_retailmedia_preview/model/brand_id_search_result.py +8 -8
- criteo_api_retailmedia_preview/model/brand_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/catalog_status_v2.py +12 -12
- criteo_api_retailmedia_preview/model/category202204.py +8 -8
- criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +4 -4
- criteo_api_retailmedia_preview/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_preview/model/common_error.py +16 -16
- criteo_api_retailmedia_preview/model/common_problem.py +20 -20
- criteo_api_retailmedia_preview/model/common_warning.py +16 -16
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +4 -4
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview_response.py +5 -5
- criteo_api_retailmedia_preview/model/create_balance_v2.py +12 -12
- criteo_api_retailmedia_preview/model/creative2.py +50 -50
- criteo_api_retailmedia_preview/model/creative2_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/creative2_response.py +5 -5
- criteo_api_retailmedia_preview/model/demand_managed_fee.py +267 -0
- criteo_api_retailmedia_preview/model/entity_resource_brand_id_search_result.py +4 -4
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py +9 -9
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py +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_bid_multipliers_v2.py +28 -28
- criteo_api_retailmedia_preview/model/external_line_item_capping_v2.py +9 -9
- criteo_api_retailmedia_preview/model/external_line_item_page_v2.py +3 -3
- criteo_api_retailmedia_preview/model/external_preferred_line_item_create_model_v2.py +24 -24
- criteo_api_retailmedia_preview/model/external_preferred_line_item_update_model_v2.py +20 -20
- criteo_api_retailmedia_preview/model/external_preferred_line_item_v2.py +36 -36
- criteo_api_retailmedia_preview/model/external_product_button_request.py +8 -8
- criteo_api_retailmedia_preview/model/external_product_button_response.py +14 -14
- criteo_api_retailmedia_preview/model/external_retail_media_child_account.py +22 -22
- criteo_api_retailmedia_preview/model/grant_consent_model.py +8 -8
- criteo_api_retailmedia_preview/model/grant_consent_model_value_resource.py +4 -4
- criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
- criteo_api_retailmedia_preview/model/installment.py +4 -4
- criteo_api_retailmedia_preview/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_preview/model/keywords.py +18 -18
- criteo_api_retailmedia_preview/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +32 -32
- criteo_api_retailmedia_preview/model/managed_service_fee.py +279 -0
- criteo_api_retailmedia_preview/model/message.py +4 -4
- criteo_api_retailmedia_preview/model/message_error.py +8 -8
- criteo_api_retailmedia_preview/model/metadata.py +8 -8
- criteo_api_retailmedia_preview/model/outcome.py +5 -5
- criteo_api_retailmedia_preview/model/page_metadata.py +16 -16
- criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py +8 -8
- criteo_api_retailmedia_preview/model/page_type_environment2.py +14 -14
- criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
- criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py +8 -8
- criteo_api_retailmedia_preview/model/partner_billing_report_request_v1.py +12 -14
- criteo_api_retailmedia_preview/model/partner_billing_report_status_v1.py +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/private_market_account_fees.py +266 -0
- criteo_api_retailmedia_preview/model/private_market_fees.py +276 -0
- criteo_api_retailmedia_preview/model/problem_details.py +20 -20
- criteo_api_retailmedia_preview/model/product.py +242 -242
- criteo_api_retailmedia_preview/model/product_button_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/product_importer_error.py +20 -20
- criteo_api_retailmedia_preview/model/product_importer_warning.py +20 -20
- criteo_api_retailmedia_preview/model/product_metadata.py +8 -8
- criteo_api_retailmedia_preview/model/product_recommendation.py +16 -16
- criteo_api_retailmedia_preview/model/product_shipping.py +16 -16
- criteo_api_retailmedia_preview/model/product_shipping_dimension.py +4 -4
- criteo_api_retailmedia_preview/model/product_shipping_weight.py +4 -4
- criteo_api_retailmedia_preview/model/product_tax.py +12 -12
- criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +4 -4
- criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +4 -4
- criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +8 -8
- criteo_api_retailmedia_preview/model/promoted_product.py +4 -4
- criteo_api_retailmedia_preview/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_preview/model/report_data_response_resource.py +4 -4
- criteo_api_retailmedia_preview/model/report_detail_error.py +14 -14
- criteo_api_retailmedia_preview/model/report_detail_errors.py +8 -8
- criteo_api_retailmedia_preview/model/report_detail_warning.py +14 -14
- criteo_api_retailmedia_preview/model/report_ok_response.py +20 -20
- criteo_api_retailmedia_preview/model/report_outcome.py +5 -5
- criteo_api_retailmedia_preview/model/report_response.py +9 -9
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_seller_preview.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_sku_data_preview.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_sku_search_request_preview.py +4 -4
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +8 -8
- criteo_api_retailmedia_preview/model/retail_media_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_account_fees_update_result.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_brand_id_search_request.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_seller_search_result.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_private_market_account_fees.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_input_account_fees_search_request.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_account_fees_update_request.py +262 -0
- criteo_api_retailmedia_preview/model/{json_api_request_of_brand_catalog_request_v2.py → value_resource_input_of_brand_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_request_of_seller_catalog_request_v2.py → value_resource_input_of_seller_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_brand_catalog_request_v2_and_brand_catalog_request_v2.py → value_resource_of_brand_catalog_request_v2.py} +10 -16
- criteo_api_retailmedia_preview/model/value_resource_of_recommended_keywords_result.py +4 -4
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_seller_catalog_request_v2_and_seller_catalog_request_v2.py → value_resource_of_seller_catalog_request_v2.py} +10 -16
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search_result.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_outcome_account_fees_update_result.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_outcome_cpc_min_bids_response.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_outcome_of_recommended_keywords_result.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_outcome_retail_media_keywords_review_result.py +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 -6
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/RECORD +205 -187
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/top_level.txt +0 -0
|
@@ -75,15 +75,15 @@ class LineItemKeywordReviewReport(ModelNormal):
|
|
|
75
75
|
and the value is attribute type.
|
|
76
76
|
"""
|
|
77
77
|
return {
|
|
78
|
+
'account_id': (str,), # noqa: E501
|
|
79
|
+
'account_name': (str,), # noqa: E501
|
|
80
|
+
'campaign_id': (str,), # noqa: E501
|
|
81
|
+
'campaign_name': (str,), # noqa: E501
|
|
82
|
+
'count_keywords': (int,), # noqa: E501
|
|
78
83
|
'line_item_id': (str,), # noqa: E501
|
|
79
84
|
'line_item_name': (str,), # noqa: E501
|
|
80
85
|
'retailer_id': (str,), # noqa: E501
|
|
81
86
|
'retailer_name': (str,), # noqa: E501
|
|
82
|
-
'campaign_id': (str,), # noqa: E501
|
|
83
|
-
'campaign_name': (str,), # noqa: E501
|
|
84
|
-
'account_id': (str,), # noqa: E501
|
|
85
|
-
'account_name': (str,), # noqa: E501
|
|
86
|
-
'count_keywords': (int,), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
@cached_property
|
|
@@ -92,15 +92,15 @@ class LineItemKeywordReviewReport(ModelNormal):
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
attribute_map = {
|
|
95
|
+
'account_id': 'accountId', # noqa: E501
|
|
96
|
+
'account_name': 'accountName', # noqa: E501
|
|
97
|
+
'campaign_id': 'campaignId', # noqa: E501
|
|
98
|
+
'campaign_name': 'campaignName', # noqa: E501
|
|
99
|
+
'count_keywords': 'countKeywords', # noqa: E501
|
|
95
100
|
'line_item_id': 'lineItemId', # noqa: E501
|
|
96
101
|
'line_item_name': 'lineItemName', # noqa: E501
|
|
97
102
|
'retailer_id': 'retailerId', # noqa: E501
|
|
98
103
|
'retailer_name': 'retailerName', # noqa: E501
|
|
99
|
-
'campaign_id': 'campaignId', # noqa: E501
|
|
100
|
-
'campaign_name': 'campaignName', # noqa: E501
|
|
101
|
-
'account_id': 'accountId', # noqa: E501
|
|
102
|
-
'account_name': 'accountName', # noqa: E501
|
|
103
|
-
'count_keywords': 'countKeywords', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
read_only_vars = {
|
|
@@ -110,19 +110,19 @@ class LineItemKeywordReviewReport(ModelNormal):
|
|
|
110
110
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
|
-
def _from_openapi_data(cls,
|
|
113
|
+
def _from_openapi_data(cls, account_id, account_name, campaign_id, campaign_name, count_keywords, line_item_id, line_item_name, retailer_id, retailer_name, *args, **kwargs): # noqa: E501
|
|
114
114
|
"""LineItemKeywordReviewReport - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Args:
|
|
117
|
+
account_id (str): External ID of the account containing the campaign containing the line item this report is for
|
|
118
|
+
account_name (str): Name of the account containing the campaign containing the line item this report is for
|
|
119
|
+
campaign_id (str): External ID of the campaign containing the line item this report is for
|
|
120
|
+
campaign_name (str): Name of the campaign containing the line item this report is for
|
|
121
|
+
count_keywords (int): Number of PositiveExactMatch keywords on this line item that are in either \"InReview\" or \"Pending\" state
|
|
117
122
|
line_item_id (str): External ID of the line item that this report is for
|
|
118
123
|
line_item_name (str): Name of the line item that this report is for
|
|
119
124
|
retailer_id (str): Retailer ID connected to the line item this report is for
|
|
120
125
|
retailer_name (str): Name of the retailer connected to the line item this report is for
|
|
121
|
-
campaign_id (str): External ID of the campaign containing the line item this report is for
|
|
122
|
-
campaign_name (str): Name of the campaign containing the line item this report is for
|
|
123
|
-
account_id (str): External ID of the account containing the campaign containing the line item this report is for
|
|
124
|
-
account_name (str): Name of the account containing the campaign containing the line item this report is for
|
|
125
|
-
count_keywords (int): Number of PositiveExactMatch keywords on this line item that are in either \"InReview\" or \"Pending\" state
|
|
126
126
|
|
|
127
127
|
Keyword Args:
|
|
128
128
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -186,15 +186,15 @@ class LineItemKeywordReviewReport(ModelNormal):
|
|
|
186
186
|
self._configuration = _configuration
|
|
187
187
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
188
188
|
|
|
189
|
+
self.account_id = account_id
|
|
190
|
+
self.account_name = account_name
|
|
191
|
+
self.campaign_id = campaign_id
|
|
192
|
+
self.campaign_name = campaign_name
|
|
193
|
+
self.count_keywords = count_keywords
|
|
189
194
|
self.line_item_id = line_item_id
|
|
190
195
|
self.line_item_name = line_item_name
|
|
191
196
|
self.retailer_id = retailer_id
|
|
192
197
|
self.retailer_name = retailer_name
|
|
193
|
-
self.campaign_id = campaign_id
|
|
194
|
-
self.campaign_name = campaign_name
|
|
195
|
-
self.account_id = account_id
|
|
196
|
-
self.account_name = account_name
|
|
197
|
-
self.count_keywords = count_keywords
|
|
198
198
|
for var_name, var_value in kwargs.items():
|
|
199
199
|
if var_name not in self.attribute_map and \
|
|
200
200
|
self._configuration is not None and \
|
|
@@ -215,19 +215,19 @@ class LineItemKeywordReviewReport(ModelNormal):
|
|
|
215
215
|
])
|
|
216
216
|
|
|
217
217
|
@convert_js_args_to_python_args
|
|
218
|
-
def __init__(self,
|
|
218
|
+
def __init__(self, account_id, account_name, campaign_id, campaign_name, count_keywords, line_item_id, line_item_name, retailer_id, retailer_name, *args, **kwargs): # noqa: E501
|
|
219
219
|
"""LineItemKeywordReviewReport - a model defined in OpenAPI
|
|
220
220
|
|
|
221
221
|
Args:
|
|
222
|
+
account_id (str): External ID of the account containing the campaign containing the line item this report is for
|
|
223
|
+
account_name (str): Name of the account containing the campaign containing the line item this report is for
|
|
224
|
+
campaign_id (str): External ID of the campaign containing the line item this report is for
|
|
225
|
+
campaign_name (str): Name of the campaign containing the line item this report is for
|
|
226
|
+
count_keywords (int): Number of PositiveExactMatch keywords on this line item that are in either \"InReview\" or \"Pending\" state
|
|
222
227
|
line_item_id (str): External ID of the line item that this report is for
|
|
223
228
|
line_item_name (str): Name of the line item that this report is for
|
|
224
229
|
retailer_id (str): Retailer ID connected to the line item this report is for
|
|
225
230
|
retailer_name (str): Name of the retailer connected to the line item this report is for
|
|
226
|
-
campaign_id (str): External ID of the campaign containing the line item this report is for
|
|
227
|
-
campaign_name (str): Name of the campaign containing the line item this report is for
|
|
228
|
-
account_id (str): External ID of the account containing the campaign containing the line item this report is for
|
|
229
|
-
account_name (str): Name of the account containing the campaign containing the line item this report is for
|
|
230
|
-
count_keywords (int): Number of PositiveExactMatch keywords on this line item that are in either \"InReview\" or \"Pending\" state
|
|
231
231
|
|
|
232
232
|
Keyword Args:
|
|
233
233
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -289,15 +289,15 @@ class LineItemKeywordReviewReport(ModelNormal):
|
|
|
289
289
|
self._configuration = _configuration
|
|
290
290
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
291
291
|
|
|
292
|
+
self.account_id = account_id
|
|
293
|
+
self.account_name = account_name
|
|
294
|
+
self.campaign_id = campaign_id
|
|
295
|
+
self.campaign_name = campaign_name
|
|
296
|
+
self.count_keywords = count_keywords
|
|
292
297
|
self.line_item_id = line_item_id
|
|
293
298
|
self.line_item_name = line_item_name
|
|
294
299
|
self.retailer_id = retailer_id
|
|
295
300
|
self.retailer_name = retailer_name
|
|
296
|
-
self.campaign_id = campaign_id
|
|
297
|
-
self.campaign_name = campaign_name
|
|
298
|
-
self.account_id = account_id
|
|
299
|
-
self.account_name = account_name
|
|
300
|
-
self.count_keywords = count_keywords
|
|
301
301
|
for var_name, var_value in kwargs.items():
|
|
302
302
|
if var_name not in self.attribute_map and \
|
|
303
303
|
self._configuration is not None and \
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Criteo API
|
|
3
|
+
|
|
4
|
+
Criteo API - RetailMedia # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: Preview
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
import re # noqa: F401
|
|
12
|
+
import sys # noqa: F401
|
|
13
|
+
|
|
14
|
+
from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
15
|
+
ApiTypeError,
|
|
16
|
+
ModelComposed,
|
|
17
|
+
ModelNormal,
|
|
18
|
+
ModelSimple,
|
|
19
|
+
cached_property,
|
|
20
|
+
change_keys_js_to_python,
|
|
21
|
+
convert_js_args_to_python_args,
|
|
22
|
+
date,
|
|
23
|
+
datetime,
|
|
24
|
+
file_type,
|
|
25
|
+
none_type,
|
|
26
|
+
validate_get_composed_info,
|
|
27
|
+
OpenApiModel
|
|
28
|
+
)
|
|
29
|
+
from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class ManagedServiceFee(ModelNormal):
|
|
34
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
|
+
Ref: https://openapi-generator.tech
|
|
36
|
+
|
|
37
|
+
Do not edit the class manually.
|
|
38
|
+
|
|
39
|
+
Attributes:
|
|
40
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
41
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
42
|
+
with a capitalized key describing the allowed value and an allowed
|
|
43
|
+
value. These dicts store the allowed enum values.
|
|
44
|
+
attribute_map (dict): The key is attribute name
|
|
45
|
+
and the value is json key in definition.
|
|
46
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
47
|
+
variable value to the discriminator class name.
|
|
48
|
+
validations (dict): The key is the tuple path to the attribute
|
|
49
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
50
|
+
that stores validations for max_length, min_length, max_items,
|
|
51
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
52
|
+
inclusive_minimum, and regex.
|
|
53
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
54
|
+
as additional properties values.
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
allowed_values = {
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
validations = {
|
|
61
|
+
('rate',): {
|
|
62
|
+
'inclusive_maximum': 1,
|
|
63
|
+
'inclusive_minimum': 0,
|
|
64
|
+
},
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
additional_properties_type = None
|
|
68
|
+
|
|
69
|
+
_nullable = False
|
|
70
|
+
|
|
71
|
+
@cached_property
|
|
72
|
+
def openapi_types():
|
|
73
|
+
"""
|
|
74
|
+
This must be a method because a model may have properties that are
|
|
75
|
+
of type self, this must run after the class is loaded
|
|
76
|
+
|
|
77
|
+
Returns
|
|
78
|
+
openapi_types (dict): The key is attribute name
|
|
79
|
+
and the value is attribute type.
|
|
80
|
+
"""
|
|
81
|
+
return {
|
|
82
|
+
'onsite_display_enabled': (bool,), # noqa: E501
|
|
83
|
+
'onsite_sponsored_products_enabled': (bool,), # noqa: E501
|
|
84
|
+
'rate': (float,), # noqa: E501
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@cached_property
|
|
88
|
+
def discriminator():
|
|
89
|
+
return None
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
attribute_map = {
|
|
93
|
+
'onsite_display_enabled': 'onsiteDisplayEnabled', # noqa: E501
|
|
94
|
+
'onsite_sponsored_products_enabled': 'onsiteSponsoredProductsEnabled', # noqa: E501
|
|
95
|
+
'rate': 'rate', # noqa: E501
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
read_only_vars = {
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
_composed_schemas = {}
|
|
102
|
+
|
|
103
|
+
@classmethod
|
|
104
|
+
@convert_js_args_to_python_args
|
|
105
|
+
def _from_openapi_data(cls, onsite_display_enabled, onsite_sponsored_products_enabled, rate, *args, **kwargs): # noqa: E501
|
|
106
|
+
"""ManagedServiceFee - a model defined in OpenAPI
|
|
107
|
+
|
|
108
|
+
Args:
|
|
109
|
+
onsite_display_enabled (bool): whether fee is enabled for display campaigns
|
|
110
|
+
onsite_sponsored_products_enabled (bool): whether fee is enabled for sponsored product campaigns
|
|
111
|
+
rate (float): decimal fee rate between 0 and 1
|
|
112
|
+
|
|
113
|
+
Keyword Args:
|
|
114
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
115
|
+
will be type checked and a TypeError will be
|
|
116
|
+
raised if the wrong type is input.
|
|
117
|
+
Defaults to True
|
|
118
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
119
|
+
drill down to the model in received_data
|
|
120
|
+
when deserializing a response
|
|
121
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
122
|
+
are serialized names, as specified in the OpenAPI document.
|
|
123
|
+
False if the variable names in the input data
|
|
124
|
+
are pythonic names, e.g. snake case (default)
|
|
125
|
+
_configuration (Configuration): the instance to use when
|
|
126
|
+
deserializing a file_type parameter.
|
|
127
|
+
If passed, type conversion is attempted
|
|
128
|
+
If omitted no type conversion is done.
|
|
129
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
130
|
+
classes that we have traveled through so that
|
|
131
|
+
if we see that class again we will not use its
|
|
132
|
+
discriminator again.
|
|
133
|
+
When traveling through a discriminator, the
|
|
134
|
+
composed schema that is
|
|
135
|
+
is traveled through is added to this set.
|
|
136
|
+
For example if Animal has a discriminator
|
|
137
|
+
petType and we pass in "Dog", and the class Dog
|
|
138
|
+
allOf includes Animal, we move through Animal
|
|
139
|
+
once using the discriminator, and pick Dog.
|
|
140
|
+
Then in Dog, we will make an instance of the
|
|
141
|
+
Animal class but this time we won't travel
|
|
142
|
+
through its discriminator because we passed in
|
|
143
|
+
_visited_composed_classes = (Animal,)
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
147
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
148
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
149
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
150
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
151
|
+
|
|
152
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
153
|
+
|
|
154
|
+
if args:
|
|
155
|
+
for arg in args:
|
|
156
|
+
if isinstance(arg, dict):
|
|
157
|
+
kwargs.update(arg)
|
|
158
|
+
else:
|
|
159
|
+
raise ApiTypeError(
|
|
160
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
161
|
+
args,
|
|
162
|
+
self.__class__.__name__,
|
|
163
|
+
),
|
|
164
|
+
path_to_item=_path_to_item,
|
|
165
|
+
valid_classes=(self.__class__,),
|
|
166
|
+
)
|
|
167
|
+
|
|
168
|
+
self._data_store = {}
|
|
169
|
+
self._check_type = _check_type
|
|
170
|
+
self._spec_property_naming = _spec_property_naming
|
|
171
|
+
self._path_to_item = _path_to_item
|
|
172
|
+
self._configuration = _configuration
|
|
173
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
174
|
+
|
|
175
|
+
self.onsite_display_enabled = onsite_display_enabled
|
|
176
|
+
self.onsite_sponsored_products_enabled = onsite_sponsored_products_enabled
|
|
177
|
+
self.rate = rate
|
|
178
|
+
for var_name, var_value in kwargs.items():
|
|
179
|
+
if var_name not in self.attribute_map and \
|
|
180
|
+
self._configuration is not None and \
|
|
181
|
+
self._configuration.discard_unknown_keys and \
|
|
182
|
+
self.additional_properties_type is None:
|
|
183
|
+
# discard variable.
|
|
184
|
+
continue
|
|
185
|
+
setattr(self, var_name, var_value)
|
|
186
|
+
return self
|
|
187
|
+
|
|
188
|
+
required_properties = set([
|
|
189
|
+
'_data_store',
|
|
190
|
+
'_check_type',
|
|
191
|
+
'_spec_property_naming',
|
|
192
|
+
'_path_to_item',
|
|
193
|
+
'_configuration',
|
|
194
|
+
'_visited_composed_classes',
|
|
195
|
+
])
|
|
196
|
+
|
|
197
|
+
@convert_js_args_to_python_args
|
|
198
|
+
def __init__(self, onsite_display_enabled, onsite_sponsored_products_enabled, rate, *args, **kwargs): # noqa: E501
|
|
199
|
+
"""ManagedServiceFee - a model defined in OpenAPI
|
|
200
|
+
|
|
201
|
+
Args:
|
|
202
|
+
onsite_display_enabled (bool): whether fee is enabled for display campaigns
|
|
203
|
+
onsite_sponsored_products_enabled (bool): whether fee is enabled for sponsored product campaigns
|
|
204
|
+
rate (float): decimal fee rate between 0 and 1
|
|
205
|
+
|
|
206
|
+
Keyword Args:
|
|
207
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
208
|
+
will be type checked and a TypeError will be
|
|
209
|
+
raised if the wrong type is input.
|
|
210
|
+
Defaults to True
|
|
211
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
212
|
+
drill down to the model in received_data
|
|
213
|
+
when deserializing a response
|
|
214
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
215
|
+
are serialized names, as specified in the OpenAPI document.
|
|
216
|
+
False if the variable names in the input data
|
|
217
|
+
are pythonic names, e.g. snake case (default)
|
|
218
|
+
_configuration (Configuration): the instance to use when
|
|
219
|
+
deserializing a file_type parameter.
|
|
220
|
+
If passed, type conversion is attempted
|
|
221
|
+
If omitted no type conversion is done.
|
|
222
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
223
|
+
classes that we have traveled through so that
|
|
224
|
+
if we see that class again we will not use its
|
|
225
|
+
discriminator again.
|
|
226
|
+
When traveling through a discriminator, the
|
|
227
|
+
composed schema that is
|
|
228
|
+
is traveled through is added to this set.
|
|
229
|
+
For example if Animal has a discriminator
|
|
230
|
+
petType and we pass in "Dog", and the class Dog
|
|
231
|
+
allOf includes Animal, we move through Animal
|
|
232
|
+
once using the discriminator, and pick Dog.
|
|
233
|
+
Then in Dog, we will make an instance of the
|
|
234
|
+
Animal class but this time we won't travel
|
|
235
|
+
through its discriminator because we passed in
|
|
236
|
+
_visited_composed_classes = (Animal,)
|
|
237
|
+
"""
|
|
238
|
+
|
|
239
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
240
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
241
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
242
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
243
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
244
|
+
|
|
245
|
+
if args:
|
|
246
|
+
for arg in args:
|
|
247
|
+
if isinstance(arg, dict):
|
|
248
|
+
kwargs.update(arg)
|
|
249
|
+
else:
|
|
250
|
+
raise ApiTypeError(
|
|
251
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
252
|
+
args,
|
|
253
|
+
self.__class__.__name__,
|
|
254
|
+
),
|
|
255
|
+
path_to_item=_path_to_item,
|
|
256
|
+
valid_classes=(self.__class__,),
|
|
257
|
+
)
|
|
258
|
+
|
|
259
|
+
self._data_store = {}
|
|
260
|
+
self._check_type = _check_type
|
|
261
|
+
self._spec_property_naming = _spec_property_naming
|
|
262
|
+
self._path_to_item = _path_to_item
|
|
263
|
+
self._configuration = _configuration
|
|
264
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
265
|
+
|
|
266
|
+
self.onsite_display_enabled = onsite_display_enabled
|
|
267
|
+
self.onsite_sponsored_products_enabled = onsite_sponsored_products_enabled
|
|
268
|
+
self.rate = rate
|
|
269
|
+
for var_name, var_value in kwargs.items():
|
|
270
|
+
if var_name not in self.attribute_map and \
|
|
271
|
+
self._configuration is not None and \
|
|
272
|
+
self._configuration.discard_unknown_keys and \
|
|
273
|
+
self.additional_properties_type is None:
|
|
274
|
+
# discard variable.
|
|
275
|
+
continue
|
|
276
|
+
setattr(self, var_name, var_value)
|
|
277
|
+
if var_name in self.read_only_vars:
|
|
278
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
279
|
+
f"class with read only attributes.")
|
|
@@ -87,8 +87,8 @@ class Message(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'user_message': (str, none_type,), # noqa: E501
|
|
91
90
|
'bot_message': (BotMessage,), # noqa: E501
|
|
91
|
+
'user_message': (str, none_type,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class Message(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'user_message': 'userMessage', # noqa: E501
|
|
101
100
|
'bot_message': 'botMessage', # noqa: E501
|
|
101
|
+
'user_message': 'userMessage', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -142,8 +142,8 @@ class Message(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
|
-
user_message (str, none_type): user prompt. [optional] # noqa: E501
|
|
146
145
|
bot_message (BotMessage): [optional] # noqa: E501
|
|
146
|
+
user_message (str, none_type): user prompt. [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -229,8 +229,8 @@ class Message(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
|
-
user_message (str, none_type): user prompt. [optional] # noqa: E501
|
|
233
232
|
bot_message (BotMessage): [optional] # noqa: E501
|
|
233
|
+
user_message (str, none_type): user prompt. [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -81,10 +81,10 @@ class MessageError(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'trace_id': (str, none_type,), # noqa: E501
|
|
85
|
-
'type': (str, none_type,), # noqa: E501
|
|
86
84
|
'code': (str, none_type,), # noqa: E501
|
|
87
85
|
'instance': (str, none_type,), # noqa: E501
|
|
86
|
+
'trace_id': (str, none_type,), # noqa: E501
|
|
87
|
+
'type': (str, none_type,), # noqa: E501
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
@cached_property
|
|
@@ -93,10 +93,10 @@ class MessageError(ModelNormal):
|
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
attribute_map = {
|
|
96
|
-
'trace_id': 'traceId', # noqa: E501
|
|
97
|
-
'type': 'type', # noqa: E501
|
|
98
96
|
'code': 'code', # noqa: E501
|
|
99
97
|
'instance': 'instance', # noqa: E501
|
|
98
|
+
'trace_id': 'traceId', # noqa: E501
|
|
99
|
+
'type': 'type', # noqa: E501
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
read_only_vars = {
|
|
@@ -140,10 +140,10 @@ class MessageError(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
|
-
trace_id (str, none_type): correlation ID, unique to each request. [optional] # noqa: E501
|
|
144
|
-
type (str, none_type): error category. [optional] # noqa: E501
|
|
145
143
|
code (str, none_type): error code. [optional] # noqa: E501
|
|
146
144
|
instance (str, none_type): specific occurrence of the problem. [optional] # noqa: E501
|
|
145
|
+
trace_id (str, none_type): correlation ID, unique to each request. [optional] # noqa: E501
|
|
146
|
+
type (str, none_type): error category. [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -229,10 +229,10 @@ class MessageError(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
|
-
trace_id (str, none_type): correlation ID, unique to each request. [optional] # noqa: E501
|
|
233
|
-
type (str, none_type): error category. [optional] # noqa: E501
|
|
234
232
|
code (str, none_type): error code. [optional] # noqa: E501
|
|
235
233
|
instance (str, none_type): specific occurrence of the problem. [optional] # noqa: E501
|
|
234
|
+
trace_id (str, none_type): correlation ID, unique to each request. [optional] # noqa: E501
|
|
235
|
+
type (str, none_type): error category. [optional] # noqa: E501
|
|
236
236
|
"""
|
|
237
237
|
|
|
238
238
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -75,8 +75,8 @@ class Metadata(ModelNormal):
|
|
|
75
75
|
and the value is attribute type.
|
|
76
76
|
"""
|
|
77
77
|
return {
|
|
78
|
-
'offset': (int,), # noqa: E501
|
|
79
78
|
'limit': (int,), # noqa: E501
|
|
79
|
+
'offset': (int,), # noqa: E501
|
|
80
80
|
'count': (int, none_type,), # noqa: E501
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -86,8 +86,8 @@ class Metadata(ModelNormal):
|
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
attribute_map = {
|
|
89
|
-
'offset': 'offset', # noqa: E501
|
|
90
89
|
'limit': 'limit', # noqa: E501
|
|
90
|
+
'offset': 'offset', # noqa: E501
|
|
91
91
|
'count': 'count', # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -98,12 +98,12 @@ class Metadata(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
@classmethod
|
|
100
100
|
@convert_js_args_to_python_args
|
|
101
|
-
def _from_openapi_data(cls,
|
|
101
|
+
def _from_openapi_data(cls, limit, offset, *args, **kwargs): # noqa: E501
|
|
102
102
|
"""Metadata - a model defined in OpenAPI
|
|
103
103
|
|
|
104
104
|
Args:
|
|
105
|
-
offset (int): The (zero-based) starting offset in the collection.
|
|
106
105
|
limit (int): The number of elements to be returned.
|
|
106
|
+
offset (int): The (zero-based) starting offset in the collection.
|
|
107
107
|
|
|
108
108
|
Keyword Args:
|
|
109
109
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -168,8 +168,8 @@ class Metadata(ModelNormal):
|
|
|
168
168
|
self._configuration = _configuration
|
|
169
169
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
170
170
|
|
|
171
|
-
self.offset = offset
|
|
172
171
|
self.limit = limit
|
|
172
|
+
self.offset = offset
|
|
173
173
|
for var_name, var_value in kwargs.items():
|
|
174
174
|
if var_name not in self.attribute_map and \
|
|
175
175
|
self._configuration is not None and \
|
|
@@ -190,12 +190,12 @@ class Metadata(ModelNormal):
|
|
|
190
190
|
])
|
|
191
191
|
|
|
192
192
|
@convert_js_args_to_python_args
|
|
193
|
-
def __init__(self,
|
|
193
|
+
def __init__(self, limit, offset, *args, **kwargs): # noqa: E501
|
|
194
194
|
"""Metadata - a model defined in OpenAPI
|
|
195
195
|
|
|
196
196
|
Args:
|
|
197
|
-
offset (int): The (zero-based) starting offset in the collection.
|
|
198
197
|
limit (int): The number of elements to be returned.
|
|
198
|
+
offset (int): The (zero-based) starting offset in the collection.
|
|
199
199
|
|
|
200
200
|
Keyword Args:
|
|
201
201
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -258,8 +258,8 @@ class Metadata(ModelNormal):
|
|
|
258
258
|
self._configuration = _configuration
|
|
259
259
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
260
260
|
|
|
261
|
-
self.offset = offset
|
|
262
261
|
self.limit = limit
|
|
262
|
+
self.offset = offset
|
|
263
263
|
for var_name, var_value in kwargs.items():
|
|
264
264
|
if var_name not in self.attribute_map and \
|
|
265
265
|
self._configuration is not None and \
|
|
@@ -80,8 +80,8 @@ class Outcome(ModelNormal):
|
|
|
80
80
|
"""
|
|
81
81
|
lazy_import()
|
|
82
82
|
return {
|
|
83
|
-
'warnings': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
|
|
84
83
|
'errors': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
|
|
84
|
+
'warnings': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
@cached_property
|
|
@@ -90,13 +90,13 @@ class Outcome(ModelNormal):
|
|
|
90
90
|
|
|
91
91
|
|
|
92
92
|
attribute_map = {
|
|
93
|
-
'warnings': 'warnings', # noqa: E501
|
|
94
93
|
'errors': 'errors', # noqa: E501
|
|
94
|
+
'warnings': 'warnings', # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
read_only_vars = {
|
|
98
|
-
'warnings', # noqa: E501
|
|
99
98
|
'errors', # noqa: E501
|
|
99
|
+
'warnings', # noqa: E501
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
_composed_schemas = {}
|
|
@@ -137,8 +137,8 @@ class Outcome(ModelNormal):
|
|
|
137
137
|
Animal class but this time we won't travel
|
|
138
138
|
through its discriminator because we passed in
|
|
139
139
|
_visited_composed_classes = (Animal,)
|
|
140
|
-
warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
141
140
|
errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
|
|
141
|
+
warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
142
142
|
"""
|
|
143
143
|
|
|
144
144
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -224,8 +224,8 @@ class Outcome(ModelNormal):
|
|
|
224
224
|
Animal class but this time we won't travel
|
|
225
225
|
through its discriminator because we passed in
|
|
226
226
|
_visited_composed_classes = (Animal,)
|
|
227
|
-
warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
228
227
|
errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
|
|
228
|
+
warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
229
229
|
"""
|
|
230
230
|
|
|
231
231
|
_check_type = kwargs.pop('_check_type', True)
|