target.apidocs.com.google.api.services.directory.model.DirectoryChromeosdevicesCommand.html Maven / Gradle / Ivy
DirectoryChromeosdevicesCommand (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory.model
Class DirectoryChromeosdevicesCommand
- 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.DirectoryChromeosdevicesCommand
-
public final class DirectoryChromeosdevicesCommand
extends GenericJson
Information regarding a command that was issued to a device.
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
DirectoryChromeosdevicesCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DirectoryChromeosdevicesCommand
clone()
String
getCommandExpireTime()
The time at which the command will expire.
Long
getCommandId()
Unique ID of a device command.
DirectoryChromeosdevicesCommandResult
getCommandResult()
The result of the command execution.
String
getIssueTime()
The timestamp when the command was issued by the admin.
String
getPayload()
The payload that the command specified, if any.
String
getState()
Indicates the command state.
String
getType()
The type of the command.
DirectoryChromeosdevicesCommand
set(String fieldName,
Object value)
DirectoryChromeosdevicesCommand
setCommandExpireTime(String commandExpireTime)
The time at which the command will expire.
DirectoryChromeosdevicesCommand
setCommandId(Long commandId)
Unique ID of a device command.
DirectoryChromeosdevicesCommand
setCommandResult(DirectoryChromeosdevicesCommandResult commandResult)
The result of the command execution.
DirectoryChromeosdevicesCommand
setIssueTime(String issueTime)
The timestamp when the command was issued by the admin.
DirectoryChromeosdevicesCommand
setPayload(String payload)
The payload that the command specified, if any.
DirectoryChromeosdevicesCommand
setState(String state)
Indicates the command state.
DirectoryChromeosdevicesCommand
setType(String type)
The type of the command.
-
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
-
getCommandExpireTime
public String getCommandExpireTime()
The time at which the command will expire. If the device doesn't execute the command within
this time the command will become expired.
- Returns:
- value or
null
for none
-
setCommandExpireTime
public DirectoryChromeosdevicesCommand setCommandExpireTime(String commandExpireTime)
The time at which the command will expire. If the device doesn't execute the command within
this time the command will become expired.
- Parameters:
commandExpireTime
- commandExpireTime or null
for none
-
getCommandId
public Long getCommandId()
Unique ID of a device command.
- Returns:
- value or
null
for none
-
setCommandId
public DirectoryChromeosdevicesCommand setCommandId(Long commandId)
Unique ID of a device command.
- Parameters:
commandId
- commandId or null
for none
-
getCommandResult
public DirectoryChromeosdevicesCommandResult getCommandResult()
The result of the command execution.
- Returns:
- value or
null
for none
-
setCommandResult
public DirectoryChromeosdevicesCommand setCommandResult(DirectoryChromeosdevicesCommandResult commandResult)
The result of the command execution.
- Parameters:
commandResult
- commandResult or null
for none
-
getIssueTime
public String getIssueTime()
The timestamp when the command was issued by the admin.
- Returns:
- value or
null
for none
-
setIssueTime
public DirectoryChromeosdevicesCommand setIssueTime(String issueTime)
The timestamp when the command was issued by the admin.
- Parameters:
issueTime
- issueTime or null
for none
-
getPayload
public String getPayload()
The payload that the command specified, if any.
- Returns:
- value or
null
for none
-
setPayload
public DirectoryChromeosdevicesCommand setPayload(String payload)
The payload that the command specified, if any.
- Parameters:
payload
- payload or null
for none
-
getState
public String getState()
Indicates the command state.
- Returns:
- value or
null
for none
-
setState
public DirectoryChromeosdevicesCommand setState(String state)
Indicates the command state.
- Parameters:
state
- state or null
for none
-
getType
public String getType()
The type of the command.
- Returns:
- value or
null
for none
-
setType
public DirectoryChromeosdevicesCommand setType(String type)
The type of the command.
- Parameters:
type
- type or null
for none
-
set
public DirectoryChromeosdevicesCommand set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public DirectoryChromeosdevicesCommand clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.