OTAUpdateInfo class

Information about an OTA update.

Constructors

OTAUpdateInfo({Map<String, String>? additionalParameters, String? awsIotJobArn, String? awsIotJobId, AwsJobExecutionsRolloutConfig? awsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig? awsJobPresignedUrlConfig, DateTime? creationDate, String? description, ErrorInfo? errorInfo, DateTime? lastModifiedDate, String? otaUpdateArn, List<OTAUpdateFile>? otaUpdateFiles, String? otaUpdateId, OTAUpdateStatus? otaUpdateStatus, List<Protocol>? protocols, TargetSelection? targetSelection, List<String>? targets})
OTAUpdateInfo.fromJson(Map<String, dynamic> json)
factory

Properties

additionalParameters Map<String, String>?
A collection of name/value pairs
final
awsIotJobArn String?
The AWS IoT job ARN associated with the OTA update.
final
awsIotJobId String?
The AWS IoT job ID associated with the OTA update.
final
awsJobExecutionsRolloutConfig AwsJobExecutionsRolloutConfig?
Configuration for the rollout of OTA updates.
final
awsJobPresignedUrlConfig AwsJobPresignedUrlConfig?
Configuration information for pre-signed URLs. Valid when protocols contains HTTP.
final
creationDate DateTime?
The date when the OTA update was created.
final
description String?
A description of the OTA update.
final
errorInfo ErrorInfo?
Error information associated with the OTA update.
final
hashCode int
The hash code for this object.
no setterinherited
lastModifiedDate DateTime?
The date when the OTA update was last updated.
final
otaUpdateArn String?
The OTA update ARN.
final
otaUpdateFiles List<OTAUpdateFile>?
A list of files associated with the OTA update.
final
otaUpdateId String?
The OTA update ID.
final
otaUpdateStatus OTAUpdateStatus?
The status of the OTA update.
final
protocols List<Protocol>?
The protocol used to transfer the OTA update image. Valid values are HTTP, MQTT, HTTP, MQTT. When both HTTP and MQTT are specified, the target device can choose the protocol.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targets List<String>?
The targets of the OTA update.
final
targetSelection TargetSelection?
Specifies whether the OTA update will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the OTA update (SNAPSHOT). If continuous, the OTA update may also be run on a thing when a change is detected in a target. For example, an OTA update will run on a thing when the thing is added to a target group, even after the OTA update was completed by all things originally in the group.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited