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 theInfo
OpenAPI 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.Contact
getContact()
String
getDescription()
org.eclipse.microprofile.openapi.models.info.License
getLicense()
String
getTermsOfService()
String
getTitle()
String
getVersion()
void
setContact(org.eclipse.microprofile.openapi.models.info.Contact contact)
void
setDescription(String description)
void
setLicense(org.eclipse.microprofile.openapi.models.info.License license)
void
setTermsOfService(String termsOfService)
void
setTitle(String title)
void
setVersion(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:
getTitle
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
- See Also:
Info.getTitle()
-
setTitle
public void setTitle(String title)
- Specified by:
setTitle
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
- See Also:
Info.setTitle(java.lang.String)
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
- See Also:
Info.getDescription()
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
- See Also:
Info.setDescription(java.lang.String)
-
getTermsOfService
public String getTermsOfService()
- Specified by:
getTermsOfService
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
- See Also:
Info.getTermsOfService()
-
setTermsOfService
public void setTermsOfService(String termsOfService)
- Specified by:
setTermsOfService
in 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:
getContact
in 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:
setContact
in 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:
getLicense
in 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:
setLicense
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
- See Also:
Info.setLicense(org.eclipse.microprofile.openapi.models.info.License)
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
- See Also:
Info.getVersion()
-
setVersion
public void setVersion(String version)
- Specified by:
setVersion
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
- See Also:
Info.setVersion(java.lang.String)
-
-