com.github.kongchen.swagger.docgen.remote.model
类 JParameter
java.lang.Object
com.github.kongchen.swagger.docgen.remote.model.JParameter
- 所有已实现的接口:
- CanBeSwaggerModel<com.wordnik.swagger.model.Parameter>
public class JParameter
- extends Object
- implements CanBeSwaggerModel<com.wordnik.swagger.model.Parameter>
Created by chekong on 10/11/14.
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JParameter
public JParameter()
setName
public void setName(String name)
setDescription
public void setDescription(String description)
setDefaultValue
public void setDefaultValue(String defaultValue)
setRequired
public void setRequired(boolean required)
setAllowMultiple
public void setAllowMultiple(boolean allowMultiple)
setDataType
public void setDataType(String dataType)
setAllowableValues
public void setAllowableValues(JAllowableValues allowableValues)
setParamType
public void setParamType(String paramType)
setParamAccess
public void setParamAccess(String paramAccess)
getName
public String getName()
getDescription
public String getDescription()
getDefaultValue
public String getDefaultValue()
isRequired
public boolean isRequired()
isAllowMultiple
public boolean isAllowMultiple()
getDataType
public String getDataType()
getAllowableValues
public JAllowableValues getAllowableValues()
getParamType
public String getParamType()
getParamAccess
public String getParamAccess()
toSwaggerModel
public com.wordnik.swagger.model.Parameter toSwaggerModel()
- 指定者:
- 接口
CanBeSwaggerModel<com.wordnik.swagger.model.Parameter> 中的 toSwaggerModel
Copyright © 2015. All Rights Reserved.