Package io.gs2.mission.model
Class CounterModel
java.lang.Object
io.gs2.mission.model.CounterModel
- All Implemented Interfaces:
IModel,Serializable,Comparable<CounterModel>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic CounterModelfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()inthashCode()voidsetChallengePeriodEventId(String challengePeriodEventId) voidsetCounterId(String counterId) voidsetMetadata(String metadata) voidvoidsetScopes(List<CounterScopeModel> scopes) com.fasterxml.jackson.databind.JsonNodetoJson()withChallengePeriodEventId(String challengePeriodEventId) withCounterId(String counterId) withMetadata(String metadata) withScopes(List<CounterScopeModel> scopes)
-
Constructor Details
-
CounterModel
public CounterModel()
-
-
Method Details
-
getCounterId
-
setCounterId
-
withCounterId
-
getName
-
setName
-
withName
-
getMetadata
-
setMetadata
-
withMetadata
-
getScopes
-
setScopes
-
withScopes
-
getChallengePeriodEventId
-
setChallengePeriodEventId
-
withChallengePeriodEventId
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<CounterModel>
-
hashCode
public int hashCode() -
equals
-