Class SemanticSetThresholdRequest

java.lang.Object
dev.cachly.api.model.SemanticSetThresholdRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-04-17T00:43:25.074268745Z[Etc/UTC]", comments="Generator version: 7.5.0") public class SemanticSetThresholdRequest extends Object
SemanticSetThresholdRequest
  • Field Details

  • Constructor Details

    • SemanticSetThresholdRequest

      public SemanticSetThresholdRequest()
  • Method Details

    • namespace

      public SemanticSetThresholdRequest namespace(String namespace)
    • getNamespace

      @Nullable public String getNamespace()
      Get namespace
      Returns:
      namespace
    • setNamespace

      public void setNamespace(String namespace)
    • threshold

      public SemanticSetThresholdRequest threshold(BigDecimal threshold)
    • getThreshold

      @Nonnull public BigDecimal getThreshold()
      Get threshold minimum: 0.5 maximum: 1.0
      Returns:
      threshold
    • setThreshold

      public void setThreshold(BigDecimal threshold)
    • equals

      public boolean equals(Object o)
      Return true if this semanticSetThreshold_request object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

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

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string