com.seeq.model.FormulaDocSummaryOutputV1 Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 65.1.3-v202408082312
*
*
* 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;
/**
* FormulaDocSummaryOutputV1
*/
public class FormulaDocSummaryOutputV1 {
@JsonProperty("description")
private String description = null;
@JsonProperty("documentationHref")
private String documentationHref = null;
@JsonProperty("excelSynonyms")
private List excelSynonyms = new ArrayList();
@JsonProperty("fluent")
private Boolean fluent = false;
@JsonProperty("keywords")
private List keywords = new ArrayList();
@JsonProperty("name")
private String name = null;
@JsonProperty("shortDescription")
private String shortDescription = null;
public FormulaDocSummaryOutputV1 description(String description) {
this.description = description;
return this;
}
/**
* A detailed description of the page
* @return description
**/
@Schema(description = "A detailed description of the page")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public FormulaDocSummaryOutputV1 documentationHref(String documentationHref) {
this.documentationHref = documentationHref;
return this;
}
/**
* The href to the documentation
* @return documentationHref
**/
@Schema(description = "The href to the documentation")
public String getDocumentationHref() {
return documentationHref;
}
public void setDocumentationHref(String documentationHref) {
this.documentationHref = documentationHref;
}
public FormulaDocSummaryOutputV1 excelSynonyms(List excelSynonyms) {
this.excelSynonyms = excelSynonyms;
return this;
}
public FormulaDocSummaryOutputV1 addExcelSynonymsItem(String excelSynonymsItem) {
if (this.excelSynonyms == null) {
this.excelSynonyms = new ArrayList();
}
this.excelSynonyms.add(excelSynonymsItem);
return this;
}
/**
* Search synonyms for this document, generally corresponding to an excel function
* @return excelSynonyms
**/
@Schema(description = "Search synonyms for this document, generally corresponding to an excel function")
public List getExcelSynonyms() {
return excelSynonyms;
}
public void setExcelSynonyms(List excelSynonyms) {
this.excelSynonyms = excelSynonyms;
}
public FormulaDocSummaryOutputV1 fluent(Boolean fluent) {
this.fluent = fluent;
return this;
}
/**
* Get fluent
* @return fluent
**/
@Schema(description = "")
public Boolean getFluent() {
return fluent;
}
public void setFluent(Boolean fluent) {
this.fluent = fluent;
}
public FormulaDocSummaryOutputV1 keywords(List keywords) {
this.keywords = keywords;
return this;
}
public FormulaDocSummaryOutputV1 addKeywordsItem(String keywordsItem) {
if (this.keywords == null) {
this.keywords = new ArrayList();
}
this.keywords.add(keywordsItem);
return this;
}
/**
* Keywords of the documentation page
* @return keywords
**/
@Schema(description = "Keywords of the documentation page")
public List getKeywords() {
return keywords;
}
public void setKeywords(List keywords) {
this.keywords = keywords;
}
public FormulaDocSummaryOutputV1 name(String name) {
this.name = name;
return this;
}
/**
* The identifier of the documentation
* @return name
**/
@Schema(description = "The identifier of the documentation")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public FormulaDocSummaryOutputV1 shortDescription(String shortDescription) {
this.shortDescription = shortDescription;
return this;
}
/**
* A short description of the page
* @return shortDescription
**/
@Schema(description = "A short description of the page")
public String getShortDescription() {
return shortDescription;
}
public void setShortDescription(String shortDescription) {
this.shortDescription = shortDescription;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FormulaDocSummaryOutputV1 formulaDocSummaryOutputV1 = (FormulaDocSummaryOutputV1) o;
return Objects.equals(this.description, formulaDocSummaryOutputV1.description) &&
Objects.equals(this.documentationHref, formulaDocSummaryOutputV1.documentationHref) &&
Objects.equals(this.excelSynonyms, formulaDocSummaryOutputV1.excelSynonyms) &&
Objects.equals(this.fluent, formulaDocSummaryOutputV1.fluent) &&
Objects.equals(this.keywords, formulaDocSummaryOutputV1.keywords) &&
Objects.equals(this.name, formulaDocSummaryOutputV1.name) &&
Objects.equals(this.shortDescription, formulaDocSummaryOutputV1.shortDescription);
}
@Override
public int hashCode() {
return Objects.hash(description, documentationHref, excelSynonyms, fluent, keywords, name, shortDescription);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormulaDocSummaryOutputV1 {\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" documentationHref: ").append(toIndentedString(documentationHref)).append("\n");
sb.append(" excelSynonyms: ").append(toIndentedString(excelSynonyms)).append("\n");
sb.append(" fluent: ").append(toIndentedString(fluent)).append("\n");
sb.append(" keywords: ").append(toIndentedString(keywords)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" shortDescription: ").append(toIndentedString(shortDescription)).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 ");
}
}