public final class Struct
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 Apps Script 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 |
|---|
Struct() |
| Modifier and Type | Method and Description |
|---|---|
Struct |
clone() |
java.util.Map<java.lang.String,Value> |
getFields()
Unordered map of dynamically typed values.
|
Struct |
set(java.lang.String fieldName,
java.lang.Object value) |
Struct |
setFields(java.util.Map<java.lang.String,Value> fields)
Unordered map of dynamically typed values.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.Map<java.lang.String,Value> getFields()
null for nonepublic Struct setFields(java.util.Map<java.lang.String,Value> fields)
fields - fields or null for nonepublic Struct set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Struct clone()
clone in class com.google.api.client.json.GenericJson