com.github.kongchen.swagger.docgen.remote.model
类 JOperation
java.lang.Object
com.github.kongchen.swagger.docgen.remote.model.JOperation
- 所有已实现的接口:
- CanBeSwaggerModel<com.wordnik.swagger.model.Operation>
public class JOperation
- extends Object
- implements CanBeSwaggerModel<com.wordnik.swagger.model.Operation>
Created by chekong on 10/11/14.
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOperation
public JOperation()
getItems
public JModelRef getItems()
setItems
public void setItems(JModelRef items)
setMethod
public void setMethod(String method)
setSummary
public void setSummary(String summary)
setNotes
public void setNotes(String notes)
setResponseClass
public void setResponseClass(String responseClass)
setNickname
public void setNickname(String nickname)
setPosition
public void setPosition(int position)
setProduces
public void setProduces(List<String> produces)
setConsumes
public void setConsumes(List<String> consumes)
setProtocols
public void setProtocols(List<String> protocols)
setAuthorizations
public void setAuthorizations(List<JAuthorization> authorizations)
setParameters
public void setParameters(List<JParameter> parameters)
setResponseMessages
public void setResponseMessages(List<JResponseMessage> responseMessages)
setDeprecated
public void setDeprecated(String deprecated)
getMethod
public String getMethod()
getSummary
public String getSummary()
getNotes
public String getNotes()
getResponseClass
public String getResponseClass()
getNickname
public String getNickname()
getPosition
public int getPosition()
getProduces
public List<String> getProduces()
getConsumes
public List<String> getConsumes()
getProtocols
public List<String> getProtocols()
getAuthorizations
public List<JAuthorization> getAuthorizations()
getParameters
public List<JParameter> getParameters()
getResponseMessages
public List<JResponseMessage> getResponseMessages()
getDeprecated
public String getDeprecated()
toSwaggerModel
public com.wordnik.swagger.model.Operation toSwaggerModel()
- 指定者:
- 接口
CanBeSwaggerModel<com.wordnik.swagger.model.Operation> 中的 toSwaggerModel
Copyright © 2015. All Rights Reserved.