Package io.gs2.inbox.model
Class GlobalMessageMaster
java.lang.Object
io.gs2.inbox.model.GlobalMessageMaster
- All Implemented Interfaces:
IModel,Serializable,Comparable<GlobalMessageMaster>
public class GlobalMessageMaster
extends Object
implements IModel, Serializable, Comparable<GlobalMessageMaster>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic GlobalMessageMasterfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()inthashCode()voidsetCreatedAt(Long createdAt) voidsetExpiresAt(Long expiresAt) voidsetExpiresTimeSpan(TimeSpan expiresTimeSpan) voidsetGlobalMessageId(String globalMessageId) voidsetMetadata(String metadata) voidvoidsetReadAcquireActions(List<AcquireAction> readAcquireActions) voidsetRevision(Long revision) com.fasterxml.jackson.databind.JsonNodetoJson()withCreatedAt(Long createdAt) withExpiresAt(Long expiresAt) withExpiresTimeSpan(TimeSpan expiresTimeSpan) withGlobalMessageId(String globalMessageId) withMetadata(String metadata) withReadAcquireActions(List<AcquireAction> readAcquireActions) withRevision(Long revision)
-
Constructor Details
-
GlobalMessageMaster
public GlobalMessageMaster()
-
-
Method Details
-
getGlobalMessageId
-
setGlobalMessageId
-
withGlobalMessageId
-
getName
-
setName
-
withName
-
getMetadata
-
setMetadata
-
withMetadata
-
getReadAcquireActions
-
setReadAcquireActions
-
withReadAcquireActions
-
getExpiresTimeSpan
-
setExpiresTimeSpan
-
withExpiresTimeSpan
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getExpiresAt
-
setExpiresAt
-
withExpiresAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<GlobalMessageMaster>
-
hashCode
public int hashCode() -
equals
-