public final class AndroidAttributes
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 Cloud Identity API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
AndroidAttributes() |
Modifier and Type | Method and Description |
---|---|
AndroidAttributes |
clone() |
java.lang.String |
getBasebandVersion()
Baseband version of Android device.
|
java.lang.String |
getBootloaderVersion()
Device bootloader version.
|
java.lang.String |
getBuildNumber()
Build number of Android device.
|
java.lang.Boolean |
getEnabledDeveloperOptions()
Whether developer options is enabled on device.
|
java.lang.Boolean |
getEnabledUnknownSources()
Whether applications from unknown sources can be installed on device.
|
java.lang.Boolean |
getEnabledUsbDebugging()
Whether adb (USB debugging) is enabled on device.
|
java.lang.String |
getEncryptionState()
Device encryption state.
|
java.lang.String |
getHardware()
Device hardware.
|
java.lang.String |
getKernelVersion()
Kernel version of Android device.
|
java.util.List<java.lang.String> |
getOtherAccounts()
Domain name for Google accounts on device.
|
java.lang.Boolean |
getOwnerProfileAccount()
Whether this account is on an owner/primary profile.
|
java.lang.String |
getOwnershipPrivilege()
Ownership privileges on device.
|
java.lang.String |
getSecurityPatchTime()
OS security patch update time on device.
|
java.lang.Boolean |
getSupportsWorkProfile()
Whether device supports Android work profiles.
|
AndroidAttributes |
set(java.lang.String fieldName,
java.lang.Object value) |
AndroidAttributes |
setBasebandVersion(java.lang.String basebandVersion)
Baseband version of Android device.
|
AndroidAttributes |
setBootloaderVersion(java.lang.String bootloaderVersion)
Device bootloader version.
|
AndroidAttributes |
setBuildNumber(java.lang.String buildNumber)
Build number of Android device.
|
AndroidAttributes |
setEnabledDeveloperOptions(java.lang.Boolean enabledDeveloperOptions)
Whether developer options is enabled on device.
|
AndroidAttributes |
setEnabledUnknownSources(java.lang.Boolean enabledUnknownSources)
Whether applications from unknown sources can be installed on device.
|
AndroidAttributes |
setEnabledUsbDebugging(java.lang.Boolean enabledUsbDebugging)
Whether adb (USB debugging) is enabled on device.
|
AndroidAttributes |
setEncryptionState(java.lang.String encryptionState)
Device encryption state.
|
AndroidAttributes |
setHardware(java.lang.String hardware)
Device hardware.
|
AndroidAttributes |
setKernelVersion(java.lang.String kernelVersion)
Kernel version of Android device.
|
AndroidAttributes |
setOtherAccounts(java.util.List<java.lang.String> otherAccounts)
Domain name for Google accounts on device.
|
AndroidAttributes |
setOwnerProfileAccount(java.lang.Boolean ownerProfileAccount)
Whether this account is on an owner/primary profile.
|
AndroidAttributes |
setOwnershipPrivilege(java.lang.String ownershipPrivilege)
Ownership privileges on device.
|
AndroidAttributes |
setSecurityPatchTime(java.lang.String securityPatchTime)
OS security patch update time on device.
|
AndroidAttributes |
setSupportsWorkProfile(java.lang.Boolean supportsWorkProfile)
Whether device supports Android work profiles.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getBasebandVersion()
null
for nonepublic AndroidAttributes setBasebandVersion(java.lang.String basebandVersion)
basebandVersion
- basebandVersion or null
for nonepublic java.lang.String getBootloaderVersion()
null
for nonepublic AndroidAttributes setBootloaderVersion(java.lang.String bootloaderVersion)
bootloaderVersion
- bootloaderVersion or null
for nonepublic java.lang.String getBuildNumber()
null
for nonepublic AndroidAttributes setBuildNumber(java.lang.String buildNumber)
buildNumber
- buildNumber or null
for nonepublic java.lang.Boolean getEnabledDeveloperOptions()
null
for nonepublic AndroidAttributes setEnabledDeveloperOptions(java.lang.Boolean enabledDeveloperOptions)
enabledDeveloperOptions
- enabledDeveloperOptions or null
for nonepublic java.lang.Boolean getEnabledUnknownSources()
null
for nonepublic AndroidAttributes setEnabledUnknownSources(java.lang.Boolean enabledUnknownSources)
enabledUnknownSources
- enabledUnknownSources or null
for nonepublic java.lang.Boolean getEnabledUsbDebugging()
null
for nonepublic AndroidAttributes setEnabledUsbDebugging(java.lang.Boolean enabledUsbDebugging)
enabledUsbDebugging
- enabledUsbDebugging or null
for nonepublic java.lang.String getEncryptionState()
null
for nonepublic AndroidAttributes setEncryptionState(java.lang.String encryptionState)
encryptionState
- encryptionState or null
for nonepublic java.lang.String getHardware()
null
for nonepublic AndroidAttributes setHardware(java.lang.String hardware)
hardware
- hardware or null
for nonepublic java.lang.String getKernelVersion()
null
for nonepublic AndroidAttributes setKernelVersion(java.lang.String kernelVersion)
kernelVersion
- kernelVersion or null
for nonepublic java.util.List<java.lang.String> getOtherAccounts()
null
for nonepublic AndroidAttributes setOtherAccounts(java.util.List<java.lang.String> otherAccounts)
otherAccounts
- otherAccounts or null
for nonepublic java.lang.Boolean getOwnerProfileAccount()
null
for nonepublic AndroidAttributes setOwnerProfileAccount(java.lang.Boolean ownerProfileAccount)
ownerProfileAccount
- ownerProfileAccount or null
for nonepublic java.lang.String getOwnershipPrivilege()
null
for nonepublic AndroidAttributes setOwnershipPrivilege(java.lang.String ownershipPrivilege)
ownershipPrivilege
- ownershipPrivilege or null
for nonepublic java.lang.String getSecurityPatchTime()
null
for nonepublic AndroidAttributes setSecurityPatchTime(java.lang.String securityPatchTime)
securityPatchTime
- securityPatchTime or null
for nonepublic java.lang.Boolean getSupportsWorkProfile()
null
for nonepublic AndroidAttributes setSupportsWorkProfile(java.lang.Boolean supportsWorkProfile)
supportsWorkProfile
- supportsWorkProfile or null
for nonepublic AndroidAttributes set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public AndroidAttributes clone()
clone
in class com.google.api.client.json.GenericJson