@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-18T12:11:35.250Z[Etc/UTC]")
public class RoomAttributes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JSON_PROPERTY_DESCRIPTION |
static java.lang.String |
JSON_PROPERTY_DISCOVERABLE |
static java.lang.String |
JSON_PROPERTY_MEMBERS_CAN_INVITE |
static java.lang.String |
JSON_PROPERTY_NAME |
Constructor and Description |
---|
RoomAttributes() |
Modifier and Type | Method and Description |
---|---|
RoomAttributes |
description(java.lang.String description) |
RoomAttributes |
discoverable(java.lang.Boolean discoverable) |
boolean |
equals(java.lang.Object o)
Return true if this RoomAttributes object is equal to o.
|
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.lang.Boolean |
getMembersCanInvite()
If true, any chatroom participant can add new participants.
|
java.lang.String |
getName()
Room name.
|
int |
hashCode() |
RoomAttributes |
membersCanInvite(java.lang.Boolean membersCanInvite) |
RoomAttributes |
name(java.lang.String name) |
void |
setDescription(java.lang.String description) |
void |
setDiscoverable(java.lang.Boolean discoverable) |
void |
setMembersCanInvite(java.lang.Boolean membersCanInvite) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
public static final java.lang.String JSON_PROPERTY_NAME
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 RoomAttributes name(java.lang.String name)
@Nullable public java.lang.String getName()
public void setName(java.lang.String name)
public RoomAttributes description(java.lang.String description)
@Nullable public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public RoomAttributes membersCanInvite(java.lang.Boolean membersCanInvite)
@Nullable public java.lang.Boolean getMembersCanInvite()
public void setMembersCanInvite(java.lang.Boolean membersCanInvite)
public RoomAttributes discoverable(java.lang.Boolean discoverable)
@Nullable public java.lang.Boolean getDiscoverable()
public void setDiscoverable(java.lang.Boolean discoverable)
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