target.apidocs.com.google.api.services.directory.model.ChromeOsDeviceAction.html Maven / Gradle / Ivy
ChromeOsDeviceAction (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory.model
Class ChromeOsDeviceAction
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.directory.model.ChromeOsDeviceAction
-
public final class ChromeOsDeviceAction
extends GenericJson
Model definition for ChromeOsDeviceAction.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ChromeOsDeviceAction()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ChromeOsDeviceAction
clone()
String
getAction()
Action to be taken on the Chrome OS device.
String
getDeprovisionReason()
Only used when the action is `deprovision`.
ChromeOsDeviceAction
set(String fieldName,
Object value)
ChromeOsDeviceAction
setAction(String action)
Action to be taken on the Chrome OS device.
ChromeOsDeviceAction
setDeprovisionReason(String deprovisionReason)
Only used when the action is `deprovision`.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAction
public String getAction()
Action to be taken on the Chrome OS device.
- Returns:
- value or
null
for none
-
setAction
public ChromeOsDeviceAction setAction(String action)
Action to be taken on the Chrome OS device.
- Parameters:
action
- action or null
for none
-
getDeprovisionReason
public String getDeprovisionReason()
Only used when the action is `deprovision`. With the `deprovision` action, this field is
required. *Note*: The deprovision reason is audited because it might have implications on
licenses for perpetual subscription customers.
- Returns:
- value or
null
for none
-
setDeprovisionReason
public ChromeOsDeviceAction setDeprovisionReason(String deprovisionReason)
Only used when the action is `deprovision`. With the `deprovision` action, this field is
required. *Note*: The deprovision reason is audited because it might have implications on
licenses for perpetual subscription customers.
- Parameters:
deprovisionReason
- deprovisionReason or null
for none
-
set
public ChromeOsDeviceAction set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public ChromeOsDeviceAction clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.