Sha256: f05e3e610d5d9175a3d83f729e6c92e731631f6171a54fdaee2707924b30ae43

Contents?: true

Size: 1.33 KB

Versions: 2

Compression:

Stored size: 1.33 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Automation::Mgmt::V2015_10_31
  module Models
    #
    # Definition of the runbook property type.
    #
    class ContentHash

      include MsRestAzure

      # @return [String] Gets or sets the content hash algorithm used to hash
      # the content.
      attr_accessor :algorithm

      # @return [String] Gets or sets expected hash value of the content.
      attr_accessor :value


      #
      # Mapper for ContentHash class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ContentHash',
          type: {
            name: 'Composite',
            class_name: 'ContentHash',
            model_properties: {
              algorithm: {
                required: true,
                serialized_name: 'algorithm',
                type: {
                  name: 'String'
                }
              },
              value: {
                required: true,
                serialized_name: 'value',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_automation-0.15.1 lib/2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb
azure_mgmt_automation-0.15.0 lib/2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb