discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.

Secret class abstract

A JSON value representing the Secret.

Properties:

  • id - JSON object with the Secret Id. Specify this field to update the Secret. Referencing non-existing Secret Id will cause error. Omit this field to create new Secret.
  • createdTime - Entity creation timestamp in milliseconds since Unix epoch
  • tenantId - JSON object with Tenant Id. Tenant Id of the secret cannot be changed.
  • name - Secret name
  • type - Secret type.
  • description - Secret description.
  • value
  • encryptedValue
Annotations
  • @BuiltValue.new()

Constructors

Secret([void updates(SecretBuilder b)])
factory

Properties

createdTime → int?
Entity creation timestamp in milliseconds since Unix epoch
no setter
description → String?
Secret description.
no setter
encryptedValue → String?
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → SecretId?
JSON object with the Secret Id. Specify this field to update the Secret. Referencing non-existing Secret Id will cause error. Omit this field to create new Secret.
no setter
name → String
Secret name
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tenantId → TenantId?
JSON object with Tenant Id. Tenant Id of the secret cannot be changed.
no setter
type → SecretType
Secret type.
no setter
value → String?
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(SecretBuilder)) → Secret
Rebuilds the instance.
inherited
toBuilder() → SecretBuilder
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<Secret>
no setter