Package com.symphony.api.model
Class V2StreamAttributes
- java.lang.Object
-
- com.symphony.api.model.V2StreamAttributes
-
public class V2StreamAttributes extends Object
-
-
Constructor Summary
Constructors Constructor Description V2StreamAttributes()
-
Method Summary
-
-
-
Method Detail
-
getId
public String getId()
The stream ID.- Returns:
- id
-
setId
public void setId(String id)
-
id
public V2StreamAttributes id(String id)
-
isisCrossPod
public Boolean isisCrossPod()
If true, this is a cross-pod stream.- Returns:
- crossPod
-
setCrossPod
public void setCrossPod(Boolean crossPod)
-
crossPod
public V2StreamAttributes crossPod(Boolean crossPod)
-
getOrigin
public String getOrigin()
INTERNAL if the creator of this stream belongs to the pod, EXTERNAL otherwise- Returns:
- origin
-
setOrigin
public void setOrigin(String origin)
-
origin
public V2StreamAttributes origin(String origin)
-
isisActive
public Boolean isisActive()
If true, this stream is active.- Returns:
- active
-
setActive
public void setActive(Boolean active)
-
active
public V2StreamAttributes active(Boolean active)
-
getLastMessageDate
public Long getLastMessageDate()
unix timestamp of the last message sent in the stream- Returns:
- lastMessageDate
-
setLastMessageDate
public void setLastMessageDate(Long lastMessageDate)
-
lastMessageDate
public V2StreamAttributes lastMessageDate(Long lastMessageDate)
-
getStreamType
public V2StreamType getStreamType()
Get streamType- Returns:
- streamType
-
setStreamType
public void setStreamType(V2StreamType streamType)
-
streamType
public V2StreamAttributes streamType(V2StreamType streamType)
-
getStreamAttributes
public V2ConversationSpecificStreamAttributes getStreamAttributes()
Get streamAttributes- Returns:
- streamAttributes
-
setStreamAttributes
public void setStreamAttributes(V2ConversationSpecificStreamAttributes streamAttributes)
-
streamAttributes
public V2StreamAttributes streamAttributes(V2ConversationSpecificStreamAttributes streamAttributes)
-
getRoomAttributes
public V2RoomSpecificStreamAttributes getRoomAttributes()
Get roomAttributes- Returns:
- roomAttributes
-
setRoomAttributes
public void setRoomAttributes(V2RoomSpecificStreamAttributes roomAttributes)
-
roomAttributes
public V2StreamAttributes roomAttributes(V2RoomSpecificStreamAttributes roomAttributes)
-
-