Sha256: dbdc625e6de36bfd3c45f085fb30cd8fd5c8e4bc7c8c0cf8d7e00eb3481df0d1

Contents?: true

Size: 1.98 KB

Versions: 2

Compression:

Stored size: 1.98 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::MachineLearning::Mgmt::V2017_01_01
  module Models
    #
    # Parameter definition for a module asset.
    #
    class ModuleAssetParameter

      include MsRestAzure

      # @return [String] Parameter name.
      attr_accessor :name

      # @return [String] Parameter type.
      attr_accessor :parameter_type

      # @return [Hash{String => ModeValueInfo}] Definitions for nested
      # interface parameters if this is a complex module parameter.
      attr_accessor :mode_values_info


      #
      # Mapper for ModuleAssetParameter class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ModuleAssetParameter',
          type: {
            name: 'Composite',
            class_name: 'ModuleAssetParameter',
            model_properties: {
              name: {
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              parameter_type: {
                required: false,
                serialized_name: 'parameterType',
                type: {
                  name: 'String'
                }
              },
              mode_values_info: {
                required: false,
                serialized_name: 'modeValuesInfo',
                type: {
                  name: 'Dictionary',
                  value: {
                      required: false,
                      serialized_name: 'ModeValueInfoElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'ModeValueInfo'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_machine_learning-0.15.1 lib/2017-01-01/generated/azure_mgmt_machine_learning/models/module_asset_parameter.rb
azure_mgmt_machine_learning-0.15.0 lib/2017-01-01/generated/azure_mgmt_machine_learning/models/module_asset_parameter.rb