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

com.seeq.model.AddOnToolOutputV1 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 com.seeq.model.IdentityPreviewV1;
import com.seeq.model.PermissionsV1;
import io.swagger.v3.oas.annotations.media.Schema;
/**
 * AddOnToolOutputV1
 */
public class AddOnToolOutputV1 {
  @JsonProperty("description")
  private String description = null;

  @JsonProperty("effectivePermissions")
  private PermissionsV1 effectivePermissions = null;

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

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

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

  @JsonProperty("installer")
  private IdentityPreviewV1 installer = null;

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

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

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

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

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

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

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

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

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

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

   /**
   * Clarifying information or other plain language description of this item
   * @return description
  **/
  @Schema(description = "Clarifying information or other plain language description of this item")
  public String getDescription() {
    return description;
  }

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

  public AddOnToolOutputV1 effectivePermissions(PermissionsV1 effectivePermissions) {
    this.effectivePermissions = effectivePermissions;
    return this;
  }

   /**
   * Get effectivePermissions
   * @return effectivePermissions
  **/
  @Schema(description = "")
  public PermissionsV1 getEffectivePermissions() {
    return effectivePermissions;
  }

  public void setEffectivePermissions(PermissionsV1 effectivePermissions) {
    this.effectivePermissions = effectivePermissions;
  }

  public AddOnToolOutputV1 iconClass(String iconClass) {
    this.iconClass = iconClass;
    return this;
  }

   /**
   * The icon class to be displayed for the Add-on Tool (e.g. 'fa fa-magic')
   * @return iconClass
  **/
  @Schema(required = true, description = "The icon class to be displayed for the Add-on Tool (e.g. 'fa fa-magic')")
  public String getIconClass() {
    return iconClass;
  }

  public void setIconClass(String iconClass) {
    this.iconClass = iconClass;
  }

  public AddOnToolOutputV1 id(String id) {
    this.id = id;
    return this;
  }

   /**
   * The ID that can be used to interact with the item
   * @return id
  **/
  @Schema(required = true, description = "The ID that can be used to interact with the item")
  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public AddOnToolOutputV1 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.
   * @return inDevelopment
  **/
  @Schema(description = "Whether this item is in Development Mode, meaning that it is not allowed to be shared with any other users.")
  public Boolean getInDevelopment() {
    return inDevelopment;
  }

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

  public AddOnToolOutputV1 installer(IdentityPreviewV1 installer) {
    this.installer = installer;
    return this;
  }

   /**
   * Get installer
   * @return installer
  **/
  @Schema(description = "")
  public IdentityPreviewV1 getInstaller() {
    return installer;
  }

  public void setInstaller(IdentityPreviewV1 installer) {
    this.installer = installer;
  }

   /**
   * Whether item is archived
   * @return isArchived
  **/
  @Schema(description = "Whether item is archived")
  public Boolean getIsArchived() {
    return isArchived;
  }

  public AddOnToolOutputV1 linkType(String linkType) {
    this.linkType = linkType;
    return this;
  }

   /**
   * Add-on Tool link type (one of 'window', 'tab' or 'none')
   * @return linkType
  **/
  @Schema(required = true, description = "Add-on Tool link type (one of 'window', 'tab' or 'none')")
  public String getLinkType() {
    return linkType;
  }

  public void setLinkType(String linkType) {
    this.linkType = linkType;
  }

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

   /**
   * The human readable name
   * @return name
  **/
  @Schema(required = true, description = "The human readable name")
  public String getName() {
    return name;
  }

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

  public AddOnToolOutputV1 reuseWindow(Boolean reuseWindow) {
    this.reuseWindow = reuseWindow;
    return this;
  }

   /**
   * Whether the window is reused if already opened. Only used when 'linkType' is set to 'window'.
   * @return reuseWindow
  **/
  @Schema(required = true, description = "Whether the window is reused if already opened. Only used when 'linkType' is set to 'window'.")
  public Boolean getReuseWindow() {
    return reuseWindow;
  }

  public void setReuseWindow(Boolean reuseWindow) {
    this.reuseWindow = reuseWindow;
  }

  public AddOnToolOutputV1 sortKey(String sortKey) {
    this.sortKey = sortKey;
    return this;
  }

   /**
   * Determines the order in which Add-on Tools are displayed in the tool panel
   * @return sortKey
  **/
  @Schema(required = true, description = "Determines the order in which Add-on Tools are displayed in the tool panel")
  public String getSortKey() {
    return sortKey;
  }

