discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.

SaveOtaPackageInfoRequest class abstract

A JSON value representing the OTA Package.

Properties:

  • id - JSON object with the ota package Id. Specify existing ota package Id to update the ota package. Referencing non-existing ota package id will cause error. Omit this field to create new ota package.
  • createdTime - Timestamp of the ota package creation, in milliseconds
  • additionalInfo - OTA Package description.
  • tenantId - JSON object with Tenant Id. Tenant Id of the ota package can't be changed.
  • deviceProfileId - JSON object with Device Profile Id. Device Profile Id of the ota package can't be changed.
  • type - OTA Package type.
  • title - OTA Package title.
  • version - OTA Package version.
  • tag - OTA Package tag.
  • url - OTA Package url.
  • hasData - Indicates OTA Package 'has data'. Field is returned from DB ('true' if data exists or url is set). If OTA Package 'has data' is 'false' we can not assign the OTA Package to the Device or Device Profile.
  • fileName - OTA Package file name.
  • contentType - OTA Package content type.
  • checksumAlgorithm - OTA Package checksum algorithm.
  • checksum - OTA Package checksum.
  • dataSize - OTA Package data size.
  • usesUrl - Indicates OTA Package uses url. Should be 'true' if uses url or 'false' if will be used data.
  • name
Annotations
  • @BuiltValue.new()

Constructors

SaveOtaPackageInfoRequest([void updates(SaveOtaPackageInfoRequestBuilder b)])
factory

Properties

additionalInfo → JsonObject?
OTA Package description.
no setter
checksum → String?
OTA Package checksum.
no setter
checksumAlgorithm → ChecksumAlgorithm?
OTA Package checksum algorithm.
no setter
contentType → String?
OTA Package content type.
no setter
createdTime → int?
Timestamp of the ota package creation, in milliseconds
no setter
dataSize → int?
OTA Package data size.
no setter
deviceProfileId → DeviceProfileId?
JSON object with Device Profile Id. Device Profile Id of the ota package can't be changed.
no setter
fileName → String?
OTA Package file name.
no setter
hasData → bool?
Indicates OTA Package 'has data'. Field is returned from DB ('true' if data exists or url is set). If OTA Package 'has data' is 'false' we can not assign the OTA Package to the Device or Device Profile.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → OtaPackageId?
JSON object with the ota package Id. Specify existing ota package Id to update the ota package. Referencing non-existing ota package id will cause error. Omit this field to create new ota package.
no setter
name → String?
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tag → String?
OTA Package tag.
no setter
tenantId → TenantId?
JSON object with Tenant Id. Tenant Id of the ota package can't be changed.
no setter
title → String?
OTA Package title.
no setter
type → OtaPackageType?
OTA Package type.
no setter
url → String?
OTA Package url.
no setter
usesUrl → bool?
Indicates OTA Package uses url. Should be 'true' if uses url or 'false' if will be used data.
no setter
version → String?
OTA Package version.
no setter

Methods

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