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 Directory API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/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() |
List<MobileDevice.Applications> |
getApplications()
List of applications installed on Mobile Device
|
String |
getDeviceId()
Mobile Device serial number (Read-only)
|
List<String> |
getEmail()
List of owner user's email addresses (Read-only)
|
DateTime |
getFirstSync()
Date and time the device was first synchronized with the policy settings in the Google Apps
administrator control panel (Read-only)
|
String |
getHardwareId()
Mobile Device Hardware Id (Read-only)
|
String |
getKind()
Kind of resource this is.
|
DateTime |
getLastSync()
Date and time the device was last synchronized with the policy settings in the Google Apps
administrator control panel (Read-only)
|
String |
getModel()
Name of the model of the device
|
List<String> |
getName()
List of owner user's names (Read-only)
|
String |
getOs()
Name of the mobile operating system
|
String |
getResourceId()
Unique identifier of Mobile Device (Read-only)
|
String |
getStatus()
Status of the device (Read-only)
|
String |
getType()
The type of device (Read-only)
|
String |
getUserAgent()
Mobile Device user agent
|
MobileDevice |
set(String fieldName,
Object value) |
MobileDevice |
setApplications(List<MobileDevice.Applications> applications)
List of applications installed on Mobile Device
|
MobileDevice |
setDeviceId(String deviceId)
Mobile Device serial number (Read-only)
|
MobileDevice |
setEmail(List<String> email)
List of owner user's email addresses (Read-only)
|
MobileDevice |
setFirstSync(DateTime firstSync)
Date and time the device was first synchronized with the policy settings in the Google Apps
administrator control panel (Read-only)
|
MobileDevice |
setHardwareId(String hardwareId)
Mobile Device Hardware Id (Read-only)
|
MobileDevice |
setKind(String kind)
Kind of resource this is.
|
MobileDevice |
setLastSync(DateTime lastSync)
Date and time the device was last synchronized with the policy settings in the Google Apps
administrator control panel (Read-only)
|
MobileDevice |
setModel(String model)
Name of the model of the device
|
MobileDevice |
setName(List<String> name)
List of owner user's names (Read-only)
|
MobileDevice |
setOs(String os)
Name of the mobile operating system
|
MobileDevice |
setResourceId(String resourceId)
Unique identifier of Mobile Device (Read-only)
|
MobileDevice |
setStatus(String status)
Status of the device (Read-only)
|
MobileDevice |
setType(String type)
The type of device (Read-only)
|
MobileDevice |
setUserAgent(String userAgent)
Mobile Device user agent
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<MobileDevice.Applications> getApplications()
null for nonepublic MobileDevice setApplications(List<MobileDevice.Applications> applications)
applications - applications or null for nonepublic String getDeviceId()
null for nonepublic MobileDevice setDeviceId(String deviceId)
deviceId - deviceId or null for nonepublic List<String> getEmail()
null for nonepublic MobileDevice setEmail(List<String> email)
email - email or null for nonepublic DateTime getFirstSync()
null for nonepublic MobileDevice setFirstSync(DateTime firstSync)
firstSync - firstSync or null for nonepublic String getHardwareId()
null for nonepublic MobileDevice setHardwareId(String hardwareId)
hardwareId - hardwareId 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 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 getOs()
null for nonepublic MobileDevice setOs(String os)
os - os or null for nonepublic String getResourceId()
null for nonepublic MobileDevice setResourceId(String resourceId)
resourceId - resourceId or null for nonepublic String getStatus()
null for nonepublic MobileDevice setStatus(String status)
status - status or null for nonepublic String getType()
null for nonepublic MobileDevice setType(String type)
type - type or null for nonepublic String getUserAgent()
null for nonepublic MobileDevice setUserAgent(String userAgent)
userAgent - userAgent or null for nonepublic MobileDevice set(String fieldName, Object value)
set in class GenericJsonpublic MobileDevice clone()
clone in class GenericJson