Package io.gs2.showcase.model
Class RandomShowcase
java.lang.Object
io.gs2.showcase.model.RandomShowcase
- All Implemented Interfaces:
IModel,Serializable,Comparable<RandomShowcase>
public class RandomShowcase
extends Object
implements IModel, Serializable, Comparable<RandomShowcase>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic RandomShowcasefromJson(com.fasterxml.jackson.databind.JsonNode data) getName()inthashCode()voidsetBaseTimestamp(Long baseTimestamp) voidsetDisplayItems(List<RandomDisplayItemModel> displayItems) voidsetMaximumNumberOfChoice(Integer maximumNumberOfChoice) voidsetMetadata(String metadata) voidvoidsetRandomShowcaseId(String randomShowcaseId) voidsetResetIntervalHours(Integer resetIntervalHours) voidsetSalesPeriodEventId(String salesPeriodEventId) com.fasterxml.jackson.databind.JsonNodetoJson()withBaseTimestamp(Long baseTimestamp) withDisplayItems(List<RandomDisplayItemModel> displayItems) withMaximumNumberOfChoice(Integer maximumNumberOfChoice) withMetadata(String metadata) withRandomShowcaseId(String randomShowcaseId) withResetIntervalHours(Integer resetIntervalHours) withSalesPeriodEventId(String salesPeriodEventId)
-
Constructor Details
-
RandomShowcase
public RandomShowcase()
-
-
Method Details
-
getRandomShowcaseId
-
setRandomShowcaseId
-
withRandomShowcaseId
-
getName
-
setName
-
withName
-
getMetadata
-
setMetadata
-
withMetadata
-
getMaximumNumberOfChoice
-
setMaximumNumberOfChoice
-
withMaximumNumberOfChoice
-
getDisplayItems
-
setDisplayItems
-
withDisplayItems
-
getBaseTimestamp
-
setBaseTimestamp
-
withBaseTimestamp
-
getResetIntervalHours
-
setResetIntervalHours
-
withResetIntervalHours
-
getSalesPeriodEventId
-
setSalesPeriodEventId
-
withSalesPeriodEventId
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<RandomShowcase>
-
hashCode
public int hashCode() -
equals
-