com.seeq.model.FormulaDependencyInputV1 Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 65.1.3-v202408082312
*
*
* 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;
/**
* List of items the formula is dependent on
*/
@Schema(description = "List of items the formula is dependent on")
public class FormulaDependencyInputV1 {
@JsonProperty("columnName")
private String columnName = null;
@JsonProperty("variableName")
private String variableName = null;
public FormulaDependencyInputV1 columnName(String columnName) {
this.columnName = columnName;
return this;
}
/**
* name of the dependency column
* @return columnName
**/
@Schema(required = true, description = "name of the dependency column")
public String getColumnName() {
return columnName;
}
public void setColumnName(String columnName) {
this.columnName = columnName;
}
public FormulaDependencyInputV1 variableName(String variableName) {
this.variableName = variableName;
return this;
}
/**
* variable name of the dependency
* @return variableName
**/
@Schema(required = true, description = "variable name of the dependency")
public String getVariableName() {
return variableName;
}
public void setVariableName(String variableName) {
this.variableName = variableName;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FormulaDependencyInputV1 formulaDependencyInputV1 = (FormulaDependencyInputV1) o;
return Objects.equals(this.columnName, formulaDependencyInputV1.columnName) &&
Objects.equals(this.variableName, formulaDependencyInputV1.variableName);
}
@Override
public int hashCode() {
return Objects.hash(columnName, variableName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormulaDependencyInputV1 {\n");
sb.append(" columnName: ").append(toIndentedString(columnName)).append("\n");
sb.append(" variableName: ").append(toIndentedString(variableName)).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 ");
}
}