Class: Azure::Web::Mgmt::V2015_04_01::Models::Contact

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-04-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

Class Method Summary collapse

Instance Attribute Details

#address_mailingAddress



19
20
21
# File 'lib/2015-04-01/generated/azure_mgmt_web/models/contact.rb', line 19

def address_mailing
  @address_mailing
end

#emailString



22
23
24
# File 'lib/2015-04-01/generated/azure_mgmt_web/models/contact.rb', line 22

def email
  @email
end

#faxString



25
26
27
# File 'lib/2015-04-01/generated/azure_mgmt_web/models/contact.rb', line 25

def fax
  @fax
end

#job_titleString



28
29
30
# File 'lib/2015-04-01/generated/azure_mgmt_web/models/contact.rb', line 28

def job_title
  @job_title
end

#name_firstString



31
32
33
# File 'lib/2015-04-01/generated/azure_mgmt_web/models/contact.rb', line 31

def name_first
  @name_first
end

#name_lastString



34
35
36
# File 'lib/2015-04-01/generated/azure_mgmt_web/models/contact.rb', line 34

def name_last
  @name_last
end

#name_middleString



37
38
39
# File 'lib/2015-04-01/generated/azure_mgmt_web/models/contact.rb', line 37

def name_middle
  @name_middle
end

#organizationString



40
41
42
# File 'lib/2015-04-01/generated/azure_mgmt_web/models/contact.rb', line 40

def organization
  @organization
end

#phoneString



43
44
45
# File 'lib/2015-04-01/generated/azure_mgmt_web/models/contact.rb', line 43

def phone
  @phone
end

Class Method Details

.mapperObject

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/2015-04-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