=begin
#Subscriptions

#Subscriptions allow contacts to control what forms of communications they receive. Contacts can decide whether they want to receive communication pertaining to a specific topic, brand, or an entire HubSpot account.

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'
require 'date'

# Unit tests for Hubspot::CommunicationPreferences::PublicUpdateSubscriptionStatusRequest
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'PublicUpdateSubscriptionStatusRequest' do
  before do
    # run before each test
    @instance = Hubspot::CommunicationPreferences::PublicUpdateSubscriptionStatusRequest.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of PublicUpdateSubscriptionStatusRequest' do
    it 'should create an instance of PublicUpdateSubscriptionStatusRequest' do
      expect(@instance).to be_instance_of(Hubspot::CommunicationPreferences::PublicUpdateSubscriptionStatusRequest)
    end
  end
  describe 'test attribute "email_address"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "subscription_id"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "legal_basis"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
      # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["LEGITIMATE_INTEREST_PQL", "LEGITIMATE_INTEREST_CLIENT", "PERFORMANCE_OF_CONTRACT", "CONSENT_WITH_NOTICE", "NON_GDPR", "PROCESS_AND_STORE", "LEGITIMATE_INTEREST_OTHER"])
      # validator.allowable_values.each do |value|
      #   expect { @instance.legal_basis = value }.not_to raise_error
      # end
    end
  end

  describe 'test attribute "legal_basis_explanation"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

end
