Class: Azure::Support::Mgmt::V2020_04_01::Models::UpdateContactProfile
- Inherits:
-
Object
- Object
- Azure::Support::Mgmt::V2020_04_01::Models::UpdateContactProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-04-01/generated/azure_mgmt_support/models/update_contact_profile.rb
Overview
Contact information associated with the support ticket.
Instance Attribute Summary collapse
-
#additional_email_addresses ⇒ Array<String>
correspondence about the support ticket.
-
#country ⇒ String
code.
-
#first_name ⇒ String
First name.
-
#last_name ⇒ String
Last name.
-
#phone_number ⇒ String
method is phone.
-
#preferred_contact_method ⇒ PreferredContactMethod
values include: ‘email’, ‘phone’.
-
#preferred_support_language ⇒ String
languages vary based on the severity you choose for your support ticket.
-
#preferred_time_zone ⇒ String
zone from [Microsoft Time Zone Index Values](support.microsoft.com/help/973627/microsoft-time-zone-index-values).
-
#primary_email_address ⇒ String
Primary email address.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UpdateContactProfile class as Ruby Hash.
Instance Attribute Details
#additional_email_addresses ⇒ Array<String>
correspondence about the support ticket.
30 31 32 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/update_contact_profile.rb', line 30 def additional_email_addresses @additional_email_addresses end |
#country ⇒ String
code.
43 44 45 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/update_contact_profile.rb', line 43 def country @country end |
#first_name ⇒ String
Returns First name.
16 17 18 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/update_contact_profile.rb', line 16 def first_name @first_name end |
#last_name ⇒ String
Returns Last name.
19 20 21 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/update_contact_profile.rb', line 19 def last_name @last_name end |
#phone_number ⇒ String
method is phone.
34 35 36 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/update_contact_profile.rb', line 34 def phone_number @phone_number end |
#preferred_contact_method ⇒ PreferredContactMethod
values include: ‘email’, ‘phone’
23 24 25 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/update_contact_profile.rb', line 23 def preferred_contact_method @preferred_contact_method end |
#preferred_support_language ⇒ String
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.
54 55 56 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/update_contact_profile.rb', line 54 def preferred_support_language @preferred_support_language end |
#preferred_time_zone ⇒ String
zone from [Microsoft Time Zone Index Values](support.microsoft.com/help/973627/microsoft-time-zone-index-values).
39 40 41 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/update_contact_profile.rb', line 39 def preferred_time_zone @preferred_time_zone end |
#primary_email_address ⇒ String
Returns Primary email address.
26 27 28 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/update_contact_profile.rb', line 26 def primary_email_address @primary_email_address end |
Class Method Details
.mapper ⇒ Object
Mapper for UpdateContactProfile class as Ruby Hash. This will be used for serialization/deserialization.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
# 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 |