Package io.gs2.chat.model
Class Room
java.lang.Object
io.gs2.chat.model.Room
- All Implemented Interfaces:
IModel,Serializable,Comparable<Room>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic RoomfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()inthashCode()voidsetCreatedAt(Long createdAt) voidsetMetadata(String metadata) voidvoidsetPassword(String password) voidsetRevision(Long revision) voidvoidsetUpdatedAt(Long updatedAt) voidvoidsetWhiteListUserIds(List<String> whiteListUserIds) com.fasterxml.jackson.databind.JsonNodetoJson()withCreatedAt(Long createdAt) withMetadata(String metadata) withPassword(String password) withRevision(Long revision) withRoomId(String roomId) withUpdatedAt(Long updatedAt) withUserId(String userId) withWhiteListUserIds(List<String> whiteListUserIds)
-
Constructor Details
-
Room
public Room()
-
-
Method Details
-
getRoomId
-
setRoomId
-
withRoomId
-
getName
-
setName
-
withName
-
getUserId
-
setUserId
-
withUserId
-
getMetadata
-
setMetadata
-
withMetadata
-
getPassword
-
setPassword
-
withPassword
-
getWhiteListUserIds
-
setWhiteListUserIds
-
withWhiteListUserIds
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
withUpdatedAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Room>
-
hashCode
public int hashCode() -
equals
-