AssetPropertyTimestamp class
A structure that contains timestamp information. For more information, see TimeInNanos 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
timeInSeconds
value can be'1586400675'
. -
Use an expression. For example, the
timeInSeconds
value can be'${$input.TemperatureInput.sensorData.timestamp/1000}'
.For more information, see Expressions in the AWS IoT Events Developer Guide.
Constructors
- AssetPropertyTimestamp({required String timeInSeconds, String? offsetInNanos})
-
AssetPropertyTimestamp.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- offsetInNanos → String?
-
The nanosecond offset converted from
timeInSeconds
. The valid range is between 0-999999999. You can also specify an expression.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeInSeconds → String
-
The timestamp, in seconds, in the Unix epoch format. The valid range is
between 1-31556889864403199. You can also specify an expression.
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