Command class

A command.

Constructors

Command({ClearAppsDataParams? clearAppsDataParams, ClearAppsDataStatus? clearAppsDataStatus, String? createTime, String? duration, String? errorCode, String? newPassword, List<String>? resetPasswordFlags, StartLostModeParams? startLostModeParams, StartLostModeStatus? startLostModeStatus, StopLostModeParams? stopLostModeParams, StopLostModeStatus? stopLostModeStatus, String? type, String? userName})
Command.fromJson(Map json_)

Properties

clearAppsDataParams ClearAppsDataParams?
Parameters for the CLEAR_APP_DATA command to clear the data of specified apps from the device.
getter/setter pair
clearAppsDataStatus ClearAppsDataStatus?
Status of the CLEAR_APP_DATA command to clear the data of specified apps from the device.
getter/setter pair
createTime String?
The timestamp at which the command was created.
getter/setter pair
duration String?
The duration for which the command is valid.
getter/setter pair
errorCode String?
If the command failed, an error code explaining the failure.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
newPassword String?
For commands of type RESET_PASSWORD, optionally specifies the new password.
getter/setter pair
resetPasswordFlags List<String>?
For commands of type RESET_PASSWORD, optionally specifies flags.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startLostModeParams StartLostModeParams?
Parameters for the START_LOST_MODE command to put the device into lost mode.
getter/setter pair
startLostModeStatus StartLostModeStatus?
Status of the START_LOST_MODE command to put the device into lost mode.
getter/setter pair
stopLostModeParams StopLostModeParams?
Parameters for the STOP_LOST_MODE command to take the device out of lost mode.
getter/setter pair
stopLostModeStatus StopLostModeStatus?
Status of the STOP_LOST_MODE command to take the device out of lost mode.
getter/setter pair
type String?
The type of the command. Possible string values are:
getter/setter pair
userName String?
The resource name of the user that owns the device in the form enterprises/{enterpriseId}/users/{userId}.
getter/setter pair

Methods

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

Operators

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