com.seeq.model.AddOnToolInputV1 Maven / Gradle / Ivy
/*
* 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;
/**
* AddOnToolInputV1
*/
public class AddOnToolInputV1 {
@JsonProperty("description")
private String description = null;
@JsonProperty("iconClass")
private String iconClass = null;
@JsonProperty("inDevelopment")
private Boolean inDevelopment = 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("targetUrl")
private String targetUrl = null;
@JsonProperty("windowDetails")
private String windowDetails = null;
public AddOnToolInputV1 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 AddOnToolInputV1 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 AddOnToolInputV1 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 AddOnToolInputV1 linkType(String linkType) {
this.linkType = linkType;
return this;
}
/**
* Add-on Tool link type. Can be one of 'window', 'tab' or 'none'. When not specified it defaults to 'window'
* @return linkType
**/
@Schema(description = "Add-on Tool link type. Can be one of 'window', 'tab' or 'none'. When not specified it defaults to 'window'")
public String getLinkType() {
return linkType;
}
public void setLinkType(String linkType) {
this.linkType = linkType;
}
public AddOnToolInputV1 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 AddOnToolInputV1 reuseWindow(Boolean reuseWindow) {
this.reuseWindow = reuseWindow;
return this;
}
/**
* Whether the window is reused if already opened. Only used when 'linkType' is set to 'window'. Defaults to false.
* @return reuseWindow
**/
@Schema(description = "Whether the window is reused if already opened. Only used when 'linkType' is set to 'window'. Defaults to false.")
public Boolean getReuseWindow() {
return reuseWindow;
}
public void setReuseWindow(Boolean reuseWindow) {
this.reuseWindow = reuseWindow;
}
public AddOnToolInputV1 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 AddOnToolInputV1 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 AddOnToolInputV1 windowDetails(String windowDetails) {
this.windowDetails = windowDetails;
return this;
}
/**
* Display characteristics used when 'linkType' is set to 'window'.
* @return windowDetails
**/
@Schema(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;
}
AddOnToolInputV1 addOnToolInputV1 = (AddOnToolInputV1) o;
return Objects.equals(this.description, addOnToolInputV1.description) &&
Objects.equals(this.iconClass, addOnToolInputV1.iconClass) &&
Objects.equals(this.inDevelopment, addOnToolInputV1.inDevelopment) &&
Objects.equals(this.linkType, addOnToolInputV1.linkType) &&
Objects.equals(this.name, addOnToolInputV1.name) &&
Objects.equals(this.reuseWindow, addOnToolInputV1.reuseWindow) &&
Objects.equals(this.sortKey, addOnToolInputV1.sortKey) &&
Objects.equals(this.targetUrl, addOnToolInputV1.targetUrl) &&
Objects.equals(this.windowDetails, addOnToolInputV1.windowDetails);
}
@Override
public int hashCode() {
return Objects.hash(description, iconClass, inDevelopment, linkType, name, reuseWindow, sortKey, targetUrl, windowDetails);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AddOnToolInputV1 {\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" iconClass: ").append(toIndentedString(iconClass)).append("\n");
sb.append(" inDevelopment: ").append(toIndentedString(inDevelopment)).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(" targetUrl: ").append(toIndentedString(targetUrl)).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 ");
}
}