class Azure::DataBox::Mgmt::V2018_01_01::Models::DataBoxDiskCopyProgress

DataBox Disk Copy Progress

Attributes

bytes_copied[RW]

@return [Integer] Bytes copied during the copy of disk.

percent_complete[RW]

@return [Integer] Indicates the percentage completed for the copy of the disk.

serial_number[RW]

@return [String] The serial number of the disk

status[RW]

@return [CopyStatus] The Status of the copy. Possible values include: 'NotStarted', 'InProgress', 'Completed', 'CompletedWithErrors', 'Failed', 'NotReturned'

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-01-01/generated/azure_mgmt_databox/models/data_box_disk_copy_progress.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DataBoxDiskCopyProgress',
    type: {
      name: 'Composite',
      class_name: 'DataBoxDiskCopyProgress',
      model_properties: {
        serial_number: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'serialNumber',
          type: {
            name: 'String'
          }
        },
        bytes_copied: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'bytesCopied',
          type: {
            name: 'Number'
          }
        },
        percent_complete: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'percentComplete',
          type: {
            name: 'Number'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'Enum',
            module: 'CopyStatus'
          }
        }
      }
    }
  }
end