AssetPropertyValue class
A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference.
For parameters that are string data type, you can specify the following options:
-
Use a string. For example, the
quality
value can be'GOOD'
. -
Use an expression. For example, the
quality
value can be$input.TemperatureInput.sensorData.quality
.For more information, see Expressions in the AWS IoT Events Developer Guide.
Constructors
- AssetPropertyValue({required AssetPropertyVariant value, String? quality, AssetPropertyTimestamp? timestamp})
-
AssetPropertyValue.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- quality → String?
-
The quality of the asset property value. The value must be
GOOD
,BAD
, orUNCERTAIN
. You can also specify an expression.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → AssetPropertyTimestamp?
-
The timestamp associated with the asset property value. The default is the
current event time.
final
- value → AssetPropertyVariant
-
The value to send to an asset property.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited