# 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::ARM::MachineLearning module Models # # 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. # class GraphNode include MsRestAzure include MsRest::JSONable # @return [String] The id of the asset represented by this node. attr_accessor :asset_id # @return [String] The id of the input element represented by this node. attr_accessor :input_id # @return [String] The id of the output element represented by this node. attr_accessor :output_id # @return [Hash{String => WebServiceParameter}] If applicable, parameters # of the node. Global graph parameters map into these, with values set at # runtime. attr_accessor :parameters # # Mapper for GraphNode class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'GraphNode', type: { name: 'Composite', class_name: 'GraphNode', model_properties: { asset_id: { required: false, serialized_name: 'assetId', type: { name: 'String' } }, input_id: { required: false, serialized_name: 'inputId', type: { name: 'String' } }, output_id: { required: false, serialized_name: 'outputId', type: { name: 'String' } }, parameters: { required: false, serialized_name: 'parameters', type: { name: 'Dictionary', value: { required: false, serialized_name: 'WebServiceParameterElementType', type: { name: 'Composite', class_name: 'WebServiceParameter' } } } } } } } end end end end