Class: Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-06-01/generated/azure_mgmt_logic/models/content_hash.rb

Overview

The content hash.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#algorithmString

Returns The algorithm of the content hash.

Returns:

  • (String)

    The algorithm of the content hash.



16
17
18
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/content_hash.rb', line 16

def algorithm
  @algorithm
end

#valueString

Returns The value of the content hash.

Returns:

  • (String)

    The value of the content hash.



19
20
21
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/content_hash.rb', line 19

def value
  @value
end

Class Method Details

.mapperObject

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



26
27
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
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/content_hash.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContentHash',
    type: {
      name: 'Composite',
      class_name: 'ContentHash',
      model_properties: {
        algorithm: {
          client_side_validation: true,
          required: false,
          serialized_name: 'algorithm',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'value',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end