public final class DeprecationStatus
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 Compute Engine 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 |
|---|
DeprecationStatus() |
| Modifier and Type | Method and Description |
|---|---|
DeprecationStatus |
clone() |
java.lang.String |
getDeleted()
An optional RFC3339 timestamp on or after which the deprecation state of this resource will be
changed to DELETED.
|
java.lang.String |
getDeprecated()
An optional RFC3339 timestamp on or after which the deprecation state of this resource will be
changed to DEPRECATED.
|
java.lang.String |
getObsolete()
An optional RFC3339 timestamp on or after which the deprecation state of this resource will be
changed to OBSOLETE.
|
java.lang.String |
getReplacement()
The URL of the suggested replacement for a deprecated resource.
|
java.lang.String |
getState()
The deprecation state of this resource.
|
DeprecationStatus |
set(java.lang.String fieldName,
java.lang.Object value) |
DeprecationStatus |
setDeleted(java.lang.String deleted)
An optional RFC3339 timestamp on or after which the deprecation state of this resource will be
changed to DELETED.
|
DeprecationStatus |
setDeprecated(java.lang.String deprecated)
An optional RFC3339 timestamp on or after which the deprecation state of this resource will be
changed to DEPRECATED.
|
DeprecationStatus |
setObsolete(java.lang.String obsolete)
An optional RFC3339 timestamp on or after which the deprecation state of this resource will be
changed to OBSOLETE.
|
DeprecationStatus |
setReplacement(java.lang.String replacement)
The URL of the suggested replacement for a deprecated resource.
|
DeprecationStatus |
setState(java.lang.String state)
The deprecation state of this resource.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getDeleted()
null for nonepublic DeprecationStatus setDeleted(java.lang.String deleted)
deleted - deleted or null for nonepublic java.lang.String getDeprecated()
null for nonepublic DeprecationStatus setDeprecated(java.lang.String deprecated)
deprecated - deprecated or null for nonepublic java.lang.String getObsolete()
null for nonepublic DeprecationStatus setObsolete(java.lang.String obsolete)
obsolete - obsolete or null for nonepublic java.lang.String getReplacement()
null for nonepublic DeprecationStatus setReplacement(java.lang.String replacement)
replacement - replacement or null for nonepublic java.lang.String getState()
null for nonepublic DeprecationStatus setState(java.lang.String state)
state - state or null for nonepublic DeprecationStatus set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic DeprecationStatus clone()
clone in class com.google.api.client.json.GenericJson