All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hydra.ext.com.microsoft.kusto.kql.SummarizeCommand Maven / Gradle / Ivy

There is a newer version: 0.8.1
Show newest version
// Note: this is an automatically generated file. Do not edit.

package hydra.ext.com.microsoft.kusto.kql;

import java.io.Serializable;

public class SummarizeCommand implements Serializable {
  public static final hydra.core.Name TYPE_NAME = new hydra.core.Name("hydra/ext/com/microsoft/kusto/kql.SummarizeCommand");
  
  public static final hydra.core.Name FIELD_NAME_COLUMNS = new hydra.core.Name("columns");
  
  public static final hydra.core.Name FIELD_NAME_BY = new hydra.core.Name("by");
  
  public final java.util.List columns;
  
  public final java.util.List by;
  
  public SummarizeCommand (java.util.List columns, java.util.List by) {
    java.util.Objects.requireNonNull((columns));
    java.util.Objects.requireNonNull((by));
    this.columns = columns;
    this.by = by;
  }
  
  @Override
  public boolean equals(Object other) {
    if (!(other instanceof SummarizeCommand)) {
      return false;
    }
    SummarizeCommand o = (SummarizeCommand) (other);
    return columns.equals(o.columns) && by.equals(o.by);
  }
  
  @Override
  public int hashCode() {
    return 2 * columns.hashCode() + 3 * by.hashCode();
  }
  
  public SummarizeCommand withColumns(java.util.List columns) {
    java.util.Objects.requireNonNull((columns));
    return new SummarizeCommand(columns, by);
  }
  
  public SummarizeCommand withBy(java.util.List by) {
    java.util.Objects.requireNonNull((by));
    return new SummarizeCommand(columns, by);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy