Class: Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameter

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-01/generated/azure_mgmt_machine_learning/models/graph_parameter.rb

Overview

Defines a global parameter in the graph.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns Description of this graph parameter.

Returns:

  • (String)

    Description of this graph parameter.



16
17
18
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/graph_parameter.rb', line 16

def description
  @description
end

parameter to nodes in the graph.

Returns:



26
27
28
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/graph_parameter.rb', line 26

def links
  @links
end

#typeParameterType

include: ‘String’, ‘Int’, ‘Float’, ‘Enumerated’, ‘Script’, ‘Mode’, ‘Credential’, ‘Boolean’, ‘Double’, ‘ColumnPicker’, ‘ParameterRange’, ‘DataGatewayName’

Returns:



22
23
24
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/graph_parameter.rb', line 22

def type
  @type
end

Class Method Details

.mapperObject

Mapper for GraphParameter class as Ruby Hash. This will be used for serialization/deserialization.



33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/graph_parameter.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GraphParameter',
    type: {
      name: 'Composite',
      class_name: 'GraphParameter',
      model_properties: {
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        links: {
          client_side_validation: true,
          required: true,
          serialized_name: 'links',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'GraphParameterLinkElementType',
                type: {
                  name: 'Composite',
                  class_name: 'GraphParameterLink'
                }
            }
          }
        }
      }
    }
  }
end