public final class Space
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 Google Chat 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Space() |
Modifier and Type | Method and Description |
---|---|
Space |
clone() |
Boolean |
getAdminInstalled()
Output only.
|
String |
getCreateTime()
Optional.
|
String |
getDisplayName()
The space's display name.
|
Boolean |
getExternalUserAllowed()
Immutable.
|
Boolean |
getImportMode()
Optional.
|
String |
getName()
Resource name of the space.
|
Boolean |
getSingleUserBotDm()
Optional.
|
SpaceDetails |
getSpaceDetails()
Details about the space including description and rules.
|
String |
getSpaceHistoryState()
The message history state for messages and threads in this space.
|
String |
getSpaceThreadingState()
Output only.
|
String |
getSpaceType()
The type of space.
|
Boolean |
getThreaded()
Output only.
|
String |
getType()
Output only.
|
Space |
set(String fieldName,
Object value) |
Space |
setAdminInstalled(Boolean adminInstalled)
Output only.
|
Space |
setCreateTime(String createTime)
Optional.
|
Space |
setDisplayName(String displayName)
The space's display name.
|
Space |
setExternalUserAllowed(Boolean externalUserAllowed)
Immutable.
|
Space |
setImportMode(Boolean importMode)
Optional.
|
Space |
setName(String name)
Resource name of the space.
|
Space |
setSingleUserBotDm(Boolean singleUserBotDm)
Optional.
|
Space |
setSpaceDetails(SpaceDetails spaceDetails)
Details about the space including description and rules.
|
Space |
setSpaceHistoryState(String spaceHistoryState)
The message history state for messages and threads in this space.
|
Space |
setSpaceThreadingState(String spaceThreadingState)
Output only.
|
Space |
setSpaceType(String spaceType)
The type of space.
|
Space |
setThreaded(Boolean threaded)
Output only.
|
Space |
setType(String type)
Output only.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Boolean getAdminInstalled()
null
for nonepublic Space setAdminInstalled(Boolean adminInstalled)
adminInstalled
- adminInstalled or null
for nonepublic String getCreateTime()
null
for nonepublic Space setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic String getDisplayName()
null
for nonepublic Space setDisplayName(String displayName)
displayName
- displayName or null
for nonepublic Boolean getExternalUserAllowed()
null
for nonepublic Space setExternalUserAllowed(Boolean externalUserAllowed)
externalUserAllowed
- externalUserAllowed or null
for nonepublic Boolean getImportMode()
null
for nonepublic Space setImportMode(Boolean importMode)
importMode
- importMode 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 SpaceDetails getSpaceDetails()
null
for nonepublic Space setSpaceDetails(SpaceDetails spaceDetails)
spaceDetails
- spaceDetails or null
for nonepublic String getSpaceHistoryState()
null
for nonepublic Space setSpaceHistoryState(String spaceHistoryState)
spaceHistoryState
- spaceHistoryState or null
for nonepublic String getSpaceThreadingState()
null
for nonepublic Space setSpaceThreadingState(String spaceThreadingState)
spaceThreadingState
- spaceThreadingState or null
for nonepublic String getSpaceType()
null
for nonepublic Space setSpaceType(String spaceType)
spaceType
- spaceType 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 com.google.api.client.json.GenericJson
public Space clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.