public class Header extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Header.StyleEnum
Gets or Sets style
|
Constructor and Description |
---|
Header() |
Modifier and Type | Method and Description |
---|---|
Header |
$ref(String $ref) |
Header |
addExample(String key,
Example examplesItem) |
void |
addExtension(String name,
Object value) |
Header |
content(Content content) |
Header |
deprecated(Boolean deprecated) |
Header |
description(String description) |
boolean |
equals(Object o) |
Header |
example(Object example) |
Header |
examples(Map<String,Example> examples) |
Header |
explode(Boolean explode) |
Header |
extensions(Map<String,Object> extensions) |
String |
get$ref() |
Content |
getContent()
returns the content property from a Header instance.
|
Boolean |
getDeprecated()
returns the deprecated property from a Header instance.
|
String |
getDescription()
returns the description property from a Header instance.
|
Object |
getExample()
returns the example property from a Header instance.
|
Map<String,Example> |
getExamples()
returns the examples property from a Header instance.
|
Boolean |
getExplode()
returns the explode property from a Header instance.
|
Map<String,Object> |
getExtensions() |
Boolean |
getRequired()
returns the required property from a Header instance.
|
Schema |
getSchema()
returns the schema property from a Header instance.
|
Header.StyleEnum |
getStyle()
returns the style property from a Header instance.
|
int |
hashCode() |
Header |
required(Boolean required) |
Header |
schema(Schema schema) |
void |
set$ref(String $ref) |
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 |
setRequired(Boolean required) |
void |
setSchema(Schema schema) |
void |
setStyle(Header.StyleEnum style) |
Header |
style(Header.StyleEnum style) |
String |
toString() |
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 Header.StyleEnum getStyle()
public void setStyle(Header.StyleEnum style)
public Header style(Header.StyleEnum style)
public Boolean getExplode()
public void setExplode(Boolean explode)
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 © 2021. All rights reserved.