class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UpdateDownloadProgress
Details about the download progress of update.
Attributes
download_phase[RW]
@return [DownloadPhase] The download phase. Possible values include: 'Unknown', 'Initializing', 'Downloading', 'Verifying'
number_of_updates_downloaded[RW]
@return [Integer] Number of updates downloaded.
number_of_updates_to_download[RW]
@return [Integer] Number of updates to download.
percent_complete[RW]
@return [Integer] Percentage of completion.
total_bytes_downloaded[RW]
@return [Float] Total bytes downloaded.
total_bytes_to_download[RW]
@return [Float] Total bytes to download.
Private Class Methods
mapper()
click to toggle source
Mapper for UpdateDownloadProgress
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_download_progress.rb, line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UpdateDownloadProgress', type: { name: 'Composite', class_name: 'UpdateDownloadProgress', model_properties: { download_phase: { client_side_validation: true, required: false, read_only: true, serialized_name: 'downloadPhase', type: { name: 'String' } }, percent_complete: { client_side_validation: true, required: false, read_only: true, serialized_name: 'percentComplete', type: { name: 'Number' } }, total_bytes_to_download: { client_side_validation: true, required: false, read_only: true, serialized_name: 'totalBytesToDownload', type: { name: 'Double' } }, total_bytes_downloaded: { client_side_validation: true, required: false, read_only: true, serialized_name: 'totalBytesDownloaded', type: { name: 'Double' } }, number_of_updates_to_download: { client_side_validation: true, required: false, read_only: true, serialized_name: 'numberOfUpdatesToDownload', type: { name: 'Number' } }, number_of_updates_downloaded: { client_side_validation: true, required: false, read_only: true, serialized_name: 'numberOfUpdatesDownloaded', type: { name: 'Number' } } } } } end