Sha256: ceb6fff8eab096708329a0e316afbf596c9237cd3e50d7d80e27abdd1dad6a9b

Contents?: true

Size: 1.99 KB

Versions: 2

Compression:

Stored size: 1.99 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 source.
    #
    class ContentSource

      include MsRestAzure

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

      # @return [ContentSourceType] Gets or sets the content source type.
      # Possible values include: 'embeddedContent', 'uri'
      attr_accessor :type

      # @return [String] Gets or sets the value of the content. This is based
      # on the content source type.
      attr_accessor :value

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


      #
      # Mapper for ContentSource class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ContentSource',
          type: {
            name: 'Composite',
            class_name: 'ContentSource',
            model_properties: {
              hash: {
                required: false,
                serialized_name: 'hash',
                type: {
                  name: 'Composite',
                  class_name: 'ContentHash'
                }
              },
              type: {
                required: false,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              value: {
                required: false,
                serialized_name: 'value',
                type: {
                  name: 'String'
                }
              },
              version: {
                required: false,
                serialized_name: 'version',
                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_source.rb
azure_mgmt_automation-0.15.0 lib/2015-10-31/generated/azure_mgmt_automation/models/content_source.rb