public final class Space extends 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 Google Chat API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Space() |
| Modifier and Type | Method and Description |
|---|---|
Space |
clone() |
String |
getDisplayName()
Output only.
|
String |
getName()
Resource name of the space, in the form "spaces".
|
Boolean |
getSingleUserBotDm()
Whether the space is a DM between a bot and a single human.
|
Boolean |
getThreaded()
Whether the messages are threaded in this space.
|
String |
getType()
Output only.
|
Space |
set(String fieldName,
Object value) |
Space |
setDisplayName(String displayName)
Output only.
|
Space |
setName(String name)
Resource name of the space, in the form "spaces".
|
Space |
setSingleUserBotDm(Boolean singleUserBotDm)
Whether the space is a DM between a bot and a single human.
|
Space |
setThreaded(Boolean threaded)
Whether the messages are threaded in this space.
|
Space |
setType(String type)
Output only.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDisplayName()
null for nonepublic Space setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getName()
null for nonepublic Space setName(String name)
name - name or null for nonepublic Boolean getSingleUserBotDm()
null for nonepublic Space setSingleUserBotDm(Boolean singleUserBotDm)
singleUserBotDm - singleUserBotDm or null for nonepublic Boolean getThreaded()
null for nonepublic Space setThreaded(Boolean threaded)
threaded - threaded or null for nonepublic String getType()
null for nonepublic Space setType(String type)
type - type or null for nonepublic Space set(String fieldName, Object value)
set in class GenericJsonpublic Space clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.