PersonalComputer
Configuration of an internet-connected personal computer with no built-in sensors.
A PrimaryDeviceConfiguration registered with a PersonalComputerRegistration.
- Inheritance
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
PersonalComputer.fromJson
PersonalComputer
- String roleName = PersonalComputer.DEFAULT_ROLE_NAME,
Create a new personal computer device descriptor. If roleName is not specified, then the DEFAULT_ROLE_NAME is used.
Constants
DEFAULT_ROLE_NAME
The default role name for a personal computer.
DEVICE_TYPE
The type of a personal computer device.
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
Methods
createRegistration
- String? deviceId,
- String? deviceDisplayName,
- String? platform,
- String? computerName,
- int? memorySize,
- String? deviceModel,
- String? operatingSystem,
- String? version,
override
Create a DeviceRegistration which can be used to configure this device for deployment.
Override this method to configure device-specific registration options, if any.
toJson
Return a JSON encoding of this object.