=begin #Blog Post endpoints #\"Use these endpoints for interacting with Blog Posts, Blog Authors, and Blog Tags\" The version of the OpenAPI document: v3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 =end require 'spec_helper' require 'json' # Unit tests for Hubspot::Cms::Blogs::Tags::TagApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'TagApi' do before do # run before each test @api_instance = Hubspot::Cms::Blogs::Tags::TagApi.new end after do # run after each test end describe 'test an instance of TagApi' do it 'should create an instance of TagApi' do expect(@api_instance).to be_instance_of(Hubspot::Cms::Blogs::Tags::TagApi) end end # unit tests for archive # Delete a Blog Tag # Delete the Blog Tag object identified by the id in the path. # @param object_id The Blog Tag id. # @param [Hash] opts the optional parameters # @option opts [Boolean] :archived Whether to return only results that have been archived. # @return [nil] describe 'archive 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 archive_batch # Archive a batch of Blog Tags # Delete the Blog Tag objects identified in the request body. Note: This is not the same as the in-app `archive` function. # @param batch_input_string The JSON array of Blog Tag ids. # @param [Hash] opts the optional parameters # @return [nil] describe 'archive_batch 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 create # Create a new Blog Tag # Create a new Blog Tag. # @param tag The JSON representation of a new Blog Tag. # @param [Hash] opts the optional parameters # @return [Tag] describe '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 create_batch # Create a batch of Blog Tags # Create the Blog Tag objects detailed in the request body. # @param batch_input_tag The JSON array of new Blog Tags to create. # @param [Hash] opts the optional parameters # @return [Object] describe 'create_batch 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 get_by_id # Retrieve a Blog Tag # Retrieve the Blog Tag object identified by the id in the path. # @param object_id The Blog Tag id. # @param [Hash] opts the optional parameters # @option opts [Boolean] :archived Specifies whether to return archived Blog Tags. Defaults to `false`. # @return [Tag] describe 'get_by_id 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 get_page # Get all Blog Tags # Get the list of blog tags. Supports paging and filtering. This method would be useful for an integration that examined these models and used an external service to suggest edits. # @param [Hash] opts the optional parameters # @option opts [DateTime] :created_at Only return Blog Tags created at exactly the specified time. # @option opts [DateTime] :created_after Only return Blog Tags created after the specified time. # @option opts [DateTime] :created_before Only return Blog Tags created before the specified time. # @option opts [DateTime] :updated_at Only return Blog Tags last updated at exactly the specified time. # @option opts [DateTime] :updated_after Only return Blog Tags last updated after the specified time. # @option opts [DateTime] :updated_before Only return Blog Tags last updated before the specified time. # @option opts [Array] :sort Specifies which fields to use for sorting results. Valid fields are `name`, `createdAt`, `updatedAt`, `createdBy`, `updatedBy`. `createdAt` will be used by default. # @option opts [String] :after The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results. # @option opts [Integer] :limit The maximum number of results to return. Default is 100. # @option opts [Boolean] :archived Specifies whether to return archived Blog Tags. Defaults to `false`. # @return [CollectionResponseWithTotalTagForwardPaging] describe 'get_page 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 read_batch # Retrieve a batch of Blog Tags # Retrieve the Blog Tag objects identified in the request body. # @param batch_input_string The JSON array of Blog Tag ids. # @param [Hash] opts the optional parameters # @option opts [Boolean] :archived Specifies whether to return archived Blog Tags. Defaults to `false`. # @return [Object] describe 'read_batch 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 update # Update a Blog Tag # Sparse updates a single Blog Tag object identified by the id in the path. All the column values need not be specified. Only the that need to be modified can be specified. # @param object_id The Blog Tag id. # @param tag The JSON representation of the updated Blog Tag. # @param [Hash] opts the optional parameters # @option opts [Boolean] :archived Specifies whether to update archived Blog Tags. Defaults to `false`. # @return [Tag] describe '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 update_batch # Update a batch of Blog Tags # Update the Blog Tag objects identified in the request body. # @param batch_input_json_node A JSON array of the JSON representations of the updated Blog Tags. # @param [Hash] opts the optional parameters # @option opts [Boolean] :archived Specifies whether to update archived Blog Tags. Defaults to `false`. # @return [Object] describe 'update_batch test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end