AssetProfile class abstract

A JSON value representing the asset profile.

Properties:

  • id - JSON object with the asset profile Id. Specify this field to update the asset profile. Referencing non-existing asset profile Id will cause error. Omit this field to create new asset profile.
  • createdTime - Timestamp of the profile creation, in milliseconds
  • tenantId - JSON object with Tenant Id that owns the profile.
  • name - Unique Asset Profile Name in scope of Tenant.
  • description - Asset Profile description.
  • image - Either URL or Base64 data of the icon. Used in the mobile application to visualize set of asset profiles in the grid view.
  • defaultRuleChainId - Reference to the rule chain. If present, the specified rule chain will be used to process all messages related to asset, including asset updates, telemetry, attribute updates, etc. Otherwise, the root rule chain will be used to process those messages.
  • defaultDashboardId - Reference to the dashboard. Used in the mobile application to open the default dashboard when user navigates to asset details.
  • defaultQueueName - Rule engine queue name. If present, the specified queue will be used to store all unprocessed messages related to asset, including asset updates, telemetry, attribute updates, etc. Otherwise, the 'Main' queue will be used to store those messages.
  • defaultEdgeRuleChainId - Reference to the edge rule chain. If present, the specified edge rule chain will be used on the edge to process all messages related to asset, including asset updates, telemetry, attribute updates, etc. Otherwise, the edge root rule chain will be used to process those messages.
  • version
  • default_ - Used to mark the default profile. Default profile is used when the asset profile is not specified during asset creation.
Annotations
  • @BuiltValue.new()

Constructors

AssetProfile([void updates(AssetProfileBuilder b)])
factory

Properties

createdTime → int?
Timestamp of the profile creation, in milliseconds
no setter
default_ → bool?
Used to mark the default profile. Default profile is used when the asset profile is not specified during asset creation.
no setter
defaultDashboardId → DashboardId?
Reference to the dashboard. Used in the mobile application to open the default dashboard when user navigates to asset details.
no setter
defaultEdgeRuleChainId → RuleChainId?
Reference to the edge rule chain. If present, the specified edge rule chain will be used on the edge to process all messages related to asset, including asset updates, telemetry, attribute updates, etc. Otherwise, the edge root rule chain will be used to process those messages.
no setter
defaultQueueName → String?
Rule engine queue name. If present, the specified queue will be used to store all unprocessed messages related to asset, including asset updates, telemetry, attribute updates, etc. Otherwise, the 'Main' queue will be used to store those messages.
no setter
defaultRuleChainId → RuleChainId?
Reference to the rule chain. If present, the specified rule chain will be used to process all messages related to asset, including asset updates, telemetry, attribute updates, etc. Otherwise, the root rule chain will be used to process those messages.
no setter
description → String?
Asset Profile description.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → AssetProfileId?
JSON object with the asset profile Id. Specify this field to update the asset profile. Referencing non-existing asset profile Id will cause error. Omit this field to create new asset profile.
no setter
image → String?
Either URL or Base64 data of the icon. Used in the mobile application to visualize set of asset profiles in the grid view.
no setter
name → String?
Unique Asset Profile Name in scope of Tenant.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tenantId → TenantId?
JSON object with Tenant Id that owns the profile.
no setter
version → int?
no setter

Methods

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