DeviceDeploymentStatus class
A DeviceDeploymentStatus represents the status of a device in a deployment.
- Inheritance
-
- Object
- Serializable
- DeviceDeploymentStatus
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
-
DeviceDeploymentStatus({required DeviceConfiguration<
DeviceRegistration> device}) -
DeviceDeploymentStatus.fromJson(Map<
String, dynamic> json) -
factory
Properties
- $type ↔ String?
-
The runtime class name (type) of this object.
Used for deserialization from JSON objects.
getter/setter pairinherited
- canBeDeployed ↔ bool?
-
Determines whether the device can be deployed by retrieving PrimaryDeviceDeployment.
Not all primary devices necessarily need deployment; chained primary devices do not.
getter/setter pair
- canObtainDeviceDeployment → bool
-
Determines whether the device requires a device deployment, and if so,
whether the deployment configuration (to initialize the device environment)
can be obtained.
This requires the specified device and all other primary devices it depends
on to be registered.
no setter
-
device
↔ DeviceConfiguration<
DeviceRegistration> -
The description of the device.
getter/setter pair
- fromJsonFunction → Function
-
The function which can convert a JSON string to an object of this type.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonType → String
-
Return the
__type
to be used for JSON serialization of this class. Default is runtimeType. Only specify this if you need another type.no setteroverride -
remainingDevicesToRegisterBeforeDeployment
↔ List<
String> ? -
The role names of devices which need to be registered before this device
can be declared as successfully deployed.
getter/setter pair
-
remainingDevicesToRegisterToObtainDeployment
↔ List<
String> ? -
The role names of devices which need to be registered before the deployment
information for this device can be obtained.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ DeviceDeploymentStatusTypes
-
Get the status of this device deployment:
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Return a JSON encoding of this object.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited