class Azure::ServiceFabric::V6_4_0_36::Models::UploadSessionInfo
Information about an image store upload session. A session is associated with a relative path in the image store.
Attributes
expected_ranges[RW]
@return [Array<UploadChunkRange>] List of chunk ranges that image store has not received yet.
file_size[RW]
@return [String] The size in bytes of the uploading file.
modified_date[RW]
@return [DateTime] The date and time when the upload session was last modified.
session_id[RW]
@return A unique ID of the upload session. A session ID can be reused only if the session was committed or removed.
store_relative_path[RW]
@return [String] The remote location within image store. This path is relative to the image store root.
Public Class Methods
mapper()
click to toggle source
Mapper for UploadSessionInfo
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.4.0.36/generated/azure_service_fabric/models/upload_session_info.rb, line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UploadSessionInfo', type: { name: 'Composite', class_name: 'UploadSessionInfo', model_properties: { store_relative_path: { client_side_validation: true, required: false, serialized_name: 'StoreRelativePath', type: { name: 'String' } }, session_id: { client_side_validation: true, required: false, serialized_name: 'SessionId', type: { name: 'String' } }, modified_date: { client_side_validation: true, required: false, serialized_name: 'ModifiedDate', type: { name: 'DateTime' } }, file_size: { client_side_validation: true, required: false, serialized_name: 'FileSize', type: { name: 'String' } }, expected_ranges: { client_side_validation: true, required: false, serialized_name: 'ExpectedRanges', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'UploadChunkRangeElementType', type: { name: 'Composite', class_name: 'UploadChunkRange' } } } } } } } end