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

com.seeq.model.ConfigurationOptionOutputV1 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: 60.1.3-v202304250417
 * 
 *
 * 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.ArrayList;
import java.util.List;
/**
 * List of all configuration options.
 */
@Schema(description = "List of all configuration options.")
public class ConfigurationOptionOutputV1 {
  @JsonProperty("advanced")
  private Boolean advanced = null;

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

  @JsonProperty("defaultDependencies")
  private List defaultDependencies = new ArrayList();

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

  @JsonProperty("defaultValue")
  private Object defaultValue = null;

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

  @JsonProperty("modifiable")
  private Boolean modifiable = null;

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

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

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

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

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

  @JsonProperty("value")
  private Object value = null;

  public ConfigurationOptionOutputV1 advanced(Boolean advanced) {
    this.advanced = advanced;
    return this;
  }

   /**
   * Get advanced
   * @return advanced
  **/
  @Schema(description = "")
  public Boolean getAdvanced() {
    return advanced;
  }

  public void setAdvanced(Boolean advanced) {
    this.advanced = advanced;
  }

  public ConfigurationOptionOutputV1 allowedValues(String allowedValues) {
    this.allowedValues = allowedValues;
    return this;
  }

   /**
   * Get allowedValues
   * @return allowedValues
  **/
  @Schema(description = "")
  public String getAllowedValues() {
    return allowedValues;
  }

  public void setAllowedValues(String allowedValues) {
    this.allowedValues = allowedValues;
  }

  public ConfigurationOptionOutputV1 defaultDependencies(List defaultDependencies) {
    this.defaultDependencies = defaultDependencies;
    return this;
  }

  public ConfigurationOptionOutputV1 addDefaultDependenciesItem(String defaultDependenciesItem) {
    if (this.defaultDependencies == null) {
      this.defaultDependencies = new ArrayList();
    }
    this.defaultDependencies.add(defaultDependenciesItem);
    return this;
  }

   /**
   * Get defaultDependencies
   * @return defaultDependencies
  **/
  @Schema(description = "")
  public List getDefaultDependencies() {
    return defaultDependencies;
  }

  public void setDefaultDependencies(List defaultDependencies) {
    this.defaultDependencies = defaultDependencies;
  }

  public ConfigurationOptionOutputV1 defaultDescription(String defaultDescription) {
    this.defaultDescription = defaultDescription;
    return this;
  }

   /**
   * Get defaultDescription
   * @return defaultDescription
  **/
  @Schema(description = "")
  public String getDefaultDescription() {
    return defaultDescription;
  }

  public void setDefaultDescription(String defaultDescription) {
    this.defaultDescription = defaultDescription;
  }

  public ConfigurationOptionOutputV1 defaultValue(Object defaultValue) {
    this.defaultValue = defaultValue;
    return this;
  }

   /**
   * Get defaultValue
   * @return defaultValue
  **/
  @Schema(description = "")
  public Object getDefaultValue() {
    return defaultValue;
  }

  public void setDefaultValue(Object defaultValue) {
    this.defaultValue = defaultValue;
  }

  public ConfigurationOptionOutputV1 description(String description) {
    this.description = description;
    return this;
  }

   /**
   * Get description
   * @return description
  **/
  @Schema(description = "")
  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public ConfigurationOptionOutputV1 modifiable(Boolean modifiable) {
    this.modifiable = modifiable;
    return this;
  }

   /**
   * Get modifiable
   * @return modifiable
  **/
  @Schema(description = "")
  public Boolean getModifiable() {
    return modifiable;
  }

  public void setModifiable(Boolean modifiable) {
    this.modifiable = modifiable;
  }

  public ConfigurationOptionOutputV1 note(String note) {
    this.note = note;
    return this;
  }

   /**
   * Get note
   * @return note
  **/
  @Schema(description = "")
  public String getNote() {
    return note;
  }

  public void setNote(String note) {
    this.note = note;
  }

  public ConfigurationOptionOutputV1 path(String path) {
    this.path = path;
    return this;
  }

