public class Parameter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Parameter.StyleEnum
Gets or Sets style
|
Constructor and Description |
---|
Parameter() |
Modifier and Type | Method and Description |
---|---|
Parameter |
$ref(String $ref) |
Parameter |
addExample(String key,
Example examplesItem) |
void |
addExtension(String name,
Object value) |
Parameter |
allowEmptyValue(Boolean allowEmptyValue) |
Parameter |
allowReserved(Boolean allowReserved) |
Parameter |
content(Content content) |
Parameter |
deprecated(Boolean deprecated) |
Parameter |
description(String description) |
boolean |
equals(Object o) |
Parameter |
example(Object example) |
Parameter |
examples(Map<String,Example> examples) |
Parameter |
explode(Boolean explode) |
Parameter |
extensions(Map<String,Object> extensions) |
String |
get$ref() |
Boolean |
getAllowEmptyValue()
returns the allowEmptyValue property from a Parameter instance.
|
Boolean |
getAllowReserved()
returns the allowReserved property from a Parameter instance.
|
Content |
getContent()
returns the content property from a Parameter instance.
|
Boolean |
getDeprecated()
returns the deprecated property from a Parameter instance.
|
String |
getDescription()
returns the description property from a Parameter instance.
|
Object |
getExample()
returns the example property from a Parameter instance.
|
Map<String,Example> |
getExamples()
returns the examples property from a Parameter instance.
|
Boolean |
getExplode()
returns the explode property from a Parameter instance.
|
Map<String,Object> |
getExtensions() |
String |
getIn()
returns the in property from a Parameter instance.
|
String |
getName()
returns the name property from a Parameter instance.
|
Boolean |
getRequired()
returns the required property from a Parameter instance.
|
Schema |
getSchema()
returns the schema property from a Parameter instance.
|
Parameter.StyleEnum |
getStyle()
returns the style property from a Parameter instance.
|
int |
hashCode() |
Parameter |
in(String in) |
Parameter |
name(String name) |
Parameter |
required(Boolean required) |
Parameter |
schema(Schema schema) |
void |
set$ref(String $ref) |
void |
setAllowEmptyValue(Boolean allowEmptyValue) |
void |
setAllowReserved(Boolean allowReserved) |
void |
setContent(Content content) |
void |
setDeprecated(Boolean deprecated) |
void |
setDescription(String description) |
void |
setExample(Object example) |
void |
setExamples(Map<String,Example> examples) |
void |
setExplode(Boolean explode) |
void |
setExtensions(Map<String,Object> extensions) |
void |
setIn(String in) |
void |
setName(String name) |
void |
setRequired(Boolean required) |
void |
setSchema(Schema schema) |
void |
setStyle(Parameter.StyleEnum style) |
Parameter |
style(Parameter.StyleEnum style) |
String |
toString() |
public String getName()
public void setName(String name)
public String getIn()
public void setIn(String in)
public String getDescription()
public void setDescription(String description)
public Boolean getRequired()
public void setRequired(Boolean required)
public Boolean getDeprecated()
public void setDeprecated(Boolean deprecated)
public Boolean getAllowEmptyValue()
public void setAllowEmptyValue(Boolean allowEmptyValue)
public Parameter.StyleEnum getStyle()
public void setStyle(Parameter.StyleEnum style)
public Parameter style(Parameter.StyleEnum style)
public Boolean getExplode()
public void setExplode(Boolean explode)
public Boolean getAllowReserved()
public void setAllowReserved(Boolean allowReserved)
public Schema getSchema()
public void setSchema(Schema schema)
public Map<String,Example> getExamples()
public Object getExample()
public void setExample(Object example)
public Content getContent()
public void setContent(Content content)
public String get$ref()
public void set$ref(String $ref)
Copyright © 2019. All rights reserved.