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.


构造方法摘要
JParameter()
           
 
方法摘要
 JAllowableValues getAllowableValues()
           
 String getDataType()
           
 String getDefaultValue()
           
 String getDescription()
           
 String getName()
           
 String getParamAccess()
           
 String getParamType()
           
 boolean isAllowMultiple()
           
 boolean isRequired()
           
 void setAllowableValues(JAllowableValues allowableValues)
           
 void setAllowMultiple(boolean allowMultiple)
           
 void setDataType(String dataType)
           
 void setDefaultValue(String defaultValue)
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setParamAccess(String paramAccess)
           
 void setParamType(String paramType)
           
 void setRequired(boolean required)
           
 com.wordnik.swagger.model.Parameter toSwaggerModel()
           
 
从类 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.