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 the
Info OpenAPI model interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.microprofile.openapi.models.info.Contactorg.eclipse.microprofile.openapi.models.info.LicensegetTitle()voidsetContact(org.eclipse.microprofile.openapi.models.info.Contact contact) voidsetDescription(String description) voidsetLicense(org.eclipse.microprofile.openapi.models.info.License license) voidsetTermsOfService(String termsOfService) voidvoidsetVersion(String version) Methods inherited from class io.smallrye.openapi.api.models.ExtensibleImpl
addExtension, getExtensions, removeExtension, setExtensionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.microprofile.openapi.models.Extensible
addExtension, extensions, getExtensions, removeExtension, setExtensionsMethods inherited from interface org.eclipse.microprofile.openapi.models.info.Info
contact, description, license, termsOfService, title, version
-
Constructor Details
-
InfoImpl
public InfoImpl()
-
-
Method Details
-
getTitle
- Specified by:
getTitlein interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
-
Info.getTitle()
-
setTitle
- Specified by:
setTitlein interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
-
Info.setTitle(java.lang.String)
-
getDescription
- Specified by:
getDescriptionin interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
-
Info.getDescription()
-
setDescription
- Specified by:
setDescriptionin interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
-
Info.setDescription(java.lang.String)
-
getTermsOfService
- Specified by:
getTermsOfServicein interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
-
Info.getTermsOfService()
-
setTermsOfService
- 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
- Specified by:
getVersionin interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
-
Info.getVersion()
-
setVersion
- Specified by:
setVersionin interfaceorg.eclipse.microprofile.openapi.models.info.Info- See Also:
-
Info.setVersion(java.lang.String)
-