Class: Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphEdge
- Inherits:
-
Object
- Object
- Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphEdge
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-01-01/generated/azure_mgmt_machine_learning/models/graph_edge.rb
Overview
Defines an edge within the web service’s graph.
Instance Attribute Summary collapse
-
#source_node_id ⇒ String
The source graph node’s identifier.
-
#source_port_id ⇒ String
connects from.
-
#target_node_id ⇒ String
The destination graph node’s identifier.
-
#target_port_id ⇒ String
edge connects into.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GraphEdge class as Ruby Hash.
Instance Attribute Details
#source_node_id ⇒ String
Returns The source graph node’s identifier.
16 17 18 |
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/graph_edge.rb', line 16 def source_node_id @source_node_id end |
#source_port_id ⇒ String
connects from.
20 21 22 |
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/graph_edge.rb', line 20 def source_port_id @source_port_id end |
#target_node_id ⇒ String
Returns The destination graph node’s identifier.
23 24 25 |
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/graph_edge.rb', line 23 def target_node_id @target_node_id end |
#target_port_id ⇒ String
edge connects into.
27 28 29 |
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/graph_edge.rb', line 27 def target_port_id @target_port_id end |
Class Method Details
.mapper ⇒ Object
Mapper for GraphEdge class as Ruby Hash. This will be used for serialization/deserialization.
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_edge.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'GraphEdge', type: { name: 'Composite', class_name: 'GraphEdge', model_properties: { source_node_id: { client_side_validation: true, required: false, serialized_name: 'sourceNodeId', type: { name: 'String' } }, source_port_id: { client_side_validation: true, required: false, serialized_name: 'sourcePortId', type: { name: 'String' } }, target_node_id: { client_side_validation: true, required: false, serialized_name: 'targetNodeId', type: { name: 'String' } }, target_port_id: { client_side_validation: true, required: false, serialized_name: 'targetPortId', type: { name: 'String' } } } } } end |