| Modifier and Type | Method and Description |
|---|---|
| public default RequestBody | |
| public default RequestBody | Returns: this RequestBody instancethe brief description of the RequestBody description)Sets the description of this RequestBody and return this instance of RequestBody |
| public Content | Returns: the content of this RequestBodyReturns the content of this instance of RequestBody, where the keys in content are media type names and the values describe it. |
| public String | Returns: a brief description of the RequestBodyReturns the description of this instance of RequestBody. |
| public Boolean | Returns: true iff the RequestBody is required, false otherwiseReturns whether this instance of RequestBody is required for the operation. |
| public default RequestBody | |
| public void | setContent(Content
the content that describes the RequestBody content)Sets the content of this instance of RequestBody, where the keys in content are media type names and the values describe it. |
| public void | setDescription(String
the brief description of the RequestBody description)Sets the description of this instance of RequestBody. |
| public void | setRequired(Boolean
true iff the RequestBody is required, false otherwise required)Sets whether this instance of RequestBody is required or not. |
| content | back to summary |
|---|---|
| public default RequestBody content(Content content) Sets the content of this instance of RequestBody, where the keys in content are media type names and the values describe it.
| |
| description | back to summary |
|---|---|
| public default RequestBody description(String description) Sets the description of this RequestBody and return this instance of RequestBody
| |
| getContent | back to summary |
|---|---|
| public Content getContent() Returns the content of this instance of RequestBody, where the keys in content are media type names and the values describe it.
| |
| getDescription | back to summary |
|---|---|
| public String getDescription() Returns the description of this instance of RequestBody.
| |
| getRequired | back to summary |
|---|---|
| public Boolean getRequired() Returns whether this instance of RequestBody is required for the operation.
| |
| required | back to summary |
|---|---|
| public default RequestBody required(Boolean required) Sets whether this instance of RequestBody is required or not and returns this instance of RequestBody
| |
| setContent | back to summary |
|---|---|
| public void setContent(Content content) Sets the content of this instance of RequestBody, where the keys in content are media type names and the values describe it.
| |
| setDescription | back to summary |
|---|---|
| public void setDescription(String description) Sets the description of this instance of RequestBody. to the parameter.
| |
| setRequired | back to summary |
|---|---|
| public void setRequired(Boolean required) Sets whether this instance of RequestBody is required or not.
| |