criteo-api-marketingsolutions-sdk 2024.7.0.250129__py3-none-any.whl → 2024.10.0.241029__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_sdk-2024.7.0.250129.dist-info → criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info}/METADATA +6 -15
- criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info/RECORD +269 -0
- {criteo_api_marketingsolutions_sdk-2024.7.0.250129.dist-info → criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info}/WHEEL +1 -1
- criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info/top_level.txt +1 -0
- criteo_api_marketingsolutions_v2024_10/__init__.py +31 -0
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/api/__init__.py +1 -1
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/api/advertiser_api.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/api/analytics_api.py +13 -13
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/api/audience_api.py +75 -75
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/api/campaign_api.py +40 -40
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/api/creative_api.py +109 -109
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/api/gateway_api.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/api_client.py +6 -6
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/api_client_builder.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/apis/__init__.py +7 -7
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/configuration.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/criteo_api_client.py +2 -2
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/criteo_auth.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/criteo_rest.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/exceptions.py +1 -1
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/__init__.py +1 -1
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad.py +3 -3
- criteo_api_marketingsolutions_v2024_07/model/resource_collection_outcome_of_coupon.py → criteo_api_marketingsolutions_v2024_10/model/ad_list_response.py +18 -12
- criteo_api_marketingsolutions_v2024_07/model/resource_of_ad.py → criteo_api_marketingsolutions_v2024_10/model/ad_resource.py +9 -9
- criteo_api_marketingsolutions_v2024_07/model/resource_outcome_of_ad.py → criteo_api_marketingsolutions_v2024_10/model/ad_response.py +16 -12
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_audience_link_entity_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_audience_link_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_audience_link_entity_v1_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_audience_link_input_entity_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_category_bid.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_category_bid_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_category_bid_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_delivery_limitations_v24_q1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_display_multiplier.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_display_multiplier_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_display_multiplier_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_frequency_capping_v24_q1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_geo_location_v24_q1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_search_filter_v24_q1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_search_request_v24_q1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_targeting_rule_v24_q1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_set_targeting_v24_q1.py +6 -6
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/ad_write.py +3 -3
- criteo_api_marketingsolutions_v2024_07/model/resource_input_of_ad_write.py → criteo_api_marketingsolutions_v2024_10/model/ad_write_request.py +11 -11
- criteo_api_marketingsolutions_v2024_07/model/resource_of_ad_write.py → criteo_api_marketingsolutions_v2024_10/model/ad_write_resource.py +9 -9
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/adaptive_attributes.py +17 -7
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/adaptive_colors.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/adaptive_write_attributes.py +9 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/algebra_node_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/application_summary_model.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/application_summary_model_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/application_summary_model_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_bulk_create_input_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_bulk_delete_input_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_bulk_update_input_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_compute_size_entity_v1_resource.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_compute_sizes_input_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_create_entity_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_create_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_delete_entity_v1_resource.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_entity_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_entity_v1_audience_search_metadata_v1_list_response.py +6 -6
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_entity_v1_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_error.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_estimate_size_entity_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_estimate_size_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_estimate_size_input_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_id_entity_v1_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_id_entity_v1_resource.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_name_description.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_search_entity_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_search_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_search_input_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_search_metadata_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_bulk_create_input_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_bulk_delete_input_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_bulk_update_input_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_compute_size_entity_v1_resource.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_compute_sizes_input_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_create_entity_v1.py +8 -8
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_create_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_delete_entity_v1_resource.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_entity_v1.py +10 -10
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py +6 -6
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_entity_v1_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_estimate_size_input_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_id_entity_v1_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_id_entity_v1_resource.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_search_entity_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_search_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_search_input_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_search_metadata_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_entity_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_entity_v1_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_estimation_entity_v1.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_estimation_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_estimation_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_estimation_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_estimation_v1_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_update_entity_v1.py +9 -9
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_segment_update_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_size_entity_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_size_entity_v1_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_size_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_size_estimation_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_size_estimation_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_size_estimation_v1_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_update_entity_v1.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_update_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/audience_warning.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/basic_audience_definition.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/behavioral_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/campaign_search_filters_v23_q1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/campaign_search_request_v23_q1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/campaign_spend_limit_v23_q1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/campaign_v23_q1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/campaign_v23_q1_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/campaign_v23_q1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/campaign_v23_q1_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/common_problem.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/contact_list_statistics_entity_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/contact_list_statistics_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/contact_list_statistics_entity_v1_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/contact_list_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/contactlist_amendment.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/contactlist_amendment_attributes.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/contactlist_amendment_request.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/contactlist_operation.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/contactlist_operation_attributes.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/coupon.py +6 -4
- criteo_api_marketingsolutions_v2024_10/model/coupon_list_response.py +287 -0
- criteo_api_marketingsolutions_v2024_07/model/resource_of_coupon.py → criteo_api_marketingsolutions_v2024_10/model/coupon_resource.py +9 -9
- criteo_api_marketingsolutions_v2024_07/model/resource_outcome_of_coupon.py → criteo_api_marketingsolutions_v2024_10/model/coupon_response.py +16 -12
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/coupon_supported_sizes.py +7 -3
- criteo_api_marketingsolutions_v2024_07/model/resource_of_coupon_supported_sizes.py → criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes_resource.py +9 -9
- criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes_response.py +285 -0
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_bidding_v24_q1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_budget_v24_q1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_geo_location_v24_q1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_schedule_v24_q1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_targeting_v24_q1.py +6 -6
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_v24_q1.py +7 -7
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_v24_q1_request.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_v24_q1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/create_campaign.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/create_campaign_request.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/create_campaign_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/create_campaign_spend_limit.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/create_coupon.py +6 -4
- criteo_api_marketingsolutions_v2024_07/model/resource_input_of_create_coupon.py → criteo_api_marketingsolutions_v2024_10/model/create_coupon_request.py +11 -11
- criteo_api_marketingsolutions_v2024_07/model/resource_of_create_coupon.py → criteo_api_marketingsolutions_v2024_10/model/create_coupon_resource.py +9 -9
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/create_image_slide.py +5 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/creative.py +7 -7
- criteo_api_marketingsolutions_v2024_10/model/creative_list_response.py +287 -0
- criteo_api_marketingsolutions_v2024_07/model/resource_of_creative.py → criteo_api_marketingsolutions_v2024_10/model/creative_resource.py +9 -9
- criteo_api_marketingsolutions_v2024_07/model/resource_collection_outcome_of_ad.py → criteo_api_marketingsolutions_v2024_10/model/creative_response.py +16 -12
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/creative_write.py +7 -7
- criteo_api_marketingsolutions_v2024_10/model/creative_write_request.py +269 -0
- criteo_api_marketingsolutions_v2024_07/model/resource_of_creative_write.py → criteo_api_marketingsolutions_v2024_10/model/creative_write_resource.py +9 -9
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/criteo_api_error.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/criteo_api_warning.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/delete_audience_contact_list_response.py +6 -6
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/dynamic_attributes.py +8 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/dynamic_write_attributes.py +9 -9
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/entity_of_portfolio_message.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/error_code_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/get_portfolio_response.py +6 -6
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/html_tag_attributes.py +6 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/html_tag_write_attributes.py +6 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/image_attributes.py +5 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/image_set.py +6 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/image_set_base64.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/image_shape.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/image_slide.py +5 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/image_write_attributes.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/in_market_audience_segment_brand_entity_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/in_market_audience_segment_brand_entity_v1_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/in_market_audience_segment_brand_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/in_market_audience_segment_interest_entity_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/in_market_audience_segment_interest_entity_v1_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/in_market_audience_segment_interest_entity_v1_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/in_market_create_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/in_market_size_estimation_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/in_market_update_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/in_market_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/location_create_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/location_size_estimation_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/location_update_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/location_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/lookalike_create_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/lookalike_update_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/lookalike_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/modify_audience_response.py +6 -6
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/nillable_ad_set_targeting_rule_v24_q1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/nillable_ad_set_targeting_rule_v24_q1_value.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/nillable_date_time.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/nillable_decimal.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/nillable_gender_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/nillable_int32.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/nillable_string.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/outcome.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_bidding_v24_q1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_budget_v24_q1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_category_bid.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_category_bid_list_request.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_category_bid_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_category_bid_result_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_category_bid_result_resource.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_display_multiplier.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_display_multiplier_list_request.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_display_multiplier_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_display_multiplier_result_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_display_multiplier_result_resource.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_scheduling_v24_q1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_v24_q1.py +7 -7
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_campaign.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_campaign_list_request.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_campaign_spend_limit.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_campaign_write_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_result_campaign_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/patch_result_campaign_read_resource.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/placements_report_query_message.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/placements_report_query_message_list_request.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/placements_report_query_message_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/point_of_interest_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/portfolio_message.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/prospecting_create_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/prospecting_update_v1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/prospecting_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/read_ad_set_bidding_v24_q1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/read_ad_set_budget_v24_q1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/read_ad_set_schedule_v24_q1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/read_ad_set_v24_q1.py +7 -7
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/read_model_ad_set_id.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/read_model_ad_set_id_v24_q1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/read_model_read_ad_set_v24_q1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/requests_ad_set_id.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/requests_patch_ad_set_v24_q1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/response_read_ad_set_v24_q1.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/responses_ad_set_id.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/responses_ad_set_id_v24_q1.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/responses_read_ad_set_v24_q1.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/retargeting_create_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/retargeting_update_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/retargeting_v1.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/size.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/statistics_report_query_message.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/tag.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/transactions_report_query_message.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/transactions_report_query_message_list_request.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/transactions_report_query_message_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/transparency_query_message.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/transparency_report.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/transparency_report_file.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/transparency_report_list_response.py +5 -5
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/transparency_report_resource.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/update_coupon.py +3 -3
- criteo_api_marketingsolutions_v2024_10/model/update_coupon_request.py +269 -0
- criteo_api_marketingsolutions_v2024_07/model/resource_of_update_coupon.py → criteo_api_marketingsolutions_v2024_10/model/update_coupon_resource.py +9 -9
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/video_detail.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/write_model_ad_set_id.py +3 -3
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/write_model_patch_ad_set_v24_q1.py +4 -4
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model_utils.py +2 -2
- criteo_api_marketingsolutions_v2024_10/models/__init__.py +255 -0
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/rest.py +2 -2
- criteo_api_marketingsolutions_sdk-2024.7.0.250129.dist-info/RECORD +0 -269
- criteo_api_marketingsolutions_sdk-2024.7.0.250129.dist-info/top_level.txt +0 -1
- criteo_api_marketingsolutions_v2024_07/__init__.py +0 -31
- criteo_api_marketingsolutions_v2024_07/model/resource_collection_outcome_of_creative.py +0 -281
- criteo_api_marketingsolutions_v2024_07/model/resource_input_of_creative_write.py +0 -269
- criteo_api_marketingsolutions_v2024_07/model/resource_input_of_update_coupon.py +0 -269
- criteo_api_marketingsolutions_v2024_07/model/resource_outcome_of_coupon_supported_sizes.py +0 -281
- criteo_api_marketingsolutions_v2024_07/model/resource_outcome_of_creative.py +0 -281
- criteo_api_marketingsolutions_v2024_07/models/__init__.py +0 -255
- {criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/flow_constants.py +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Criteo API - MarketingSolutions # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2024-
|
|
6
|
+
The version of the OpenAPI document: 2024-10
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import re # noqa: F401
|
|
12
12
|
import sys # noqa: F401
|
|
13
13
|
|
|
14
|
-
from
|
|
14
|
+
from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401
|
|
15
15
|
ApiTypeError,
|
|
16
16
|
ModelComposed,
|
|
17
17
|
ModelNormal,
|
|
@@ -26,11 +26,11 @@ from criteo_api_marketingsolutions_v2024_07.model_utils import ( # noqa: F401
|
|
|
26
26
|
validate_get_composed_info,
|
|
27
27
|
OpenApiModel
|
|
28
28
|
)
|
|
29
|
-
from
|
|
29
|
+
from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from
|
|
33
|
+
from criteo_api_marketingsolutions_v2024_10.model.create_campaign import CreateCampaign
|
|
34
34
|
globals()['CreateCampaign'] = CreateCampaign
|
|
35
35
|
|
|
36
36
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Criteo API - MarketingSolutions # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2024-
|
|
6
|
+
The version of the OpenAPI document: 2024-10
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import re # noqa: F401
|
|
12
12
|
import sys # noqa: F401
|
|
13
13
|
|
|
14
|
-
from
|
|
14
|
+
from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401
|
|
15
15
|
ApiTypeError,
|
|
16
16
|
ModelComposed,
|
|
17
17
|
ModelNormal,
|
|
@@ -26,7 +26,7 @@ from criteo_api_marketingsolutions_v2024_07.model_utils import ( # noqa: F401
|
|
|
26
26
|
validate_get_composed_info,
|
|
27
27
|
OpenApiModel
|
|
28
28
|
)
|
|
29
|
-
from
|
|
29
|
+
from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Criteo API - MarketingSolutions # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2024-
|
|
6
|
+
The version of the OpenAPI document: 2024-10
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import re # noqa: F401
|
|
12
12
|
import sys # noqa: F401
|
|
13
13
|
|
|
14
|
-
from
|
|
14
|
+
from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401
|
|
15
15
|
ApiTypeError,
|
|
16
16
|
ModelComposed,
|
|
17
17
|
ModelNormal,
|
|
@@ -26,11 +26,11 @@ from criteo_api_marketingsolutions_v2024_07.model_utils import ( # noqa: F401
|
|
|
26
26
|
validate_get_composed_info,
|
|
27
27
|
OpenApiModel
|
|
28
28
|
)
|
|
29
|
-
from
|
|
29
|
+
from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from
|
|
33
|
+
from criteo_api_marketingsolutions_v2024_10.model.create_image_slide import CreateImageSlide
|
|
34
34
|
globals()['CreateImageSlide'] = CreateImageSlide
|
|
35
35
|
|
|
36
36
|
|
|
@@ -66,6 +66,8 @@ class CreateCoupon(ModelNormal):
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
validations = {
|
|
69
|
+
('images',): {
|
|
70
|
+
},
|
|
69
71
|
('show_every',): {
|
|
70
72
|
'inclusive_maximum': 10,
|
|
71
73
|
'inclusive_minimum': 1,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Criteo API - MarketingSolutions # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2024-
|
|
6
|
+
The version of the OpenAPI document: 2024-10
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import re # noqa: F401
|
|
12
12
|
import sys # noqa: F401
|
|
13
13
|
|
|
14
|
-
from
|
|
14
|
+
from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401
|
|
15
15
|
ApiTypeError,
|
|
16
16
|
ModelComposed,
|
|
17
17
|
ModelNormal,
|
|
@@ -26,15 +26,15 @@ from criteo_api_marketingsolutions_v2024_07.model_utils import ( # noqa: F401
|
|
|
26
26
|
validate_get_composed_info,
|
|
27
27
|
OpenApiModel
|
|
28
28
|
)
|
|
29
|
-
from
|
|
29
|
+
from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_v2024_10.model.create_coupon_resource import CreateCouponResource
|
|
34
|
+
globals()['CreateCouponResource'] = CreateCouponResource
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class CreateCouponRequest(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,7 +87,7 @@ class ResourceInputOfCreateCoupon(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'data': (
|
|
90
|
+
'data': (CreateCouponResource,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -107,7 +107,7 @@ class ResourceInputOfCreateCoupon(ModelNormal):
|
|
|
107
107
|
@classmethod
|
|
108
108
|
@convert_js_args_to_python_args
|
|
109
109
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
-
"""
|
|
110
|
+
"""CreateCouponRequest - a model defined in OpenAPI
|
|
111
111
|
|
|
112
112
|
Keyword Args:
|
|
113
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -140,7 +140,7 @@ class ResourceInputOfCreateCoupon(ModelNormal):
|
|
|
140
140
|
Animal class but this time we won't travel
|
|
141
141
|
through its discriminator because we passed in
|
|
142
142
|
_visited_composed_classes = (Animal,)
|
|
143
|
-
data (
|
|
143
|
+
data (CreateCouponResource): [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -193,7 +193,7 @@ class ResourceInputOfCreateCoupon(ModelNormal):
|
|
|
193
193
|
|
|
194
194
|
@convert_js_args_to_python_args
|
|
195
195
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
196
|
+
"""CreateCouponRequest - a model defined in OpenAPI
|
|
197
197
|
|
|
198
198
|
Keyword Args:
|
|
199
199
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -226,7 +226,7 @@ class ResourceInputOfCreateCoupon(ModelNormal):
|
|
|
226
226
|
Animal class but this time we won't travel
|
|
227
227
|
through its discriminator because we passed in
|
|
228
228
|
_visited_composed_classes = (Animal,)
|
|
229
|
-
data (
|
|
229
|
+
data (CreateCouponResource): [optional] # noqa: E501
|
|
230
230
|
"""
|
|
231
231
|
|
|
232
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Criteo API - MarketingSolutions # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2024-
|
|
6
|
+
The version of the OpenAPI document: 2024-10
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import re # noqa: F401
|
|
12
12
|
import sys # noqa: F401
|
|
13
13
|
|
|
14
|
-
from
|
|
14
|
+
from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401
|
|
15
15
|
ApiTypeError,
|
|
16
16
|
ModelComposed,
|
|
17
17
|
ModelNormal,
|
|
@@ -26,15 +26,15 @@ from criteo_api_marketingsolutions_v2024_07.model_utils import ( # noqa: F401
|
|
|
26
26
|
validate_get_composed_info,
|
|
27
27
|
OpenApiModel
|
|
28
28
|
)
|
|
29
|
-
from
|
|
29
|
+
from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from
|
|
33
|
+
from criteo_api_marketingsolutions_v2024_10.model.create_coupon import CreateCoupon
|
|
34
34
|
globals()['CreateCoupon'] = CreateCoupon
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class CreateCouponResource(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -111,7 +111,7 @@ class ResourceOfCreateCoupon(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""CreateCouponResource - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,7 +145,7 @@ class ResourceOfCreateCoupon(ModelNormal):
|
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
147
|
attributes (CreateCoupon): [optional] # noqa: E501
|
|
148
|
-
id (str, none_type):
|
|
148
|
+
id (str, none_type): [optional] # noqa: E501
|
|
149
149
|
type (str, none_type): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
@@ -199,7 +199,7 @@ class ResourceOfCreateCoupon(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""CreateCouponResource - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -233,7 +233,7 @@ class ResourceOfCreateCoupon(ModelNormal):
|
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
235
|
attributes (CreateCoupon): [optional] # noqa: E501
|
|
236
|
-
id (str, none_type):
|
|
236
|
+
id (str, none_type): [optional] # noqa: E501
|
|
237
237
|
type (str, none_type): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Criteo API - MarketingSolutions # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2024-
|
|
6
|
+
The version of the OpenAPI document: 2024-10
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import re # noqa: F401
|
|
12
12
|
import sys # noqa: F401
|
|
13
13
|
|
|
14
|
-
from
|
|
14
|
+
from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401
|
|
15
15
|
ApiTypeError,
|
|
16
16
|
ModelComposed,
|
|
17
17
|
ModelNormal,
|
|
@@ -26,7 +26,7 @@ from criteo_api_marketingsolutions_v2024_07.model_utils import ( # noqa: F401
|
|
|
26
26
|
validate_get_composed_info,
|
|
27
27
|
OpenApiModel
|
|
28
28
|
)
|
|
29
|
-
from
|
|
29
|
+
from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
@@ -58,6 +58,8 @@ class CreateImageSlide(ModelNormal):
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
validations = {
|
|
61
|
+
('slide_base64_strings',): {
|
|
62
|
+
},
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
@cached_property
|
{criteo_api_marketingsolutions_v2024_07 → criteo_api_marketingsolutions_v2024_10}/model/creative.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Criteo API - MarketingSolutions # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2024-
|
|
6
|
+
The version of the OpenAPI document: 2024-10
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import re # noqa: F401
|
|
12
12
|
import sys # noqa: F401
|
|
13
13
|
|
|
14
|
-
from
|
|
14
|
+
from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401
|
|
15
15
|
ApiTypeError,
|
|
16
16
|
ModelComposed,
|
|
17
17
|
ModelNormal,
|
|
@@ -26,14 +26,14 @@ from criteo_api_marketingsolutions_v2024_07.model_utils import ( # noqa: F401
|
|
|
26
26
|
validate_get_composed_info,
|
|
27
27
|
OpenApiModel
|
|
28
28
|
)
|
|
29
|
-
from
|
|
29
|
+
from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from
|
|
34
|
-
from
|
|
35
|
-
from
|
|
36
|
-
from
|
|
33
|
+
from criteo_api_marketingsolutions_v2024_10.model.adaptive_attributes import AdaptiveAttributes
|
|
34
|
+
from criteo_api_marketingsolutions_v2024_10.model.dynamic_attributes import DynamicAttributes
|
|
35
|
+
from criteo_api_marketingsolutions_v2024_10.model.html_tag_attributes import HtmlTagAttributes
|
|
36
|
+
from criteo_api_marketingsolutions_v2024_10.model.image_attributes import ImageAttributes
|
|
37
37
|
globals()['AdaptiveAttributes'] = AdaptiveAttributes
|
|
38
38
|
globals()['DynamicAttributes'] = DynamicAttributes
|
|
39
39
|
globals()['HtmlTagAttributes'] = HtmlTagAttributes
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Criteo API
|
|
3
|
+
|
|
4
|
+
Criteo API - MarketingSolutions # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2024-10
|
|
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_v2024_10.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_v2024_10.exceptions import ApiAttributeError
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def lazy_import():
|
|
33
|
+
from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem
|
|
34
|
+
from criteo_api_marketingsolutions_v2024_10.model.creative_resource import CreativeResource
|
|
35
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
|
+
globals()['CreativeResource'] = CreativeResource
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class CreativeListResponse(ModelNormal):
|
|
40
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
|
+
Ref: https://openapi-generator.tech
|
|
42
|
+
|
|
43
|
+
Do not edit the class manually.
|
|
44
|
+
|
|
45
|
+
Attributes:
|
|
46
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
47
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
48
|
+
with a capitalized key describing the allowed value and an allowed
|
|
49
|
+
value. These dicts store the allowed enum values.
|
|
50
|
+
attribute_map (dict): The key is attribute name
|
|
51
|
+
and the value is json key in definition.
|
|
52
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
53
|
+
variable value to the discriminator class name.
|
|
54
|
+
validations (dict): The key is the tuple path to the attribute
|
|
55
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
56
|
+
that stores validations for max_length, min_length, max_items,
|
|
57
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
58
|
+
inclusive_minimum, and regex.
|
|
59
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
60
|
+
as additional properties values.
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
allowed_values = {
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validations = {
|
|
67
|
+
('data',): {
|
|
68
|
+
},
|
|
69
|
+
('warnings',): {
|
|
70
|
+
},
|
|
71
|
+
('errors',): {
|
|
72
|
+
},
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@cached_property
|
|
76
|
+
def additional_properties_type():
|
|
77
|
+
"""
|
|
78
|
+
This must be a method because a model may have properties that are
|
|
79
|
+
of type self, this must run after the class is loaded
|
|
80
|
+
"""
|
|
81
|
+
lazy_import()
|
|
82
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
83
|
+
|
|
84
|
+
_nullable = False
|
|
85
|
+
|
|
86
|
+
@cached_property
|
|
87
|
+
def openapi_types():
|
|
88
|
+
"""
|
|
89
|
+
This must be a method because a model may have properties that are
|
|
90
|
+
of type self, this must run after the class is loaded
|
|
91
|
+
|
|
92
|
+
Returns
|
|
93
|
+
openapi_types (dict): The key is attribute name
|
|
94
|
+
and the value is attribute type.
|
|
95
|
+
"""
|
|
96
|
+
lazy_import()
|
|
97
|
+
return {
|
|
98
|
+
'data': ([CreativeResource], none_type,), # noqa: E501
|
|
99
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
100
|
+
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@cached_property
|
|
104
|
+
def discriminator():
|
|
105
|
+
return None
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
attribute_map = {
|
|
109
|
+
'data': 'data', # noqa: E501
|
|
110
|
+
'warnings': 'warnings', # noqa: E501
|
|
111
|
+
'errors': 'errors', # noqa: E501
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
read_only_vars = {
|
|
115
|
+
'warnings', # noqa: E501
|
|
116
|
+
'errors', # noqa: E501
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
_composed_schemas = {}
|
|
120
|
+
|
|
121
|
+
@classmethod
|
|
122
|
+
@convert_js_args_to_python_args
|
|
123
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
124
|
+
"""CreativeListResponse - a model defined in OpenAPI
|
|
125
|
+
|
|
126
|
+
Keyword Args:
|
|
127
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
128
|
+
will be type checked and a TypeError will be
|
|
129
|
+
raised if the wrong type is input.
|
|
130
|
+
Defaults to True
|
|
131
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
132
|
+
drill down to the model in received_data
|
|
133
|
+
when deserializing a response
|
|
134
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
135
|
+
are serialized names, as specified in the OpenAPI document.
|
|
136
|
+
False if the variable names in the input data
|
|
137
|
+
are pythonic names, e.g. snake case (default)
|
|
138
|
+
_configuration (Configuration): the instance to use when
|
|
139
|
+
deserializing a file_type parameter.
|
|
140
|
+
If passed, type conversion is attempted
|
|
141
|
+
If omitted no type conversion is done.
|
|
142
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
143
|
+
classes that we have traveled through so that
|
|
144
|
+
if we see that class again we will not use its
|
|
145
|
+
discriminator again.
|
|
146
|
+
When traveling through a discriminator, the
|
|
147
|
+
composed schema that is
|
|
148
|
+
is traveled through is added to this set.
|
|
149
|
+
For example if Animal has a discriminator
|
|
150
|
+
petType and we pass in "Dog", and the class Dog
|
|
151
|
+
allOf includes Animal, we move through Animal
|
|
152
|
+
once using the discriminator, and pick Dog.
|
|
153
|
+
Then in Dog, we will make an instance of the
|
|
154
|
+
Animal class but this time we won't travel
|
|
155
|
+
through its discriminator because we passed in
|
|
156
|
+
_visited_composed_classes = (Animal,)
|
|
157
|
+
data ([CreativeResource], none_type): [optional] # noqa: E501
|
|
158
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
159
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
163
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
164
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
165
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
166
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
167
|
+
|
|
168
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
169
|
+
|
|
170
|
+
if args:
|
|
171
|
+
for arg in args:
|
|
172
|
+
if isinstance(arg, dict):
|
|
173
|
+
kwargs.update(arg)
|
|
174
|
+
else:
|
|
175
|
+
raise ApiTypeError(
|
|
176
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
177
|
+
args,
|
|
178
|
+
self.__class__.__name__,
|
|
179
|
+
),
|
|
180
|
+
path_to_item=_path_to_item,
|
|
181
|
+
valid_classes=(self.__class__,),
|
|
182
|
+
)
|
|
183
|
+
|
|
184
|
+
self._data_store = {}
|
|
185
|
+
self._check_type = _check_type
|
|
186
|
+
self._spec_property_naming = _spec_property_naming
|
|
187
|
+
self._path_to_item = _path_to_item
|
|
188
|
+
self._configuration = _configuration
|
|
189
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
190
|
+
|
|
191
|
+
for var_name, var_value in kwargs.items():
|
|
192
|
+
if var_name not in self.attribute_map and \
|
|
193
|
+
self._configuration is not None and \
|
|
194
|
+
self._configuration.discard_unknown_keys and \
|
|
195
|
+
self.additional_properties_type is None:
|
|
196
|
+
# discard variable.
|
|
197
|
+
continue
|
|
198
|
+
setattr(self, var_name, var_value)
|
|
199
|
+
return self
|
|
200
|
+
|
|
201
|
+
required_properties = set([
|
|
202
|
+
'_data_store',
|
|
203
|
+
'_check_type',
|
|
204
|
+
'_spec_property_naming',
|
|
205
|
+
'_path_to_item',
|
|
206
|
+
'_configuration',
|
|
207
|
+
'_visited_composed_classes',
|
|
208
|
+
])
|
|
209
|
+
|
|
210
|
+
@convert_js_args_to_python_args
|
|
211
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
212
|
+
"""CreativeListResponse - a model defined in OpenAPI
|
|
213
|
+
|
|
214
|
+
Keyword Args:
|
|
215
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
216
|
+
will be type checked and a TypeError will be
|
|
217
|
+
raised if the wrong type is input.
|
|
218
|
+
Defaults to True
|
|
219
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
220
|
+
drill down to the model in received_data
|
|
221
|
+
when deserializing a response
|
|
222
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
223
|
+
are serialized names, as specified in the OpenAPI document.
|
|
224
|
+
False if the variable names in the input data
|
|
225
|
+
are pythonic names, e.g. snake case (default)
|
|
226
|
+
_configuration (Configuration): the instance to use when
|
|
227
|
+
deserializing a file_type parameter.
|
|
228
|
+
If passed, type conversion is attempted
|
|
229
|
+
If omitted no type conversion is done.
|
|
230
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
231
|
+
classes that we have traveled through so that
|
|
232
|
+
if we see that class again we will not use its
|
|
233
|
+
discriminator again.
|
|
234
|
+
When traveling through a discriminator, the
|
|
235
|
+
composed schema that is
|
|
236
|
+
is traveled through is added to this set.
|
|
237
|
+
For example if Animal has a discriminator
|
|
238
|
+
petType and we pass in "Dog", and the class Dog
|
|
239
|
+
allOf includes Animal, we move through Animal
|
|
240
|
+
once using the discriminator, and pick Dog.
|
|
241
|
+
Then in Dog, we will make an instance of the
|
|
242
|
+
Animal class but this time we won't travel
|
|
243
|
+
through its discriminator because we passed in
|
|
244
|
+
_visited_composed_classes = (Animal,)
|
|
245
|
+
data ([CreativeResource], none_type): [optional] # noqa: E501
|
|
246
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
247
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
248
|
+
"""
|
|
249
|
+
|
|
250
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
251
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
252
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
253
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
254
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
255
|
+
|
|
256
|
+
if args:
|
|
257
|
+
for arg in args:
|
|
258
|
+
if isinstance(arg, dict):
|
|
259
|
+
kwargs.update(arg)
|
|
260
|
+
else:
|
|
261
|
+
raise ApiTypeError(
|
|
262
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
263
|
+
args,
|
|
264
|
+
self.__class__.__name__,
|
|
265
|
+
),
|
|
266
|
+
path_to_item=_path_to_item,
|
|
267
|
+
valid_classes=(self.__class__,),
|
|
268
|
+
)
|
|
269
|
+
|
|
270
|
+
self._data_store = {}
|
|
271
|
+
self._check_type = _check_type
|
|
272
|
+
self._spec_property_naming = _spec_property_naming
|
|
273
|
+
self._path_to_item = _path_to_item
|
|
274
|
+
self._configuration = _configuration
|
|
275
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
276
|
+
|
|
277
|
+
for var_name, var_value in kwargs.items():
|
|
278
|
+
if var_name not in self.attribute_map and \
|
|
279
|
+
self._configuration is not None and \
|
|
280
|
+
self._configuration.discard_unknown_keys and \
|
|
281
|
+
self.additional_properties_type is None:
|
|
282
|
+
# discard variable.
|
|
283
|
+
continue
|
|
284
|
+
setattr(self, var_name, var_value)
|
|
285
|
+
if var_name in self.read_only_vars:
|
|
286
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
287
|
+
f"class with read only attributes.")
|