Package io.gs2.realtime.model
Class Room
java.lang.Object
io.gs2.realtime.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()getPort()inthashCode()voidsetCreatedAt(Long createdAt) voidsetEncryptionKey(String encryptionKey) voidsetIpAddress(String ipAddress) voidvoidsetNotificationUserIds(List<String> notificationUserIds) voidvoidsetRevision(Long revision) voidvoidsetUpdatedAt(Long updatedAt) com.fasterxml.jackson.databind.JsonNodetoJson()withCreatedAt(Long createdAt) withEncryptionKey(String encryptionKey) withIpAddress(String ipAddress) withNotificationUserIds(List<String> notificationUserIds) withRevision(Long revision) withRoomId(String roomId) withUpdatedAt(Long updatedAt)
-
Constructor Details
-
Room
public Room()
-
-
Method Details
-
getRoomId
-
setRoomId
-
withRoomId
-
getName
-
setName
-
withName
-
getIpAddress
-
setIpAddress
-
withIpAddress
-
getPort
-
setPort
-
withPort
-
getEncryptionKey
-
setEncryptionKey
-
withEncryptionKey
-
getNotificationUserIds
-
setNotificationUserIds
-
withNotificationUserIds
-
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
-