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

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

There is a newer version: 66.0.0-v202410141803
Show newest version
/*
 * Seeq REST API
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: 64.4.1-v202409112255
 * 
 *
 * 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;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
/**
 * The rules associated with the column definition
 */
@Schema(description = "The rules associated with the column definition")
public class ColumnRuleOutputV1 {
  @JsonProperty("arguments")
  private Map arguments = new HashMap();

  @JsonProperty("inputColumn1")
  private UUID inputColumn1 = null;

  @JsonProperty("inputColumn2")
  private UUID inputColumn2 = null;

  @JsonProperty("rule")
  private String rule = null;

  public ColumnRuleOutputV1 arguments(Map arguments) {
    this.arguments = arguments;
    return this;
  }

  public ColumnRuleOutputV1 putArgumentsItem(String key, String argumentsItem) {
    if (this.arguments == null) {
      this.arguments = new HashMap();
    }
    this.arguments.put(key, argumentsItem);
    return this;
  }

   /**
   * The column rule arguments
   * @return arguments
  **/
  @Schema(description = "The column rule arguments")
  public Map getArguments() {
    return arguments;
  }

  public void setArguments(Map arguments) {
    this.arguments = arguments;
  }

  public ColumnRuleOutputV1 inputColumn1(UUID inputColumn1) {
    this.inputColumn1 = inputColumn1;
    return this;
  }

   /**
   * The column rule input column 1 ID
   * @return inputColumn1
  **/
  @Schema(description = "The column rule input column 1 ID")
  public UUID getInputColumn1() {
    return inputColumn1;
  }

  public void setInputColumn1(UUID inputColumn1) {
    this.inputColumn1 = inputColumn1;
  }

  public ColumnRuleOutputV1 inputColumn2(UUID inputColumn2) {
    this.inputColumn2 = inputColumn2;
    return this;
  }

   /**
   * The column rule input column 2 ID
   * @return inputColumn2
  **/
  @Schema(description = "The column rule input column 2 ID")
  public UUID getInputColumn2() {
    return inputColumn2;
  }

  public void setInputColumn2(UUID inputColumn2) {
    this.inputColumn2 = inputColumn2;
  }

  public ColumnRuleOutputV1 rule(String rule) {
    this.rule = rule;
    return this;
  }

   /**
   * The column rule name
   * @return rule
  **/
  @Schema(description = "The column rule name")
  public String getRule() {
    return rule;
  }

  public void setRule(String rule) {
    this.rule = rule;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ColumnRuleOutputV1 columnRuleOutputV1 = (ColumnRuleOutputV1) o;
    return Objects.equals(this.arguments, columnRuleOutputV1.arguments) &&
        Objects.equals(this.inputColumn1, columnRuleOutputV1.inputColumn1) &&
        Objects.equals(this.inputColumn2, columnRuleOutputV1.inputColumn2) &&
        Objects.equals(this.rule, columnRuleOutputV1.rule);
  }

  @Override
  public int hashCode() {
    return Objects.hash(arguments, inputColumn1, inputColumn2, rule);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ColumnRuleOutputV1 {\n");
    
    sb.append("    arguments: ").append(toIndentedString(arguments)).append("\n");
    sb.append("    inputColumn1: ").append(toIndentedString(inputColumn1)).append("\n");
    sb.append("    inputColumn2: ").append(toIndentedString(inputColumn2)).append("\n");
    sb.append("    rule: ").append(toIndentedString(rule)).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