Class: Azure::ARM::Web::Models::Contact
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::Contact
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_web/models/contact.rb
Overview
Contact information for domain registration. If ‘Domain Privacy’ option is not selected then the contact information is made publicly available through the Whois directories as per ICANN requirements.
Instance Attribute Summary collapse
-
#address_mailing ⇒ Address
Mailing address.
-
#email ⇒ String
Email address.
-
#fax ⇒ String
Fax number.
-
#job_title ⇒ String
Job title.
-
#name_first ⇒ String
First name.
-
#name_last ⇒ String
Last name.
-
#name_middle ⇒ String
Middle name.
-
#organization ⇒ String
Organization.
-
#phone ⇒ String
Phone number.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Contact class as Ruby Hash.
Instance Attribute Details
#address_mailing ⇒ Address
Returns Mailing address.
20 21 22 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 20 def address_mailing @address_mailing end |
#email ⇒ String
Returns Email address.
23 24 25 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 23 def email @email end |
#fax ⇒ String
Returns Fax number.
26 27 28 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 26 def fax @fax end |
#job_title ⇒ String
Returns Job title.
29 30 31 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 29 def job_title @job_title end |
#name_first ⇒ String
Returns First name.
32 33 34 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 32 def name_first @name_first end |
#name_last ⇒ String
Returns Last name.
35 36 37 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 35 def name_last @name_last end |
#name_middle ⇒ String
Returns Middle name.
38 39 40 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 38 def name_middle @name_middle end |
#organization ⇒ String
Returns Organization.
41 42 43 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 41 def organization @organization end |
#phone ⇒ String
Returns Phone number.
44 45 46 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 44 def phone @phone end |
Class Method Details
.mapper ⇒ Object
Mapper for Contact class as Ruby Hash. This will be used for serialization/deserialization.
51 52 53 54 55 56 57 58 59 60 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 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 51 def self.mapper() { required: false, serialized_name: 'Contact', type: { name: 'Composite', class_name: 'Contact', model_properties: { address_mailing: { required: false, serialized_name: 'addressMailing', type: { name: 'Composite', class_name: 'Address' } }, email: { required: true, serialized_name: 'email', type: { name: 'String' } }, fax: { required: false, serialized_name: 'fax', type: { name: 'String' } }, job_title: { required: false, serialized_name: 'jobTitle', type: { name: 'String' } }, name_first: { required: true, serialized_name: 'nameFirst', type: { name: 'String' } }, name_last: { required: true, serialized_name: 'nameLast', type: { name: 'String' } }, name_middle: { required: false, serialized_name: 'nameMiddle', type: { name: 'String' } }, organization: { required: false, serialized_name: 'organization', type: { name: 'String' } }, phone: { required: true, serialized_name: 'phone', type: { name: 'String' } } } } } end |