Class QueryIrGroupBy

java.lang.Object
ai.shipeasy.admin.model.QueryIrGroupBy

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class QueryIrGroupBy extends Object
Optional group-by clause (ignored for experiment analysis).
  • Field Details

  • Constructor Details

    • QueryIrGroupBy

      public QueryIrGroupBy()
  • Method Details

    • op

      public QueryIrGroupBy op(@Nonnull QueryIrGroupBy.OpEnum op)
    • getOp

      @Nonnull public QueryIrGroupBy.OpEnum getOp()
      `by` keeps the listed labels; `without` drops them.
      Returns:
      op
    • setOp

      public void setOp(@Nonnull QueryIrGroupBy.OpEnum op)
    • labels

      public QueryIrGroupBy labels(@Nonnull List<String> labels)
    • addLabelsItem

      public QueryIrGroupBy addLabelsItem(String labelsItem)
    • getLabels

      @Nonnull public List<String> getLabels()
      Labels to group by (max 5).
      Returns:
      labels
    • setLabels

      public void setLabels(@Nonnull List<String> labels)
    • equals

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

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

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

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to QueryIrGroupBy
    • fromJson

      public static QueryIrGroupBy fromJson(String jsonString) throws IOException
      Create an instance of QueryIrGroupBy given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of QueryIrGroupBy
      Throws:
      IOException - if the JSON string is invalid with respect to QueryIrGroupBy
    • toJson

      public String toJson()
      Convert an instance of QueryIrGroupBy to an JSON string
      Returns:
      JSON string