Sha256: b466e8ddec1ad99785d14646f98066c30d13ea7b63b823f543ef960dff3fc2ec

Contents?: true

Size: 1.39 KB

Versions: 6

Compression:

Stored size: 1.39 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
    #
    # Information about a field of a type.
    #
    class TypeField

      include MsRestAzure

      # @return [String] Gets or sets the name of the field.
      attr_accessor :name

      # @return [String] Gets or sets the type of the field.
      attr_accessor :type


      #
      # Mapper for TypeField class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'TypeField',
          type: {
            name: 'Composite',
            class_name: 'TypeField',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'type',
                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/type_field.rb
azure_mgmt_automation-0.17.2 lib/2015-10-31/generated/azure_mgmt_automation/models/type_field.rb
azure_mgmt_automation-0.17.1 lib/2015-10-31/generated/azure_mgmt_automation/models/type_field.rb
azure_mgmt_automation-0.17.0 lib/2015-10-31/generated/azure_mgmt_automation/models/type_field.rb
azure_mgmt_automation-0.16.0 lib/2015-10-31/generated/azure_mgmt_automation/models/type_field.rb
azure_mgmt_automation-0.15.2 lib/2015-10-31/generated/azure_mgmt_automation/models/type_field.rb