AttributeService class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteDeviceAttributes(String deviceId, String scope, List<String> keys, {RequestConfig? requestConfig})
→ Future<bool>
-
-
deleteEntityAttributes(EntityId entityId, String scope, List<String> keys, {RequestConfig? requestConfig})
→ Future<bool>
-
-
deleteEntityTimeseries(EntityId entityId, List<String> keys, {required bool deleteAllDataForKeys, required int startTs, required int endTs, required bool rewriteLatestIfDeleted, RequestConfig? requestConfig})
→ Future<bool>
-
-
getAttributeKeys(EntityId entityId, {RequestConfig? requestConfig})
→ Future<List<String>>
-
-
getAttributeKeysByScope(EntityId entityId, String scope, {RequestConfig? requestConfig})
→ Future<List<String>>
-
-
getAttributeKvEntries(EntityId entityId, List<String> keys, {RequestConfig? requestConfig})
→ Future<List<AttributeKvEntry>>
-
-
getAttributesByScope(EntityId entityId, String scope, List<String> keys, {RequestConfig? requestConfig})
→ Future<List<AttributeKvEntry>>
-
-
getLatestTimeseries(EntityId entityId, List<String> keys, {bool useStrictDataTypes = true, RequestConfig? requestConfig})
→ Future<List<TsKvEntry>>
-
-
getTimeseries(EntityId entityId, List<String> keys, {int? interval, Aggregation? agg, Direction? sortOrder, int? startTime, int? endTime, int? limit, bool useStrictDataTypes = true, RequestConfig? requestConfig})
→ Future<List<TsKvEntry>>
-
-
getTimeseriesKeys(EntityId entityId, {RequestConfig? requestConfig})
→ Future<List<String>>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
saveDeviceAttributes(String deviceId, String scope, dynamic request, {RequestConfig? requestConfig})
→ Future<bool>
-
-
saveEntityAttributesV1(EntityId entityId, String scope, dynamic request, {RequestConfig? requestConfig})
→ Future<bool>
-
-
saveEntityAttributesV2(EntityId entityId, String scope, dynamic request, {RequestConfig? requestConfig})
→ Future<bool>
-
-
saveEntityTelemetry(EntityId entityId, String scope, dynamic request, {RequestConfig? requestConfig})
→ Future<bool>
-
-
saveEntityTelemetryWithTTL(EntityId entityId, String scope, int ttl, dynamic request, {RequestConfig? requestConfig})
→ Future<bool>
-
-
toString()
→ String
-
A string representation of this object.
inherited