Package io.gs2.serialKey.model
Class SerialKey
java.lang.Object
io.gs2.serialKey.model.SerialKey
- All Implemented Interfaces:
IModel,Serializable,Comparable<SerialKey>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic SerialKeyfromJson(com.fasterxml.jackson.databind.JsonNode data) getCode()inthashCode()voidsetCampaignModelName(String campaignModelName) voidvoidsetCreatedAt(Long createdAt) voidsetMetadata(String metadata) voidsetRevision(Long revision) voidsetSerialKeyId(String serialKeyId) voidvoidsetUpdatedAt(Long updatedAt) voidvoidsetUsedUserId(String usedUserId) com.fasterxml.jackson.databind.JsonNodetoJson()withCampaignModelName(String campaignModelName) withCreatedAt(Long createdAt) withMetadata(String metadata) withRevision(Long revision) withSerialKeyId(String serialKeyId) withStatus(String status) withUpdatedAt(Long updatedAt) withUsedAt(Long usedAt) withUsedUserId(String usedUserId)
-
Constructor Details
-
SerialKey
public SerialKey()
-
-
Method Details
-
getSerialKeyId
-
setSerialKeyId
-
withSerialKeyId
-
getCampaignModelName
-
setCampaignModelName
-
withCampaignModelName
-
getCode
-
setCode
-
withCode
-
getMetadata
-
setMetadata
-
withMetadata
-
getStatus
-
setStatus
-
withStatus
-
getUsedUserId
-
setUsedUserId
-
withUsedUserId
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getUsedAt
-
setUsedAt
-
withUsedAt
-
getUpdatedAt
-
setUpdatedAt
-
withUpdatedAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<SerialKey>
-
hashCode
public int hashCode() -
equals
-