  public void setSortKey(String sortKey) {
    this.sortKey = sortKey;
  }

  public AddOnToolOutputV1 statusMessage(String statusMessage) {
    this.statusMessage = statusMessage;
    return this;
  }

   /**
   * A plain language status message with information about any issues that may have been encountered during an operation
   * @return statusMessage
  **/
  @Schema(description = "A plain language status message with information about any issues that may have been encountered during an operation")
  public String getStatusMessage() {
    return statusMessage;
  }

  public void setStatusMessage(String statusMessage) {
    this.statusMessage = statusMessage;
  }

  public AddOnToolOutputV1 targetUrl(String targetUrl) {
    this.targetUrl = targetUrl;
    return this;
  }

   /**
   * URL of the target application
   * @return targetUrl
  **/
  @Schema(required = true, description = "URL of the target application")
  public String getTargetUrl() {
    return targetUrl;
  }

  public void setTargetUrl(String targetUrl) {
    this.targetUrl = targetUrl;
  }

  public AddOnToolOutputV1 type(String type) {
    this.type = type;
    return this;
  }

   /**
   * The type of the item
   * @return type
  **/
  @Schema(required = true, description = "The type of the item")
  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public AddOnToolOutputV1 windowDetails(String windowDetails) {
    this.windowDetails = windowDetails;
    return this;
  }

   /**
   * Display characteristics used when 'linkType' is set to 'window'
   * @return windowDetails
  **/
  @Schema(required = true, description = "Display characteristics used when 'linkType' is set to 'window'")
  public String getWindowDetails() {
    return windowDetails;
  }

  public void setWindowDetails(String windowDetails) {
    this.windowDetails = windowDetails;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    AddOnToolOutputV1 addOnToolOutputV1 = (AddOnToolOutputV1) o;
    return Objects.equals(this.description, addOnToolOutputV1.description) &&
        Objects.equals(this.effectivePermissions, addOnToolOutputV1.effectivePermissions) &&
        Objects.equals(this.iconClass, addOnToolOutputV1.iconClass) &&
        Objects.equals(this.id, addOnToolOutputV1.id) &&
        Objects.equals(this.inDevelopment, addOnToolOutputV1.inDevelopment) &&
        Objects.equals(this.installer, addOnToolOutputV1.installer) &&
        Objects.equals(this.isArchived, addOnToolOutputV1.isArchived) &&
        Objects.equals(this.linkType, addOnToolOutputV1.linkType) &&
        Objects.equals(this.name, addOnToolOutputV1.name) &&
        Objects.equals(this.reuseWindow, addOnToolOutputV1.reuseWindow) &&
        Objects.equals(this.sortKey, addOnToolOutputV1.sortKey) &&
        Objects.equals(this.statusMessage, addOnToolOutputV1.statusMessage) &&
        Objects.equals(this.targetUrl, addOnToolOutputV1.targetUrl) &&
        Objects.equals(this.type, addOnToolOutputV1.type) &&
        Objects.equals(this.windowDetails, addOnToolOutputV1.windowDetails);
  }

  @Override
  public int hashCode() {
    return Objects.hash(description, effectivePermissions, iconClass, id, inDevelopment, installer, isArchived, linkType, name, reuseWindow, sortKey, statusMessage, targetUrl, type, windowDetails);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class AddOnToolOutputV1 {\n");
    
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    effectivePermissions: ").append(toIndentedString(effectivePermissions)).append("\n");
    sb.append("    iconClass: ").append(toIndentedString(iconClass)).append("\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    inDevelopment: ").append(toIndentedString(inDevelopment)).append("\n");
    sb.append("    installer: ").append(toIndentedString(installer)).append("\n");
    sb.append("    isArchived: ").append(toIndentedString(isArchived)).append("\n");
    sb.append("    linkType: ").append(toIndentedString(linkType)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    reuseWindow: ").append(toIndentedString(reuseWindow)).append("\n");
    sb.append("    sortKey: ").append(toIndentedString(sortKey)).append("\n");
    sb.append("    statusMessage: ").append(toIndentedString(statusMessage)).append("\n");
    sb.append("    targetUrl: ").append(toIndentedString(targetUrl)).append("\n");
    sb.append("    type: ").append(toIndentedString(type)).append("\n");
    sb.append("    windowDetails: ").append(toIndentedString(windowDetails)).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