Class Operation
- java.lang.Object
-
- springfox.documentation.swagger1.dto.Operation
-
public class Operation extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Operation()
Operation(java.lang.String method, java.lang.String summary, java.lang.String notes, java.lang.String responseClass, java.lang.String nickname, int position, java.util.List<java.lang.String> produces, java.util.List<java.lang.String> consumes, java.util.List<java.lang.String> protocol, java.util.List<Authorization> authorizations, java.util.List<Parameter> parameters, java.util.Set<ResponseMessage> responseMessages, java.lang.String deprecated)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<AuthorizationScope>>
getAuthorizations()
java.util.List<java.lang.String>
getConsumes()
java.lang.String
getDeprecated()
java.lang.String
getMethod()
java.lang.String
getNickname()
java.lang.String
getNotes()
java.util.List<Parameter>
getParameters()
int
getPosition()
java.util.List<java.lang.String>
getProduces()
java.util.List<java.lang.String>
getProtocol()
java.util.Set<ResponseMessage>
getResponseMessages()
java.lang.String
getSummary()
void
setAuthorizations(java.util.Map<java.lang.String,java.util.List<AuthorizationScope>> authorizations)
void
setConsumes(java.util.List<java.lang.String> consumes)
void
setDataType(SwaggerDataType dataType)
void
setDeprecated(java.lang.String deprecated)
void
setMethod(java.lang.String method)
void
setNickname(java.lang.String nickname)
void
setNotes(java.lang.String notes)
void
setParameters(java.util.List<Parameter> parameters)
void
setPosition(int position)
void
setProduces(java.util.List<java.lang.String> produces)
void
setProtocol(java.util.List<java.lang.String> protocol)
void
setResponseMessages(java.util.Set<ResponseMessage> responseMessages)
void
setSummary(java.lang.String summary)
-
-
-
Constructor Detail
-
Operation
public Operation()
-
Operation
public Operation(java.lang.String method, java.lang.String summary, java.lang.String notes, java.lang.String responseClass, java.lang.String nickname, int position, java.util.List<java.lang.String> produces, java.util.List<java.lang.String> consumes, java.util.List<java.lang.String> protocol, java.util.List<Authorization> authorizations, java.util.List<Parameter> parameters, java.util.Set<ResponseMessage> responseMessages, java.lang.String deprecated)
-
-
Method Detail
-
getMethod
public java.lang.String getMethod()
-
setMethod
public void setMethod(java.lang.String method)
-
getSummary
public java.lang.String getSummary()
-
setSummary
public void setSummary(java.lang.String summary)
-
getNotes
public java.lang.String getNotes()
-
setNotes
public void setNotes(java.lang.String notes)
-
getNickname
public java.lang.String getNickname()
-
setNickname
public void setNickname(java.lang.String nickname)
-
getPosition
public int getPosition()
-
setPosition
public void setPosition(int position)
-
getProduces
public java.util.List<java.lang.String> getProduces()
-
setProduces
public void setProduces(java.util.List<java.lang.String> produces)
-
getConsumes
public java.util.List<java.lang.String> getConsumes()
-
setConsumes
public void setConsumes(java.util.List<java.lang.String> consumes)
-
getProtocol
public java.util.List<java.lang.String> getProtocol()
-
setProtocol
public void setProtocol(java.util.List<java.lang.String> protocol)
-
getAuthorizations
public java.util.Map<java.lang.String,java.util.List<AuthorizationScope>> getAuthorizations()
-
setAuthorizations
public void setAuthorizations(java.util.Map<java.lang.String,java.util.List<AuthorizationScope>> authorizations)
-
getParameters
public java.util.List<Parameter> getParameters()
-
setParameters
public void setParameters(java.util.List<Parameter> parameters)
-
getResponseMessages
public java.util.Set<ResponseMessage> getResponseMessages()
-
setResponseMessages
public void setResponseMessages(java.util.Set<ResponseMessage> responseMessages)
-
getDeprecated
public java.lang.String getDeprecated()
-
setDeprecated
public void setDeprecated(java.lang.String deprecated)
-
setDataType
public void setDataType(SwaggerDataType dataType)
-
-