Class: Azure::ServiceFabric::V6_3_0_9::Models::UploadSessionInfo
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::UploadSessionInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/upload_session_info.rb
Overview
Information about an image store upload session. A session is associated with a relative path in the image store.
Instance Attribute Summary collapse
-
#expected_ranges ⇒ Array<UploadChunkRange>
has not received yet.
-
#file_size ⇒ String
The size in bytes of the uploading file.
-
#modified_date ⇒ DateTime
modified.
-
#session_id ⇒ Object
only if the session was committed or removed.
-
#store_relative_path ⇒ String
relative to the image store root.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UploadSessionInfo class as Ruby Hash.
Instance Attribute Details
#expected_ranges ⇒ Array<UploadChunkRange>
has not received yet.
33 34 35 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/upload_session_info.rb', line 33 def expected_ranges @expected_ranges end |
#file_size ⇒ String
Returns The size in bytes of the uploading file.
29 30 31 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/upload_session_info.rb', line 29 def file_size @file_size end |
#modified_date ⇒ DateTime
modified.
26 27 28 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/upload_session_info.rb', line 26 def modified_date @modified_date end |
#session_id ⇒ Object
only if the session was committed or removed.
22 23 24 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/upload_session_info.rb', line 22 def session_id @session_id end |
#store_relative_path ⇒ String
relative to the image store root.
18 19 20 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/upload_session_info.rb', line 18 def store_relative_path @store_relative_path end |
Class Method Details
.mapper ⇒ Object
Mapper for UploadSessionInfo class as Ruby Hash. This will be used for serialization/deserialization.
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/6.3.0.9/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 |