Class Notice

java.lang.Object
com.qtsurfer.api.client.model.Notice

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.14.0") public class Notice extends Object
A diagnostic the engine raised while the strategy ran. Advisory: it describes something worth knowing about how the strategy is wired, not necessarily an error.
  • Field Details

  • Constructor Details

    • Notice

      public Notice()
  • Method Details

    • level

      public Notice level(@Nonnull String level)
    • getLevel

      @Nonnull public String getLevel()
      Severity as the engine classified it.
      Returns:
      level
    • setLevel

      public void setLevel(@Nonnull String level)
    • code

      public Notice code(@Nonnull String code)
    • getCode

      @Nonnull public String getCode()
      Stable identifier for the kind of finding; safe to match on.
      Returns:
      code
    • setCode

      public void setCode(@Nonnull String code)
    • message

      public Notice message(@Nonnull String message)
    • getMessage

      @Nonnull public String getMessage()
      Human-readable explanation.
      Returns:
      message
    • setMessage

      public void setMessage(@Nonnull String message)
    • provenance

      public Notice provenance(@Nullable Notice.ProvenanceEnum provenance)
    • getProvenance

      @Nullable public Notice.ProvenanceEnum getProvenance()
      Where it came from, which matters because the two silences differ: an empty list from a real run (`execute`) is a clean bill of health, while an empty list from `compile-dry-run` is only a lower bound over a bounded synthetic series.
      Returns:
      provenance
    • setProvenance

      public void setProvenance(@Nullable Notice.ProvenanceEnum provenance)
    • equals

      public boolean equals(Object o)
      Return true if this Notice 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