Class: Azure::ImportExport::Mgmt::V2016_11_01::Models::ReturnAddress

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-11-01/generated/azure_mgmt_import_export/models/return_address.rb

Overview

Specifies the return address information for the job.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#cityString

Returns The city name to use when returning the drives.

Returns:

  • (String)

    The city name to use when returning the drives.



28
29
30
# File 'lib/2016-11-01/generated/azure_mgmt_import_export/models/return_address.rb', line 28

def city
  @city
end

#country_or_regionString

drives.

Returns:

  • (String)

    The country or region to use when returning the



39
40
41
# File 'lib/2016-11-01/generated/azure_mgmt_import_export/models/return_address.rb', line 39

def country_or_region
  @country_or_region
end

#emailString

Returns Email address of the recipient of the returned drives.

Returns:

  • (String)

    Email address of the recipient of the returned drives.



45
46
47
# File 'lib/2016-11-01/generated/azure_mgmt_import_export/models/return_address.rb', line 45

def email
  @email
end

#phoneString

Returns Phone number of the recipient of the returned drives.

Returns:

  • (String)

    Phone number of the recipient of the returned drives.



42
43
44
# File 'lib/2016-11-01/generated/azure_mgmt_import_export/models/return_address.rb', line 42

def phone
  @phone
end

#postal_codeString

Returns The postal code to use when returning the drives.

Returns:

  • (String)

    The postal code to use when returning the drives.



35
36
37
# File 'lib/2016-11-01/generated/azure_mgmt_import_export/models/return_address.rb', line 35

def postal_code
  @postal_code
end

#recipient_nameString

drives when they are returned.

Returns:

  • (String)

    The name of the recipient who will receive the hard



17
18
19
# File 'lib/2016-11-01/generated/azure_mgmt_import_export/models/return_address.rb', line 17

def recipient_name
  @recipient_name
end

#state_or_provinceString

drives.

Returns:

  • (String)

    The state or province to use when returning the



32
33
34
# File 'lib/2016-11-01/generated/azure_mgmt_import_export/models/return_address.rb', line 32

def state_or_province
  @state_or_province
end

#street_address1String

returning the drives.

Returns:

  • (String)

    The first line of the street address to use when



21
22
23
# File 'lib/2016-11-01/generated/azure_mgmt_import_export/models/return_address.rb', line 21

def street_address1
  @street_address1
end

#street_address2String

returning the drives.

Returns:

  • (String)

    The second line of the street address to use when



25
26
27
# File 'lib/2016-11-01/generated/azure_mgmt_import_export/models/return_address.rb', line 25

def street_address2
  @street_address2
end

Class Method Details

.mapperObject

Mapper for ReturnAddress class as Ruby Hash. This will be used for serialization/deserialization.



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
136
# File 'lib/2016-11-01/generated/azure_mgmt_import_export/models/return_address.rb', line 52

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ReturnAddress',
    type: {
      name: 'Composite',
      class_name: 'ReturnAddress',
      model_properties: {
        recipient_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'recipientName',
          type: {
            name: 'String'
          }
        },
        street_address1: {
          client_side_validation: true,
          required: true,
          serialized_name: 'streetAddress1',
          type: {
            name: 'String'
          }
        },
        street_address2: {
          client_side_validation: true,
          required: false,
          serialized_name: 'streetAddress2',
          type: {
            name: 'String'
          }
        },
        city: {
          client_side_validation: true,
          required: true,
          serialized_name: 'city',
          type: {
            name: 'String'
          }
        },
        state_or_province: {
          client_side_validation: true,
          required: false,
          serialized_name: 'stateOrProvince',
          type: {
            name: 'String'
          }
        },
        postal_code: {
          client_side_validation: true,
          required: true,
          serialized_name: 'postalCode',
          type: {
            name: 'String'
          }
        },
        country_or_region: {
          client_side_validation: true,
          required: true,
          serialized_name: 'countryOrRegion',
          type: {
            name: 'String'
          }
        },
        phone: {
          client_side_validation: true,
          required: true,
          serialized_name: 'phone',
          type: {
            name: 'String'
          }
        },
        email: {
          client_side_validation: true,
          required: true,
          serialized_name: 'email',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end