public final class LicenseCode
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 |
|---|
LicenseCode() |
| Modifier and Type | Method and Description |
|---|---|
LicenseCode |
clone() |
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getDescription()
[Output Only] Description of this License Code.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
[Output Only] Type of resource.
|
java.util.List<LicenseCodeLicenseAlias> |
getLicenseAlias()
[Output Only] URL and description aliases of Licenses with the same License Code.
|
java.lang.String |
getName()
[Output Only] Name of the resource.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.lang.String |
getState()
[Output Only] Current state of this License Code.
|
java.lang.Boolean |
getTransferable()
[Output Only] If true, the license will remain attached when creating images or snapshots from
disks.
|
LicenseCode |
set(java.lang.String fieldName,
java.lang.Object value) |
LicenseCode |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
LicenseCode |
setDescription(java.lang.String description)
[Output Only] Description of this License Code.
|
LicenseCode |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
LicenseCode |
setKind(java.lang.String kind)
[Output Only] Type of resource.
|
LicenseCode |
setLicenseAlias(java.util.List<LicenseCodeLicenseAlias> licenseAlias)
[Output Only] URL and description aliases of Licenses with the same License Code.
|
LicenseCode |
setName(java.lang.String name)
[Output Only] Name of the resource.
|
LicenseCode |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
LicenseCode |
setState(java.lang.String state)
[Output Only] Current state of this License Code.
|
LicenseCode |
setTransferable(java.lang.Boolean transferable)
[Output Only] If true, the license will remain attached when creating images or snapshots from
disks.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getCreationTimestamp()
null for nonepublic LicenseCode setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.String getDescription()
null for nonepublic LicenseCode setDescription(java.lang.String description)
description - description or null for nonepublic java.math.BigInteger getId()
null for nonepublic LicenseCode setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic LicenseCode setKind(java.lang.String kind)
kind - kind or null for nonepublic java.util.List<LicenseCodeLicenseAlias> getLicenseAlias()
null for nonepublic LicenseCode setLicenseAlias(java.util.List<LicenseCodeLicenseAlias> licenseAlias)
licenseAlias - licenseAlias or null for nonepublic java.lang.String getName()
null for nonepublic LicenseCode setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getSelfLink()
null for nonepublic LicenseCode setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.String getState()
null for nonepublic LicenseCode setState(java.lang.String state)
state - state or null for nonepublic java.lang.Boolean getTransferable()
null for nonepublic LicenseCode setTransferable(java.lang.Boolean transferable)
transferable - transferable or null for nonepublic LicenseCode set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic LicenseCode clone()
clone in class com.google.api.client.json.GenericJson