java.lang.Object
com.ants.platform.client.resources.commons.types.ScoreConfig

public final class ScoreConfig extends Object
  • Method Details

    • getId

      public String getId()
    • getName

      public String getName()
    • getCreatedAt

      public OffsetDateTime getCreatedAt()
    • getUpdatedAt

      public OffsetDateTime getUpdatedAt()
    • getProjectId

      public String getProjectId()
    • getDataType

      public ScoreDataType getDataType()
    • getIsArchived

      public boolean getIsArchived()
      Returns:
      Whether the score config is archived. Defaults to false
    • getMinValue

      public Optional<Double> getMinValue()
      Returns:
      Sets minimum value for numerical scores. If not set, the minimum value defaults to -∞
    • getMaxValue

      public Optional<Double> getMaxValue()
      Returns:
      Sets maximum value for numerical scores. If not set, the maximum value defaults to +∞
    • getCategories

      public Optional<List<ConfigCategory>> getCategories()
      Returns:
      Configures custom categories for categorical scores
    • getDescription

      public Optional<String> getDescription()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static ScoreConfig.IdStage builder()