public final class MobileDevice
extends com.google.api.client.json.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 Directory 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.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
MobileDevice() |
Modifier and Type | Method and Description |
---|---|
MobileDevice |
clone() |
java.lang.Boolean |
getAdbStatus()
Adb (USB debugging) enabled or disabled on device (Read-only)
|
java.util.List<MobileDevice.Applications> |
getApplications()
List of applications installed on Mobile Device
|
java.lang.String |
getBasebandVersion()
Mobile Device Baseband version (Read-only)
|
java.lang.String |
getBootloaderVersion()
Mobile Device Bootloader version (Read-only)
|
java.lang.String |
getBrand()
Mobile Device Brand (Read-only)
|
java.lang.String |
getBuildNumber()
Mobile Device Build number (Read-only)
|
java.lang.String |
getDefaultLanguage()
The default locale used on the Mobile Device (Read-only)
|
java.lang.Boolean |
getDeveloperOptionsStatus()
Developer options enabled or disabled on device (Read-only)
|
java.lang.String |
getDeviceCompromisedStatus()
Mobile Device compromised status (Read-only)
|
java.lang.String |
getDeviceId()
Mobile Device serial number (Read-only)
|
java.lang.String |
getDevicePasswordStatus()
DevicePasswordStatus (Read-only)
|
java.util.List<java.lang.String> |
getEmail()
List of owner user's email addresses (Read-only)
|
java.lang.String |
getEncryptionStatus()
Mobile Device Encryption Status (Read-only)
|
java.lang.String |
getEtag()
ETag of the resource.
|
com.google.api.client.util.DateTime |
getFirstSync()
Date and time the device was first synchronized with the policy settings in the G Suite
administrator control panel (Read-only)
|
java.lang.String |
getHardware()
Mobile Device Hardware (Read-only)
|
java.lang.String |
getHardwareId()
Mobile Device Hardware Id (Read-only)
|
java.lang.String |
getImei()
Mobile Device IMEI number (Read-only)
|
java.lang.String |
getKernelVersion()
Mobile Device Kernel version (Read-only)
|
java.lang.String |
getKind()
Kind of resource this is.
|
com.google.api.client.util.DateTime |
getLastSync()
Date and time the device was last synchronized with the policy settings in the G Suite
administrator control panel (Read-only)
|
java.lang.Boolean |
getManagedAccountIsOnOwnerProfile()
Boolean indicating if this account is on owner/primary profile or not (Read-only)
|
java.lang.String |
getManufacturer()
Mobile Device manufacturer (Read-only)
|
java.lang.String |
getMeid()
Mobile Device MEID number (Read-only)
|
java.lang.String |
getModel()
Name of the model of the device
|
java.util.List<java.lang.String> |
getName()
List of owner user's names (Read-only)
|
java.lang.String |
getNetworkOperator()
Mobile Device mobile or network operator (if available) (Read-only)
|
java.lang.String |
getOs()
Name of the mobile operating system
|
java.util.List<java.lang.String> |
getOtherAccountsInfo()
List of accounts added on device (Read-only)
|
java.lang.String |
getPrivilege()
DMAgentPermission (Read-only)
|
java.lang.String |
getReleaseVersion()
Mobile Device release version version (Read-only)
|
java.lang.String |
getResourceId()
Unique identifier of Mobile Device (Read-only)
|
java.lang.Long |
getSecurityPatchLevel()
Mobile Device Security patch level (Read-only)
|
java.lang.String |
getSerialNumber()
Mobile Device SSN or Serial Number (Read-only)
|
java.lang.String |
getStatus()
Status of the device (Read-only)
|
java.lang.Boolean |
getSupportsWorkProfile()
Work profile supported on device (Read-only)
|
java.lang.String |
getType()
The type of device (Read-only)
|
java.lang.Boolean |
getUnknownSourcesStatus()
Unknown sources enabled or disabled on device (Read-only)
|
java.lang.String |
getUserAgent()
Mobile Device user agent
|
java.lang.String |
getWifiMacAddress()
Mobile Device WiFi MAC address (Read-only)
|
MobileDevice |
set(java.lang.String fieldName,
java.lang.Object value) |
MobileDevice |
setAdbStatus(java.lang.Boolean adbStatus)
Adb (USB debugging) enabled or disabled on device (Read-only)
|
MobileDevice |
setApplications(java.util.List<MobileDevice.Applications> applications)
List of applications installed on Mobile Device
|
MobileDevice |
setBasebandVersion(java.lang.String basebandVersion)
Mobile Device Baseband version (Read-only)
|
MobileDevice |
setBootloaderVersion(java.lang.String bootloaderVersion)
Mobile Device Bootloader version (Read-only)
|
MobileDevice |
setBrand(java.lang.String brand)
Mobile Device Brand (Read-only)
|
MobileDevice |
setBuildNumber(java.lang.String buildNumber)
Mobile Device Build number (Read-only)
|
MobileDevice |
setDefaultLanguage(java.lang.String defaultLanguage)
The default locale used on the Mobile Device (Read-only)
|
MobileDevice |
setDeveloperOptionsStatus(java.lang.Boolean developerOptionsStatus)
Developer options enabled or disabled on device (Read-only)
|
MobileDevice |
setDeviceCompromisedStatus(java.lang.String deviceCompromisedStatus)
Mobile Device compromised status (Read-only)
|
MobileDevice |
setDeviceId(java.lang.String deviceId)
Mobile Device serial number (Read-only)
|
MobileDevice |
setDevicePasswordStatus(java.lang.String devicePasswordStatus)
DevicePasswordStatus (Read-only)
|
MobileDevice |
setEmail(java.util.List<java.lang.String> email)
List of owner user's email addresses (Read-only)
|
MobileDevice |
setEncryptionStatus(java.lang.String encryptionStatus)
Mobile Device Encryption Status (Read-only)
|
MobileDevice |
setEtag(java.lang.String etag)
ETag of the resource.
|
MobileDevice |
setFirstSync(com.google.api.client.util.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(java.lang.String hardware)
Mobile Device Hardware (Read-only)
|
MobileDevice |
setHardwareId(java.lang.String hardwareId)
Mobile Device Hardware Id (Read-only)
|
MobileDevice |
setImei(java.lang.String imei)
Mobile Device IMEI number (Read-only)
|
MobileDevice |
setKernelVersion(java.lang.String kernelVersion)
Mobile Device Kernel version (Read-only)
|
MobileDevice |
setKind(java.lang.String kind)
Kind of resource this is.
|
MobileDevice |
setLastSync(com.google.api.client.util.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(java.lang.Boolean managedAccountIsOnOwnerProfile)
Boolean indicating if this account is on owner/primary profile or not (Read-only)
|
MobileDevice |
setManufacturer(java.lang.String manufacturer)
Mobile Device manufacturer (Read-only)
|
MobileDevice |
setMeid(java.lang.String meid)
Mobile Device MEID number (Read-only)
|
MobileDevice |
setModel(java.lang.String model)
Name of the model of the device
|
MobileDevice |
setName(java.util.List<java.lang.String> name)
List of owner user's names (Read-only)
|
MobileDevice |
setNetworkOperator(java.lang.String networkOperator)
Mobile Device mobile or network operator (if available) (Read-only)
|
MobileDevice |
setOs(java.lang.String os)
Name of the mobile operating system
|
MobileDevice |
setOtherAccountsInfo(java.util.List<java.lang.String> otherAccountsInfo)
List of accounts added on device (Read-only)
|
MobileDevice |
setPrivilege(java.lang.String privilege)
DMAgentPermission (Read-only)
|
MobileDevice |
setReleaseVersion(java.lang.String releaseVersion)
Mobile Device release version version (Read-only)
|
MobileDevice |
setResourceId(java.lang.String resourceId)
Unique identifier of Mobile Device (Read-only)
|
MobileDevice |
setSecurityPatchLevel(java.lang.Long securityPatchLevel)
Mobile Device Security patch level (Read-only)
|
MobileDevice |
setSerialNumber(java.lang.String serialNumber)
Mobile Device SSN or Serial Number (Read-only)
|
MobileDevice |
setStatus(java.lang.String status)
Status of the device (Read-only)
|
MobileDevice |
setSupportsWorkProfile(java.lang.Boolean supportsWorkProfile)
Work profile supported on device (Read-only)
|
MobileDevice |
setType(java.lang.String type)
The type of device (Read-only)
|
MobileDevice |
setUnknownSourcesStatus(java.lang.Boolean unknownSourcesStatus)
Unknown sources enabled or disabled on device (Read-only)
|
MobileDevice |
setUserAgent(java.lang.String userAgent)
Mobile Device user agent
|
MobileDevice |
setWifiMacAddress(java.lang.String wifiMacAddress)
Mobile Device WiFi MAC address (Read-only)
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getAdbStatus()
null
for nonepublic MobileDevice setAdbStatus(java.lang.Boolean adbStatus)
adbStatus
- adbStatus or null
for nonepublic java.util.List<MobileDevice.Applications> getApplications()
null
for nonepublic MobileDevice setApplications(java.util.List<MobileDevice.Applications> applications)
applications
- applications or null
for nonepublic java.lang.String getBasebandVersion()
null
for nonepublic MobileDevice setBasebandVersion(java.lang.String basebandVersion)
basebandVersion
- basebandVersion or null
for nonepublic java.lang.String getBootloaderVersion()
null
for nonepublic MobileDevice setBootloaderVersion(java.lang.String bootloaderVersion)
bootloaderVersion
- bootloaderVersion or null
for nonepublic java.lang.String getBrand()
null
for nonepublic MobileDevice setBrand(java.lang.String brand)
brand
- brand or null
for nonepublic java.lang.String getBuildNumber()
null
for nonepublic MobileDevice setBuildNumber(java.lang.String buildNumber)
buildNumber
- buildNumber or null
for nonepublic java.lang.String getDefaultLanguage()
null
for nonepublic MobileDevice setDefaultLanguage(java.lang.String defaultLanguage)
defaultLanguage
- defaultLanguage or null
for nonepublic java.lang.Boolean getDeveloperOptionsStatus()
null
for nonepublic MobileDevice setDeveloperOptionsStatus(java.lang.Boolean developerOptionsStatus)
developerOptionsStatus
- developerOptionsStatus or null
for nonepublic java.lang.String getDeviceCompromisedStatus()
null
for nonepublic MobileDevice setDeviceCompromisedStatus(java.lang.String deviceCompromisedStatus)
deviceCompromisedStatus
- deviceCompromisedStatus or null
for nonepublic java.lang.String getDeviceId()
null
for nonepublic MobileDevice setDeviceId(java.lang.String deviceId)
deviceId
- deviceId or null
for nonepublic java.lang.String getDevicePasswordStatus()
null
for nonepublic MobileDevice setDevicePasswordStatus(java.lang.String devicePasswordStatus)
devicePasswordStatus
- devicePasswordStatus or null
for nonepublic java.util.List<java.lang.String> getEmail()
null
for nonepublic MobileDevice setEmail(java.util.List<java.lang.String> email)
email
- email or null
for nonepublic java.lang.String getEncryptionStatus()
null
for nonepublic MobileDevice setEncryptionStatus(java.lang.String encryptionStatus)
encryptionStatus
- encryptionStatus or null
for nonepublic java.lang.String getEtag()
null
for nonepublic MobileDevice setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic com.google.api.client.util.DateTime getFirstSync()
null
for nonepublic MobileDevice setFirstSync(com.google.api.client.util.DateTime firstSync)
firstSync
- firstSync or null
for nonepublic java.lang.String getHardware()
null
for nonepublic MobileDevice setHardware(java.lang.String hardware)
hardware
- hardware or null
for nonepublic java.lang.String getHardwareId()
null
for nonepublic MobileDevice setHardwareId(java.lang.String hardwareId)
hardwareId
- hardwareId or null
for nonepublic java.lang.String getImei()
null
for nonepublic MobileDevice setImei(java.lang.String imei)
imei
- imei or null
for nonepublic java.lang.String getKernelVersion()
null
for nonepublic MobileDevice setKernelVersion(java.lang.String kernelVersion)
kernelVersion
- kernelVersion or null
for nonepublic java.lang.String getKind()
null
for nonepublic MobileDevice setKind(java.lang.String kind)
kind
- kind or null
for nonepublic com.google.api.client.util.DateTime getLastSync()
null
for nonepublic MobileDevice setLastSync(com.google.api.client.util.DateTime lastSync)
lastSync
- lastSync or null
for nonepublic java.lang.Boolean getManagedAccountIsOnOwnerProfile()
null
for nonepublic MobileDevice setManagedAccountIsOnOwnerProfile(java.lang.Boolean managedAccountIsOnOwnerProfile)
managedAccountIsOnOwnerProfile
- managedAccountIsOnOwnerProfile or null
for nonepublic java.lang.String getManufacturer()
null
for nonepublic MobileDevice setManufacturer(java.lang.String manufacturer)
manufacturer
- manufacturer or null
for nonepublic java.lang.String getMeid()
null
for nonepublic MobileDevice setMeid(java.lang.String meid)
meid
- meid or null
for nonepublic java.lang.String getModel()
null
for nonepublic MobileDevice setModel(java.lang.String model)
model
- model or null
for nonepublic java.util.List<java.lang.String> getName()
null
for nonepublic MobileDevice setName(java.util.List<java.lang.String> name)
name
- name or null
for nonepublic java.lang.String getNetworkOperator()
null
for nonepublic MobileDevice setNetworkOperator(java.lang.String networkOperator)
networkOperator
- networkOperator or null
for nonepublic java.lang.String getOs()
null
for nonepublic MobileDevice setOs(java.lang.String os)
os
- os or null
for nonepublic java.util.List<java.lang.String> getOtherAccountsInfo()
null
for nonepublic MobileDevice setOtherAccountsInfo(java.util.List<java.lang.String> otherAccountsInfo)
otherAccountsInfo
- otherAccountsInfo or null
for nonepublic java.lang.String getPrivilege()
null
for nonepublic MobileDevice setPrivilege(java.lang.String privilege)
privilege
- privilege or null
for nonepublic java.lang.String getReleaseVersion()
null
for nonepublic MobileDevice setReleaseVersion(java.lang.String releaseVersion)
releaseVersion
- releaseVersion or null
for nonepublic java.lang.String getResourceId()
null
for nonepublic MobileDevice setResourceId(java.lang.String resourceId)
resourceId
- resourceId or null
for nonepublic java.lang.Long getSecurityPatchLevel()
null
for nonepublic MobileDevice setSecurityPatchLevel(java.lang.Long securityPatchLevel)
securityPatchLevel
- securityPatchLevel or null
for nonepublic java.lang.String getSerialNumber()
null
for nonepublic MobileDevice setSerialNumber(java.lang.String serialNumber)
serialNumber
- serialNumber or null
for nonepublic java.lang.String getStatus()
null
for nonepublic MobileDevice setStatus(java.lang.String status)
status
- status or null
for nonepublic java.lang.Boolean getSupportsWorkProfile()
null
for nonepublic MobileDevice setSupportsWorkProfile(java.lang.Boolean supportsWorkProfile)
supportsWorkProfile
- supportsWorkProfile or null
for nonepublic java.lang.String getType()
null
for nonepublic MobileDevice setType(java.lang.String type)
type
- type or null
for nonepublic java.lang.Boolean getUnknownSourcesStatus()
null
for nonepublic MobileDevice setUnknownSourcesStatus(java.lang.Boolean unknownSourcesStatus)
unknownSourcesStatus
- unknownSourcesStatus or null
for nonepublic java.lang.String getUserAgent()
null
for nonepublic MobileDevice setUserAgent(java.lang.String userAgent)
userAgent
- userAgent or null
for nonepublic java.lang.String getWifiMacAddress()
null
for nonepublic MobileDevice setWifiMacAddress(java.lang.String wifiMacAddress)
wifiMacAddress
- wifiMacAddress or null
for nonepublic MobileDevice set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public MobileDevice clone()
clone
in class com.google.api.client.json.GenericJson