Package com.symphony.api.model
Class V3RoomAttributes
- java.lang.Object
-
- com.symphony.api.model.V3RoomAttributes
-
public class V3RoomAttributes extends Object
-
-
Constructor Summary
Constructors Constructor Description V3RoomAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V3RoomAttributes
_public(Boolean _public)
V3RoomAttributes
addKeywordsItem(RoomTag keywordsItem)
V3RoomAttributes
copyProtected(Boolean copyProtected)
V3RoomAttributes
crossPod(Boolean crossPod)
V3RoomAttributes
description(String description)
V3RoomAttributes
discoverable(Boolean discoverable)
String
getDescription()
Room description.List<RoomTag>
getKeywords()
Keywords for search to use to find this roomString
getName()
Room name.String
getSubType()
Possible value EMAIL (indicate this room will be used for Email Integration)Boolean
isisCopyProtected()
If true, clients disable the clipboard copy for content in this stream.Boolean
isisCrossPod()
If true, this room is a cross pod roomBoolean
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
isisMultiLateralRoom()
If true, this is a multi latetal room where we can find users belonging to more than 2 companies.Boolean
isisPublic()
If true, this is a public chatroom.Boolean
isisReadOnly()
If true, only stream owners can send messages.Boolean
isisViewHistory()
If true, new members can view the room chat history of the room.V3RoomAttributes
keywords(List<RoomTag> keywords)
V3RoomAttributes
membersCanInvite(Boolean membersCanInvite)
V3RoomAttributes
multiLateralRoom(Boolean multiLateralRoom)
V3RoomAttributes
name(String name)
V3RoomAttributes
readOnly(Boolean readOnly)
void
setCopyProtected(Boolean copyProtected)
void
setCrossPod(Boolean crossPod)
void
setDescription(String description)
void
setDiscoverable(Boolean discoverable)
void
setKeywords(List<RoomTag> keywords)
void
setMembersCanInvite(Boolean membersCanInvite)
void
setMultiLateralRoom(Boolean multiLateralRoom)
void
setName(String name)
void
setPublic(Boolean _public)
void
setReadOnly(Boolean readOnly)
void
setSubType(String subType)
void
setViewHistory(Boolean viewHistory)
V3RoomAttributes
subType(String subType)
String
toString()
V3RoomAttributes
viewHistory(Boolean viewHistory)
-
-
-
Method Detail
-
getName
public String getName()
Room name.- Returns:
- name
-
setName
public void setName(String name)
-
name
public V3RoomAttributes name(String name)
-
getKeywords
public List<RoomTag> getKeywords()
Keywords for search to use to find this room- Returns:
- keywords
-
keywords
public V3RoomAttributes keywords(List<RoomTag> keywords)
-
addKeywordsItem
public V3RoomAttributes addKeywordsItem(RoomTag keywordsItem)
-
getDescription
public String getDescription()
Room description.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
description
public V3RoomAttributes 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 V3RoomAttributes 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 V3RoomAttributes 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 V3RoomAttributes _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 V3RoomAttributes 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 V3RoomAttributes copyProtected(Boolean copyProtected)
-
isisCrossPod
public Boolean isisCrossPod()
If true, this room is a cross pod room- Returns:
- crossPod
-
setCrossPod
public void setCrossPod(Boolean crossPod)
-
crossPod
public V3RoomAttributes crossPod(Boolean crossPod)
-
isisViewHistory
public Boolean isisViewHistory()
If true, new members can view the room chat history of the room.- Returns:
- viewHistory
-
setViewHistory
public void setViewHistory(Boolean viewHistory)
-
viewHistory
public V3RoomAttributes viewHistory(Boolean viewHistory)
-
isisMultiLateralRoom
public Boolean isisMultiLateralRoom()
If true, this is a multi latetal room where we can find users belonging to more than 2 companies.- Returns:
- multiLateralRoom
-
setMultiLateralRoom
public void setMultiLateralRoom(Boolean multiLateralRoom)
-
multiLateralRoom
public V3RoomAttributes multiLateralRoom(Boolean multiLateralRoom)
-
getSubType
public String getSubType()
Possible value EMAIL (indicate this room will be used for Email Integration)- Returns:
- subType
-
setSubType
public void setSubType(String subType)
-
subType
public V3RoomAttributes subType(String subType)
-
-