Sha256: a2968cbd9f025843bfb7e915200c76baa4ae1b021a367be53044ea4bae80a93f

Contents?: true

Size: 1.96 KB

Versions: 2

Compression:

Stored size: 1.96 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 parameter type.
    #
    class RunbookParameter

      include MsRestAzure

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

      # @return [Boolean] Gets or sets a Boolean value to indicate whether the
      # parameter is madatory or not.
      attr_accessor :is_mandatory

      # @return [Integer] Get or sets the position of the parameter.
      attr_accessor :position

      # @return [String] Gets or sets the default value of parameter.
      attr_accessor :default_value


      #
      # Mapper for RunbookParameter class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'RunbookParameter',
          type: {
            name: 'Composite',
            class_name: 'RunbookParameter',
            model_properties: {
              type: {
                required: false,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              is_mandatory: {
                required: false,
                serialized_name: 'isMandatory',
                type: {
                  name: 'Boolean'
                }
              },
              position: {
                required: false,
                serialized_name: 'position',
                type: {
                  name: 'Number'
                }
              },
              default_value: {
                required: false,
                serialized_name: 'defaultValue',
                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/runbook_parameter.rb
azure_mgmt_automation-0.15.0 lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_parameter.rb