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

com.seeq.model.SeeAlsoDocOutputV1 Maven / Gradle / Ivy

There is a newer version: 66.0.0-v202410141803
Show newest version
/*
 * 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 com.seeq.model.SeeAlsoDocOutputV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
/**
 * Child links of this document
 */
@Schema(description = "Child links of this document")
public class SeeAlsoDocOutputV1 {
  @JsonProperty("children")
  private List children = new ArrayList();

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

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

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

  public SeeAlsoDocOutputV1 children(List children) {
    this.children = children;
    return this;
  }

  public SeeAlsoDocOutputV1 addChildrenItem(SeeAlsoDocOutputV1 childrenItem) {
    if (this.children == null) {
      this.children = new ArrayList();
    }
    this.children.add(childrenItem);
    return this;
  }

   /**
   * Children links of this document
   * @return children
  **/
  @Schema(description = "Children links of this document")
  public List getChildren() {
    return children;
  }

  public void setChildren(List children) {
    this.children = children;
  }

  public SeeAlsoDocOutputV1 documentationHref(String documentationHref) {
    this.documentationHref = documentationHref;
    return this;
  }

   /**
   * The href of the link
   * @return documentationHref
  **/
  @Schema(description = "The href of the link")
  public String getDocumentationHref() {
    return documentationHref;
  }

  public void setDocumentationHref(String documentationHref) {
    this.documentationHref = documentationHref;
  }

  public SeeAlsoDocOutputV1 shortDescription(String shortDescription) {
    this.shortDescription = shortDescription;
    return this;
  }

   /**
   * A short description of the linked content
   * @return shortDescription
  **/
  @Schema(description = "A short description of the linked content")
  public String getShortDescription() {
    return shortDescription;
  }

  public void setShortDescription(String shortDescription) {
    this.shortDescription = shortDescription;
  }

  public SeeAlsoDocOutputV1 title(String title) {
    this.title = title;
    return this;
  }

   /**
   * The title of the link
   * @return title
  **/
  @Schema(description = "The title of the link")
  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    SeeAlsoDocOutputV1 seeAlsoDocOutputV1 = (SeeAlsoDocOutputV1) o;
    return Objects.equals(this.children, seeAlsoDocOutputV1.children) &&
        Objects.equals(this.documentationHref, seeAlsoDocOutputV1.documentationHref) &&
        Objects.equals(this.shortDescription, seeAlsoDocOutputV1.shortDescription) &&
        Objects.equals(this.title, seeAlsoDocOutputV1.title);
  }

  @Override
  public int hashCode() {
    return Objects.hash(children, documentationHref, shortDescription, title);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class SeeAlsoDocOutputV1 {\n");
    
    sb.append("    children: ").append(toIndentedString(children)).append("\n");
    sb.append("    documentationHref: ").append(toIndentedString(documentationHref)).append("\n");
    sb.append("    shortDescription: ").append(toIndentedString(shortDescription)).append("\n");
    sb.append("    title: ").append(toIndentedString(title)).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