Class: Azure::ServiceFabric::V6_3_0_9::Models::UploadChunkRange

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/upload_chunk_range.rb

Overview

Information about which portion of the file to upload.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#end_positionString

represented by the number of bytes.

Returns:

  • (String)

    The end position of the portion of the file. It’s



21
22
23
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/upload_chunk_range.rb', line 21

def end_position
  @end_position
end

#start_positionString

represented by the number of bytes.

Returns:

  • (String)

    The start position of the portion of the file. It’s



17
18
19
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/upload_chunk_range.rb', line 17

def start_position
  @start_position
end

Class Method Details

.mapperObject

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



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/upload_chunk_range.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UploadChunkRange',
    type: {
      name: 'Composite',
      class_name: 'UploadChunkRange',
      model_properties: {
        start_position: {
          client_side_validation: true,
          required: false,
          serialized_name: 'StartPosition',
          type: {
            name: 'String'
          }
        },
        end_position: {
          client_side_validation: true,
          required: false,
          serialized_name: 'EndPosition',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end