criteo-api-marketingsolutions-sdk 0.0.240731__py3-none-any.whl → 0.0.240808__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-marketingsolutions-sdk might be problematic. Click here for more details.
- criteo_api_marketingsolutions_preview/__init__.py +2 -2
- criteo_api_marketingsolutions_preview/api/advertiser_api.py +1 -1
- criteo_api_marketingsolutions_preview/api/analytics_api.py +92 -67
- criteo_api_marketingsolutions_preview/api/audience_api.py +1 -1
- criteo_api_marketingsolutions_preview/api/campaign_api.py +1 -1
- criteo_api_marketingsolutions_preview/api/catalog_api.py +1 -1
- criteo_api_marketingsolutions_preview/api/creative_api.py +1 -1
- criteo_api_marketingsolutions_preview/api/gateway_api.py +1 -1
- criteo_api_marketingsolutions_preview/api/on_site_recommendation_api.py +1 -1
- criteo_api_marketingsolutions_preview/api/reco_api.py +1 -1
- criteo_api_marketingsolutions_preview/api_client.py +2 -2
- criteo_api_marketingsolutions_preview/configuration.py +3 -3
- criteo_api_marketingsolutions_preview/exceptions.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_audience_link_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_audience_link_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_audience_link_entity_v1_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_audience_link_input_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_category_bid.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_category_bid_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_category_bid_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_delivery_limitations_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_display_multiplier.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_display_multiplier_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_display_multiplier_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_frequency_capping_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_geo_location_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_search_filter_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_search_request_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_disable_result_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_disable_result_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_set_result_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_set_result_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_rule_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_disable_result_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_disable_result_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_set_result_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_set_result_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_write.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_write_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad_write_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/adaptive_attributes.py +1 -1
- criteo_api_marketingsolutions_preview/model/adaptive_colors.py +1 -1
- criteo_api_marketingsolutions_preview/model/adaptive_write_attributes.py +1 -1
- criteo_api_marketingsolutions_preview/model/advertiser_creation_input.py +1 -1
- criteo_api_marketingsolutions_preview/model/advertiser_creation_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/advertiser_creation_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/advertiser_dataset_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/algebra_node_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/api_error_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/api_request_of_targeting_entity.py +1 -1
- criteo_api_marketingsolutions_preview/model/api_response_of_targeting_entity.py +1 -1
- criteo_api_marketingsolutions_preview/model/application_summary_model.py +1 -1
- criteo_api_marketingsolutions_preview/model/application_summary_model_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/application_summary_model_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/attribute.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_bulk_create_input_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_bulk_delete_input_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_bulk_update_input_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_compute_size_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_compute_sizes_input_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_create_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_create_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_delete_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_entity_v1_audience_search_metadata_v1_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_entity_v1_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_error.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_estimate_size_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_estimate_size_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_estimate_size_input_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_id_entity_v1_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_id_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_name_description.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_search_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_search_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_search_input_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_search_metadata_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_bulk_create_input_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_bulk_delete_input_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_bulk_update_input_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_compute_size_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_compute_sizes_input_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_create_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_create_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_delete_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_entity_v1_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_estimate_size_input_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_id_entity_v1_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_id_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_search_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_search_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_search_input_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_search_metadata_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_size_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_size_entity_v1_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_size_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_size_estimation_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_size_estimation_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_size_estimation_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_size_estimation_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_size_estimation_v1_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_update_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_segment_update_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_size_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_size_entity_v1_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_size_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_size_estimation_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_size_estimation_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_size_estimation_v1_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_update_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_update_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/audience_warning.py +1 -1
- criteo_api_marketingsolutions_preview/model/basic_audience_definition.py +1 -1
- criteo_api_marketingsolutions_preview/model/batch_accepted_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/behavioral_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/campaign_search_filters_v23_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/campaign_search_request_v23_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/campaign_spend_limit_v23_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/campaign_v23_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/campaign_v23_q1_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/campaign_v23_q1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/campaign_v23_q1_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/common_problem.py +1 -1
- criteo_api_marketingsolutions_preview/model/contact_list_statistics_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/contact_list_statistics_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/contact_list_statistics_entity_v1_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/contact_list_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/contactlist_amendment.py +1 -1
- criteo_api_marketingsolutions_preview/model/contactlist_amendment_attributes.py +1 -1
- criteo_api_marketingsolutions_preview/model/contactlist_amendment_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/contactlist_operation.py +1 -1
- criteo_api_marketingsolutions_preview/model/contactlist_operation_attributes.py +1 -1
- criteo_api_marketingsolutions_preview/model/contactlist_with_attributes_amendment.py +1 -1
- criteo_api_marketingsolutions_preview/model/contactlist_with_attributes_amendment_attributes.py +1 -1
- criteo_api_marketingsolutions_preview/model/contactlist_with_attributes_amendment_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/coupon.py +1 -1
- criteo_api_marketingsolutions_preview/model/coupon_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/coupon_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/coupon_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/coupon_supported_sizes.py +1 -1
- criteo_api_marketingsolutions_preview/model/coupon_supported_sizes_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/coupon_supported_sizes_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_ad_set_bidding_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_ad_set_budget_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_ad_set_geo_location_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_ad_set_schedule_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_ad_set_targeting_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_campaign.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_campaign_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_campaign_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_campaign_spend_limit.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_coupon.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_coupon_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_coupon_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_image_slide.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_product_filter_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/create_product_set_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/creative.py +1 -1
- criteo_api_marketingsolutions_preview/model/creative_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/creative_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/creative_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/creative_write.py +1 -1
- criteo_api_marketingsolutions_preview/model/creative_write_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/creative_write_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/criteo_api_error.py +1 -1
- criteo_api_marketingsolutions_preview/model/criteo_api_warning.py +1 -1
- criteo_api_marketingsolutions_preview/model/criteo_api_warning_v2.py +1 -1
- criteo_api_marketingsolutions_preview/model/custom_attribute.py +1 -1
- criteo_api_marketingsolutions_preview/model/dataset.py +1 -1
- criteo_api_marketingsolutions_preview/model/deal_id.py +1 -1
- criteo_api_marketingsolutions_preview/model/delete_audience_contact_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/delete_user_profile_model.py +1 -1
- criteo_api_marketingsolutions_preview/model/delete_user_profile_model_list_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/delete_user_profile_model_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/dynamic_attributes.py +1 -1
- criteo_api_marketingsolutions_preview/model/dynamic_write_attributes.py +1 -1
- criteo_api_marketingsolutions_preview/model/entity_filter.py +1 -1
- criteo_api_marketingsolutions_preview/model/entity_of_portfolio_message.py +1 -1
- criteo_api_marketingsolutions_preview/model/entity_v2_of_dataset.py +1 -1
- criteo_api_marketingsolutions_preview/model/entity_v2_of_object.py +1 -1
- criteo_api_marketingsolutions_preview/model/entity_wrapper_of_targeting_entity.py +1 -1
- criteo_api_marketingsolutions_preview/model/error_code_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/error_description.py +1 -1
- criteo_api_marketingsolutions_preview/model/export_column.py +2 -8
- criteo_api_marketingsolutions_preview/model/export_meta_data.py +2 -11
- criteo_api_marketingsolutions_preview/model/export_result.py +2 -9
- criteo_api_marketingsolutions_preview/model/export_result_data.py +5 -14
- criteo_api_marketingsolutions_preview/model/fail_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/{generate_audience_performance_report_request_attributes.py → generate_audience_performance_report.py} +5 -21
- criteo_api_marketingsolutions_preview/model/generate_audience_performance_report_request.py +9 -22
- criteo_api_marketingsolutions_preview/model/{generate_creatives_report_request.py → generate_audience_performance_report_resource.py} +17 -26
- criteo_api_marketingsolutions_preview/model/generate_categories_report_request_attributes.py +2 -10
- criteo_api_marketingsolutions_preview/model/{problems_details.py → generate_categories_report_request_attributes_request.py} +11 -21
- criteo_api_marketingsolutions_preview/model/{generate_categories_report_request_data.py → generate_categories_report_request_attributes_resource.py} +12 -27
- criteo_api_marketingsolutions_preview/model/generate_creatives_report_request_attributes.py +2 -32
- criteo_api_marketingsolutions_preview/model/{report_data_message.py → generate_creatives_report_request_attributes_request.py} +12 -27
- criteo_api_marketingsolutions_preview/model/{generate_creatives_report_request_data.py → generate_creatives_report_request_attributes_resource.py} +12 -27
- criteo_api_marketingsolutions_preview/model/{generate_statistics_report_request_attributes.py → generate_statistics_report.py} +8 -26
- criteo_api_marketingsolutions_preview/model/generate_statistics_report_request.py +9 -22
- criteo_api_marketingsolutions_preview/model/generate_statistics_report_resource.py +266 -0
- criteo_api_marketingsolutions_preview/model/generate_top_products_report_request_attributes.py +2 -22
- criteo_api_marketingsolutions_preview/model/{generate_top_products_report_request.py → generate_top_products_report_request_attributes_request.py} +12 -25
- criteo_api_marketingsolutions_preview/model/{generate_top_products_report_request_data.py → generate_top_products_report_request_attributes_resource.py} +12 -27
- criteo_api_marketingsolutions_preview/model/get_portfolio_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/html_tag_attributes.py +1 -1
- criteo_api_marketingsolutions_preview/model/html_tag_write_attributes.py +1 -1
- criteo_api_marketingsolutions_preview/model/image_attributes.py +1 -1
- criteo_api_marketingsolutions_preview/model/image_set.py +1 -1
- criteo_api_marketingsolutions_preview/model/image_set_base64.py +1 -1
- criteo_api_marketingsolutions_preview/model/image_shape.py +1 -1
- criteo_api_marketingsolutions_preview/model/image_slide.py +1 -1
- criteo_api_marketingsolutions_preview/model/image_write_attributes.py +1 -1
- criteo_api_marketingsolutions_preview/model/in_market_audience_segment_brand_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/in_market_audience_segment_brand_entity_v1_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/in_market_audience_segment_brand_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/in_market_audience_segment_interest_entity_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/in_market_audience_segment_interest_entity_v1_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/in_market_audience_segment_interest_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/in_market_create_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/in_market_size_estimation_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/in_market_update_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/in_market_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/installment.py +1 -1
- criteo_api_marketingsolutions_preview/model/json_report_rows.py +2 -10
- criteo_api_marketingsolutions_preview/model/{generate_categories_report_request.py → json_report_rows_list_response.py} +24 -25
- criteo_api_marketingsolutions_preview/model/{report_entity_message.py → json_report_rows_resource.py} +12 -27
- criteo_api_marketingsolutions_preview/model/list_available_industries_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/location_create_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/location_size_estimation_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/location_update_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/location_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/lookalike_create_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/lookalike_update_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/lookalike_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/loyalty_points.py +1 -1
- criteo_api_marketingsolutions_preview/model/marketing_solutions_report_status.py +2 -12
- criteo_api_marketingsolutions_preview/model/marketing_solutions_report_status_resource.py +8 -15
- criteo_api_marketingsolutions_preview/model/marketing_solutions_report_status_response.py +10 -21
- criteo_api_marketingsolutions_preview/model/modify_audience_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q1_value.py +1 -1
- criteo_api_marketingsolutions_preview/model/nillable_date_time.py +1 -1
- criteo_api_marketingsolutions_preview/model/nillable_decimal.py +1 -1
- criteo_api_marketingsolutions_preview/model/nillable_gender_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/nillable_int32.py +1 -1
- criteo_api_marketingsolutions_preview/model/nillable_string.py +1 -1
- criteo_api_marketingsolutions_preview/model/oci_brand_safety_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/oci_brand_safety_response_data.py +1 -1
- criteo_api_marketingsolutions_preview/model/oci_brand_safety_rule.py +1 -1
- criteo_api_marketingsolutions_preview/model/oci_brand_safety_segment.py +1 -1
- criteo_api_marketingsolutions_preview/model/oci_targeting_node.py +1 -1
- criteo_api_marketingsolutions_preview/model/oci_targeting_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/oci_targeting_response_data.py +1 -1
- criteo_api_marketingsolutions_preview/model/oci_targeting_rule.py +1 -1
- criteo_api_marketingsolutions_preview/model/on_site_reco_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/on_site_reco_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/outcome.py +10 -21
- criteo_api_marketingsolutions_preview/model/patch_ad_set_bidding_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_ad_set_budget_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_ad_set_category_bid.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_ad_set_category_bid_list_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_ad_set_category_bid_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_ad_set_category_bid_result_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_ad_set_category_bid_result_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_ad_set_display_multiplier.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_ad_set_display_multiplier_list_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_ad_set_display_multiplier_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_ad_set_display_multiplier_result_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_ad_set_display_multiplier_result_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_ad_set_scheduling_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_ad_set_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_campaign.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_campaign_list_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_campaign_spend_limit.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_campaign_write_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_result_campaign_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/patch_result_campaign_read_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/placements_report_query_message.py +6 -12
- criteo_api_marketingsolutions_preview/model/{placements_report_query_data_message.py → placements_report_query_message_list_request.py} +12 -27
- criteo_api_marketingsolutions_preview/model/{placements_report_query_entity_message.py → placements_report_query_message_resource.py} +12 -27
- criteo_api_marketingsolutions_preview/model/point_of_interest_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/portfolio_message.py +1 -1
- criteo_api_marketingsolutions_preview/model/price.py +1 -1
- criteo_api_marketingsolutions_preview/model/product.py +1 -1
- criteo_api_marketingsolutions_preview/model/product_filter_config.py +1 -1
- criteo_api_marketingsolutions_preview/model/product_importer_error.py +1 -1
- criteo_api_marketingsolutions_preview/model/product_importer_warning.py +1 -1
- criteo_api_marketingsolutions_preview/model/product_set.py +1 -1
- criteo_api_marketingsolutions_preview/model/product_set_rule.py +1 -1
- criteo_api_marketingsolutions_preview/model/product_shipping.py +1 -1
- criteo_api_marketingsolutions_preview/model/product_shipping_dimension.py +1 -1
- criteo_api_marketingsolutions_preview/model/product_shipping_weight.py +1 -1
- criteo_api_marketingsolutions_preview/model/product_tax.py +1 -1
- criteo_api_marketingsolutions_preview/model/product_unit_pricing_base_measure.py +1 -1
- criteo_api_marketingsolutions_preview/model/product_unit_pricing_measure.py +1 -1
- criteo_api_marketingsolutions_preview/model/products_custom_batch_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/products_custom_batch_request_entry.py +1 -1
- criteo_api_marketingsolutions_preview/model/prospecting_create_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/prospecting_update_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/prospecting_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/read_ad_set_bidding_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/read_ad_set_budget_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/read_ad_set_schedule_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/read_ad_set_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/read_model_ad_set_id.py +1 -1
- criteo_api_marketingsolutions_preview/model/read_model_ad_set_id_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/read_model_read_ad_set_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/recommended_product.py +1 -1
- criteo_api_marketingsolutions_preview/model/report_detail_error.py +1 -1
- criteo_api_marketingsolutions_preview/model/report_detail_errors.py +1 -1
- criteo_api_marketingsolutions_preview/model/report_ok_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/requests_ad_set_id.py +1 -1
- criteo_api_marketingsolutions_preview/model/requests_patch_ad_set_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/resource_collection_outcome_of_product_set.py +9 -9
- criteo_api_marketingsolutions_preview/model/resource_of_product_set.py +1 -1
- criteo_api_marketingsolutions_preview/model/resource_outcome_of_product_set.py +9 -9
- criteo_api_marketingsolutions_preview/model/response_read_ad_set_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/responses_ad_set_id.py +1 -1
- criteo_api_marketingsolutions_preview/model/responses_ad_set_id_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/responses_read_ad_set_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model/retargeting_create_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/retargeting_update_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/retargeting_v1.py +1 -1
- criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_deal_ids.py +1 -1
- criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_deal_ids_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_deal_ids_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning.py +1 -1
- criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/set_user_profile_model.py +1 -1
- criteo_api_marketingsolutions_preview/model/set_user_profile_model_list_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/set_user_profile_model_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/size.py +1 -1
- criteo_api_marketingsolutions_preview/model/statistics_ok_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/statistics_record.py +1 -1
- criteo_api_marketingsolutions_preview/model/statistics_record_list.py +1 -1
- criteo_api_marketingsolutions_preview/model/statistics_report_query_message.py +4 -18
- criteo_api_marketingsolutions_preview/model/supply_vendor.py +1 -1
- criteo_api_marketingsolutions_preview/model/supply_vendor_list_response.py +1 -1
- criteo_api_marketingsolutions_preview/model/supply_vendor_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/tag.py +1 -1
- criteo_api_marketingsolutions_preview/model/target.py +1 -1
- criteo_api_marketingsolutions_preview/model/target_type.py +1 -1
- criteo_api_marketingsolutions_preview/model/targeting_entity.py +1 -1
- criteo_api_marketingsolutions_preview/model/targeting_error_model.py +1 -1
- criteo_api_marketingsolutions_preview/model/targeting_operator.py +1 -1
- criteo_api_marketingsolutions_preview/model/transactions_report_query_message.py +2 -8
- criteo_api_marketingsolutions_preview/model/{transactions_report_query_data_message.py → transactions_report_query_message_list_request.py} +12 -27
- criteo_api_marketingsolutions_preview/model/{transactions_report_query_entity_message.py → transactions_report_query_message_resource.py} +12 -27
- criteo_api_marketingsolutions_preview/model/transparency_query_message.py +2 -8
- criteo_api_marketingsolutions_preview/model/{transparency_report_attributes.py → transparency_report.py} +5 -14
- criteo_api_marketingsolutions_preview/model/transparency_report_file.py +2 -8
- criteo_api_marketingsolutions_preview/model/{transparency_report_entity_message.py → transparency_report_list_response.py} +25 -30
- criteo_api_marketingsolutions_preview/model/{transparency_report_data_message.py → transparency_report_resource.py} +17 -28
- criteo_api_marketingsolutions_preview/model/unauthorized_response_v2.py +1 -1
- criteo_api_marketingsolutions_preview/model/update_coupon.py +1 -1
- criteo_api_marketingsolutions_preview/model/update_coupon_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/update_coupon_resource.py +1 -1
- criteo_api_marketingsolutions_preview/model/user_def.py +1 -1
- criteo_api_marketingsolutions_preview/model/user_profile_attribute_model.py +1 -1
- criteo_api_marketingsolutions_preview/model/user_profile_identifier_model.py +1 -1
- criteo_api_marketingsolutions_preview/model/value_resource_collection_outcome_of_product_filter_config.py +1 -1
- criteo_api_marketingsolutions_preview/model/value_resource_input_of_create_product_filter_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/value_resource_input_of_create_product_set_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/value_resource_of_advertiser_creation_input.py +1 -1
- criteo_api_marketingsolutions_preview/model/value_resource_of_create_product_filter_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/value_resource_of_create_product_set_request.py +1 -1
- criteo_api_marketingsolutions_preview/model/value_resource_of_product_filter_config.py +1 -1
- criteo_api_marketingsolutions_preview/model/value_resource_outcome_of_product_filter_config.py +1 -1
- criteo_api_marketingsolutions_preview/model/video_detail.py +1 -1
- criteo_api_marketingsolutions_preview/model/write_model_ad_set_id.py +1 -1
- criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q1.py +1 -1
- criteo_api_marketingsolutions_preview/model_utils.py +1 -1
- criteo_api_marketingsolutions_preview/models/__init__.py +19 -21
- criteo_api_marketingsolutions_preview/rest.py +1 -1
- {criteo_api_marketingsolutions_sdk-0.0.240731.dist-info → criteo_api_marketingsolutions_sdk-0.0.240808.dist-info}/METADATA +3 -3
- criteo_api_marketingsolutions_sdk-0.0.240808.dist-info/RECORD +405 -0
- criteo_api_marketingsolutions_preview/model/generate_audience_performance_report_request_data.py +0 -281
- criteo_api_marketingsolutions_preview/model/generate_statistics_report_request_data.py +0 -281
- criteo_api_marketingsolutions_preview/model/problem_details.py +0 -306
- criteo_api_marketingsolutions_sdk-0.0.240731.dist-info/RECORD +0 -407
- {criteo_api_marketingsolutions_sdk-0.0.240731.dist-info → criteo_api_marketingsolutions_sdk-0.0.240808.dist-info}/WHEEL +0 -0
- {criteo_api_marketingsolutions_sdk-0.0.240731.dist-info → criteo_api_marketingsolutions_sdk-0.0.240808.dist-info}/top_level.txt +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Criteo API - MarketingSolutions # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: preview
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_preview.model.generate_creatives_report_request_attributes_resource import GenerateCreativesReportRequestAttributesResource
|
|
34
|
+
globals()['GenerateCreativesReportRequestAttributesResource'] = GenerateCreativesReportRequestAttributesResource
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class GenerateCreativesReportRequestAttributesRequest(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -62,18 +62,9 @@ class ReportDataMessage(ModelNormal):
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
validations = {
|
|
65
|
-
('data',): {
|
|
66
|
-
},
|
|
67
65
|
}
|
|
68
66
|
|
|
69
|
-
|
|
70
|
-
def additional_properties_type():
|
|
71
|
-
"""
|
|
72
|
-
This must be a method because a model may have properties that are
|
|
73
|
-
of type self, this must run after the class is loaded
|
|
74
|
-
"""
|
|
75
|
-
lazy_import()
|
|
76
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
77
68
|
|
|
78
69
|
_nullable = False
|
|
79
70
|
|
|
@@ -89,7 +80,7 @@ class ReportDataMessage(ModelNormal):
|
|
|
89
80
|
"""
|
|
90
81
|
lazy_import()
|
|
91
82
|
return {
|
|
92
|
-
'data': (
|
|
83
|
+
'data': (GenerateCreativesReportRequestAttributesResource,), # noqa: E501
|
|
93
84
|
}
|
|
94
85
|
|
|
95
86
|
@cached_property
|
|
@@ -108,11 +99,8 @@ class ReportDataMessage(ModelNormal):
|
|
|
108
99
|
|
|
109
100
|
@classmethod
|
|
110
101
|
@convert_js_args_to_python_args
|
|
111
|
-
def _from_openapi_data(cls,
|
|
112
|
-
"""
|
|
113
|
-
|
|
114
|
-
Args:
|
|
115
|
-
data ([ReportEntityMessage]):
|
|
102
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
103
|
+
"""GenerateCreativesReportRequestAttributesRequest - a model defined in OpenAPI
|
|
116
104
|
|
|
117
105
|
Keyword Args:
|
|
118
106
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,6 +133,7 @@ class ReportDataMessage(ModelNormal):
|
|
|
145
133
|
Animal class but this time we won't travel
|
|
146
134
|
through its discriminator because we passed in
|
|
147
135
|
_visited_composed_classes = (Animal,)
|
|
136
|
+
data (GenerateCreativesReportRequestAttributesResource): [optional] # noqa: E501
|
|
148
137
|
"""
|
|
149
138
|
|
|
150
139
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -176,7 +165,6 @@ class ReportDataMessage(ModelNormal):
|
|
|
176
165
|
self._configuration = _configuration
|
|
177
166
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
178
167
|
|
|
179
|
-
self.data = data
|
|
180
168
|
for var_name, var_value in kwargs.items():
|
|
181
169
|
if var_name not in self.attribute_map and \
|
|
182
170
|
self._configuration is not None and \
|
|
@@ -197,11 +185,8 @@ class ReportDataMessage(ModelNormal):
|
|
|
197
185
|
])
|
|
198
186
|
|
|
199
187
|
@convert_js_args_to_python_args
|
|
200
|
-
def __init__(self,
|
|
201
|
-
"""
|
|
202
|
-
|
|
203
|
-
Args:
|
|
204
|
-
data ([ReportEntityMessage]):
|
|
188
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
189
|
+
"""GenerateCreativesReportRequestAttributesRequest - a model defined in OpenAPI
|
|
205
190
|
|
|
206
191
|
Keyword Args:
|
|
207
192
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -234,6 +219,7 @@ class ReportDataMessage(ModelNormal):
|
|
|
234
219
|
Animal class but this time we won't travel
|
|
235
220
|
through its discriminator because we passed in
|
|
236
221
|
_visited_composed_classes = (Animal,)
|
|
222
|
+
data (GenerateCreativesReportRequestAttributesResource): [optional] # noqa: E501
|
|
237
223
|
"""
|
|
238
224
|
|
|
239
225
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -263,7 +249,6 @@ class ReportDataMessage(ModelNormal):
|
|
|
263
249
|
self._configuration = _configuration
|
|
264
250
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
265
251
|
|
|
266
|
-
self.data = data
|
|
267
252
|
for var_name, var_value in kwargs.items():
|
|
268
253
|
if var_name not in self.attribute_map and \
|
|
269
254
|
self._configuration is not None and \
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Criteo API - MarketingSolutions # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: preview
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['GenerateCreativesReportRequestAttributes'] = GenerateCreativesReportRequestAttributes
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class GenerateCreativesReportRequestAttributesResource(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -64,14 +64,7 @@ class GenerateCreativesReportRequestData(ModelNormal):
|
|
|
64
64
|
validations = {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
def additional_properties_type():
|
|
69
|
-
"""
|
|
70
|
-
This must be a method because a model may have properties that are
|
|
71
|
-
of type self, this must run after the class is loaded
|
|
72
|
-
"""
|
|
73
|
-
lazy_import()
|
|
74
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
75
68
|
|
|
76
69
|
_nullable = False
|
|
77
70
|
|
|
@@ -87,7 +80,7 @@ class GenerateCreativesReportRequestData(ModelNormal):
|
|
|
87
80
|
"""
|
|
88
81
|
lazy_import()
|
|
89
82
|
return {
|
|
90
|
-
'type': (str,), # noqa: E501
|
|
83
|
+
'type': (str, none_type,), # noqa: E501
|
|
91
84
|
'attributes': (GenerateCreativesReportRequestAttributes,), # noqa: E501
|
|
92
85
|
}
|
|
93
86
|
|
|
@@ -108,12 +101,8 @@ class GenerateCreativesReportRequestData(ModelNormal):
|
|
|
108
101
|
|
|
109
102
|
@classmethod
|
|
110
103
|
@convert_js_args_to_python_args
|
|
111
|
-
def _from_openapi_data(cls,
|
|
112
|
-
"""
|
|
113
|
-
|
|
114
|
-
Args:
|
|
115
|
-
type (str):
|
|
116
|
-
attributes (GenerateCreativesReportRequestAttributes):
|
|
104
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
105
|
+
"""GenerateCreativesReportRequestAttributesResource - a model defined in OpenAPI
|
|
117
106
|
|
|
118
107
|
Keyword Args:
|
|
119
108
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -146,6 +135,8 @@ class GenerateCreativesReportRequestData(ModelNormal):
|
|
|
146
135
|
Animal class but this time we won't travel
|
|
147
136
|
through its discriminator because we passed in
|
|
148
137
|
_visited_composed_classes = (Animal,)
|
|
138
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
139
|
+
attributes (GenerateCreativesReportRequestAttributes): [optional] # noqa: E501
|
|
149
140
|
"""
|
|
150
141
|
|
|
151
142
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -177,8 +168,6 @@ class GenerateCreativesReportRequestData(ModelNormal):
|
|
|
177
168
|
self._configuration = _configuration
|
|
178
169
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
179
170
|
|
|
180
|
-
self.type = type
|
|
181
|
-
self.attributes = attributes
|
|
182
171
|
for var_name, var_value in kwargs.items():
|
|
183
172
|
if var_name not in self.attribute_map and \
|
|
184
173
|
self._configuration is not None and \
|
|
@@ -199,12 +188,8 @@ class GenerateCreativesReportRequestData(ModelNormal):
|
|
|
199
188
|
])
|
|
200
189
|
|
|
201
190
|
@convert_js_args_to_python_args
|
|
202
|
-
def __init__(self,
|
|
203
|
-
"""
|
|
204
|
-
|
|
205
|
-
Args:
|
|
206
|
-
type (str):
|
|
207
|
-
attributes (GenerateCreativesReportRequestAttributes):
|
|
191
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
192
|
+
"""GenerateCreativesReportRequestAttributesResource - a model defined in OpenAPI
|
|
208
193
|
|
|
209
194
|
Keyword Args:
|
|
210
195
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -237,6 +222,8 @@ class GenerateCreativesReportRequestData(ModelNormal):
|
|
|
237
222
|
Animal class but this time we won't travel
|
|
238
223
|
through its discriminator because we passed in
|
|
239
224
|
_visited_composed_classes = (Animal,)
|
|
225
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
226
|
+
attributes (GenerateCreativesReportRequestAttributes): [optional] # noqa: E501
|
|
240
227
|
"""
|
|
241
228
|
|
|
242
229
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -266,8 +253,6 @@ class GenerateCreativesReportRequestData(ModelNormal):
|
|
|
266
253
|
self._configuration = _configuration
|
|
267
254
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
268
255
|
|
|
269
|
-
self.type = type
|
|
270
|
-
self.attributes = attributes
|
|
271
256
|
for var_name, var_value in kwargs.items():
|
|
272
257
|
if var_name not in self.attribute_map and \
|
|
273
258
|
self._configuration is not None and \
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Criteo API - MarketingSolutions # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: preview
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -30,7 +30,7 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class GenerateStatisticsReport(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -95,7 +95,7 @@ class GenerateStatisticsReportRequestAttributes(ModelNormal):
|
|
|
95
95
|
'USERBEHAVIOR': "UserBehavior",
|
|
96
96
|
'ENVIRONMENT': "Environment",
|
|
97
97
|
'ADCHANNEL': "AdChannel",
|
|
98
|
-
'
|
|
98
|
+
'SOCIALPLATFORM': "SocialPlatform",
|
|
99
99
|
},
|
|
100
100
|
('metrics',): {
|
|
101
101
|
'CLICKS': "Clicks",
|
|
@@ -367,27 +367,9 @@ class GenerateStatisticsReportRequestAttributes(ModelNormal):
|
|
|
367
367
|
}
|
|
368
368
|
|
|
369
369
|
validations = {
|
|
370
|
-
('dimensions',): {
|
|
371
|
-
},
|
|
372
|
-
('metrics',): {
|
|
373
|
-
},
|
|
374
|
-
('advertiser_ids',): {
|
|
375
|
-
},
|
|
376
|
-
('ad_set_ids',): {
|
|
377
|
-
},
|
|
378
|
-
('ad_set_names',): {
|
|
379
|
-
},
|
|
380
|
-
('ad_set_status',): {
|
|
381
|
-
},
|
|
382
370
|
}
|
|
383
371
|
|
|
384
|
-
|
|
385
|
-
def additional_properties_type():
|
|
386
|
-
"""
|
|
387
|
-
This must be a method because a model may have properties that are
|
|
388
|
-
of type self, this must run after the class is loaded
|
|
389
|
-
"""
|
|
390
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
372
|
+
additional_properties_type = None
|
|
391
373
|
|
|
392
374
|
_nullable = False
|
|
393
375
|
|
|
@@ -440,7 +422,7 @@ class GenerateStatisticsReportRequestAttributes(ModelNormal):
|
|
|
440
422
|
@classmethod
|
|
441
423
|
@convert_js_args_to_python_args
|
|
442
424
|
def _from_openapi_data(cls, start_date, end_date, dimensions, metrics, *args, **kwargs): # noqa: E501
|
|
443
|
-
"""
|
|
425
|
+
"""GenerateStatisticsReport - a model defined in OpenAPI
|
|
444
426
|
|
|
445
427
|
Args:
|
|
446
428
|
start_date (datetime): Start date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
@@ -479,7 +461,7 @@ class GenerateStatisticsReportRequestAttributes(ModelNormal):
|
|
|
479
461
|
Animal class but this time we won't travel
|
|
480
462
|
through its discriminator because we passed in
|
|
481
463
|
_visited_composed_classes = (Animal,)
|
|
482
|
-
advertiser_ids ([str], none_type): The of advertiser ids. [optional] # noqa: E501
|
|
464
|
+
advertiser_ids ([str], none_type): The list of advertiser ids. [optional] # noqa: E501
|
|
483
465
|
timezone (str, none_type): The timezone used for the report. Timezone Database format (Tz).. [optional] # noqa: E501
|
|
484
466
|
currency (str, none_type): The currency used for the report. ISO 4217 code (three-letter capitals).. [optional] # noqa: E501
|
|
485
467
|
ad_set_ids ([str], none_type): The list of adSets ids. If empty, all the adSets will be fetched. [optional] # noqa: E501
|
|
@@ -541,7 +523,7 @@ class GenerateStatisticsReportRequestAttributes(ModelNormal):
|
|
|
541
523
|
|
|
542
524
|
@convert_js_args_to_python_args
|
|
543
525
|
def __init__(self, start_date, end_date, dimensions, metrics, *args, **kwargs): # noqa: E501
|
|
544
|
-
"""
|
|
526
|
+
"""GenerateStatisticsReport - a model defined in OpenAPI
|
|
545
527
|
|
|
546
528
|
Args:
|
|
547
529
|
start_date (datetime): Start date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
@@ -580,7 +562,7 @@ class GenerateStatisticsReportRequestAttributes(ModelNormal):
|
|
|
580
562
|
Animal class but this time we won't travel
|
|
581
563
|
through its discriminator because we passed in
|
|
582
564
|
_visited_composed_classes = (Animal,)
|
|
583
|
-
advertiser_ids ([str], none_type): The of advertiser ids. [optional] # noqa: E501
|
|
565
|
+
advertiser_ids ([str], none_type): The list of advertiser ids. [optional] # noqa: E501
|
|
584
566
|
timezone (str, none_type): The timezone used for the report. Timezone Database format (Tz).. [optional] # noqa: E501
|
|
585
567
|
currency (str, none_type): The currency used for the report. ISO 4217 code (three-letter capitals).. [optional] # noqa: E501
|
|
586
568
|
ad_set_ids ([str], none_type): The list of adSets ids. If empty, all the adSets will be fetched. [optional] # noqa: E501
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Criteo API - MarketingSolutions # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: preview
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -30,8 +30,8 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_preview.model.generate_statistics_report_resource import GenerateStatisticsReportResource
|
|
34
|
+
globals()['GenerateStatisticsReportResource'] = GenerateStatisticsReportResource
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class GenerateStatisticsReportRequest(ModelNormal):
|
|
@@ -64,14 +64,7 @@ class GenerateStatisticsReportRequest(ModelNormal):
|
|
|
64
64
|
validations = {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
def additional_properties_type():
|
|
69
|
-
"""
|
|
70
|
-
This must be a method because a model may have properties that are
|
|
71
|
-
of type self, this must run after the class is loaded
|
|
72
|
-
"""
|
|
73
|
-
lazy_import()
|
|
74
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
75
68
|
|
|
76
69
|
_nullable = False
|
|
77
70
|
|
|
@@ -87,7 +80,7 @@ class GenerateStatisticsReportRequest(ModelNormal):
|
|
|
87
80
|
"""
|
|
88
81
|
lazy_import()
|
|
89
82
|
return {
|
|
90
|
-
'data': (
|
|
83
|
+
'data': (GenerateStatisticsReportResource,), # noqa: E501
|
|
91
84
|
}
|
|
92
85
|
|
|
93
86
|
@cached_property
|
|
@@ -106,12 +99,9 @@ class GenerateStatisticsReportRequest(ModelNormal):
|
|
|
106
99
|
|
|
107
100
|
@classmethod
|
|
108
101
|
@convert_js_args_to_python_args
|
|
109
|
-
def _from_openapi_data(cls,
|
|
102
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
103
|
"""GenerateStatisticsReportRequest - a model defined in OpenAPI
|
|
111
104
|
|
|
112
|
-
Args:
|
|
113
|
-
data (GenerateStatisticsReportRequestData):
|
|
114
|
-
|
|
115
105
|
Keyword Args:
|
|
116
106
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
117
107
|
will be type checked and a TypeError will be
|
|
@@ -143,6 +133,7 @@ class GenerateStatisticsReportRequest(ModelNormal):
|
|
|
143
133
|
Animal class but this time we won't travel
|
|
144
134
|
through its discriminator because we passed in
|
|
145
135
|
_visited_composed_classes = (Animal,)
|
|
136
|
+
data (GenerateStatisticsReportResource): [optional] # noqa: E501
|
|
146
137
|
"""
|
|
147
138
|
|
|
148
139
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -174,7 +165,6 @@ class GenerateStatisticsReportRequest(ModelNormal):
|
|
|
174
165
|
self._configuration = _configuration
|
|
175
166
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
176
167
|
|
|
177
|
-
self.data = data
|
|
178
168
|
for var_name, var_value in kwargs.items():
|
|
179
169
|
if var_name not in self.attribute_map and \
|
|
180
170
|
self._configuration is not None and \
|
|
@@ -195,12 +185,9 @@ class GenerateStatisticsReportRequest(ModelNormal):
|
|
|
195
185
|
])
|
|
196
186
|
|
|
197
187
|
@convert_js_args_to_python_args
|
|
198
|
-
def __init__(self,
|
|
188
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
189
|
"""GenerateStatisticsReportRequest - a model defined in OpenAPI
|
|
200
190
|
|
|
201
|
-
Args:
|
|
202
|
-
data (GenerateStatisticsReportRequestData):
|
|
203
|
-
|
|
204
191
|
Keyword Args:
|
|
205
192
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
206
193
|
will be type checked and a TypeError will be
|
|
@@ -232,6 +219,7 @@ class GenerateStatisticsReportRequest(ModelNormal):
|
|
|
232
219
|
Animal class but this time we won't travel
|
|
233
220
|
through its discriminator because we passed in
|
|
234
221
|
_visited_composed_classes = (Animal,)
|
|
222
|
+
data (GenerateStatisticsReportResource): [optional] # noqa: E501
|
|
235
223
|
"""
|
|
236
224
|
|
|
237
225
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -261,7 +249,6 @@ class GenerateStatisticsReportRequest(ModelNormal):
|
|
|
261
249
|
self._configuration = _configuration
|
|
262
250
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
263
251
|
|
|
264
|
-
self.data = data
|
|
265
252
|
for var_name, var_value in kwargs.items():
|
|
266
253
|
if var_name not in self.attribute_map and \
|
|
267
254
|
self._configuration is not None and \
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Criteo API
|
|
3
|
+
|
|
4
|
+
Criteo API - MarketingSolutions # 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_marketingsolutions_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_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def lazy_import():
|
|
33
|
+
from criteo_api_marketingsolutions_preview.model.generate_statistics_report import GenerateStatisticsReport
|
|
34
|
+
globals()['GenerateStatisticsReport'] = GenerateStatisticsReport
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class GenerateStatisticsReportResource(ModelNormal):
|
|
38
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
|
+
Ref: https://openapi-generator.tech
|
|
40
|
+
|
|
41
|
+
Do not edit the class manually.
|
|
42
|
+
|
|
43
|
+
Attributes:
|
|
44
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
45
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
46
|
+
with a capitalized key describing the allowed value and an allowed
|
|
47
|
+
value. These dicts store the allowed enum values.
|
|
48
|
+
attribute_map (dict): The key is attribute name
|
|
49
|
+
and the value is json key in definition.
|
|
50
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
51
|
+
variable value to the discriminator class name.
|
|
52
|
+
validations (dict): The key is the tuple path to the attribute
|
|
53
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
54
|
+
that stores validations for max_length, min_length, max_items,
|
|
55
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
56
|
+
inclusive_minimum, and regex.
|
|
57
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
58
|
+
as additional properties values.
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
allowed_values = {
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
validations = {
|
|
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
|
+
lazy_import()
|
|
82
|
+
return {
|
|
83
|
+
'type': (str, none_type,), # noqa: E501
|
|
84
|
+
'attributes': (GenerateStatisticsReport,), # noqa: E501
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@cached_property
|
|
88
|
+
def discriminator():
|
|
89
|
+
return None
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
attribute_map = {
|
|
93
|
+
'type': 'type', # noqa: E501
|
|
94
|
+
'attributes': 'attributes', # noqa: E501
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
read_only_vars = {
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
_composed_schemas = {}
|
|
101
|
+
|
|
102
|
+
@classmethod
|
|
103
|
+
@convert_js_args_to_python_args
|
|
104
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
105
|
+
"""GenerateStatisticsReportResource - a model defined in OpenAPI
|
|
106
|
+
|
|
107
|
+
Keyword Args:
|
|
108
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
109
|
+
will be type checked and a TypeError will be
|
|
110
|
+
raised if the wrong type is input.
|
|
111
|
+
Defaults to True
|
|
112
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
113
|
+
drill down to the model in received_data
|
|
114
|
+
when deserializing a response
|
|
115
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
116
|
+
are serialized names, as specified in the OpenAPI document.
|
|
117
|
+
False if the variable names in the input data
|
|
118
|
+
are pythonic names, e.g. snake case (default)
|
|
119
|
+
_configuration (Configuration): the instance to use when
|
|
120
|
+
deserializing a file_type parameter.
|
|
121
|
+
If passed, type conversion is attempted
|
|
122
|
+
If omitted no type conversion is done.
|
|
123
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
124
|
+
classes that we have traveled through so that
|
|
125
|
+
if we see that class again we will not use its
|
|
126
|
+
discriminator again.
|
|
127
|
+
When traveling through a discriminator, the
|
|
128
|
+
composed schema that is
|
|
129
|
+
is traveled through is added to this set.
|
|
130
|
+
For example if Animal has a discriminator
|
|
131
|
+
petType and we pass in "Dog", and the class Dog
|
|
132
|
+
allOf includes Animal, we move through Animal
|
|
133
|
+
once using the discriminator, and pick Dog.
|
|
134
|
+
Then in Dog, we will make an instance of the
|
|
135
|
+
Animal class but this time we won't travel
|
|
136
|
+
through its discriminator because we passed in
|
|
137
|
+
_visited_composed_classes = (Animal,)
|
|
138
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
139
|
+
attributes (GenerateStatisticsReport): [optional] # noqa: E501
|
|
140
|
+
"""
|
|
141
|
+
|
|
142
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
143
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
144
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
145
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
146
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
147
|
+
|
|
148
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
149
|
+
|
|
150
|
+
if args:
|
|
151
|
+
for arg in args:
|
|
152
|
+
if isinstance(arg, dict):
|
|
153
|
+
kwargs.update(arg)
|
|
154
|
+
else:
|
|
155
|
+
raise ApiTypeError(
|
|
156
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
157
|
+
args,
|
|
158
|
+
self.__class__.__name__,
|
|
159
|
+
),
|
|
160
|
+
path_to_item=_path_to_item,
|
|
161
|
+
valid_classes=(self.__class__,),
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
self._data_store = {}
|
|
165
|
+
self._check_type = _check_type
|
|
166
|
+
self._spec_property_naming = _spec_property_naming
|
|
167
|
+
self._path_to_item = _path_to_item
|
|
168
|
+
self._configuration = _configuration
|
|
169
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
170
|
+
|
|
171
|
+
for var_name, var_value in kwargs.items():
|
|
172
|
+
if var_name not in self.attribute_map and \
|
|
173
|
+
self._configuration is not None and \
|
|
174
|
+
self._configuration.discard_unknown_keys and \
|
|
175
|
+
self.additional_properties_type is None:
|
|
176
|
+
# discard variable.
|
|
177
|
+
continue
|
|
178
|
+
setattr(self, var_name, var_value)
|
|
179
|
+
return self
|
|
180
|
+
|
|
181
|
+
required_properties = set([
|
|
182
|
+
'_data_store',
|
|
183
|
+
'_check_type',
|
|
184
|
+
'_spec_property_naming',
|
|
185
|
+
'_path_to_item',
|
|
186
|
+
'_configuration',
|
|
187
|
+
'_visited_composed_classes',
|
|
188
|
+
])
|
|
189
|
+
|
|
190
|
+
@convert_js_args_to_python_args
|
|
191
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
192
|
+
"""GenerateStatisticsReportResource - a model defined in OpenAPI
|
|
193
|
+
|
|
194
|
+
Keyword Args:
|
|
195
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
196
|
+
will be type checked and a TypeError will be
|
|
197
|
+
raised if the wrong type is input.
|
|
198
|
+
Defaults to True
|
|
199
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
200
|
+
drill down to the model in received_data
|
|
201
|
+
when deserializing a response
|
|
202
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
203
|
+
are serialized names, as specified in the OpenAPI document.
|
|
204
|
+
False if the variable names in the input data
|
|
205
|
+
are pythonic names, e.g. snake case (default)
|
|
206
|
+
_configuration (Configuration): the instance to use when
|
|
207
|
+
deserializing a file_type parameter.
|
|
208
|
+
If passed, type conversion is attempted
|
|
209
|
+
If omitted no type conversion is done.
|
|
210
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
211
|
+
classes that we have traveled through so that
|
|
212
|
+
if we see that class again we will not use its
|
|
213
|
+
discriminator again.
|
|
214
|
+
When traveling through a discriminator, the
|
|
215
|
+
composed schema that is
|
|
216
|
+
is traveled through is added to this set.
|
|
217
|
+
For example if Animal has a discriminator
|
|
218
|
+
petType and we pass in "Dog", and the class Dog
|
|
219
|
+
allOf includes Animal, we move through Animal
|
|
220
|
+
once using the discriminator, and pick Dog.
|
|
221
|
+
Then in Dog, we will make an instance of the
|
|
222
|
+
Animal class but this time we won't travel
|
|
223
|
+
through its discriminator because we passed in
|
|
224
|
+
_visited_composed_classes = (Animal,)
|
|
225
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
226
|
+
attributes (GenerateStatisticsReport): [optional] # noqa: E501
|
|
227
|
+
"""
|
|
228
|
+
|
|
229
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
230
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
231
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
232
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
233
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
234
|
+
|
|
235
|
+
if args:
|
|
236
|
+
for arg in args:
|
|
237
|
+
if isinstance(arg, dict):
|
|
238
|
+
kwargs.update(arg)
|
|
239
|
+
else:
|
|
240
|
+
raise ApiTypeError(
|
|
241
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
242
|
+
args,
|
|
243
|
+
self.__class__.__name__,
|
|
244
|
+
),
|
|
245
|
+
path_to_item=_path_to_item,
|
|
246
|
+
valid_classes=(self.__class__,),
|
|
247
|
+
)
|
|
248
|
+
|
|
249
|
+
self._data_store = {}
|
|
250
|
+
self._check_type = _check_type
|
|
251
|
+
self._spec_property_naming = _spec_property_naming
|
|
252
|
+
self._path_to_item = _path_to_item
|
|
253
|
+
self._configuration = _configuration
|
|
254
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
255
|
+
|
|
256
|
+
for var_name, var_value in kwargs.items():
|
|
257
|
+
if var_name not in self.attribute_map and \
|
|
258
|
+
self._configuration is not None and \
|
|
259
|
+
self._configuration.discard_unknown_keys and \
|
|
260
|
+
self.additional_properties_type is None:
|
|
261
|
+
# discard variable.
|
|
262
|
+
continue
|
|
263
|
+
setattr(self, var_name, var_value)
|
|
264
|
+
if var_name in self.read_only_vars:
|
|
265
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
266
|
+
f"class with read only attributes.")
|