DeviceDeploymentStatus class
The status of one device in a study deployment.
Part of StudyDeploymentStatus.deviceStatusList. Tells whether the device is registered or deployed, and which other devices must be registered first.
- Inheritance
-
- Object
- Serializable
- DeviceDeploymentStatus
- Annotations
-
- @JsonSerializable.new(includeIfNull: false, explicitToJson: true)
Constructors
-
DeviceDeploymentStatus({required DeviceConfiguration<
DeviceRegistration> device}) -
DeviceDeploymentStatus.fromJson(Map<
String, dynamic> json) -
factory
Properties
- $type ↔ String?
-
The type name written to
__typein JSON; set tojsonTypeon creation.getter/setter pairinherited - canBeDeployed ↔ bool?
-
Determines whether the device can be deployed by retrieving a PrimaryDeviceDeployment.
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 generated function that converts a JSON map to an object of this type.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isReadyForDeployment → bool
-
Determines whether the device and all dependent devices have been
registered successfully and is ready for deployment.
no setter
- jsonType → String
-
The
__typeused for JSON serialization of this class.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> -
Returns a JSON map of this object, including the
__typeproperty.override -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited