Class RestMethod.Request
- 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.Request
-
- Enclosing class:
- RestMethod
public static final class RestMethod.Request extends com.google.api.client.json.GenericJsonThe schema for the request.
-
-
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 Request()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestMethod.Requestclone()Stringget$ref()Schema ID for the request schema.StringgetParameterName()parameter name.RestMethod.Requestset(String fieldName, Object value)RestMethod.Requestset$ref(String $ref)Schema ID for the request schema.RestMethod.RequestsetParameterName(String parameterName)parameter name.-
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 request schema.- Returns:
- value or
nullfor none
-
set$ref
public RestMethod.Request set$ref(String $ref)
Schema ID for the request schema.- Parameters:
$ref- $ref ornullfor none
-
getParameterName
public String getParameterName()
parameter name.- Returns:
- value or
nullfor none
-
setParameterName
public RestMethod.Request setParameterName(String parameterName)
parameter name.- Parameters:
parameterName- parameterName ornullfor none
-
set
public RestMethod.Request set(String fieldName, Object value)
- Overrides:
setin classcom.google.api.client.json.GenericJson
-
clone
public RestMethod.Request clone()
- Overrides:
clonein classcom.google.api.client.json.GenericJson
-
-