Class: Azure::Web::Mgmt::V2018_02_01::Models::Contact
- Inherits:
-
Object
- Object
- Azure::Web::Mgmt::V2018_02_01::Models::Contact
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/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 contact belongs to.
-
#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.
19 20 21 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/contact.rb', line 19 def address_mailing @address_mailing end |
#email ⇒ String
Returns Email address.
22 23 24 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/contact.rb', line 22 def email @email end |
#fax ⇒ String
Returns Fax number.
25 26 27 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/contact.rb', line 25 def fax @fax end |
#job_title ⇒ String
Returns Job title.
28 29 30 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/contact.rb', line 28 def job_title @job_title end |
#name_first ⇒ String
Returns First name.
31 32 33 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/contact.rb', line 31 def name_first @name_first end |
#name_last ⇒ String
Returns Last name.
34 35 36 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/contact.rb', line 34 def name_last @name_last end |
#name_middle ⇒ String
Returns Middle name.
37 38 39 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/contact.rb', line 37 def name_middle @name_middle end |
#organization ⇒ String
Returns Organization contact belongs to.
40 41 42 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/contact.rb', line 40 def organization @organization end |
#phone ⇒ String
Returns Phone number.
43 44 45 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/contact.rb', line 43 def phone @phone end |
Class Method Details
.mapper ⇒ Object
Mapper for Contact class as Ruby Hash. This will be used for serialization/deserialization.
50 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 127 128 129 130 131 132 133 134 135 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/contact.rb', line 50 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Contact', type: { name: 'Composite', class_name: 'Contact', model_properties: { address_mailing: { client_side_validation: true, required: false, serialized_name: 'addressMailing', type: { name: 'Composite', class_name: 'Address' } }, email: { client_side_validation: true, required: true, serialized_name: 'email', type: { name: 'String' } }, fax: { client_side_validation: true, required: false, serialized_name: 'fax', type: { name: 'String' } }, job_title: { client_side_validation: true, required: false, serialized_name: 'jobTitle', type: { name: 'String' } }, name_first: { client_side_validation: true, required: true, serialized_name: 'nameFirst', type: { name: 'String' } }, name_last: { client_side_validation: true, required: true, serialized_name: 'nameLast', type: { name: 'String' } }, name_middle: { client_side_validation: true, required: false, serialized_name: 'nameMiddle', type: { name: 'String' } }, organization: { client_side_validation: true, required: false, serialized_name: 'organization', type: { name: 'String' } }, phone: { client_side_validation: true, required: true, serialized_name: 'phone', type: { name: 'String' } } } } } end |