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

com.seeq.model.ColumnRuleConcatInputV1 Maven / Gradle / Ivy

There is a newer version: 66.0.0-v202407310200
Show newest version
/*
 * Seeq REST API
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: 64.3.0-v202405012032
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.seeq.model;

import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
/**
 * Concatenates two values. Column type must be TEXT
 */
@Schema(description = "Concatenates two values. Column type must be TEXT")
public class ColumnRuleConcatInputV1 {
  @JsonProperty("columnIndex1")
  private Integer columnIndex1 = null;

  @JsonProperty("columnIndex2")
  private Integer columnIndex2 = null;

  public ColumnRuleConcatInputV1 columnIndex1(Integer columnIndex1) {
    this.columnIndex1 = columnIndex1;
    return this;
  }

   /**
   * The index of the column that references the first item. The column index is 1-based
   * @return columnIndex1
  **/
  @Schema(required = true, description = "The index of the column that references the first item. The column index is 1-based")
  public Integer getColumnIndex1() {
    return columnIndex1;
  }

  public void setColumnIndex1(Integer columnIndex1) {
    this.columnIndex1 = columnIndex1;
  }

  public ColumnRuleConcatInputV1 columnIndex2(Integer columnIndex2) {
    this.columnIndex2 = columnIndex2;
    return this;
  }

   /**
   * The index of the column that references the second item. The column index is 1-based
   * @return columnIndex2
  **/
  @Schema(required = true, description = "The index of the column that references the second item. The column index is 1-based")
  public Integer getColumnIndex2() {
    return columnIndex2;
  }

  public void setColumnIndex2(Integer columnIndex2) {
    this.columnIndex2 = columnIndex2;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ColumnRuleConcatInputV1 columnRuleConcatInputV1 = (ColumnRuleConcatInputV1) o;
    return Objects.equals(this.columnIndex1, columnRuleConcatInputV1.columnIndex1) &&
        Objects.equals(this.columnIndex2, columnRuleConcatInputV1.columnIndex2);
  }

  @Override
  public int hashCode() {
    return Objects.hash(columnIndex1, columnIndex2);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ColumnRuleConcatInputV1 {\n");
    
    sb.append("    columnIndex1: ").append(toIndentedString(columnIndex1)).append("\n");
    sb.append("    columnIndex2: ").append(toIndentedString(columnIndex2)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy