Package io.gs2.showcase.model
Class RandomDisplayItem
java.lang.Object
io.gs2.showcase.model.RandomDisplayItem
- All Implemented Interfaces:
IModel,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RandomDisplayItemfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()inthashCode()voidsetAcquireActions(List<AcquireAction> acquireActions) voidsetConsumeActions(List<ConsumeAction> consumeActions) voidsetCurrentPurchaseCount(Integer currentPurchaseCount) voidsetMaximumPurchaseCount(Integer maximumPurchaseCount) voidsetMetadata(String metadata) voidvoidsetShowcaseName(String showcaseName) com.fasterxml.jackson.databind.JsonNodetoJson()withAcquireActions(List<AcquireAction> acquireActions) withConsumeActions(List<ConsumeAction> consumeActions) withCurrentPurchaseCount(Integer currentPurchaseCount) withMaximumPurchaseCount(Integer maximumPurchaseCount) withMetadata(String metadata) withShowcaseName(String showcaseName)
-
Constructor Details
-
RandomDisplayItem
public RandomDisplayItem()
-
-
Method Details
-
getShowcaseName
-
setShowcaseName
-
withShowcaseName
-
getName
-
setName
-
withName
-
getMetadata
-
setMetadata
-
withMetadata
-
getConsumeActions
-
setConsumeActions
-
withConsumeActions
-
getAcquireActions
-
setAcquireActions
-
withAcquireActions
-
getCurrentPurchaseCount
-
setCurrentPurchaseCount
-
withCurrentPurchaseCount
-
getMaximumPurchaseCount
-
setMaximumPurchaseCount
-
withMaximumPurchaseCount
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
hashCode
public int hashCode() -
equals
-