EntityView class abstract
A JSON object representing the entity view.
Properties:
- id - JSON object with the Entity View Id. Specify this field to update the Entity View. Referencing non-existing Entity View Id will cause error. Omit this field to create new Entity View.
- createdTime - Timestamp of the Entity View creation, in milliseconds
- additionalInfo - Additional parameters of the entity view. May include: 'description' (string).
- entityId - JSON object with the referenced Entity Id (Device or Asset).
- tenantId - JSON object with Tenant Id.
- customerId - JSON object with Customer Id. Optional on create: when omitted, defaults to the owner of the target Entity Group or to the current Customer user. Cannot be changed on update via this endpoint; use the Owner API (changeOwnerToCustomer) to re-assign an existing Entity View.
- name - Entity View name
- type - Device Profile Name
- keys - Set of telemetry and attribute keys to expose via Entity View.
- startTimeMs - Represents the start time of the interval that is used to limit access to target device telemetry. Customer will not be able to see entity telemetry that is outside the specified interval;
- endTimeMs - Represents the end time of the interval that is used to limit access to target device telemetry. Customer will not be able to see entity telemetry that is outside the specified interval;
- version
- ownerId - JSON object with Customer or Tenant Id
- Annotations
-
- @BuiltValue.new()
Constructors
- EntityView([void updates(EntityViewBuilder b)])
-
factory
Properties
- additionalInfo → JsonObject?
-
Additional parameters of the entity view. May include: 'description' (string).
no setter
- createdTime → int?
-
Timestamp of the Entity View creation, in milliseconds
no setter
- customerId → CustomerId?
-
JSON object with Customer Id. Optional on create: when omitted, defaults to the owner of the target Entity Group or to the current Customer user. Cannot be changed on update via this endpoint; use the Owner API (changeOwnerToCustomer) to re-assign an existing Entity View.
no setter
- endTimeMs → int?
-
Represents the end time of the interval that is used to limit access to target device telemetry. Customer will not be able to see entity telemetry that is outside the specified interval;
no setter
- entityId → EntityId
-
JSON object with the referenced Entity Id (Device or Asset).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → EntityViewId?
-
JSON object with the Entity View Id. Specify this field to update the Entity View. Referencing non-existing Entity View Id will cause error. Omit this field to create new Entity View.
no setter
- keys → TelemetryEntityView?
-
Set of telemetry and attribute keys to expose via Entity View.
no setter
- name → String
-
Entity View name
no setter
- ownerId → EntityId?
-
JSON object with Customer or Tenant Id
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTimeMs → int?
-
Represents the start time of the interval that is used to limit access to target device telemetry. Customer will not be able to see entity telemetry that is outside the specified interval;
no setter
- tenantId → TenantId?
-
JSON object with Tenant Id.
no setter
- type → String
-
Device Profile Name
no setter
- version → int?
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(EntityViewBuilder)) → EntityView -
Rebuilds the instance.
inherited
-
toBuilder(
) → EntityViewBuilder -
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<
EntityView> -
no setter