OperationType enum

Enumeration for the possible WoT operation types.

See W3C WoT Thing Description specification, section 5.3.4.2..

Inheritance

Constructors

OperationType()
const

Values

readproperty → const OperationType

Corresponds with the readproperty operation type.

writeproperty → const OperationType

Corresponds with the writeproperty operation type.

observeproperty → const OperationType

Corresponds with the observeproperty operation type.

unobserveproperty → const OperationType

Corresponds with the unobserveproperty operation type.

readmultipleproperties → const OperationType

Corresponds with the readmultipleproperties operation type.

readallproperties → const OperationType

Corresponds with the readallproperties operation type.

writemultipleproperties → const OperationType

Corresponds with the writemultipleproperties operation type.

writeallproperties → const OperationType

Corresponds with the writeallproperties operation type.

invokeaction → const OperationType

Corresponds with the invokeaction operation type.

subscribeevent → const OperationType

Corresponds with the subscribeevent operation type.

unsubscribeevent → const OperationType

Corresponds with the unsubscribeevent operation type.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

defaultOpValues(InteractionAffordance interactionAffordance) List<OperationType>
Returns the default operation types for the given interactionAffordance.
fromString(String stringValue) OperationType
Creates an OperationType from a stringValue.

Constants

values → const List<OperationType>
A constant List of the values in this enum, in order of their declaration.