public final class Resource
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 Container Analysis 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 |
---|
Resource() |
Modifier and Type | Method and Description |
---|---|
Resource |
clone() |
Hash |
getContentHash()
Deprecated, do not use.
|
java.lang.String |
getName()
Deprecated, do not use.
|
java.lang.String |
getUri()
Required.
|
Resource |
set(java.lang.String fieldName,
java.lang.Object value) |
Resource |
setContentHash(Hash contentHash)
Deprecated, do not use.
|
Resource |
setName(java.lang.String name)
Deprecated, do not use.
|
Resource |
setUri(java.lang.String uri)
Required.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Hash getContentHash()
null
for nonepublic Resource setContentHash(Hash contentHash)
contentHash
- contentHash or null
for nonepublic java.lang.String getName()
null
for nonepublic Resource setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getUri()
null
for nonepublic Resource setUri(java.lang.String uri)
uri
- uri or null
for nonepublic Resource set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Resource clone()
clone
in class com.google.api.client.json.GenericJson