# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Reservations::Mgmt::V2019_07_19_preview module Models # # The SupportRequest action. # class SupportRequestAction include MsRestAzure # @return Is support request action enabled. attr_accessor :auto_quota_increase_state # @return The support request severity. attr_accessor :severity # @return [String] The first name of the recipient. attr_accessor :first_name # @return [String] The last name of the recipient. attr_accessor :last_name # @return [String] The country of the recipient. attr_accessor :country # @return [String] The phone number of the recipient. attr_accessor :phone_number # @return [String] The primary email addresses of the recipients. attr_accessor :primary_email_address # @return [String] The support language. attr_accessor :support_language # @return The preferred communication channel. attr_accessor :preferred_contact_method # @return [Array] The alternate email address of the recipient. attr_accessor :alternate_email_addresses # # Mapper for SupportRequestAction class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SupportRequestAction', type: { name: 'Composite', class_name: 'SupportRequestAction', model_properties: { auto_quota_increase_state: { client_side_validation: true, required: false, serialized_name: 'autoQuotaIncreaseState', type: { name: 'Object' } }, severity: { client_side_validation: true, required: false, serialized_name: 'severity', type: { name: 'Object' } }, first_name: { client_side_validation: true, required: false, serialized_name: 'firstName', type: { name: 'String' } }, last_name: { client_side_validation: true, required: false, serialized_name: 'lastName', type: { name: 'String' } }, country: { client_side_validation: true, required: false, serialized_name: 'country', type: { name: 'String' } }, phone_number: { client_side_validation: true, required: false, serialized_name: 'phoneNumber', type: { name: 'String' } }, primary_email_address: { client_side_validation: true, required: false, serialized_name: 'primaryEmailAddress', type: { name: 'String' } }, support_language: { client_side_validation: true, required: false, serialized_name: 'supportLanguage', type: { name: 'String' } }, preferred_contact_method: { client_side_validation: true, required: false, serialized_name: 'preferredContactMethod', type: { name: 'Object' } }, alternate_email_addresses: { client_side_validation: true, required: false, serialized_name: 'alternateEmailAddresses', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end