Class: Aws::Context::Types::Entity
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::Entity
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
Note:
Entity is a union - when making an API calls you must set exactly one of the members.
Note:
Entity is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Entity corresponding to the set member.
The node or edge a change set operation acts on: exactly one of
nodeId or edgeId.
Defined Under Namespace
Classes: EdgeId, NodeId, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#edge_id ⇒ Types::EdgeIdentifier
The edge, identified by the IDs of its start and end nodes.
-
#node_id ⇒ String
The ID of the node.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#edge_id ⇒ Types::EdgeIdentifier
The edge, identified by the IDs of its start and end nodes. The edge
type is in properties.edgeType.
2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2963 class Entity < Struct.new( :node_id, :edge_id, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class NodeId < Entity; end class EdgeId < Entity; end class Unknown < Entity; end end |
#node_id ⇒ String
The ID of the node. For an ontology schema node, use its iri:
reference, which every write accepts.
2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2963 class Entity < Struct.new( :node_id, :edge_id, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class NodeId < Entity; end class EdgeId < Entity; end class Unknown < Entity; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
2963 2964 2965 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2963 def unknown @unknown end |