=begin #Marketing Events Extension #These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot * Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event. * Specify a URL that can be called to get the details of a Marketing Event. 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::Marketing::Events::BasicApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'BasicApi' do before do # run before each test @api_instance = Hubspot::Marketing::Events::BasicApi.new end after do # run after each test end describe 'test an instance of BasicApi' do it 'should create an instance of BasicApi' do expect(@api_instance).to be_instance_of(Hubspot::Marketing::Events::BasicApi) end end # unit tests for archive # Delete a marketing event # Deletes an existing Marketing Event with the specified id, if one exists. # @param external_event_id The id of the marketing event to delete # @param external_account_id The account id associated with the marketing event # @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 a marketing event # Creates a new marketing event in HubSpot # @param marketing_event_create_request_params The details of the marketing event to create # @param [Hash] opts the optional parameters # @return [MarketingEventDefaultResponse] 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 do_cancel # Mark a marketing event as cancelled # Mark a marketing event as cancelled. # @param external_event_id The id of the marketing event to mark as cancelled # @param external_account_id The account id associated with the marketing event # @param [Hash] opts the optional parameters # @return [MarketingEventDefaultResponse] describe 'do_cancel 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 marketing event # Returns the details of the Marketing Event with the specified id, if one exists. # @param external_event_id The id of the marketing event to return # @param external_account_id The account id associated with the marketing event # @param [Hash] opts the optional parameters # @return [MarketingEventPublicReadResponse] 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 replace # Create or update a marketing event # Upsets a Marketing Event. If there is an existing Marketing event with the specified id, it will be updated; otherwise a new event will be created. # @param external_event_id The id of the marketing event to upsert # @param marketing_event_create_request_params The details of the marketing event to upsert # @param [Hash] opts the optional parameters # @return [MarketingEventPublicDefaultResponse] describe 'replace 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 marketing event # Updates an existing Marketing Event with the specified id, if one exists. # @param external_event_id The id of the marketing event to update # @param external_account_id The account id associated with the marketing event # @param marketing_event_update_request_params The details of the marketing event to update # @param [Hash] opts the optional parameters # @return [MarketingEventPublicDefaultResponse] 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