=begin #Pinterest REST API #Pinterest's REST API The version of the OpenAPI document: 5.3.0 Contact: blah@cliffano.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.4.0 =end # Common files require 'pinterest_sdk/api_client' require 'pinterest_sdk/api_error' require 'pinterest_sdk/version' require 'pinterest_sdk/configuration' # Models require 'pinterest_sdk/models/account' require 'pinterest_sdk/models/action_type' require 'pinterest_sdk/models/ad_account' require 'pinterest_sdk/models/ad_account_owner' require 'pinterest_sdk/models/ad_group_response' require 'pinterest_sdk/models/ad_group_response_all_of' require 'pinterest_sdk/models/ad_group_response_all_of1' require 'pinterest_sdk/models/ad_group_summary_status' require 'pinterest_sdk/models/ad_response' require 'pinterest_sdk/models/ad_response_all_of' require 'pinterest_sdk/models/ad_response_all_of1' require 'pinterest_sdk/models/ads_analytics_create_async_request' require 'pinterest_sdk/models/ads_analytics_create_async_request_all_of' require 'pinterest_sdk/models/ads_analytics_create_async_request_all_of1' require 'pinterest_sdk/models/ads_analytics_create_async_response' require 'pinterest_sdk/models/ads_analytics_filter_column' require 'pinterest_sdk/models/ads_analytics_filter_operator' require 'pinterest_sdk/models/ads_analytics_get_async_response' require 'pinterest_sdk/models/ads_analytics_metrics_filter' require 'pinterest_sdk/models/ads_analytics_targeting_type' require 'pinterest_sdk/models/analytics_metrics_response' require 'pinterest_sdk/models/analytics_metrics_response_daily_metrics' require 'pinterest_sdk/models/availability_filter' require 'pinterest_sdk/models/batch_operation' require 'pinterest_sdk/models/batch_operation_status' require 'pinterest_sdk/models/board' require 'pinterest_sdk/models/board_owner' require 'pinterest_sdk/models/board_section' require 'pinterest_sdk/models/board_update' require 'pinterest_sdk/models/brand_filter' require 'pinterest_sdk/models/campaign_common' require 'pinterest_sdk/models/campaign_response' require 'pinterest_sdk/models/campaign_response_all_of' require 'pinterest_sdk/models/campaign_response_all_of1' require 'pinterest_sdk/models/campaign_summary_status' require 'pinterest_sdk/models/catalogs_db_item' require 'pinterest_sdk/models/catalogs_feed' require 'pinterest_sdk/models/catalogs_feed_credentials' require 'pinterest_sdk/models/catalogs_feed_ingestion_details' require 'pinterest_sdk/models/catalogs_feed_ingestion_errors' require 'pinterest_sdk/models/catalogs_feed_ingestion_info' require 'pinterest_sdk/models/catalogs_feed_processing_result' require 'pinterest_sdk/models/catalogs_feed_processing_result_fields' require 'pinterest_sdk/models/catalogs_feed_processing_schedule' require 'pinterest_sdk/models/catalogs_feed_processing_status' require 'pinterest_sdk/models/catalogs_feed_product_counts' require 'pinterest_sdk/models/catalogs_feed_validation_details' require 'pinterest_sdk/models/catalogs_feed_validation_errors' require 'pinterest_sdk/models/catalogs_feed_validation_warnings' require 'pinterest_sdk/models/catalogs_feeds_create_request' require 'pinterest_sdk/models/catalogs_feeds_update_request' require 'pinterest_sdk/models/catalogs_format' require 'pinterest_sdk/models/catalogs_items' require 'pinterest_sdk/models/catalogs_items_batch' require 'pinterest_sdk/models/catalogs_items_batch_request' require 'pinterest_sdk/models/catalogs_product_group' require 'pinterest_sdk/models/catalogs_product_group_create_request' require 'pinterest_sdk/models/catalogs_product_group_currency_criteria' require 'pinterest_sdk/models/catalogs_product_group_filter_keys' require 'pinterest_sdk/models/catalogs_product_group_filters' require 'pinterest_sdk/models/catalogs_product_group_filters_all_of' require 'pinterest_sdk/models/catalogs_product_group_filters_any_of' require 'pinterest_sdk/models/catalogs_product_group_multiple_string_criteria' require 'pinterest_sdk/models/catalogs_product_group_multiple_string_list_criteria' require 'pinterest_sdk/models/catalogs_product_group_pricing_criteria' require 'pinterest_sdk/models/catalogs_product_group_status' require 'pinterest_sdk/models/catalogs_product_group_type' require 'pinterest_sdk/models/catalogs_product_group_update_request' require 'pinterest_sdk/models/catalogs_status' require 'pinterest_sdk/models/condition_filter' require 'pinterest_sdk/models/conversion_attribution_window_days' require 'pinterest_sdk/models/conversion_report_attribution_type' require 'pinterest_sdk/models/conversion_report_time_type' require 'pinterest_sdk/models/country' require 'pinterest_sdk/models/currency' require 'pinterest_sdk/models/currency_filter' require 'pinterest_sdk/models/custom_label0_filter' require 'pinterest_sdk/models/custom_label1_filter' require 'pinterest_sdk/models/custom_label2_filter' require 'pinterest_sdk/models/custom_label3_filter' require 'pinterest_sdk/models/custom_label4_filter' require 'pinterest_sdk/models/data_output_format' require 'pinterest_sdk/models/entity_status' require 'pinterest_sdk/models/error' require 'pinterest_sdk/models/feed_fields' require 'pinterest_sdk/models/gender_filter' require 'pinterest_sdk/models/google_product_category0_filter' require 'pinterest_sdk/models/google_product_category1_filter' require 'pinterest_sdk/models/google_product_category2_filter' require 'pinterest_sdk/models/google_product_category3_filter' require 'pinterest_sdk/models/google_product_category4_filter' require 'pinterest_sdk/models/google_product_category5_filter' require 'pinterest_sdk/models/google_product_category6_filter' require 'pinterest_sdk/models/granularity' require 'pinterest_sdk/models/image_details' require 'pinterest_sdk/models/item_attributes' require 'pinterest_sdk/models/item_batch_record' require 'pinterest_sdk/models/item_group_id_filter' require 'pinterest_sdk/models/item_id_filter' require 'pinterest_sdk/models/item_processing_record' require 'pinterest_sdk/models/item_processing_status' require 'pinterest_sdk/models/item_validation_event' require 'pinterest_sdk/models/language' require 'pinterest_sdk/models/max_price_filter' require 'pinterest_sdk/models/media_upload' require 'pinterest_sdk/models/media_upload_all_of' require 'pinterest_sdk/models/media_upload_all_of_upload_parameters' require 'pinterest_sdk/models/media_upload_details' require 'pinterest_sdk/models/media_upload_request' require 'pinterest_sdk/models/media_upload_status' require 'pinterest_sdk/models/media_upload_type' require 'pinterest_sdk/models/metrics_reporting_level' require 'pinterest_sdk/models/min_price_filter' require 'pinterest_sdk/models/non_nullable_catalogs_currency' require 'pinterest_sdk/models/nullable_currency' require 'pinterest_sdk/models/oauth_access_token_request_code_all_of' require 'pinterest_sdk/models/oauth_access_token_request_refresh_all_of' require 'pinterest_sdk/models/oauth_access_token_response' require 'pinterest_sdk/models/oauth_access_token_response_code_all_of' require 'pinterest_sdk/models/objective_type' require 'pinterest_sdk/models/pacing_delivery_type' require 'pinterest_sdk/models/paginated' require 'pinterest_sdk/models/pin' require 'pinterest_sdk/models/pin_media' require 'pinterest_sdk/models/pin_media_source' require 'pinterest_sdk/models/pin_media_source_image_base64' require 'pinterest_sdk/models/pin_media_source_image_url' require 'pinterest_sdk/models/pin_media_source_video_id' require 'pinterest_sdk/models/pin_media_with_image_all_of' require 'pinterest_sdk/models/pin_promotion_summary_status' require 'pinterest_sdk/models/placement_group_type' require 'pinterest_sdk/models/product_availability_type' require 'pinterest_sdk/models/product_group_summary_status' require 'pinterest_sdk/models/product_type0_filter' require 'pinterest_sdk/models/product_type1_filter' require 'pinterest_sdk/models/product_type2_filter' require 'pinterest_sdk/models/product_type3_filter' require 'pinterest_sdk/models/product_type4_filter' require 'pinterest_sdk/models/reporting_column_async' require 'pinterest_sdk/models/targeting_type_filter' require 'pinterest_sdk/models/tracking_urls' require 'pinterest_sdk/models/oauth_access_token_request_code' require 'pinterest_sdk/models/oauth_access_token_request_refresh' require 'pinterest_sdk/models/oauth_access_token_response_code' require 'pinterest_sdk/models/oauth_access_token_response_refresh' require 'pinterest_sdk/models/pin_media_with_image' # APIs require 'pinterest_sdk/api/ad_accounts_api' require 'pinterest_sdk/api/boards_api' require 'pinterest_sdk/api/catalogs_api' require 'pinterest_sdk/api/media_api' require 'pinterest_sdk/api/oauth_api' require 'pinterest_sdk/api/pins_api' require 'pinterest_sdk/api/user_account_api' module PinterestSdkClient class << self # Customize default settings for the SDK using block. # PinterestSdkClient.configure do |config| # config.username = "xxx" # config.password = "xxx" # end # If no block given, return the default Configuration object. def configure if block_given? yield(Configuration.default) else Configuration.default end end end end