Class: Azure::ARM::Web::Models::Contact

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#address_mailingAddress

Returns Mailing address.

Returns:



20
21
22
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 20

def address_mailing
  @address_mailing
end

#emailString

Returns Email address.

Returns:

  • (String)

    Email address.



23
24
25
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 23

def email
  @email
end

#faxString

Returns Fax number.

Returns:

  • (String)

    Fax number.



26
27
28
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 26

def fax
  @fax
end

#job_titleString

Returns Job title.

Returns:

  • (String)

    Job title.



29
30
31
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 29

def job_title
  @job_title
end

#name_firstString

Returns First name.

Returns:

  • (String)

    First name.



32
33
34
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 32

def name_first
  @name_first
end

#name_lastString

Returns Last name.

Returns:

  • (String)

    Last name.



35
36
37
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 35

def name_last
  @name_last
end

#name_middleString

Returns Middle name.

Returns:

  • (String)

    Middle name.



38
39
40
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 38

def name_middle
  @name_middle
end

#organizationString

Returns Organization.

Returns:

  • (String)

    Organization.



41
42
43
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 41

def organization
  @organization
end

#phoneString

Returns Phone number.

Returns:

  • (String)

    Phone number.



44
45
46
# File 'lib/generated/azure_mgmt_web/models/contact.rb', line 44

def phone
  @phone
end

Class Method Details

.mapperObject

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