Class InfoImpl
- java.lang.Object
-
- io.smallrye.openapi.api.models.ExtensibleImpl<org.eclipse.microprofile.openapi.models.info.Info>
-
- io.smallrye.openapi.api.models.info.InfoImpl
-
- All Implemented Interfaces:
ModelImpl,org.eclipse.microprofile.openapi.models.Constructible,org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.info.Info>,org.eclipse.microprofile.openapi.models.info.Info
public class InfoImpl extends ExtensibleImpl<org.eclipse.microprofile.openapi.models.info.Info> implements org.eclipse.microprofile.openapi.models.info.Info, ModelImpl
An implementation of theInfoOpenAPI model interface.
-
-
Constructor Summary
Constructors Constructor Description InfoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.microprofile.openapi.models.info.ContactgetContact()StringgetDescription()org.eclipse.microprofile.openapi.models.info.LicensegetLicense()StringgetTermsOfService()StringgetTitle()StringgetVersion()voidsetContact(org.eclipse.microprofile.openapi.models.info.Contact contact)voidsetDescription(String description)voidsetLicense(org.eclipse.microprofile.openapi.models.info.License license)voidsetTermsOfService(String termsOfService)voidsetTitle(String title)voidsetVersion(String version)-
Methods inherited from class io.smallrye.openapi.api.models.ExtensibleImpl
addExtension, getExtensions, removeExtension, setExtensions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
Info.getTitle()
-
setTitle
public void setTitle(String title)
- Specified by:
setTitlein interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
Info.setTitle(java.lang.String)
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
Info.getDescription()
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
Info.setDescription(java.lang.String)
-
getTermsOfService
public String getTermsOfService()
- Specified by:
getTermsOfServicein interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
Info.getTermsOfService()
-
setTermsOfService
public void setTermsOfService(String termsOfService)
- Specified by:
setTermsOfServicein interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
Info.setTermsOfService(java.lang.String)
-
getContact
public org.eclipse.microprofile.openapi.models.info.Contact getContact()
- Specified by:
getContactin interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
Info.getContact()
-
setContact
public void setContact(org.eclipse.microprofile.openapi.models.info.Contact contact)
- Specified by:
setContactin interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
Info.setContact(org.eclipse.microprofile.openapi.models.info.Contact)
-
getLicense
public org.eclipse.microprofile.openapi.models.info.License getLicense()
- Specified by:
getLicensein interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
Info.getLicense()
-
setLicense
public void setLicense(org.eclipse.microprofile.openapi.models.info.License license)
- Specified by:
setLicensein interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
Info.setLicense(org.eclipse.microprofile.openapi.models.info.License)
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
Info.getVersion()
-
setVersion
public void setVersion(String version)
- Specified by:
setVersionin interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
Info.setVersion(java.lang.String)
-
-