public class RequestBodyImpl extends ExtensibleImpl<org.eclipse.microprofile.openapi.models.parameters.RequestBody> implements org.eclipse.microprofile.openapi.models.parameters.RequestBody, ModelImpl
RequestBody OpenAPI model interface.| Constructor and Description |
|---|
RequestBodyImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.microprofile.openapi.models.media.Content |
getContent() |
String |
getDescription() |
String |
getRef() |
Boolean |
getRequired() |
void |
setContent(org.eclipse.microprofile.openapi.models.media.Content content) |
void |
setDescription(String description) |
void |
setRef(String ref) |
void |
setRequired(Boolean required) |
addExtension, getExtensions, removeExtension, setExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontent, description, requiredpublic String getRef()
getRef in interface org.eclipse.microprofile.openapi.models.Reference<org.eclipse.microprofile.openapi.models.parameters.RequestBody>Reference.getRef()public void setRef(String ref)
setRef in interface org.eclipse.microprofile.openapi.models.Reference<org.eclipse.microprofile.openapi.models.parameters.RequestBody>Reference.setRef(java.lang.String)public String getDescription()
getDescription in interface org.eclipse.microprofile.openapi.models.parameters.RequestBodyRequestBody.getDescription()public void setDescription(String description)
setDescription in interface org.eclipse.microprofile.openapi.models.parameters.RequestBodyRequestBody.setDescription(java.lang.String)public org.eclipse.microprofile.openapi.models.media.Content getContent()
getContent in interface org.eclipse.microprofile.openapi.models.parameters.RequestBodyRequestBody.getContent()public void setContent(org.eclipse.microprofile.openapi.models.media.Content content)
setContent in interface org.eclipse.microprofile.openapi.models.parameters.RequestBodyRequestBody.setContent(org.eclipse.microprofile.openapi.models.media.Content)public Boolean getRequired()
getRequired in interface org.eclipse.microprofile.openapi.models.parameters.RequestBodyRequestBody.getRequired()public void setRequired(Boolean required)
setRequired in interface org.eclipse.microprofile.openapi.models.parameters.RequestBodyRequestBody.setRequired(java.lang.Boolean)Copyright © 2018–2021. All rights reserved.