class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::OrderStatus

Represents a single status change.

Attributes

additional_order_details[RW]

@return [Hash{String => String}] Dictionary to hold generic information which is not stored by the already existing properties

comments[RW]

@return [String] Comments related to this status change.

status[RW]

@return [OrderState] Status of the order as per the allowed status types. Possible values include: 'Untracked', 'AwaitingFulfilment', 'AwaitingPreparation', 'AwaitingShipment', 'Shipped', 'Arriving', 'Delivered', 'ReplacementRequested', 'LostDevice', 'Declined', 'ReturnInitiated', 'AwaitingReturnShipment', 'ShippedBack', 'CollectedAtMicrosoft'

update_date_time[RW]

@return [DateTime] Time of status update.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_databoxedge/models/order_status.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OrderStatus',
    type: {
      name: 'Composite',
      class_name: 'OrderStatus',
      model_properties: {
        status: {
          client_side_validation: true,
          required: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        update_date_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'updateDateTime',
          type: {
            name: 'DateTime'
          }
        },
        comments: {
          client_side_validation: true,
          required: false,
          serialized_name: 'comments',
          type: {
            name: 'String'
          }
        },
        additional_order_details: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'additionalOrderDetails',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end