com.seeq.model.ColumnRuleInputV1 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 com.seeq.model.ColumnRuleAncestorInputV1;
import com.seeq.model.ColumnRuleAssetCreatorInputV1;
import com.seeq.model.ColumnRuleConcatInputV1;
import com.seeq.model.ColumnRuleConstantInputV1;
import com.seeq.model.ColumnRuleDescendantInputV1;
import com.seeq.model.ColumnRuleEventPropertyInputV1;
import com.seeq.model.ColumnRuleFormulaCreatorInputV1;
import com.seeq.model.ColumnRuleItemPropertyInputV1;
import com.seeq.model.ColumnRulePathInputV1;
import com.seeq.model.ColumnRuleTreePathCreatorInputV1;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* The list of rules that determine the resulting value of a column. At least one rule is required
*/
@Schema(description = "The list of rules that determine the resulting value of a column. At least one rule is required")
public class ColumnRuleInputV1 {
@JsonProperty("ancestor")
private ColumnRuleAncestorInputV1 ancestor = null;
@JsonProperty("assetCreator")
private ColumnRuleAssetCreatorInputV1 assetCreator = null;
@JsonProperty("concatColumns")
private ColumnRuleConcatInputV1 concatColumns = null;
@JsonProperty("constant")
private ColumnRuleConstantInputV1 constant = null;
@JsonProperty("descendant")
private ColumnRuleDescendantInputV1 descendant = null;
@JsonProperty("eventProperty")
private ColumnRuleEventPropertyInputV1 eventProperty = null;
@JsonProperty("formulaCreator")
private ColumnRuleFormulaCreatorInputV1 formulaCreator = null;
@JsonProperty("itemProperty")
private ColumnRuleItemPropertyInputV1 itemProperty = null;
@JsonProperty("path")
private ColumnRulePathInputV1 path = null;
@JsonProperty("treePathCreator")
private ColumnRuleTreePathCreatorInputV1 treePathCreator = null;
public ColumnRuleInputV1 ancestor(ColumnRuleAncestorInputV1 ancestor) {
this.ancestor = ancestor;
return this;
}
/**
* Get ancestor
* @return ancestor
**/
@Schema(description = "")
public ColumnRuleAncestorInputV1 getAncestor() {
return ancestor;
}
public void setAncestor(ColumnRuleAncestorInputV1 ancestor) {
this.ancestor = ancestor;
}
public ColumnRuleInputV1 assetCreator(ColumnRuleAssetCreatorInputV1 assetCreator) {
this.assetCreator = assetCreator;
return this;
}
/**
* Get assetCreator
* @return assetCreator
**/
@Schema(description = "")
public ColumnRuleAssetCreatorInputV1 getAssetCreator() {
return assetCreator;
}
public void setAssetCreator(ColumnRuleAssetCreatorInputV1 assetCreator) {
this.assetCreator = assetCreator;
}
public ColumnRuleInputV1 concatColumns(ColumnRuleConcatInputV1 concatColumns) {
this.concatColumns = concatColumns;
return this;
}
/**
* Get concatColumns
* @return concatColumns
**/
@Schema(description = "")
public ColumnRuleConcatInputV1 getConcatColumns() {
return concatColumns;
}
public void setConcatColumns(ColumnRuleConcatInputV1 concatColumns) {
this.concatColumns = concatColumns;
}
public ColumnRuleInputV1 constant(ColumnRuleConstantInputV1 constant) {
this.constant = constant;
return this;
}
/**
* Get constant
* @return constant
**/
@Schema(description = "")
public ColumnRuleConstantInputV1 getConstant() {
return constant;
}
public void setConstant(ColumnRuleConstantInputV1 constant) {
this.constant = constant;
}
public ColumnRuleInputV1 descendant(ColumnRuleDescendantInputV1 descendant) {
this.descendant = descendant;
return this;
}
/**
* Get descendant
* @return descendant
**/
@Schema(description = "")
public ColumnRuleDescendantInputV1 getDescendant() {
return descendant;
}
public void setDescendant(ColumnRuleDescendantInputV1 descendant) {
this.descendant = descendant;
}
public ColumnRuleInputV1 eventProperty(ColumnRuleEventPropertyInputV1 eventProperty) {
this.eventProperty = eventProperty;
return this;
}
/**
* Get eventProperty
* @return eventProperty
**/
@Schema(description = "")
public ColumnRuleEventPropertyInputV1 getEventProperty() {
return eventProperty;
}
public void setEventProperty(ColumnRuleEventPropertyInputV1 eventProperty) {
this.eventProperty = eventProperty;
}
public ColumnRuleInputV1 formulaCreator(ColumnRuleFormulaCreatorInputV1 formulaCreator) {
this.formulaCreator = formulaCreator;
return this;
}
/**
* Get formulaCreator
* @return formulaCreator
**/
@Schema(description = "")
public ColumnRuleFormulaCreatorInputV1 getFormulaCreator() {
return formulaCreator;
}
public void setFormulaCreator(ColumnRuleFormulaCreatorInputV1 formulaCreator) {
this.formulaCreator = formulaCreator;
}
public ColumnRuleInputV1 itemProperty(ColumnRuleItemPropertyInputV1 itemProperty) {
this.itemProperty = itemProperty;
return this;
}
/**
* Get itemProperty
* @return itemProperty
**/
@Schema(description = "")
public ColumnRuleItemPropertyInputV1 getItemProperty() {
return itemProperty;
}
public void setItemProperty(ColumnRuleItemPropertyInputV1 itemProperty) {
this.itemProperty = itemProperty;
}
public ColumnRuleInputV1 path(ColumnRulePathInputV1 path) {
this.path = path;
return this;
}
/**
* Get path
* @return path
**/
@Schema(description = "")
public ColumnRulePathInputV1 getPath() {
return path;
}
public void setPath(ColumnRulePathInputV1 path) {
this.path = path;
}
public ColumnRuleInputV1 treePathCreator(ColumnRuleTreePathCreatorInputV1 treePathCreator) {
this.treePathCreator = treePathCreator;
return this;
}
/**
* Get treePathCreator
* @return treePathCreator
**/
@Schema(description = "")
public ColumnRuleTreePathCreatorInputV1 getTreePathCreator() {
return treePathCreator;
}
public void setTreePathCreator(ColumnRuleTreePathCreatorInputV1 treePathCreator) {
this.treePathCreator = treePathCreator;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ColumnRuleInputV1 columnRuleInputV1 = (ColumnRuleInputV1) o;
return Objects.equals(this.ancestor, columnRuleInputV1.ancestor) &&
Objects.equals(this.assetCreator, columnRuleInputV1.assetCreator) &&
Objects.equals(this.concatColumns, columnRuleInputV1.concatColumns) &&
Objects.equals(this.constant, columnRuleInputV1.constant) &&
Objects.equals(this.descendant, columnRuleInputV1.descendant) &&
Objects.equals(this.eventProperty, columnRuleInputV1.eventProperty) &&
Objects.equals(this.formulaCreator, columnRuleInputV1.formulaCreator) &&
Objects.equals(this.itemProperty, columnRuleInputV1.itemProperty) &&
Objects.equals(this.path, columnRuleInputV1.path) &&
Objects.equals(this.treePathCreator, columnRuleInputV1.treePathCreator);
}
@Override
public int hashCode() {
return Objects.hash(ancestor, assetCreator, concatColumns, constant, descendant, eventProperty, formulaCreator, itemProperty, path, treePathCreator);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ColumnRuleInputV1 {\n");
sb.append(" ancestor: ").append(toIndentedString(ancestor)).append("\n");
sb.append(" assetCreator: ").append(toIndentedString(assetCreator)).append("\n");
sb.append(" concatColumns: ").append(toIndentedString(concatColumns)).append("\n");
sb.append(" constant: ").append(toIndentedString(constant)).append("\n");
sb.append(" descendant: ").append(toIndentedString(descendant)).append("\n");
sb.append(" eventProperty: ").append(toIndentedString(eventProperty)).append("\n");
sb.append(" formulaCreator: ").append(toIndentedString(formulaCreator)).append("\n");
sb.append(" itemProperty: ").append(toIndentedString(itemProperty)).append("\n");
sb.append(" path: ").append(toIndentedString(path)).append("\n");
sb.append(" treePathCreator: ").append(toIndentedString(treePathCreator)).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 ");
}
}