@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-09T08:50:27.590Z[Etc/UTC]") public class RoomMemberDemotedFromOwnerMessage extends V2BaseMessage
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JSON_PROPERTY_DEMOTED_BY_USER_ID |
static java.lang.String |
JSON_PROPERTY_DEMOTED_USER_ID |
JSON_PROPERTY_ID, JSON_PROPERTY_STREAM_ID, JSON_PROPERTY_TIMESTAMP, JSON_PROPERTY_V2MESSAGE_TYPE
Constructor and Description |
---|
RoomMemberDemotedFromOwnerMessage() |
Modifier and Type | Method and Description |
---|---|
RoomMemberDemotedFromOwnerMessage |
demotedByUserId(java.lang.Long demotedByUserId) |
RoomMemberDemotedFromOwnerMessage |
demotedUserId(java.lang.Long demotedUserId) |
boolean |
equals(java.lang.Object o)
Return true if this RoomMemberDemotedFromOwnerMessage object is equal to o.
|
java.lang.Long |
getDemotedByUserId()
Get demotedByUserId
|
java.lang.Long |
getDemotedUserId()
Get demotedUserId
|
int |
hashCode() |
void |
setDemotedByUserId(java.lang.Long demotedByUserId) |
void |
setDemotedUserId(java.lang.Long demotedUserId) |
java.lang.String |
toString() |
getId, getStreamId, getTimestamp, getV2messageType, id, setId, setStreamId, setTimestamp, setV2messageType, streamId, timestamp, v2messageType
public static final java.lang.String JSON_PROPERTY_DEMOTED_BY_USER_ID
public static final java.lang.String JSON_PROPERTY_DEMOTED_USER_ID
public RoomMemberDemotedFromOwnerMessage demotedByUserId(java.lang.Long demotedByUserId)
@Nullable public java.lang.Long getDemotedByUserId()
public void setDemotedByUserId(java.lang.Long demotedByUserId)
public RoomMemberDemotedFromOwnerMessage demotedUserId(java.lang.Long demotedUserId)
@Nullable public java.lang.Long getDemotedUserId()
public void setDemotedUserId(java.lang.Long demotedUserId)
public boolean equals(java.lang.Object o)
equals
in class V2BaseMessage
public int hashCode()
hashCode
in class V2BaseMessage
public java.lang.String toString()
toString
in class V2BaseMessage