Class: Azure::ServiceFabric::V6_4_0_36::Models::FileVersion

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

Overview

Information about the version of image store file.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#epoch_configuration_numberString

store replica when this file entry was created or updated.

Returns:

  • (String)

    The epoch configuration version number of the image



25
26
27
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/file_version.rb', line 25

def epoch_configuration_number
  @epoch_configuration_number
end

#epoch_data_loss_numberString

this file entry was updated or created.

Returns:

  • (String)

    The epoch data loss number of image store replica when



21
22
23
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/file_version.rb', line 21

def epoch_data_loss_number
  @epoch_data_loss_number
end

#version_numberString

used in image store for checking whether it need to be updated.

Returns:

  • (String)

    The current image store version number for the file is



17
18
19
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/file_version.rb', line 17

def version_number
  @version_number
end

Class Method Details

.mapperObject

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



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
57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/file_version.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FileVersion',
    type: {
      name: 'Composite',
      class_name: 'FileVersion',
      model_properties: {
        version_number: {
          client_side_validation: true,
          required: false,
          serialized_name: 'VersionNumber',
          type: {
            name: 'String'
          }
        },
        epoch_data_loss_number: {
          client_side_validation: true,
          required: false,
          serialized_name: 'EpochDataLossNumber',
          type: {
            name: 'String'
          }
        },
        epoch_configuration_number: {
          client_side_validation: true,
          required: false,
          serialized_name: 'EpochConfigurationNumber',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end