public final class DeviceManagementRule
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 Google Workspace Alert Center 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
DeviceManagementRule() |
Modifier and Type | Method and Description |
---|---|
DeviceManagementRule |
clone() |
String |
getDeviceId()
Required.
|
String |
getDeviceModel()
The model of the device.
|
String |
getDeviceType()
The type of the device.
|
String |
getEmail()
The email of the user this alert was created for.
|
String |
getId()
ID of the rule that triggered the alert
|
String |
getIosVendorId()
Required for iOS, empty for others.
|
String |
getOwnerId()
Obfuscated ID of the owner of the device
|
String |
getResourceId()
The device resource ID.
|
String |
getRuleAction()
Action taken as result of the rule
|
String |
getSerialNumber()
The serial number of the device.
|
DeviceManagementRule |
set(String fieldName,
Object value) |
DeviceManagementRule |
setDeviceId(String deviceId)
Required.
|
DeviceManagementRule |
setDeviceModel(String deviceModel)
The model of the device.
|
DeviceManagementRule |
setDeviceType(String deviceType)
The type of the device.
|
DeviceManagementRule |
setEmail(String email)
The email of the user this alert was created for.
|
DeviceManagementRule |
setId(String id)
ID of the rule that triggered the alert
|
DeviceManagementRule |
setIosVendorId(String iosVendorId)
Required for iOS, empty for others.
|
DeviceManagementRule |
setOwnerId(String ownerId)
Obfuscated ID of the owner of the device
|
DeviceManagementRule |
setResourceId(String resourceId)
The device resource ID.
|
DeviceManagementRule |
setRuleAction(String ruleAction)
Action taken as result of the rule
|
DeviceManagementRule |
setSerialNumber(String serialNumber)
The serial number of the device.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getDeviceId()
null
for nonepublic DeviceManagementRule setDeviceId(String deviceId)
deviceId
- deviceId or null
for nonepublic String getDeviceModel()
null
for nonepublic DeviceManagementRule setDeviceModel(String deviceModel)
deviceModel
- deviceModel or null
for nonepublic String getDeviceType()
null
for nonepublic DeviceManagementRule setDeviceType(String deviceType)
deviceType
- deviceType or null
for nonepublic String getEmail()
null
for nonepublic DeviceManagementRule setEmail(String email)
email
- email or null
for nonepublic String getId()
null
for nonepublic DeviceManagementRule setId(String id)
id
- id or null
for nonepublic String getIosVendorId()
null
for nonepublic DeviceManagementRule setIosVendorId(String iosVendorId)
iosVendorId
- iosVendorId or null
for nonepublic String getOwnerId()
null
for nonepublic DeviceManagementRule setOwnerId(String ownerId)
ownerId
- ownerId or null
for nonepublic String getResourceId()
null
for nonepublic DeviceManagementRule setResourceId(String resourceId)
resourceId
- resourceId or null
for nonepublic String getRuleAction()
null
for nonepublic DeviceManagementRule setRuleAction(String ruleAction)
ruleAction
- ruleAction or null
for nonepublic String getSerialNumber()
null
for nonepublic DeviceManagementRule setSerialNumber(String serialNumber)
serialNumber
- serialNumber or null
for nonepublic DeviceManagementRule set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public DeviceManagementRule clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.