@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-06-03T09:37:19.394Z[Etc/UTC]")
public class V2StreamAttributes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JSON_PROPERTY_ACTIVE |
static java.lang.String |
JSON_PROPERTY_CROSS_POD |
static java.lang.String |
JSON_PROPERTY_ID |
static java.lang.String |
JSON_PROPERTY_LAST_MESSAGE_DATE |
static java.lang.String |
JSON_PROPERTY_ORIGIN |
static java.lang.String |
JSON_PROPERTY_ROOM_ATTRIBUTES |
static java.lang.String |
JSON_PROPERTY_STREAM_ATTRIBUTES |
static java.lang.String |
JSON_PROPERTY_STREAM_TYPE |
Constructor and Description |
---|
V2StreamAttributes() |
Modifier and Type | Method and Description |
---|---|
V2StreamAttributes |
active(java.lang.Boolean active) |
V2StreamAttributes |
crossPod(java.lang.Boolean crossPod) |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getActive()
If true, this stream is active.
|
java.lang.Boolean |
getCrossPod()
If true, this is a cross-pod stream.
|
java.lang.String |
getId()
The stream ID.
|
java.lang.Long |
getLastMessageDate()
unix timestamp of the last message sent in the stream
|
java.lang.String |
getOrigin()
INTERNAL if the creator of this stream belongs to the pod, EXTERNAL otherwise
|
V2RoomSpecificStreamAttributes |
getRoomAttributes()
Get roomAttributes
|
V2ConversationSpecificStreamAttributes |
getStreamAttributes()
Get streamAttributes
|
V2StreamType |
getStreamType()
Get streamType
|
int |
hashCode() |
V2StreamAttributes |
id(java.lang.String id) |
V2StreamAttributes |
lastMessageDate(java.lang.Long lastMessageDate) |
V2StreamAttributes |
origin(java.lang.String origin) |
V2StreamAttributes |
roomAttributes(V2RoomSpecificStreamAttributes roomAttributes) |
void |
setActive(java.lang.Boolean active) |
void |
setCrossPod(java.lang.Boolean crossPod) |
void |
setId(java.lang.String id) |
void |
setLastMessageDate(java.lang.Long lastMessageDate) |
void |
setOrigin(java.lang.String origin) |
void |
setRoomAttributes(V2RoomSpecificStreamAttributes roomAttributes) |
void |
setStreamAttributes(V2ConversationSpecificStreamAttributes streamAttributes) |
void |
setStreamType(V2StreamType streamType) |
V2StreamAttributes |
streamAttributes(V2ConversationSpecificStreamAttributes streamAttributes) |
V2StreamAttributes |
streamType(V2StreamType streamType) |
java.lang.String |
toString() |
public static final java.lang.String JSON_PROPERTY_ID
public static final java.lang.String JSON_PROPERTY_CROSS_POD
public static final java.lang.String JSON_PROPERTY_ORIGIN
public static final java.lang.String JSON_PROPERTY_ACTIVE
public static final java.lang.String JSON_PROPERTY_LAST_MESSAGE_DATE
public static final java.lang.String JSON_PROPERTY_STREAM_TYPE
public static final java.lang.String JSON_PROPERTY_STREAM_ATTRIBUTES
public static final java.lang.String JSON_PROPERTY_ROOM_ATTRIBUTES
public V2StreamAttributes id(java.lang.String id)
public java.lang.String getId()
public void setId(java.lang.String id)
public V2StreamAttributes crossPod(java.lang.Boolean crossPod)
public java.lang.Boolean getCrossPod()
public void setCrossPod(java.lang.Boolean crossPod)
public V2StreamAttributes origin(java.lang.String origin)
public java.lang.String getOrigin()
public void setOrigin(java.lang.String origin)
public V2StreamAttributes active(java.lang.Boolean active)
public java.lang.Boolean getActive()
public void setActive(java.lang.Boolean active)
public V2StreamAttributes lastMessageDate(java.lang.Long lastMessageDate)
public java.lang.Long getLastMessageDate()
public void setLastMessageDate(java.lang.Long lastMessageDate)
public V2StreamAttributes streamType(V2StreamType streamType)
public V2StreamType getStreamType()
public void setStreamType(V2StreamType streamType)
public V2StreamAttributes streamAttributes(V2ConversationSpecificStreamAttributes streamAttributes)
public V2ConversationSpecificStreamAttributes getStreamAttributes()
public void setStreamAttributes(V2ConversationSpecificStreamAttributes streamAttributes)
public V2StreamAttributes roomAttributes(V2RoomSpecificStreamAttributes roomAttributes)
public V2RoomSpecificStreamAttributes getRoomAttributes()
public void setRoomAttributes(V2RoomSpecificStreamAttributes roomAttributes)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object