Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.91 KB

File metadata and controls

43 lines (28 loc) · 1.91 KB

AvailableEntityKeysV2

org.thingsboard.client.model.AvailableEntityKeysV2

Contains unique time series and attribute key names discovered from entities matching a query, optionally including a sample value for each key.

Properties

Name Type Description Notes
entityTypes Set<EntityType> Set of entity types found among the matched entities.
timeseries List<KeyInfo> List of unique time series keys available on the matched entities, sorted alphabetically. Omitted when timeseries keys were not requested. [optional]
attributes Map<String, List> Map of attribute scope to the list of unique attribute keys available on the matched entities. Only scopes supported by the matched entity types are included. Omitted when attribute keys were not requested or when none of the requested scopes apply to the matched entity types. [optional]

Referenced Types

EntityType (enum)

TENANT | CUSTOMER | USER | DASHBOARD | ASSET | DEVICE | ALARM | RULE_CHAIN | RULE_NODE | ENTITY_VIEW | … (36 values total)

KeyInfo

Name Type Description Notes
key String Key name.
sample KeySample Most recent sample value for this key across the matched entities. Omitted when samples were not requested. [optional]

KeySample

Name Type Description Notes
ts Long Timestamp in milliseconds since epoch.
value Object

Conventions

  • Package: org.thingsboard.client.model
  • Getter pattern: get<PropertyName>() — e.g., getId(), getName()
  • Setter pattern: set<PropertyName>(value) — e.g., setId(value), setName(value)
  • Null fields: Getters return null for unset optional fields; they do not throw exceptions