TbResourceInfo class abstract

A JSON value representing the Resource Info.

Properties:

  • id - JSON object with the Resource Id. Specify this field to update the Resource. Referencing non-existing Resource Id will cause error. Omit this field to create new Resource.
  • createdTime - Timestamp of the resource creation, in milliseconds
  • tenantId - JSON object with Tenant Id. Tenant Id of the resource can't be changed.
  • customerId - JSON object with Customer Id. Customer Id of the resource can't be changed.
  • title - Resource title.
  • resourceType - Resource type.
  • resourceSubType - Resource sub type.
  • resourceKey - Resource key.
  • publicResourceKey - Public resource key.
  • etag - Resource etag.
  • fileName - Resource file name.
  • descriptor - Resource descriptor.
  • link
  • name
  • public
  • publicLink
Annotations
  • @BuiltValue.new()

Constructors

TbResourceInfo([void updates(TbResourceInfoBuilder b)])
factory

Properties

createdTime → int?
Timestamp of the resource creation, in milliseconds
no setter
customerId → CustomerId?
JSON object with Customer Id. Customer Id of the resource can't be changed.
no setter
descriptor → JsonObject?
Resource descriptor.
no setter
etag → String?
Resource etag.
no setter
fileName → String?
Resource file name.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → TbResourceId?
JSON object with the Resource Id. Specify this field to update the Resource. Referencing non-existing Resource Id will cause error. Omit this field to create new Resource.
no setter
no setter
name → String?
no setter
public → bool?
no setter
no setter
publicResourceKey → String?
Public resource key.
no setter
resourceKey → String?
Resource key.
no setter
resourceSubType → ResourceSubType?
Resource sub type.
no setter
resourceType → ResourceType?
Resource type.
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 resource can't be changed.
no setter
title → String?
Resource title.
no setter

Methods

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