NodeAssociation class

Provides access to methods for associating a node with a user.

Constructors

NodeAssociation(String accessToken, [APIVersion version = APIVersion.v1])
Contructs object to access node association methods.

Properties

accessToken String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addNodeMapping(String nodeId, String secretKey) Future<String>
Adds a user node mapping and returns the request id.
getMappingStatus(String requestId) Future<MappingStatus>
Gets the status of User Node mapping request.
getNodeStatus(String nodeId) Future<NodeConnectivity>
Get the connectivity status for the node.
getShare([String? nodeId]) Future<List<SharingDetail>>
Obtains who a node is shared with.
nodeConfig(String nodeId) Future<NodeConfig>
Gets the configuration of a single node.
nodes({String? nodeId, bool includeNodeDetails = false, String? startId, int? numRecords}) Future<NodesList>
Gets the nodes associated with the user
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeNodeMapping(String nodeId) Future<void>
Removes a user node mapping.
share(List<String> nodeIds, String email) Future<void>
Shares nodes with another user.
toString() String
A string representation of this object.
inherited
unshare(List<String> nodeIds, String email) Future<void>
Unshares nodes with another user.

Operators

operator ==(Object other) bool
The equality operator.
inherited