   /**
   * Get path
   * @return path
  **/
  @Schema(description = "")
  public String getPath() {
    return path;
  }

  public void setPath(String path) {
    this.path = path;
  }

  public ConfigurationOptionOutputV1 registration(String registration) {
    this.registration = registration;
    return this;
  }

   /**
   * Get registration
   * @return registration
  **/
  @Schema(description = "")
  public String getRegistration() {
    return registration;
  }

  public void setRegistration(String registration) {
    this.registration = registration;
  }

  public ConfigurationOptionOutputV1 registrationDescription(String registrationDescription) {
    this.registrationDescription = registrationDescription;
    return this;
  }

   /**
   * Get registrationDescription
   * @return registrationDescription
  **/
  @Schema(description = "")
  public String getRegistrationDescription() {
    return registrationDescription;
  }

  public void setRegistrationDescription(String registrationDescription) {
    this.registrationDescription = registrationDescription;
  }

  public ConfigurationOptionOutputV1 units(String units) {
    this.units = units;
    return this;
  }

   /**
   * Get units
   * @return units
  **/
  @Schema(description = "")
  public String getUnits() {
    return units;
  }

  public void setUnits(String units) {
    this.units = units;
  }

  public ConfigurationOptionOutputV1 value(Object value) {
    this.value = value;
    return this;
  }

   /**
   * Get value
   * @return value
  **/
  @Schema(description = "")
  public Object getValue() {
    return value;
  }

  public void setValue(Object value) {
    this.value = value;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ConfigurationOptionOutputV1 configurationOptionOutputV1 = (ConfigurationOptionOutputV1) o;
    return Objects.equals(this.advanced, configurationOptionOutputV1.advanced) &&
        Objects.equals(this.allowedValues, configurationOptionOutputV1.allowedValues) &&
        Objects.equals(this.defaultDependencies, configurationOptionOutputV1.defaultDependencies) &&
        Objects.equals(this.defaultDescription, configurationOptionOutputV1.defaultDescription) &&
        Objects.equals(this.defaultValue, configurationOptionOutputV1.defaultValue) &&
        Objects.equals(this.description, configurationOptionOutputV1.description) &&
        Objects.equals(this.modifiable, configurationOptionOutputV1.modifiable) &&
        Objects.equals(this.note, configurationOptionOutputV1.note) &&
        Objects.equals(this.path, configurationOptionOutputV1.path) &&
        Objects.equals(this.registration, configurationOptionOutputV1.registration) &&
        Objects.equals(this.registrationDescription, configurationOptionOutputV1.registrationDescription) &&
        Objects.equals(this.units, configurationOptionOutputV1.units) &&
        Objects.equals(this.value, configurationOptionOutputV1.value);
  }

  @Override
  public int hashCode() {
    return Objects.hash(advanced, allowedValues, defaultDependencies, defaultDescription, defaultValue, description, modifiable, note, path, registration, registrationDescription, units, value);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ConfigurationOptionOutputV1 {\n");
    
    sb.append("    advanced: ").append(toIndentedString(advanced)).append("\n");
    sb.append("    allowedValues: ").append(toIndentedString(allowedValues)).append("\n");
    sb.append("    defaultDependencies: ").append(toIndentedString(defaultDependencies)).append("\n");
    sb.append("    defaultDescription: ").append(toIndentedString(defaultDescription)).append("\n");
    sb.append("    defaultValue: ").append(toIndentedString(defaultValue)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    modifiable: ").append(toIndentedString(modifiable)).append("\n");
    sb.append("    note: ").append(toIndentedString(note)).append("\n");
    sb.append("    path: ").append(toIndentedString(path)).append("\n");
    sb.append("    registration: ").append(toIndentedString(registration)).append("\n");
    sb.append("    registrationDescription: ").append(toIndentedString(registrationDescription)).append("\n");
    sb.append("    units: ").append(toIndentedString(units)).append("\n");
    sb.append("    value: ").append(toIndentedString(value)).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