discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.

AgentInfo class abstract

AgentInfo

Properties:

  • id - JSON object with the Agent Id. Specify this field to update the Agent. Referencing non-existing Agent Id will cause error. Omit this field to create new Agent.
  • createdTime - Timestamp of the agent creation, in milliseconds
  • additionalInfo - A value representing the any type (object or primitive)
  • tenantId - JSON object with Tenant Id. Use 'assignAgentToTenant' to change the Tenant Id.
  • customerId - JSON object with Customer Id.
  • name - Unique Agent Name in scope of Tenant
  • description - Agent description
  • routingKey - Agent routing key used for authentication
  • secret - Agent secret used for authentication
  • agentProfileId - JSON object with Agent Profile Id. Nullable.
  • version
  • customerTitle - Title of the Customer that owns the agent.
  • customerIsPublic - Indicates special 'Public' Customer that is auto-generated to use the agents on public dashboards.
  • agentProfileName - Name of the Agent Profile the agent belongs to.
  • ownerName - Owner name — tenant title if the agent is owned by a tenant, or customer title otherwise.
  • groups - Entity groups that contain this agent (excluding the implicit 'All' group).
  • active - Whether the agent currently has an active connection (derived from server-scope 'active' attribute).
  • agentVersion - Agent software version reported on the last connect (derived from server-scope 'agentVersion' attribute).
  • upgradeTargetImageRef - Image reference this agent should be upgraded to, or null when no upgrade applies. Resolved from the published version graph.
  • ownerId - JSON object with Customer or Tenant Id
Annotations
  • @BuiltValue.new()

Constructors

AgentInfo([void updates(AgentInfoBuilder b)])
factory

Properties

active → bool?
Whether the agent currently has an active connection (derived from server-scope 'active' attribute).
no setter
additionalInfo → JsonObject?
A value representing the any type (object or primitive)
no setter
agentProfileId → AgentProfileId?
JSON object with Agent Profile Id. Nullable.
no setter
agentProfileName → String?
Name of the Agent Profile the agent belongs to.
no setter
agentVersion → String?
Agent software version reported on the last connect (derived from server-scope 'agentVersion' attribute).
no setter
createdTime → int?
Timestamp of the agent creation, in milliseconds
no setter
customerId → CustomerId?
JSON object with Customer Id.
no setter
customerIsPublic → bool?
Indicates special 'Public' Customer that is auto-generated to use the agents on public dashboards.
no setter
customerTitle → String?
Title of the Customer that owns the agent.
no setter
description → String?
Agent description
no setter
groups → BuiltList<EntityInfo>?
Entity groups that contain this agent (excluding the implicit 'All' group).
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → AgentId?
JSON object with the Agent Id. Specify this field to update the Agent. Referencing non-existing Agent Id will cause error. Omit this field to create new Agent.
no setter
name → String
Unique Agent Name in scope of Tenant
no setter
ownerId → EntityId?
JSON object with Customer or Tenant Id
no setter
ownerName → String?
Owner name — tenant title if the agent is owned by a tenant, or customer title otherwise.
no setter
routingKey → String
Agent routing key used for authentication
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret → String
Agent secret used for authentication
no setter
tenantId → TenantId?
JSON object with Tenant Id. Use 'assignAgentToTenant' to change the Tenant Id.
no setter
upgradeTargetImageRef → String?
Image reference this agent should be upgraded to, or null when no upgrade applies. Resolved from the published version graph.
no setter
version → int?
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(AgentInfoBuilder)) → AgentInfo
Rebuilds the instance.
inherited
toBuilder() → AgentInfoBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<AgentInfo>
no setter