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
|
@@ -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 \
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class ManagedServiceFee(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -58,6 +58,10 @@ class InputKeywords(ModelNormal):
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
validations = {
|
|
61
|
+
('rate',): {
|
|
62
|
+
'inclusive_maximum': 1,
|
|
63
|
+
'inclusive_minimum': 0,
|
|
64
|
+
},
|
|
61
65
|
}
|
|
62
66
|
|
|
63
67
|
additional_properties_type = None
|
|
@@ -75,9 +79,9 @@ class InputKeywords(ModelNormal):
|
|
|
75
79
|
and the value is attribute type.
|
|
76
80
|
"""
|
|
77
81
|
return {
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'
|
|
82
|
+
'onsite_display_enabled': (bool,), # noqa: E501
|
|
83
|
+
'onsite_sponsored_products_enabled': (bool,), # noqa: E501
|
|
84
|
+
'rate': (float,), # noqa: E501
|
|
81
85
|
}
|
|
82
86
|
|
|
83
87
|
@cached_property
|
|
@@ -86,9 +90,9 @@ class InputKeywords(ModelNormal):
|
|
|
86
90
|
|
|
87
91
|
|
|
88
92
|
attribute_map = {
|
|
89
|
-
'
|
|
90
|
-
'
|
|
91
|
-
'
|
|
93
|
+
'onsite_display_enabled': 'onsiteDisplayEnabled', # noqa: E501
|
|
94
|
+
'onsite_sponsored_products_enabled': 'onsiteSponsoredProductsEnabled', # noqa: E501
|
|
95
|
+
'rate': 'rate', # noqa: E501
|
|
92
96
|
}
|
|
93
97
|
|
|
94
98
|
read_only_vars = {
|
|
@@ -98,8 +102,13 @@ class InputKeywords(ModelNormal):
|
|
|
98
102
|
|
|
99
103
|
@classmethod
|
|
100
104
|
@convert_js_args_to_python_args
|
|
101
|
-
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
102
|
-
"""
|
|
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
|
|
103
112
|
|
|
104
113
|
Keyword Args:
|
|
105
114
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -132,9 +141,6 @@ class InputKeywords(ModelNormal):
|
|
|
132
141
|
Animal class but this time we won't travel
|
|
133
142
|
through its discriminator because we passed in
|
|
134
143
|
_visited_composed_classes = (Animal,)
|
|
135
|
-
negative_broad ([str], none_type): The collection of supplied negative broad phrased. [optional] # noqa: E501
|
|
136
|
-
negative_exact ([str], none_type): The collection of supplied negative exact phrase. [optional] # noqa: E501
|
|
137
|
-
positive_exact ([str], none_type): The collection of supplied positive exact phrases. [optional] # noqa: E501
|
|
138
144
|
"""
|
|
139
145
|
|
|
140
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -166,6 +172,9 @@ class InputKeywords(ModelNormal):
|
|
|
166
172
|
self._configuration = _configuration
|
|
167
173
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
168
174
|
|
|
175
|
+
self.onsite_display_enabled = onsite_display_enabled
|
|
176
|
+
self.onsite_sponsored_products_enabled = onsite_sponsored_products_enabled
|
|
177
|
+
self.rate = rate
|
|
169
178
|
for var_name, var_value in kwargs.items():
|
|
170
179
|
if var_name not in self.attribute_map and \
|
|
171
180
|
self._configuration is not None and \
|
|
@@ -186,8 +195,13 @@ class InputKeywords(ModelNormal):
|
|
|
186
195
|
])
|
|
187
196
|
|
|
188
197
|
@convert_js_args_to_python_args
|
|
189
|
-
def __init__(self, *args, **kwargs): # noqa: E501
|
|
190
|
-
"""
|
|
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
|
|
191
205
|
|
|
192
206
|
Keyword Args:
|
|
193
207
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -220,9 +234,6 @@ class InputKeywords(ModelNormal):
|
|
|
220
234
|
Animal class but this time we won't travel
|
|
221
235
|
through its discriminator because we passed in
|
|
222
236
|
_visited_composed_classes = (Animal,)
|
|
223
|
-
negative_broad ([str], none_type): The collection of supplied negative broad phrased. [optional] # noqa: E501
|
|
224
|
-
negative_exact ([str], none_type): The collection of supplied negative exact phrase. [optional] # noqa: E501
|
|
225
|
-
positive_exact ([str], none_type): The collection of supplied positive exact phrases. [optional] # noqa: E501
|
|
226
237
|
"""
|
|
227
238
|
|
|
228
239
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -252,6 +263,9 @@ class InputKeywords(ModelNormal):
|
|
|
252
263
|
self._configuration = _configuration
|
|
253
264
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
254
265
|
|
|
266
|
+
self.onsite_display_enabled = onsite_display_enabled
|
|
267
|
+
self.onsite_sponsored_products_enabled = onsite_sponsored_products_enabled
|
|
268
|
+
self.rate = rate
|
|
255
269
|
for var_name, var_value in kwargs.items():
|
|
256
270
|
if var_name not in self.attribute_map and \
|
|
257
271
|
self._configuration is not None and \
|
|
@@ -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)
|
|
@@ -81,12 +81,12 @@ class PageMetadata(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'current_page_size': (int,), # noqa: E501
|
|
85
84
|
'current_page_index': (int,), # noqa: E501
|
|
86
|
-
'
|
|
87
|
-
'total_pages': (int, none_type,), # noqa: E501
|
|
85
|
+
'current_page_size': (int,), # noqa: E501
|
|
88
86
|
'next_page': (str, none_type,), # noqa: E501
|
|
89
87
|
'previous_page': (str, none_type,), # noqa: E501
|
|
88
|
+
'total_items_across_all_pages': (int, none_type,), # noqa: E501
|
|
89
|
+
'total_pages': (int, none_type,), # noqa: E501
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
@cached_property
|
|
@@ -95,12 +95,12 @@ class PageMetadata(ModelNormal):
|
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
attribute_map = {
|
|
98
|
-
'current_page_size': 'currentPageSize', # noqa: E501
|
|
99
98
|
'current_page_index': 'currentPageIndex', # noqa: E501
|
|
100
|
-
'
|
|
101
|
-
'total_pages': 'totalPages', # noqa: E501
|
|
99
|
+
'current_page_size': 'currentPageSize', # noqa: E501
|
|
102
100
|
'next_page': 'nextPage', # noqa: E501
|
|
103
101
|
'previous_page': 'previousPage', # noqa: E501
|
|
102
|
+
'total_items_across_all_pages': 'totalItemsAcrossAllPages', # noqa: E501
|
|
103
|
+
'total_pages': 'totalPages', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
read_only_vars = {
|
|
@@ -110,12 +110,12 @@ class PageMetadata(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, current_page_index, current_page_size, *args, **kwargs): # noqa: E501
|
|
114
114
|
"""PageMetadata - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Args:
|
|
117
|
-
current_page_size (int):
|
|
118
117
|
current_page_index (int):
|
|
118
|
+
current_page_size (int):
|
|
119
119
|
|
|
120
120
|
Keyword Args:
|
|
121
121
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -148,10 +148,10 @@ class PageMetadata(ModelNormal):
|
|
|
148
148
|
Animal class but this time we won't travel
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
|
-
total_items_across_all_pages (int, none_type): [optional] # noqa: E501
|
|
152
|
-
total_pages (int, none_type): [optional] # noqa: E501
|
|
153
151
|
next_page (str, none_type): [optional] # noqa: E501
|
|
154
152
|
previous_page (str, none_type): [optional] # noqa: E501
|
|
153
|
+
total_items_across_all_pages (int, none_type): [optional] # noqa: E501
|
|
154
|
+
total_pages (int, none_type): [optional] # noqa: E501
|
|
155
155
|
"""
|
|
156
156
|
|
|
157
157
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -183,8 +183,8 @@ class PageMetadata(ModelNormal):
|
|
|
183
183
|
self._configuration = _configuration
|
|
184
184
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
185
185
|
|
|
186
|
-
self.current_page_size = current_page_size
|
|
187
186
|
self.current_page_index = current_page_index
|
|
187
|
+
self.current_page_size = current_page_size
|
|
188
188
|
for var_name, var_value in kwargs.items():
|
|
189
189
|
if var_name not in self.attribute_map and \
|
|
190
190
|
self._configuration is not None and \
|
|
@@ -205,12 +205,12 @@ class PageMetadata(ModelNormal):
|
|
|
205
205
|
])
|
|
206
206
|
|
|
207
207
|
@convert_js_args_to_python_args
|
|
208
|
-
def __init__(self,
|
|
208
|
+
def __init__(self, current_page_index, current_page_size, *args, **kwargs): # noqa: E501
|
|
209
209
|
"""PageMetadata - a model defined in OpenAPI
|
|
210
210
|
|
|
211
211
|
Args:
|
|
212
|
-
current_page_size (int):
|
|
213
212
|
current_page_index (int):
|
|
213
|
+
current_page_size (int):
|
|
214
214
|
|
|
215
215
|
Keyword Args:
|
|
216
216
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -243,10 +243,10 @@ class PageMetadata(ModelNormal):
|
|
|
243
243
|
Animal class but this time we won't travel
|
|
244
244
|
through its discriminator because we passed in
|
|
245
245
|
_visited_composed_classes = (Animal,)
|
|
246
|
-
total_items_across_all_pages (int, none_type): [optional] # noqa: E501
|
|
247
|
-
total_pages (int, none_type): [optional] # noqa: E501
|
|
248
246
|
next_page (str, none_type): [optional] # noqa: E501
|
|
249
247
|
previous_page (str, none_type): [optional] # noqa: E501
|
|
248
|
+
total_items_across_all_pages (int, none_type): [optional] # noqa: E501
|
|
249
|
+
total_pages (int, none_type): [optional] # noqa: E501
|
|
250
250
|
"""
|
|
251
251
|
|
|
252
252
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -276,8 +276,8 @@ class PageMetadata(ModelNormal):
|
|
|
276
276
|
self._configuration = _configuration
|
|
277
277
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
278
278
|
|
|
279
|
-
self.current_page_size = current_page_size
|
|
280
279
|
self.current_page_index = current_page_index
|
|
280
|
+
self.current_page_size = current_page_size
|
|
281
281
|
for var_name, var_value in kwargs.items():
|
|
282
282
|
if var_name not in self.attribute_map and \
|
|
283
283
|
self._configuration is not None and \
|
|
@@ -82,8 +82,8 @@ class PageOfBalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
82
82
|
"""
|
|
83
83
|
lazy_import()
|
|
84
84
|
return {
|
|
85
|
-
'meta': (Metadata,), # noqa: E501
|
|
86
85
|
'data': ([BalanceHistoryChangeDataCaptureV1],), # noqa: E501
|
|
86
|
+
'meta': (Metadata,), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
@cached_property
|
|
@@ -92,8 +92,8 @@ class PageOfBalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
attribute_map = {
|
|
95
|
-
'meta': 'meta', # noqa: E501
|
|
96
95
|
'data': 'data', # noqa: E501
|
|
96
|
+
'meta': 'meta', # noqa: E501
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
read_only_vars = {
|
|
@@ -103,12 +103,12 @@ class PageOfBalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
103
103
|
|
|
104
104
|
@classmethod
|
|
105
105
|
@convert_js_args_to_python_args
|
|
106
|
-
def _from_openapi_data(cls,
|
|
106
|
+
def _from_openapi_data(cls, data, meta, *args, **kwargs): # noqa: E501
|
|
107
107
|
"""PageOfBalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI
|
|
108
108
|
|
|
109
109
|
Args:
|
|
110
|
-
meta (Metadata):
|
|
111
110
|
data ([BalanceHistoryChangeDataCaptureV1]):
|
|
111
|
+
meta (Metadata):
|
|
112
112
|
|
|
113
113
|
Keyword Args:
|
|
114
114
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -172,8 +172,8 @@ class PageOfBalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
172
172
|
self._configuration = _configuration
|
|
173
173
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
174
174
|
|
|
175
|
-
self.meta = meta
|
|
176
175
|
self.data = data
|
|
176
|
+
self.meta = meta
|
|
177
177
|
for var_name, var_value in kwargs.items():
|
|
178
178
|
if var_name not in self.attribute_map and \
|
|
179
179
|
self._configuration is not None and \
|
|
@@ -194,12 +194,12 @@ class PageOfBalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
194
194
|
])
|
|
195
195
|
|
|
196
196
|
@convert_js_args_to_python_args
|
|
197
|
-
def __init__(self,
|
|
197
|
+
def __init__(self, data, meta, *args, **kwargs): # noqa: E501
|
|
198
198
|
"""PageOfBalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI
|
|
199
199
|
|
|
200
200
|
Args:
|
|
201
|
-
meta (Metadata):
|
|
202
201
|
data ([BalanceHistoryChangeDataCaptureV1]):
|
|
202
|
+
meta (Metadata):
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -261,8 +261,8 @@ class PageOfBalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
261
261
|
self._configuration = _configuration
|
|
262
262
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
263
263
|
|
|
264
|
-
self.meta = meta
|
|
265
264
|
self.data = data
|
|
265
|
+
self.meta = meta
|
|
266
266
|
for var_name, var_value in kwargs.items():
|
|
267
267
|
if var_name not in self.attribute_map and \
|
|
268
268
|
self._configuration is not None and \
|