com.wordnik.swagger.models.ExternalDocs Maven / Gradle / Ivy
The newest version!
package com.wordnik.swagger.models;
/**
* Container for a External Documentation Object.
*/
public class ExternalDocs {
/** A short description of the target documentation. GFM syntax can be used for rich text representation. */
private String description;
/** Required. The URL for the target documentation. Value MUST be in the format of a URL. */
private String url;
public ExternalDocs(){}
public ExternalDocs(String description, String url) {
this.setDescription(description);
this.setUrl(url);
}
public ExternalDocs description(String description) {
this.setDescription(description);
return this;
}
public ExternalDocs url(String url) {
this.setUrl(url);
return this;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy