public final class MobileDevice extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Admin SDK API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
MobileDevice.Applications
Model definition for MobileDeviceApplications.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MobileDevice() |
| Modifier and Type | Method and Description |
|---|---|
MobileDevice |
clone() |
Boolean |
getAdbStatus()
Adb (USB debugging) enabled or disabled on device (Read-only)
|
List<MobileDevice.Applications> |
getApplications()
The list of applications installed on an Android mobile device.
|
String |
getBasebandVersion()
The device's baseband version.
|
String |
getBootloaderVersion()
Mobile Device Bootloader version (Read-only)
|
String |
getBrand()
Mobile Device Brand (Read-only)
|
String |
getBuildNumber()
The device's operating system build number.
|
String |
getDefaultLanguage()
The default locale used on the device.
|
Boolean |
getDeveloperOptionsStatus()
Developer options enabled or disabled on device (Read-only)
|
String |
getDeviceCompromisedStatus()
The compromised device status.
|
String |
getDeviceId()
The serial number for a Google Sync mobile device.
|
String |
getDevicePasswordStatus()
DevicePasswordStatus (Read-only)
|
List<String> |
getEmail()
List of owner's email addresses.
|
String |
getEncryptionStatus()
Mobile Device Encryption Status (Read-only)
|
String |
getEtag()
ETag of the resource.
|
DateTime |
getFirstSync()
Date and time the device was first synchronized with the policy settings in the G Suite
administrator control panel (Read-only)
|
String |
getHardware()
Mobile Device Hardware (Read-only)
|
String |
getHardwareId()
The IMEI/MEID unique identifier for Android hardware.
|
String |
getImei()
The device's IMEI number.
|
String |
getKernelVersion()
The device's kernel version.
|
String |
getKind()
The type of the API resource.
|
DateTime |
getLastSync()
Date and time the device was last synchronized with the policy settings in the G Suite
administrator control panel (Read-only)
|
Boolean |
getManagedAccountIsOnOwnerProfile()
Boolean indicating if this account is on owner/primary profile or not.
|
String |
getManufacturer()
Mobile Device manufacturer (Read-only)
|
String |
getMeid()
The device's MEID number.
|
String |
getModel()
The mobile device's model name, for example Nexus S.
|
List<String> |
getName()
List of the owner's user names.
|
String |
getNetworkOperator()
Mobile Device mobile or network operator (if available) (Read-only)
|
String |
getOs()
The mobile device's operating system, for example IOS 4.3 or Android 2.3.5.
|
List<String> |
getOtherAccountsInfo()
List of accounts added on device (Read-only)
|
String |
getPrivilege()
DMAgentPermission (Read-only)
|
String |
getReleaseVersion()
Mobile Device release version version (Read-only)
|
String |
getResourceId()
The unique ID the API service uses to identify the mobile device.
|
Long |
getSecurityPatchLevel()
Mobile Device Security patch level (Read-only)
|
String |
getSerialNumber()
The device's serial number.
|
String |
getStatus()
The device's status.
|
Boolean |
getSupportsWorkProfile()
Work profile supported on device (Read-only)
|
String |
getType()
The type of mobile device.
|
Boolean |
getUnknownSourcesStatus()
Unknown sources enabled or disabled on device (Read-only)
|
String |
getUserAgent()
Gives information about the device such as `os` version.
|
String |
getWifiMacAddress()
The device's MAC address on Wi-Fi networks.
|
MobileDevice |
set(String fieldName,
Object value) |
MobileDevice |
setAdbStatus(Boolean adbStatus)
Adb (USB debugging) enabled or disabled on device (Read-only)
|
MobileDevice |
setApplications(List<MobileDevice.Applications> applications)
The list of applications installed on an Android mobile device.
|
MobileDevice |
setBasebandVersion(String basebandVersion)
The device's baseband version.
|
MobileDevice |
setBootloaderVersion(String bootloaderVersion)
Mobile Device Bootloader version (Read-only)
|
MobileDevice |
setBrand(String brand)
Mobile Device Brand (Read-only)
|
MobileDevice |
setBuildNumber(String buildNumber)
The device's operating system build number.
|
MobileDevice |
setDefaultLanguage(String defaultLanguage)
The default locale used on the device.
|
MobileDevice |
setDeveloperOptionsStatus(Boolean developerOptionsStatus)
Developer options enabled or disabled on device (Read-only)
|
MobileDevice |
setDeviceCompromisedStatus(String deviceCompromisedStatus)
The compromised device status.
|
MobileDevice |
setDeviceId(String deviceId)
The serial number for a Google Sync mobile device.
|
MobileDevice |
setDevicePasswordStatus(String devicePasswordStatus)
DevicePasswordStatus (Read-only)
|
MobileDevice |
setEmail(List<String> email)
List of owner's email addresses.
|
MobileDevice |
setEncryptionStatus(String encryptionStatus)
Mobile Device Encryption Status (Read-only)
|
MobileDevice |
setEtag(String etag)
ETag of the resource.
|
MobileDevice |
setFirstSync(DateTime firstSync)
Date and time the device was first synchronized with the policy settings in the G Suite
administrator control panel (Read-only)
|
MobileDevice |
setHardware(String hardware)
Mobile Device Hardware (Read-only)
|
MobileDevice |
setHardwareId(String hardwareId)
The IMEI/MEID unique identifier for Android hardware.
|
MobileDevice |
setImei(String imei)
The device's IMEI number.
|
MobileDevice |
setKernelVersion(String kernelVersion)
The device's kernel version.
|
MobileDevice |
setKind(String kind)
The type of the API resource.
|
MobileDevice |
setLastSync(DateTime lastSync)
Date and time the device was last synchronized with the policy settings in the G Suite
administrator control panel (Read-only)
|
MobileDevice |
setManagedAccountIsOnOwnerProfile(Boolean managedAccountIsOnOwnerProfile)
Boolean indicating if this account is on owner/primary profile or not.
|
MobileDevice |
setManufacturer(String manufacturer)
Mobile Device manufacturer (Read-only)
|
MobileDevice |
setMeid(String meid)
The device's MEID number.
|
MobileDevice |
setModel(String model)
The mobile device's model name, for example Nexus S.
|
MobileDevice |
setName(List<String> name)
List of the owner's user names.
|
MobileDevice |
setNetworkOperator(String networkOperator)
Mobile Device mobile or network operator (if available) (Read-only)
|
MobileDevice |
setOs(String os)
The mobile device's operating system, for example IOS 4.3 or Android 2.3.5.
|
MobileDevice |
setOtherAccountsInfo(List<String> otherAccountsInfo)
List of accounts added on device (Read-only)
|
MobileDevice |
setPrivilege(String privilege)
DMAgentPermission (Read-only)
|
MobileDevice |
setReleaseVersion(String releaseVersion)
Mobile Device release version version (Read-only)
|
MobileDevice |
setResourceId(String resourceId)
The unique ID the API service uses to identify the mobile device.
|
MobileDevice |
setSecurityPatchLevel(Long securityPatchLevel)
Mobile Device Security patch level (Read-only)
|
MobileDevice |
setSerialNumber(String serialNumber)
The device's serial number.
|
MobileDevice |
setStatus(String status)
The device's status.
|
MobileDevice |
setSupportsWorkProfile(Boolean supportsWorkProfile)
Work profile supported on device (Read-only)
|
MobileDevice |
setType(String type)
The type of mobile device.
|
MobileDevice |
setUnknownSourcesStatus(Boolean unknownSourcesStatus)
Unknown sources enabled or disabled on device (Read-only)
|
MobileDevice |
setUserAgent(String userAgent)
Gives information about the device such as `os` version.
|
MobileDevice |
setWifiMacAddress(String wifiMacAddress)
The device's MAC address on Wi-Fi networks.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getAdbStatus()
null for nonepublic MobileDevice setAdbStatus(Boolean adbStatus)
adbStatus - adbStatus or null for nonepublic List<MobileDevice.Applications> getApplications()
null for nonepublic MobileDevice setApplications(List<MobileDevice.Applications> applications)
applications - applications or null for nonepublic String getBasebandVersion()
null for nonepublic MobileDevice setBasebandVersion(String basebandVersion)
basebandVersion - basebandVersion or null for nonepublic String getBootloaderVersion()
null for nonepublic MobileDevice setBootloaderVersion(String bootloaderVersion)
bootloaderVersion - bootloaderVersion or null for nonepublic String getBrand()
null for nonepublic MobileDevice setBrand(String brand)
brand - brand or null for nonepublic String getBuildNumber()
null for nonepublic MobileDevice setBuildNumber(String buildNumber)
buildNumber - buildNumber or null for nonepublic String getDefaultLanguage()
null for nonepublic MobileDevice setDefaultLanguage(String defaultLanguage)
defaultLanguage - defaultLanguage or null for nonepublic Boolean getDeveloperOptionsStatus()
null for nonepublic MobileDevice setDeveloperOptionsStatus(Boolean developerOptionsStatus)
developerOptionsStatus - developerOptionsStatus or null for nonepublic String getDeviceCompromisedStatus()
null for nonepublic MobileDevice setDeviceCompromisedStatus(String deviceCompromisedStatus)
deviceCompromisedStatus - deviceCompromisedStatus or null for nonepublic String getDeviceId()
null for nonepublic MobileDevice setDeviceId(String deviceId)
deviceId - deviceId or null for nonepublic String getDevicePasswordStatus()
null for nonepublic MobileDevice setDevicePasswordStatus(String devicePasswordStatus)
devicePasswordStatus - devicePasswordStatus or null for nonepublic List<String> getEmail()
null for nonepublic MobileDevice setEmail(List<String> email)
email - email or null for nonepublic String getEncryptionStatus()
null for nonepublic MobileDevice setEncryptionStatus(String encryptionStatus)
encryptionStatus - encryptionStatus or null for nonepublic String getEtag()
null for nonepublic MobileDevice setEtag(String etag)
etag - etag or null for nonepublic DateTime getFirstSync()
null for nonepublic MobileDevice setFirstSync(DateTime firstSync)
firstSync - firstSync or null for nonepublic String getHardware()
null for nonepublic MobileDevice setHardware(String hardware)
hardware - hardware or null for nonepublic String getHardwareId()
null for nonepublic MobileDevice setHardwareId(String hardwareId)
hardwareId - hardwareId or null for nonepublic String getImei()
null for nonepublic MobileDevice setImei(String imei)
imei - imei or null for nonepublic String getKernelVersion()
null for nonepublic MobileDevice setKernelVersion(String kernelVersion)
kernelVersion - kernelVersion or null for nonepublic String getKind()
null for nonepublic MobileDevice setKind(String kind)
kind - kind or null for nonepublic DateTime getLastSync()
null for nonepublic MobileDevice setLastSync(DateTime lastSync)
lastSync - lastSync or null for nonepublic Boolean getManagedAccountIsOnOwnerProfile()
null for nonepublic MobileDevice setManagedAccountIsOnOwnerProfile(Boolean managedAccountIsOnOwnerProfile)
managedAccountIsOnOwnerProfile - managedAccountIsOnOwnerProfile or null for nonepublic String getManufacturer()
null for nonepublic MobileDevice setManufacturer(String manufacturer)
manufacturer - manufacturer or null for nonepublic String getMeid()
null for nonepublic MobileDevice setMeid(String meid)
meid - meid or null for nonepublic String getModel()
null for nonepublic MobileDevice setModel(String model)
model - model or null for nonepublic List<String> getName()
null for nonepublic MobileDevice setName(List<String> name)
name - name or null for nonepublic String getNetworkOperator()
null for nonepublic MobileDevice setNetworkOperator(String networkOperator)
networkOperator - networkOperator or null for nonepublic String getOs()
null for nonepublic MobileDevice setOs(String os)
os - os or null for nonepublic List<String> getOtherAccountsInfo()
null for nonepublic MobileDevice setOtherAccountsInfo(List<String> otherAccountsInfo)
otherAccountsInfo - otherAccountsInfo or null for nonepublic String getPrivilege()
null for nonepublic MobileDevice setPrivilege(String privilege)
privilege - privilege or null for nonepublic String getReleaseVersion()
null for nonepublic MobileDevice setReleaseVersion(String releaseVersion)
releaseVersion - releaseVersion or null for nonepublic String getResourceId()
null for nonepublic MobileDevice setResourceId(String resourceId)
resourceId - resourceId or null for nonepublic Long getSecurityPatchLevel()
null for nonepublic MobileDevice setSecurityPatchLevel(Long securityPatchLevel)
securityPatchLevel - securityPatchLevel or null for nonepublic String getSerialNumber()
null for nonepublic MobileDevice setSerialNumber(String serialNumber)
serialNumber - serialNumber or null for nonepublic String getStatus()
null for nonepublic MobileDevice setStatus(String status)
status - status or null for nonepublic Boolean getSupportsWorkProfile()
null for nonepublic MobileDevice setSupportsWorkProfile(Boolean supportsWorkProfile)
supportsWorkProfile - supportsWorkProfile or null for nonepublic String getType()
null for nonepublic MobileDevice setType(String type)
type - type or null for nonepublic Boolean getUnknownSourcesStatus()
null for nonepublic MobileDevice setUnknownSourcesStatus(Boolean unknownSourcesStatus)
unknownSourcesStatus - unknownSourcesStatus or null for nonepublic String getUserAgent()
null for nonepublic MobileDevice setUserAgent(String userAgent)
userAgent - userAgent or null for nonepublic String getWifiMacAddress()
null for nonepublic MobileDevice setWifiMacAddress(String wifiMacAddress)
wifiMacAddress - wifiMacAddress or null for nonepublic MobileDevice set(String fieldName, Object value)
set in class GenericJsonpublic MobileDevice clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.