=begin #Pinterest REST API #Pinterest's REST API The version of the OpenAPI document: 5.3.0 Contact: pinterest-api@pinterest.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.4.0 =end require 'spec_helper' require 'json' # Unit tests for PinterestSdkClient::CatalogsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'CatalogsApi' do before do # run before each test @api_instance = PinterestSdkClient::CatalogsApi.new end after do # run after each test end describe 'test an instance of CatalogsApi' do it 'should create an instance of CatalogsApi' do expect(@api_instance).to be_instance_of(PinterestSdkClient::CatalogsApi) end end # unit tests for catalogs_product_groups_create # Create product group # <strong>This endpoint is currently in beta and not available to all apps. <a href='/docs/api/v5/#tag/Understanding-catalog-management'>Learn more</a>.</strong> Create product group to use in Catalogs. # @param catalogs_product_group_create_request Request object used to created a catalogs product group. # @param [Hash] opts the optional parameters # @return [Object] describe 'catalogs_product_groups_create test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for catalogs_product_groups_delete # Delete product group # <strong>This endpoint is currently in beta and not available to all apps. <a href='/docs/api/v5/#tag/Understanding-catalog-management'>Learn more</a>.</strong> Delete a product group from being in use in Catalogs. # @param product_group_id Unique identifier of a product group # @param [Hash] opts the optional parameters # @return [nil] describe 'catalogs_product_groups_delete test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for catalogs_product_groups_list # Get product groups list # <strong>This endpoint is currently in beta and not available to all apps. <a href='/docs/api/v5/#tag/Understanding-catalog-management'>Learn more</a>.</strong> Get a list of product groups for a given Catalogs Feed Id. # @param feed_id Unique identifier of a feed # @param [Hash] opts the optional parameters # @option opts [String] :bookmark Cursor used to fetch the next page of items # @option opts [Integer] :page_size Maximum number of items to include in a single page of the response. See documentation on <a href='/docs/api/v5/#tag/Pagination'>Pagination</a> for more information. # @return [Paginated] describe 'catalogs_product_groups_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for catalogs_product_groups_update # Update product group # <strong>This endpoint is currently in beta and not available to all apps. <a href='/docs/api/v5/#tag/Understanding-catalog-management'>Learn more</a>.</strong> Update product group to use in Catalogs. # @param product_group_id Unique identifier of a product group # @param catalogs_product_group_update_request Request object used to Update a catalogs product group. # @param [Hash] opts the optional parameters # @return [CatalogsProductGroup] describe 'catalogs_product_groups_update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for feed_processing_results_list # List processing results for a given feed # <strong>This endpoint is currently in beta and not available to all apps. <a href='/docs/api/v5/#tag/Understanding-catalog-management'>Learn more</a>.</strong> Fetch a feed processing results owned by the owner user account. # @param feed_id Unique identifier of a feed # @param [Hash] opts the optional parameters # @option opts [String] :bookmark Cursor used to fetch the next page of items # @option opts [Integer] :page_size Maximum number of items to include in a single page of the response. See documentation on <a href='/docs/api/v5/#tag/Pagination'>Pagination</a> for more information. # @return [Paginated] describe 'feed_processing_results_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for feeds_create # Create feed # <strong>This endpoint is currently in beta and not available to all apps. <a href='/docs/api/v5/#tag/Understanding-catalog-management'>Learn more</a>.</strong> Create a new feed owned by the \"operating user_account\". # @param catalogs_feeds_create_request Request object used to created a feed. # @param [Hash] opts the optional parameters # @return [CatalogsFeed] describe 'feeds_create test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for feeds_delete # Delete feed # <strong>This endpoint is currently in beta and not available to all apps. <a href='/docs/api/v5/#tag/Understanding-catalog-management'>Learn more</a>.</strong> Delete a feed owned by the \"operating user_account\". # @param feed_id Unique identifier of a feed # @param [Hash] opts the optional parameters # @return [nil] describe 'feeds_delete test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for feeds_get # Get feed # <strong>This endpoint is currently in beta and not available to all apps. <a href='/docs/api/v5/#tag/Understanding-catalog-management'>Learn more</a>.</strong> Get a single feed owned by the \"operating user_account\". # @param feed_id Unique identifier of a feed # @param [Hash] opts the optional parameters # @return [CatalogsFeed] describe 'feeds_get test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for feeds_list # List feeds # <strong>This endpoint is currently in beta and not available to all apps. <a href='/docs/api/v5/#tag/Understanding-catalog-management'>Learn more</a>.</strong> Fetch feeds owned by the \"operating user_account\". # @param [Hash] opts the optional parameters # @option opts [String] :bookmark Cursor used to fetch the next page of items # @option opts [Integer] :page_size Maximum number of items to include in a single page of the response. See documentation on <a href='/docs/api/v5/#tag/Pagination'>Pagination</a> for more information. # @return [Paginated] describe 'feeds_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for feeds_update # Update feed # <strong>This endpoint is currently in beta and not available to all apps. <a href='/docs/api/v5/#tag/Understanding-catalog-management'>Learn more</a>.</strong> Update a feed owned by the \"operating user_account\". # @param feed_id Unique identifier of a feed # @param catalogs_feeds_update_request Request object used to update a feed. # @param [Hash] opts the optional parameters # @return [CatalogsFeed] describe 'feeds_update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for items_batch_get # Get catalogs items batch # <strong>This endpoint is currently in beta and not available to all apps. <a href='/docs/api/v5/#tag/Understanding-catalog-management'>Learn more</a>.</strong> Get a single catalogs items batch created by the \"operating user_account\". # @param batch_id Id of a catalogs items batch to fetch # @param [Hash] opts the optional parameters # @return [CatalogsItemsBatch] describe 'items_batch_get test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for items_batch_post # Perform an operation on an item batch # <strong>This endpoint is currently in beta and not available to all apps. <a href='/docs/api/v5/#tag/Understanding-catalog-management'>Learn more</a>.</strong> This endpoint supports multiple operations on a set of one or more catalog items. # @param catalogs_items_batch_request Request object used to create catalogs items in a batch # @param [Hash] opts the optional parameters # @return [CatalogsItemsBatch] describe 'items_batch_post test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for items_get # Get catalogs items # Get the items of the catalog created by the \"operating user_account\" # @param country Country for the Catalogs Items # @param item_ids Catalos Item ids # @param language Language for the Catalogs Items # @param [Hash] opts the optional parameters # @return [CatalogsItems] describe 'items_get test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end