Class RateModel

java.lang.Object
io.gs2.exchange.model.RateModel
All Implemented Interfaces:
IModel, Serializable, Comparable<RateModel>

public class RateModel extends Object implements IModel, Serializable, Comparable<RateModel>
See Also:
  • Constructor Details

    • RateModel

      public RateModel()
  • Method Details

    • getRateModelId

      public String getRateModelId()
    • setRateModelId

      public void setRateModelId(String rateModelId)
    • withRateModelId

      public RateModel withRateModelId(String rateModelId)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • withName

      public RateModel withName(String name)
    • getMetadata

      public String getMetadata()
    • setMetadata

      public void setMetadata(String metadata)
    • withMetadata

      public RateModel withMetadata(String metadata)
    • getConsumeActions

      public List<ConsumeAction> getConsumeActions()
    • setConsumeActions

      public void setConsumeActions(List<ConsumeAction> consumeActions)
    • withConsumeActions

      public RateModel withConsumeActions(List<ConsumeAction> consumeActions)
    • getTimingType

      public String getTimingType()
    • setTimingType

      public void setTimingType(String timingType)
    • withTimingType

      public RateModel withTimingType(String timingType)
    • getLockTime

      public Integer getLockTime()
    • setLockTime

      public void setLockTime(Integer lockTime)
    • withLockTime

      public RateModel withLockTime(Integer lockTime)
    • getAcquireActions

      public List<AcquireAction> getAcquireActions()
    • setAcquireActions

      public void setAcquireActions(List<AcquireAction> acquireActions)
    • withAcquireActions

      public RateModel withAcquireActions(List<AcquireAction> acquireActions)
    • fromJson

      public static RateModel fromJson(com.fasterxml.jackson.databind.JsonNode data)
    • toJson

      public com.fasterxml.jackson.databind.JsonNode toJson()
    • compareTo

      public int compareTo(RateModel o)
      Specified by:
      compareTo in interface Comparable<RateModel>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object