public class InfoImpl extends ExtensibleImpl<org.eclipse.microprofile.openapi.models.info.Info> implements org.eclipse.microprofile.openapi.models.info.Info, ModelImpl
Info
OpenAPI model interface.Constructor and Description |
---|
InfoImpl() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.microprofile.openapi.models.info.Info |
contact(org.eclipse.microprofile.openapi.models.info.Contact contact) |
org.eclipse.microprofile.openapi.models.info.Info |
description(String 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() |
org.eclipse.microprofile.openapi.models.info.Info |
license(org.eclipse.microprofile.openapi.models.info.License license) |
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) |
org.eclipse.microprofile.openapi.models.info.Info |
termsOfService(String termsOfService) |
org.eclipse.microprofile.openapi.models.info.Info |
title(String title) |
org.eclipse.microprofile.openapi.models.info.Info |
version(String version) |
addExtension, getExtensions, removeExtension, setExtensions
public String getTitle()
getTitle
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.getTitle()
public void setTitle(String title)
setTitle
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.setTitle(java.lang.String)
public org.eclipse.microprofile.openapi.models.info.Info title(String title)
title
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.title(java.lang.String)
public String getDescription()
getDescription
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.getDescription()
public void setDescription(String description)
setDescription
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.setDescription(java.lang.String)
public org.eclipse.microprofile.openapi.models.info.Info description(String description)
description
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.description(java.lang.String)
public String getTermsOfService()
getTermsOfService
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.getTermsOfService()
public void setTermsOfService(String termsOfService)
setTermsOfService
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.setTermsOfService(java.lang.String)
public org.eclipse.microprofile.openapi.models.info.Info termsOfService(String termsOfService)
termsOfService
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.termsOfService(java.lang.String)
public org.eclipse.microprofile.openapi.models.info.Contact getContact()
getContact
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.getContact()
public void setContact(org.eclipse.microprofile.openapi.models.info.Contact contact)
setContact
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.setContact(org.eclipse.microprofile.openapi.models.info.Contact)
public org.eclipse.microprofile.openapi.models.info.Info contact(org.eclipse.microprofile.openapi.models.info.Contact contact)
contact
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.contact(org.eclipse.microprofile.openapi.models.info.Contact)
public org.eclipse.microprofile.openapi.models.info.License getLicense()
getLicense
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.getLicense()
public void setLicense(org.eclipse.microprofile.openapi.models.info.License license)
setLicense
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.setLicense(org.eclipse.microprofile.openapi.models.info.License)
public org.eclipse.microprofile.openapi.models.info.Info license(org.eclipse.microprofile.openapi.models.info.License license)
license
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.license(org.eclipse.microprofile.openapi.models.info.License)
public String getVersion()
getVersion
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.getVersion()
public void setVersion(String version)
setVersion
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.setVersion(java.lang.String)
public org.eclipse.microprofile.openapi.models.info.Info version(String version)
version
in interface org.eclipse.microprofile.openapi.models.info.Info
Info.version(java.lang.String)
Copyright © 2018–2020. All rights reserved.