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

com.github.erosb.kappa.parser.model.v3.ExternalDocs Maven / Gradle / Ivy

The newest version!
package com.github.erosb.kappa.parser.model.v3;

public class ExternalDocs extends AbsExtendedOpenApiSchema {
  private String description;
  private String url;

  // Description
  public String getDescription() {
    return description;
  }

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

  // Url
  public String getUrl() {
    return url;
  }

  public ExternalDocs setUrl(String url) {
    this.url = url;
    return this;
  }

  @Override
  public ExternalDocs copy() {
    ExternalDocs copy = new ExternalDocs();

    copy.setDescription(getDescription());
    copy.setUrl(getUrl());
    copy.setExtensions(copySimpleMap(getExtensions()));

    return copy;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy