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

com.seeq.model.AddOnInputV1 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;
/**
 * AddOnInputV1
 */
public class AddOnInputV1 {
  @JsonProperty("addOnComponents")
  private String addOnComponents = null;

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

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

  @JsonProperty("inDevelopment")
  private Boolean inDevelopment = false;

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

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

  public AddOnInputV1 addOnComponents(String addOnComponents) {
    this.addOnComponents = addOnComponents;
    return this;
  }

   /**
   * A stringified representation of the items on this server that comprise this installed add-on.
   * @return addOnComponents
  **/
  @Schema(description = "A stringified representation of the items on this server that comprise this installed add-on.")
  public String getAddOnComponents() {
    return addOnComponents;
  }

  public void setAddOnComponents(String addOnComponents) {
    this.addOnComponents = addOnComponents;
  }

  public AddOnInputV1 addOnIdentifier(String addOnIdentifier) {
    this.addOnIdentifier = addOnIdentifier;
    return this;
  }

   /**
   * The unique identifier associated with this Add-on, shared across all Seeq server instances.
   * @return addOnIdentifier
  **/
  @Schema(required = true, description = "The unique identifier associated with this Add-on, shared across all Seeq server instances.")
  public String getAddOnIdentifier() {
    return addOnIdentifier;
  }

  public void setAddOnIdentifier(String addOnIdentifier) {
    this.addOnIdentifier = addOnIdentifier;
  }

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

   /**
   * Clarifying information or other plain language description of this item. An input of just whitespaces is equivalent to a null input.
   * @return description
  **/
  @Schema(description = "Clarifying information or other plain language description of this item. An input of just whitespaces is equivalent to a null input.")
  public String getDescription() {
    return description;
  }

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

  public AddOnInputV1 inDevelopment(Boolean inDevelopment) {
    this.inDevelopment = inDevelopment;
    return this;
  }

   /**
   * Whether this item is in Development Mode, meaning that it is not allowed to be shared with any other users. Non-administrators may only install Add-on Tools in Development Mode. This property may not be altered after creation. Defaults to false.
   * @return inDevelopment
  **/
  @Schema(description = "Whether this item is in Development Mode, meaning that it is not allowed to be shared with any other users. Non-administrators may only install Add-on Tools in Development Mode. This property may not be altered after creation. Defaults to false.")
  public Boolean getInDevelopment() {
    return inDevelopment;
  }

  public void setInDevelopment(Boolean inDevelopment) {
    this.inDevelopment = inDevelopment;
  }

  public AddOnInputV1 name(String name) {
    this.name = name;
    return this;
  }

   /**
   * Human readable name. Required during creation. An input of just whitespaces is equivalent to a null input.
   * @return name
  **/
  @Schema(required = true, description = "Human readable name. Required during creation. An input of just whitespaces is equivalent to a null input.")
  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public AddOnInputV1 versionString(String versionString) {
    this.versionString = versionString;
    return this;
  }

   /**
   * The version of this add-on. Using a MAJOR.MINOR.PATCH version format is preferred.
   * @return versionString
  **/
  @Schema(description = "The version of this add-on. Using a MAJOR.MINOR.PATCH version format is preferred.")
  public String getVersionString() {
    return versionString;
  }

  public void setVersionString(String versionString) {
    this.versionString = versionString;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    AddOnInputV1 addOnInputV1 = (AddOnInputV1) o;
    return Objects.equals(this.addOnComponents, addOnInputV1.addOnComponents) &&
        Objects.equals(this.addOnIdentifier, addOnInputV1.addOnIdentifier) &&
        Objects.equals(this.description, addOnInputV1.description) &&
        Objects.equals(this.inDevelopment, addOnInputV1.inDevelopment) &&
        Objects.equals(this.name, addOnInputV1.name) &&
        Objects.equals(this.versionString, addOnInputV1.versionString);
  }

  @Override
  public int hashCode() {
    return Objects.hash(addOnComponents, addOnIdentifier, description, inDevelopment, name, versionString);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class AddOnInputV1 {\n");
    
    sb.append("    addOnComponents: ").append(toIndentedString(addOnComponents)).append("\n");
    sb.append("    addOnIdentifier: ").append(toIndentedString(addOnIdentifier)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    inDevelopment: ").append(toIndentedString(inDevelopment)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    versionString: ").append(toIndentedString(versionString)).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