Package com.symphony.api.model
Class V2RoomAttributes
- java.lang.Object
-
- com.symphony.api.model.V2RoomAttributes
-
public class V2RoomAttributes extends Object
-
-
Constructor Summary
Constructors Constructor Description V2RoomAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V2RoomAttributes
_public(Boolean _public)
V2RoomAttributes
addKeywordsItem(RoomTag keywordsItem)
V2RoomAttributes
copyProtected(Boolean copyProtected)
V2RoomAttributes
description(String description)
V2RoomAttributes
discoverable(Boolean discoverable)
String
getDescription()
Room description.List<RoomTag>
getKeywords()
Keywords for search to use to find this roomString
getName()
Room name.Boolean
isisCopyProtected()
If true, clients disable the clipboard copy for content in this stream.Boolean
isisDiscoverable()
If true, this chatroom (name, description and messages) can be searched and listed by non-participants.Boolean
isisMembersCanInvite()
If true, any chatroom participant can add new participants.Boolean
isisPublic()
If true, this is a public chatroom.Boolean
isisReadOnly()
If true, only stream owners can send messages.V2RoomAttributes
keywords(List<RoomTag> keywords)
V2RoomAttributes
membersCanInvite(Boolean membersCanInvite)
V2RoomAttributes
name(String name)
V2RoomAttributes
readOnly(Boolean readOnly)
void
setCopyProtected(Boolean copyProtected)
void
setDescription(String description)
void
setDiscoverable(Boolean discoverable)
void
setKeywords(List<RoomTag> keywords)
void
setMembersCanInvite(Boolean membersCanInvite)
void
setName(String name)
void
setPublic(Boolean _public)
void
setReadOnly(Boolean readOnly)
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
Room name.- Returns:
- name
-
setName
public void setName(String name)
-
name
public V2RoomAttributes name(String name)
-
getKeywords
public List<RoomTag> getKeywords()
Keywords for search to use to find this room- Returns:
- keywords
-
keywords
public V2RoomAttributes keywords(List<RoomTag> keywords)
-
addKeywordsItem
public V2RoomAttributes addKeywordsItem(RoomTag keywordsItem)
-
getDescription
public String getDescription()
Room description.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
description
public V2RoomAttributes description(String description)
-
isisMembersCanInvite
public Boolean isisMembersCanInvite()
If true, any chatroom participant can add new participants. If false, only owners can add new participants.- Returns:
- membersCanInvite
-
setMembersCanInvite
public void setMembersCanInvite(Boolean membersCanInvite)
-
membersCanInvite
public V2RoomAttributes membersCanInvite(Boolean membersCanInvite)
-
isisDiscoverable
public Boolean isisDiscoverable()
If true, this chatroom (name, description and messages) can be searched and listed by non-participants. If false, only participants can search this room.- Returns:
- discoverable
-
setDiscoverable
public void setDiscoverable(Boolean discoverable)
-
discoverable
public V2RoomAttributes discoverable(Boolean discoverable)
-
isisPublic
public Boolean isisPublic()
If true, this is a public chatroom. IF false, a private chatroom.- Returns:
- _public
-
setPublic
public void setPublic(Boolean _public)
-
_public
public V2RoomAttributes _public(Boolean _public)
-
isisReadOnly
public Boolean isisReadOnly()
If true, only stream owners can send messages.- Returns:
- readOnly
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
readOnly
public V2RoomAttributes readOnly(Boolean readOnly)
-
isisCopyProtected
public Boolean isisCopyProtected()
If true, clients disable the clipboard copy for content in this stream.- Returns:
- copyProtected
-
setCopyProtected
public void setCopyProtected(Boolean copyProtected)
-
copyProtected
public V2RoomAttributes copyProtected(Boolean copyProtected)
-
-