Class: Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphNode

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

Overview

Specifies a node in the web service graph. The node can either be an input, output or asset node, so only one of the corresponding id properties is populated at any given time.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#asset_idString

Returns The id of the asset represented by this node.

Returns:

  • (String)

    The id of the asset represented by this node.



18
19
20
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/graph_node.rb', line 18

def asset_id
  @asset_id
end

#input_idString

Returns The id of the input element represented by this node.

Returns:

  • (String)

    The id of the input element represented by this node.



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

def input_id
  @input_id
end

#output_idString

Returns The id of the output element represented by this node.

Returns:

  • (String)

    The id of the output element represented by this node.



24
25
26
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/graph_node.rb', line 24

def output_id
  @output_id
end

#parametersHash{String => WebServiceParameter}

of the node. Global graph parameters map into these, with values set at runtime.

Returns:



29
30
31
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/graph_node.rb', line 29

def parameters
  @parameters
end

Class Method Details

.mapperObject

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



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
79
80
81
82
83
84
85
86
87
88
89
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/graph_node.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GraphNode',
    type: {
      name: 'Composite',
      class_name: 'GraphNode',
      model_properties: {
        asset_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'assetId',
          type: {
            name: 'String'
          }
        },
        input_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'inputId',
          type: {
            name: 'String'
          }
        },
        output_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'outputId',
          type: {
            name: 'String'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'parameters',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'WebServiceParameterElementType',
                type: {
                  name: 'Composite',
                  class_name: 'WebServiceParameter'
                }
            }
          }
        }
      }
    }
  }
end