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

com.databricks.sdk.service.serving.DataframeSplitInput Maven / Gradle / Ivy

There is a newer version: 0.35.0
Show newest version
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.

package com.databricks.sdk.service.serving;

import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collection;
import java.util.Objects;

@Generated
public class DataframeSplitInput {
  /** */
  @JsonProperty("columns")
  private Collection columns;

  /** */
  @JsonProperty("data")
  private Collection data;

  /** */
  @JsonProperty("index")
  private Collection index;

  public DataframeSplitInput setColumns(Collection columns) {
    this.columns = columns;
    return this;
  }

  public Collection getColumns() {
    return columns;
  }

  public DataframeSplitInput setData(Collection data) {
    this.data = data;
    return this;
  }

  public Collection getData() {
    return data;
  }

  public DataframeSplitInput setIndex(Collection index) {
    this.index = index;
    return this;
  }

  public Collection getIndex() {
    return index;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    DataframeSplitInput that = (DataframeSplitInput) o;
    return Objects.equals(columns, that.columns)
        && Objects.equals(data, that.data)
        && Objects.equals(index, that.index);
  }

  @Override
  public int hashCode() {
    return Objects.hash(columns, data, index);
  }

  @Override
  public String toString() {
    return new ToStringer(DataframeSplitInput.class)
        .add("columns", columns)
        .add("data", data)
        .add("index", index)
        .toString();
  }
}