public class BodyAnnotation extends Object implements Body
Body
annotation.Constructor and Description |
---|
BodyAnnotation() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
annotationType() |
String[] |
api() |
BodyAnnotation |
api(String[] value)
Sets the
|
String[] |
d() |
BodyAnnotation |
d(String[] value)
Sets the
|
String[] |
description() |
BodyAnnotation |
description(String[] value)
Sets the
|
String[] |
ex() |
BodyAnnotation |
ex(String[] value)
Sets the
|
String[] |
example() |
BodyAnnotation |
example(String[] value)
Sets the
|
String[] |
examples() |
BodyAnnotation |
examples(String[] value)
Sets the
|
String[] |
exs() |
BodyAnnotation |
exs(String[] value)
Sets the
|
boolean |
r() |
BodyAnnotation |
r(boolean value)
Sets the
|
boolean |
required() |
BodyAnnotation |
required(boolean value)
Sets the
|
Schema |
schema() |
BodyAnnotation |
schema(Schema value)
Sets the
|
String[] |
value() |
BodyAnnotation |
value(String[] value)
Sets the
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, toString
public BodyAnnotation()
public Class<? extends Annotation> annotationType()
annotationType
in interface Annotation
public String[] description()
public BodyAnnotation description(String[] value)
value
- The new value for this property.public BodyAnnotation d(String[] value)
value
- The new value for this property.public boolean required()
public BodyAnnotation required(boolean value)
value
- The new value for this property.public boolean r()
public BodyAnnotation r(boolean value)
value
- The new value for this property.public BodyAnnotation schema(Schema value)
value
- The new value for this property.public BodyAnnotation example(String[] value)
value
- The new value for this property.public BodyAnnotation ex(String[] value)
value
- The new value for this property.public BodyAnnotation examples(String[] value)
value
- The new value for this property.public BodyAnnotation exs(String[] value)
value
- The new value for this property.public BodyAnnotation value(String[] value)
value
- The new value for this property.public BodyAnnotation api(String[] value)
value
- The new value for this property.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.