Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Order
- Inherits:
-
ARMBaseModel
- Object
- ARMBaseModel
- Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Order
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order.rb
Overview
The order details.
Instance Attribute Summary collapse
-
#contact_information ⇒ ContactDetails
The contact details.
-
#current_status ⇒ OrderStatus
Current status of the order.
-
#delivery_tracking_info ⇒ Array<TrackingInfo>
delivered to the customer whether it has an original or a replacement device.
-
#order_history ⇒ Array<OrderStatus>
List of status changes in the order.
-
#return_tracking_info ⇒ Array<TrackingInfo>
returned from the customer whether it has an original or a replacement device.
-
#serial_number ⇒ String
Serial number of the device.
-
#shipping_address ⇒ Address
The shipping address.
Attributes inherited from ARMBaseModel
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Order class as Ruby Hash.
Instance Attribute Details
#contact_information ⇒ ContactDetails
Returns The contact details.
16 17 18 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order.rb', line 16 def contact_information @contact_information end |
#current_status ⇒ OrderStatus
Returns Current status of the order.
22 23 24 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order.rb', line 22 def current_status @current_status end |
#delivery_tracking_info ⇒ Array<TrackingInfo>
delivered to the customer whether it has an original or a replacement device.
33 34 35 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order.rb', line 33 def delivery_tracking_info @delivery_tracking_info end |
#order_history ⇒ Array<OrderStatus>
Returns List of status changes in the order.
25 26 27 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order.rb', line 25 def order_history @order_history end |
#return_tracking_info ⇒ Array<TrackingInfo>
returned from the customer whether it has an original or a replacement device.
38 39 40 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order.rb', line 38 def return_tracking_info @return_tracking_info end |
#serial_number ⇒ String
Returns Serial number of the device.
28 29 30 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order.rb', line 28 def serial_number @serial_number end |
#shipping_address ⇒ Address
Returns The shipping address.
19 20 21 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order.rb', line 19 def shipping_address @shipping_address end |
Class Method Details
.mapper ⇒ Object
Mapper for Order class as Ruby Hash. This will be used for serialization/deserialization.
45 46 47 48 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 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order.rb', line 45 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Order', type: { name: 'Composite', class_name: 'Order', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, contact_information: { client_side_validation: true, required: true, serialized_name: 'properties.contactInformation', type: { name: 'Composite', class_name: 'ContactDetails' } }, shipping_address: { client_side_validation: true, required: true, serialized_name: 'properties.shippingAddress', type: { name: 'Composite', class_name: 'Address' } }, current_status: { client_side_validation: true, required: false, serialized_name: 'properties.currentStatus', type: { name: 'Composite', class_name: 'OrderStatus' } }, order_history: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.orderHistory', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'OrderStatusElementType', type: { name: 'Composite', class_name: 'OrderStatus' } } } }, serial_number: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serialNumber', type: { name: 'String' } }, delivery_tracking_info: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.deliveryTrackingInfo', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TrackingInfoElementType', type: { name: 'Composite', class_name: 'TrackingInfo' } } } }, return_tracking_info: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.returnTrackingInfo', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TrackingInfoElementType', type: { name: 'Composite', class_name: 'TrackingInfo' } } } } } } } end |