Sha256: e00165e708987f07914ec188850b5b548cbccd2ab5d95430895d9c97ace0ff09

Contents?: true

Size: 1.71 KB

Versions: 2

Compression:

Stored size: 1.71 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 connection fields.
    #
    class FieldDefinition

      include MsRestAzure

      # @return [Boolean] Gets or sets the isEncrypted flag of the connection
      # field definition.
      attr_accessor :is_encrypted

      # @return [Boolean] Gets or sets the isOptional flag of the connection
      # field definition.
      attr_accessor :is_optional

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


      #
      # Mapper for FieldDefinition class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'FieldDefinition',
          type: {
            name: 'Composite',
            class_name: 'FieldDefinition',
            model_properties: {
              is_encrypted: {
                required: false,
                serialized_name: 'isEncrypted',
                type: {
                  name: 'Boolean'
                }
              },
              is_optional: {
                required: false,
                serialized_name: 'isOptional',
                type: {
                  name: 'Boolean'
                }
              },
              type: {
                required: true,
                serialized_name: 'type',
                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/field_definition.rb
azure_mgmt_automation-0.15.0 lib/2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb