=begin #Custom Workflow Actions #Create custom workflow actions The version of the OpenAPI document: v4 Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 =end require 'spec_helper' require 'json' # Unit tests for Hubspot::Automation::Actions::DefinitionsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'DefinitionsApi' do before do # run before each test @api_instance = Hubspot::Automation::Actions::DefinitionsApi.new end after do # run after each test end describe 'test an instance of DefinitionsApi' do it 'should create an instance of DefinitionsApi' do expect(@api_instance).to be_instance_of(Hubspot::Automation::Actions::DefinitionsApi) end end # unit tests for archive # Archive a custom action # Archives a single custom workflow action with the specified ID. Workflows that currently use this custom action will stop attempting to execute the action, and all future executions will be marked as a failure. # @param definition_id The ID of the custom workflow action. # @param app_id # @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 create # Create new custom action # Creates a new custom workflow action. # @param app_id # @param extension_action_definition_input The custom workflow action to create. # @param [Hash] opts the optional parameters # @return [ExtensionActionDefinition] 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 get_by_id # Get a custom action # Returns a single custom workflow action with the specified ID. # @param definition_id The ID of the custom workflow action. # @param app_id # @param [Hash] opts the optional parameters # @option opts [Boolean] :archived Whether to include archived custom actions. # @return [ExtensionActionDefinition] 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 custom actions # Returns a list of all custom workflow actions. # @param app_id # @param [Hash] opts the optional parameters # @option opts [Integer] :limit Maximum number of results per page. # @option opts [String] :after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. # @option opts [Boolean] :archived Whether to include archived custom actions. # @return [CollectionResponseExtensionActionDefinitionForwardPaging] 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 update # Update a custom action # Updates a custom workflow action with new values for the specified fields. # @param definition_id The ID of the custom workflow action. # @param app_id # @param extension_action_definition_patch The custom workflow action fields to be updated. # @param [Hash] opts the optional parameters # @return [ExtensionActionDefinition] describe 'update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end