Package io.gs2.enchant.model
Class BalanceParameterModel
java.lang.Object
io.gs2.enchant.model.BalanceParameterModel
- All Implemented Interfaces:
IModel,Serializable,Comparable<BalanceParameterModel>
public class BalanceParameterModel
extends Object
implements IModel, Serializable, Comparable<BalanceParameterModel>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic BalanceParameterModelfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()inthashCode()voidsetBalanceParameterModelId(String balanceParameterModelId) voidsetInitialValueStrategy(String initialValueStrategy) voidsetMetadata(String metadata) voidvoidsetParameters(List<BalanceParameterValueModel> parameters) voidsetTotalValue(Long totalValue) com.fasterxml.jackson.databind.JsonNodetoJson()withBalanceParameterModelId(String balanceParameterModelId) withInitialValueStrategy(String initialValueStrategy) withMetadata(String metadata) withParameters(List<BalanceParameterValueModel> parameters) withTotalValue(Long totalValue)
-
Constructor Details
-
BalanceParameterModel
public BalanceParameterModel()
-
-
Method Details
-
getBalanceParameterModelId
-
setBalanceParameterModelId
-
withBalanceParameterModelId
-
getName
-
setName
-
withName
-
getMetadata
-
setMetadata
-
withMetadata
-
getTotalValue
-
setTotalValue
-
withTotalValue
-
getInitialValueStrategy
-
setInitialValueStrategy
-
withInitialValueStrategy
-
getParameters
-
setParameters
-
withParameters
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<BalanceParameterModel>
-
hashCode
public int hashCode() -
equals
-