class Azure::Support::Mgmt::V2020_04_01::Models::UpdateContactProfile
Contact information associated with the support ticket.
Attributes
@return [Array<String>] Email addresses listed will be copied on any correspondence about the support ticket.
@return [String] Country of the user. This is the ISO 3166-1 alpha-3 code.
@return [String] First name.
@return [String] Last name.
@return [String] Phone number. This is required if preferred contact method is phone.
@return [PreferredContactMethod] Preferred contact method. Possible values include: 'email', 'phone'
@return [String] Preferred language of support from Azure
. Support
languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](azure.microsoft.com/support/plans/response/). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.
@return [String] Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](support.microsoft.com/help/973627/microsoft-time-zone-index-values).
@return [String] Primary email address.
Private Class Methods
Mapper for UpdateContactProfile
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-04-01/generated/azure_mgmt_support/models/update_contact_profile.rb, line 61 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UpdateContactProfile', type: { name: 'Composite', class_name: 'UpdateContactProfile', model_properties: { 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' } }, preferred_contact_method: { client_side_validation: true, required: false, serialized_name: 'preferredContactMethod', type: { name: 'String' } }, primary_email_address: { client_side_validation: true, required: false, serialized_name: 'primaryEmailAddress', type: { name: 'String' } }, additional_email_addresses: { client_side_validation: true, required: false, serialized_name: 'additionalEmailAddresses', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, phone_number: { client_side_validation: true, required: false, serialized_name: 'phoneNumber', type: { name: 'String' } }, preferred_time_zone: { client_side_validation: true, required: false, serialized_name: 'preferredTimeZone', type: { name: 'String' } }, country: { client_side_validation: true, required: false, serialized_name: 'country', type: { name: 'String' } }, preferred_support_language: { client_side_validation: true, required: false, serialized_name: 'preferredSupportLanguage', type: { name: 'String' } } } } } end