public class Info extends Object
Constructor and Description |
---|
Info() |
Modifier and Type | Method and Description |
---|---|
void |
addExtension(String name,
Object value) |
Info |
contact(Contact contact) |
Info |
description(String description) |
boolean |
equals(Object o) |
Info |
extensions(Map<String,Object> extensions) |
Contact |
getContact()
returns the contact property from a Info instance.
|
String |
getDescription()
returns the description property from a Info instance.
|
Map<String,Object> |
getExtensions() |
License |
getLicense()
returns the license property from a Info instance.
|
String |
getTermsOfService()
returns the termsOfService property from a Info instance.
|
String |
getTitle()
returns the title property from a Info instance.
|
String |
getVersion()
returns the version property from a Info instance.
|
int |
hashCode() |
Info |
license(License license) |
void |
setContact(Contact contact) |
void |
setDescription(String description) |
void |
setExtensions(Map<String,Object> extensions) |
void |
setLicense(License license) |
void |
setTermsOfService(String termsOfService) |
void |
setTitle(String title) |
void |
setVersion(String version) |
Info |
termsOfService(String termsOfService) |
Info |
title(String title) |
String |
toString() |
Info |
version(String version) |
public String getTitle()
public void setTitle(String title)
public String getDescription()
public void setDescription(String description)
public String getTermsOfService()
public void setTermsOfService(String termsOfService)
public Contact getContact()
public void setContact(Contact contact)
public License getLicense()
public void setLicense(License license)
public String getVersion()
public void setVersion(String version)
Copyright © 2019. All rights reserved.