Package io.gs2.idle.model
Class CategoryModel
java.lang.Object
io.gs2.idle.model.CategoryModel
- All Implemented Interfaces:
IModel,Serializable,Comparable<CategoryModel>
public class CategoryModel
extends Object
implements IModel, Serializable, Comparable<CategoryModel>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic CategoryModelfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()inthashCode()voidsetAcquireActions(List<AcquireActionList> acquireActions) voidsetCategoryModelId(String categoryModelId) voidsetDefaultMaximumIdleMinutes(Integer defaultMaximumIdleMinutes) voidsetIdlePeriodScheduleId(String idlePeriodScheduleId) voidsetMetadata(String metadata) voidvoidsetReceivePeriodScheduleId(String receivePeriodScheduleId) voidsetRewardIntervalMinutes(Integer rewardIntervalMinutes) com.fasterxml.jackson.databind.JsonNodetoJson()withAcquireActions(List<AcquireActionList> acquireActions) withCategoryModelId(String categoryModelId) withDefaultMaximumIdleMinutes(Integer defaultMaximumIdleMinutes) withIdlePeriodScheduleId(String idlePeriodScheduleId) withMetadata(String metadata) withReceivePeriodScheduleId(String receivePeriodScheduleId) withRewardIntervalMinutes(Integer rewardIntervalMinutes)
-
Constructor Details
-
CategoryModel
public CategoryModel()
-
-
Method Details
-
getCategoryModelId
-
setCategoryModelId
-
withCategoryModelId
-
getName
-
setName
-
withName
-
getMetadata
-
setMetadata
-
withMetadata
-
getRewardIntervalMinutes
-
setRewardIntervalMinutes
-
withRewardIntervalMinutes
-
getDefaultMaximumIdleMinutes
-
setDefaultMaximumIdleMinutes
-
withDefaultMaximumIdleMinutes
-
getAcquireActions
-
setAcquireActions
-
withAcquireActions
-
getIdlePeriodScheduleId
-
setIdlePeriodScheduleId
-
withIdlePeriodScheduleId
-
getReceivePeriodScheduleId
-
setReceivePeriodScheduleId
-
withReceivePeriodScheduleId
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<CategoryModel>
-
hashCode
public int hashCode() -
equals
-