=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::Authors::DefaultApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'DefaultApi' do before do # run before each test @api_instance = Hubspot::Cms::Blogs::Authors::DefaultApi.new end after do # run after each test end describe 'test an instance of DefaultApi' do it 'should create an instance of DefaultApi' do expect(@api_instance).to be_instance_of(Hubspot::Cms::Blogs::Authors::DefaultApi) end end # unit tests for archive # Archive a batch of Blog Authors # Archive the Blog Author objects identified in the request body. # @param batch_input_string The JSON array of Blog Author ids. # @param [Hash] opts the optional parameters # @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_0 # Delete a Blog Author # Delete the Blog Author object identified by the id in the path. # @param object_id The Blog Author id. # @param [Hash] opts the optional parameters # @option opts [Boolean] :archived Whether to return only results that have been archived. # @return [nil] describe 'archive_0 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 Author # Create a new Blog Author. # @param blog_author The JSON representation of a new Blog Author. # @param [Hash] opts the optional parameters # @return [BlogAuthor] 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_0 # Create a batch of Blog Authors # Create the Blog Author objects detailed in the request body. # @param batch_input_blog_author The JSON array of new Blog Authors to create. # @param [Hash] opts the optional parameters # @return [Object] describe 'create_0 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 Author # Retrieve the Blog Author object identified by the id in the path. # @param object_id The Blog Author id. # @param [Hash] opts the optional parameters # @option opts [Boolean] :archived Specifies whether to return archived Blog Authors. Defaults to `false`. # @return [BlogAuthor] 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 Authors # Get the list of blog authors. 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 Authors created at exactly the specified time. # @option opts [DateTime] :created_after Only return Blog Authors created after the specified time. # @option opts [DateTime] :created_before Only return Blog Authors created before the specified time. # @option opts [DateTime] :updated_at Only return Blog Authors last updated at exactly the specified time. # @option opts [DateTime] :updated_after Only return Blog Authors last updated after the specified time. # @option opts [DateTime] :updated_before Only return Blog Authors 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 Authors. Defaults to `false`. # @return [CollectionResponseWithTotalBlogAuthorForwardPaging] 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 # Retrieve a batch of Blog Authors # Retrieve the Blog Author objects identified in the request body. # @param batch_input_string The JSON array of Blog Author ids. # @param [Hash] opts the optional parameters # @option opts [Boolean] :archived Specifies whether to return archived Blog Authors. Defaults to `false`. # @return [Object] describe 'read 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 batch of Blog Authors # Update the Blog Author objects identified in the request body. # @param batch_input_json_node A JSON array of the JSON representations of the updated Blog Authors. # @param [Hash] opts the optional parameters # @option opts [Boolean] :archived Specifies whether to update archived Blog Authors. Defaults to `false`. # @return [Object] 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_0 # Update a Blog Author # Sparse updates a single Blog Author 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 Author id. # @param blog_author The JSON representation of the updated Blog Author. # @param [Hash] opts the optional parameters # @option opts [Boolean] :archived Specifies whether to update archived Blog Authors. Defaults to `false`. # @return [BlogAuthor] describe 'update_0 test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end