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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public 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.GenericJson
public Struct clone()
clone
in class com.google.api.client.json.GenericJson