public class Operation extends Object
Constructor and Description |
---|
Operation() |
Modifier and Type | Method and Description |
---|---|
void |
addExtension(String name,
Object value) |
Operation |
addParametersItem(Parameter parametersItem) |
Operation |
addSecurityItem(SecurityRequirement securityItem) |
Operation |
addServersItem(Server serversItem) |
Operation |
addTagsItem(String tagsItem) |
Operation |
callbacks(Map<String,Callback> callbacks) |
Operation |
deprecated(Boolean deprecated) |
Operation |
description(String description) |
boolean |
equals(Object o) |
Operation |
extensions(Map<String,Object> extensions) |
Operation |
externalDocs(ExternalDocumentation externalDocs) |
Map<String,Callback> |
getCallbacks()
returns the callbacks property from a Operation instance.
|
Boolean |
getDeprecated()
returns the deprecated property from a Operation instance.
|
String |
getDescription()
returns the description property from a Operation instance.
|
Map<String,Object> |
getExtensions() |
ExternalDocumentation |
getExternalDocs()
returns the externalDocs property from a Operation instance.
|
String |
getOperationId()
returns the operationId property from a Operation instance.
|
List<Parameter> |
getParameters()
returns the parameters property from a Operation instance.
|
RequestBody |
getRequestBody()
returns the requestBody property from a Operation instance.
|
ApiResponses |
getResponses()
returns the responses property from a Operation instance.
|
List<SecurityRequirement> |
getSecurity()
returns the security property from a Operation instance.
|
List<Server> |
getServers()
returns the servers property from a Operation instance.
|
String |
getSummary()
returns the summary property from a Operation instance.
|
List<String> |
getTags()
returns the tags property from a Operation instance.
|
int |
hashCode() |
Operation |
operationId(String operationId) |
Operation |
parameters(List<Parameter> parameters) |
Operation |
requestBody(RequestBody requestBody) |
Operation |
responses(ApiResponses responses) |
Operation |
security(List<SecurityRequirement> security) |
Operation |
servers(List<Server> servers) |
void |
setCallbacks(Map<String,Callback> callbacks) |
void |
setDeprecated(Boolean deprecated) |
void |
setDescription(String description) |
void |
setExtensions(Map<String,Object> extensions) |
void |
setExternalDocs(ExternalDocumentation externalDocs) |
void |
setOperationId(String operationId) |
void |
setParameters(List<Parameter> parameters) |
void |
setRequestBody(RequestBody requestBody) |
void |
setResponses(ApiResponses responses) |
void |
setSecurity(List<SecurityRequirement> security) |
void |
setServers(List<Server> servers) |
void |
setSummary(String summary) |
void |
setTags(List<String> tags) |
Operation |
summary(String summary) |
Operation |
tags(List<String> tags) |
String |
toString() |
public List<String> getTags()
public String getSummary()
public void setSummary(String summary)
public String getDescription()
public void setDescription(String description)
public ExternalDocumentation getExternalDocs()
public void setExternalDocs(ExternalDocumentation externalDocs)
public Operation externalDocs(ExternalDocumentation externalDocs)
public String getOperationId()
public void setOperationId(String operationId)
public List<Parameter> getParameters()
public RequestBody getRequestBody()
public void setRequestBody(RequestBody requestBody)
public Operation requestBody(RequestBody requestBody)
public ApiResponses getResponses()
public void setResponses(ApiResponses responses)
public Operation responses(ApiResponses responses)
public Map<String,Callback> getCallbacks()
public Boolean getDeprecated()
public void setDeprecated(Boolean deprecated)
public List<SecurityRequirement> getSecurity()
public void setSecurity(List<SecurityRequirement> security)
public Operation security(List<SecurityRequirement> security)
public Operation addSecurityItem(SecurityRequirement securityItem)
public List<Server> getServers()
Copyright © 2019. All rights reserved.