Sha256: e3fd94e2e197c9dd1ea361c7cf3831c20ac087d6a88cf3e5d851f21944dd67b6

Contents?: true

Size: 1.79 KB

Versions: 6

Compression:

Stored size: 1.79 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 content link.
    #
    class ContentLink

      include MsRestAzure

      # @return [String] Gets or sets the uri of the runbook content.
      attr_accessor :uri

      # @return [ContentHash] Gets or sets the hash.
      attr_accessor :content_hash

      # @return [String] Gets or sets the version of the content.
      attr_accessor :version


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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_automation-0.17.3 lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb
azure_mgmt_automation-0.17.2 lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb
azure_mgmt_automation-0.17.1 lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb
azure_mgmt_automation-0.17.0 lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb
azure_mgmt_automation-0.16.0 lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb
azure_mgmt_automation-0.15.2 lib/2015-10-31/generated/azure_mgmt_automation/models/content_link.rb