MigrationToken class

A token to initiate the migration of a device from being managed by a third-party DPC to being managed by Android Management API.

A migration token is valid only for a single device.

Constructors

MigrationToken({String? additionalData, String? createTime, String? device, String? deviceId, String? expireTime, String? managementMode, String? name, String? policy, String? ttl, String? userId, String? value})
MigrationToken.fromJson(Map json_)

Properties

additionalData String?
Optional EMM-specified additional data.
getter/setter pair
createTime String?
Time when this migration token was created.
getter/setter pair
device String?
Once this migration token is used to migrate a device, the name of the resulting Device resource will be populated here, in the form enterprises/{enterprise}/devices/{device}.
getter/setter pair
deviceId String?
The id of the device, as in the Play EMM API.
getter/setter pair
expireTime String?
The time when this migration token expires.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
managementMode String?
The management mode of the device or profile being migrated.
getter/setter pair
name String?
The name of the migration token, which is generated by the server during creation, in the form enterprises/{enterprise}/migrationTokens/{migration_token}.
getter/setter pair
policy String?
The name of the policy initially applied to the enrolled device, in the form enterprises/{enterprise}/policies/{policy}.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ttl String?
Input only.
getter/setter pair
userId String?
The user id of the Managed Google Play account on the device, as in the Play EMM API.
getter/setter pair
value String?
The value of the migration token.
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