# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ImportExport::Mgmt::V2016_11_01
  module Models
    #
    # Contains information about the package being shipped by the customer to
    # the Microsoft data center.
    #
    class PackageInfomation

      include MsRestAzure

      # @return [String] The name of the carrier that is used to ship the
      # import or export drives.
      attr_accessor :carrier_name

      # @return [String] The tracking number of the package.
      attr_accessor :tracking_number

      # @return [Integer] The number of drives included in the package.
      attr_accessor :drive_count

      # @return [String] The date when the package is shipped.
      attr_accessor :ship_date


      #
      # Mapper for PackageInfomation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PackageInfomation',
          type: {
            name: 'Composite',
            class_name: 'PackageInfomation',
            model_properties: {
              carrier_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'carrierName',
                type: {
                  name: 'String'
                }
              },
              tracking_number: {
                client_side_validation: true,
                required: true,
                serialized_name: 'trackingNumber',
                type: {
                  name: 'String'
                }
              },
              drive_count: {
                client_side_validation: true,
                required: true,
                serialized_name: 'driveCount',
                type: {
                  name: 'Number'
                }
              },
              ship_date: {
                client_side_validation: true,
                required: true,
                serialized_name: 'shipDate',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
