Class RestMethod.Response
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.discovery.model.RestMethod.Response
-
- Enclosing class:
- RestMethod
public static final class RestMethod.Response extends com.google.api.client.json.GenericJsonThe schema for the response.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description Response()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestMethod.Responseclone()Stringget$ref()Schema ID for the response schema.RestMethod.Responseset(String fieldName, Object value)RestMethod.Responseset$ref(String $ref)Schema ID for the response schema.-
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
-
get$ref
public String get$ref()
Schema ID for the response schema.- Returns:
- value or
nullfor none
-
set$ref
public RestMethod.Response set$ref(String $ref)
Schema ID for the response schema.- Parameters:
$ref- $ref ornullfor none
-
set
public RestMethod.Response set(String fieldName, Object value)
- Overrides:
setin classcom.google.api.client.json.GenericJson
-
clone
public RestMethod.Response clone()
- Overrides:
clonein classcom.google.api.client.json.GenericJson
-
-