Package io.gs2.chat.model
Class Subscribe
java.lang.Object
io.gs2.chat.model.Subscribe
- All Implemented Interfaces:
IModel,Serializable,Comparable<Subscribe>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic SubscribefromJson(com.fasterxml.jackson.databind.JsonNode data) inthashCode()voidsetCreatedAt(Long createdAt) voidsetNotificationTypes(List<NotificationType> notificationTypes) voidsetRevision(Long revision) voidsetRoomName(String roomName) voidsetSubscribeId(String subscribeId) voidcom.fasterxml.jackson.databind.JsonNodetoJson()withCreatedAt(Long createdAt) withNotificationTypes(List<NotificationType> notificationTypes) withRevision(Long revision) withRoomName(String roomName) withSubscribeId(String subscribeId) withUserId(String userId)
-
Constructor Details
-
Subscribe
public Subscribe()
-
-
Method Details
-
getSubscribeId
-
setSubscribeId
-
withSubscribeId
-
getUserId
-
setUserId
-
withUserId
-
getRoomName
-
setRoomName
-
withRoomName
-
getNotificationTypes
-
setNotificationTypes
-
withNotificationTypes
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Subscribe>
-
hashCode
public int hashCode() -
equals
-