Package io.gs2.lottery.model
Class LotteryModel
java.lang.Object
io.gs2.lottery.model.LotteryModel
- All Implemented Interfaces:
IModel,Serializable,Comparable<LotteryModel>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic LotteryModelfromJson(com.fasterxml.jackson.databind.JsonNode data) getMode()getName()inthashCode()voidsetChoicePrizeTableScriptId(String choicePrizeTableScriptId) voidsetLotteryModelId(String lotteryModelId) voidsetMetadata(String metadata) voidvoidvoidvoidsetPrizeTableName(String prizeTableName) com.fasterxml.jackson.databind.JsonNodetoJson()withChoicePrizeTableScriptId(String choicePrizeTableScriptId) withLotteryModelId(String lotteryModelId) withMetadata(String metadata) withMethod(String method) withPrizeTableName(String prizeTableName)
-
Constructor Details
-
LotteryModel
public LotteryModel()
-
-
Method Details
-
getLotteryModelId
-
setLotteryModelId
-
withLotteryModelId
-
getName
-
setName
-
withName
-
getMetadata
-
setMetadata
-
withMetadata
-
getMode
-
setMode
-
withMode
-
getMethod
-
setMethod
-
withMethod
-
getPrizeTableName
-
setPrizeTableName
-
withPrizeTableName
-
getChoicePrizeTableScriptId
-
setChoicePrizeTableScriptId
-
withChoicePrizeTableScriptId
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<LotteryModel>
-
hashCode
public int hashCode() -
equals
-