@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-18T12:11:35.250Z[Etc/UTC]")
public class V2RoomAttributes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JSON_PROPERTY_COPY_PROTECTED |
static java.lang.String |
JSON_PROPERTY_DESCRIPTION |
static java.lang.String |
JSON_PROPERTY_DISCOVERABLE |
static java.lang.String |
JSON_PROPERTY_KEYWORDS |
static java.lang.String |
JSON_PROPERTY_MEMBERS_CAN_INVITE |
static java.lang.String |
JSON_PROPERTY_NAME |
static java.lang.String |
JSON_PROPERTY_PUBLIC |
static java.lang.String |
JSON_PROPERTY_READ_ONLY |
Constructor and Description |
---|
V2RoomAttributes() |
Modifier and Type | Method and Description |
---|---|
V2RoomAttributes |
_public(java.lang.Boolean _public) |
V2RoomAttributes |
addKeywordsItem(RoomTag keywordsItem) |
V2RoomAttributes |
copyProtected(java.lang.Boolean copyProtected) |
V2RoomAttributes |
description(java.lang.String description) |
V2RoomAttributes |
discoverable(java.lang.Boolean discoverable) |
boolean |
equals(java.lang.Object o)
Return true if this V2RoomAttributes object is equal to o.
|
java.lang.Boolean |
getCopyProtected()
If true, clients disable the clipboard copy for content in this stream.
|
java.lang.String |
getDescription()
Room description.
|
java.lang.Boolean |
getDiscoverable()
If true, this chatroom (name, description and messages) can be searched and listed by non-participants.
|
java.util.List<RoomTag> |
getKeywords()
Keywords for search to use to find this room
|
java.lang.Boolean |
getMembersCanInvite()
If true, any chatroom participant can add new participants.
|
java.lang.String |
getName()
Room name.
|
java.lang.Boolean |
getPublic()
If true, this is a public chatroom.
|
java.lang.Boolean |
getReadOnly()
If true, only stream owners can send messages.
|
int |
hashCode() |
V2RoomAttributes |
keywords(java.util.List<RoomTag> keywords) |
V2RoomAttributes |
membersCanInvite(java.lang.Boolean membersCanInvite) |
V2RoomAttributes |
name(java.lang.String name) |
V2RoomAttributes |
readOnly(java.lang.Boolean readOnly) |
void |
setCopyProtected(java.lang.Boolean copyProtected) |
void |
setDescription(java.lang.String description) |
void |
setDiscoverable(java.lang.Boolean discoverable) |
void |
setKeywords(java.util.List<RoomTag> keywords) |
void |
setMembersCanInvite(java.lang.Boolean membersCanInvite) |
void |
setName(java.lang.String name) |
void |
setPublic(java.lang.Boolean _public) |
void |
setReadOnly(java.lang.Boolean readOnly) |
java.lang.String |
toString() |
public static final java.lang.String JSON_PROPERTY_NAME
public static final java.lang.String JSON_PROPERTY_KEYWORDS
public static final java.lang.String JSON_PROPERTY_DESCRIPTION
public static final java.lang.String JSON_PROPERTY_MEMBERS_CAN_INVITE
public static final java.lang.String JSON_PROPERTY_DISCOVERABLE
public static final java.lang.String JSON_PROPERTY_PUBLIC
public static final java.lang.String JSON_PROPERTY_READ_ONLY
public static final java.lang.String JSON_PROPERTY_COPY_PROTECTED
public V2RoomAttributes name(java.lang.String name)
@Nullable public java.lang.String getName()
public void setName(java.lang.String name)
public V2RoomAttributes keywords(java.util.List<RoomTag> keywords)
public V2RoomAttributes addKeywordsItem(RoomTag keywordsItem)
@Nullable public java.util.List<RoomTag> getKeywords()
public void setKeywords(java.util.List<RoomTag> keywords)
public V2RoomAttributes description(java.lang.String description)
@Nullable public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public V2RoomAttributes membersCanInvite(java.lang.Boolean membersCanInvite)
@Nullable public java.lang.Boolean getMembersCanInvite()
public void setMembersCanInvite(java.lang.Boolean membersCanInvite)
public V2RoomAttributes discoverable(java.lang.Boolean discoverable)
@Nullable public java.lang.Boolean getDiscoverable()
public void setDiscoverable(java.lang.Boolean discoverable)
public V2RoomAttributes _public(java.lang.Boolean _public)
@Nullable public java.lang.Boolean getPublic()
public void setPublic(java.lang.Boolean _public)
public V2RoomAttributes readOnly(java.lang.Boolean readOnly)
@Nullable public java.lang.Boolean getReadOnly()
public void setReadOnly(java.lang.Boolean readOnly)
public V2RoomAttributes copyProtected(java.lang.Boolean copyProtected)
@Nullable public java.lang.Boolean getCopyProtected()
public void setCopyProtected(java.lang.Boolean copyProtected)
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