Class: Azure::ImportExport::Mgmt::V2016_11_01::Models::ReturnAddress
- Inherits:
-
Object
- Object
- Azure::ImportExport::Mgmt::V2016_11_01::Models::ReturnAddress
- 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
-
#city ⇒ String
The city name to use when returning the drives.
-
#country_or_region ⇒ String
drives.
-
#email ⇒ String
Email address of the recipient of the returned drives.
-
#phone ⇒ String
Phone number of the recipient of the returned drives.
-
#postal_code ⇒ String
The postal code to use when returning the drives.
-
#recipient_name ⇒ String
drives when they are returned.
-
#state_or_province ⇒ String
drives.
-
#street_address1 ⇒ String
returning the drives.
-
#street_address2 ⇒ String
returning the drives.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ReturnAddress class as Ruby Hash.
Instance Attribute Details
#city ⇒ String
Returns 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_region ⇒ String
drives.
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 |
#email ⇒ String
Returns 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 |
#phone ⇒ String
Returns 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_code ⇒ String
Returns 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_name ⇒ String
drives when they are returned.
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_province ⇒ String
drives.
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_address1 ⇒ String
returning the drives.
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_address2 ⇒ String
returning the drives.
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
.mapper ⇒ Object
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 |