Class: Azure::ARM::Web::Models::Contact
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::Contact
- Includes:
- 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 will be be 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.
18 19 20 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 18 def address_mailing @address_mailing end |
#email ⇒ String
Returns Email address.
21 22 23 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 21 def email @email end |
#fax ⇒ String
Returns Fax number.
24 25 26 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 24 def fax @fax end |
#job_title ⇒ String
Returns Job title.
27 28 29 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 27 def job_title @job_title end |
#name_first ⇒ String
Returns First name.
30 31 32 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 30 def name_first @name_first end |
#name_last ⇒ String
Returns Last name.
33 34 35 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 33 def name_last @name_last end |
#name_middle ⇒ String
Returns Middle name.
36 37 38 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 36 def name_middle @name_middle end |
#organization ⇒ String
Returns Organization.
39 40 41 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 39 def organization @organization end |
#phone ⇒ String
Returns Phone number.
42 43 44 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 42 def phone @phone end |
Class Method Details
.mapper ⇒ Object
Mapper for Contact class as Ruby Hash. This will be used for serialization/deserialization.
49 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 |
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 49 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: false, 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: false, serialized_name: 'nameFirst', type: { name: 'String' } }, name_last: { required: false, 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: false, serialized_name: 'phone', type: { name: 'String' } } } } } end |