public class ByteArraySchema extends Schema<byte[]>
Constructor and Description |
---|
ByteArraySchema() |
Modifier and Type | Method and Description |
---|---|
ByteArraySchema |
_default(byte[] _default) |
ByteArraySchema |
_enum(List<byte[]> _enum) |
ByteArraySchema |
addEnumItem(byte[] _enumItem) |
protected byte[] |
cast(Object value) |
boolean |
equals(Object o) |
ByteArraySchema |
format(String format) |
String |
getFormat()
returns the format property from a ByteArraySchema instance.
|
String |
getType()
returns the type property from a ByteArraySchema instance.
|
int |
hashCode() |
void |
setFormat(String format) |
void |
setType(String type) |
String |
toString() |
ByteArraySchema |
type(String type) |
$ref, addEnumItemObject, addExtension, additionalProperties, addProperties, addRequiredItem, deprecated, description, discriminator, example, exclusiveMaximum, exclusiveMinimum, extensions, externalDocs, get$ref, getAdditionalProperties, getDefault, getDeprecated, getDescription, getDiscriminator, getEnum, getExample, getExclusiveMaximum, getExclusiveMinimum, getExtensions, getExternalDocs, getMaximum, getMaxItems, getMaxLength, getMaxProperties, getMinimum, getMinItems, getMinLength, getMinProperties, getMultipleOf, getName, getNot, getNullable, getPattern, getProperties, getReadOnly, getRequired, getTitle, getUniqueItems, getWriteOnly, getXml, maximum, maxItems, maxLength, maxProperties, minimum, minItems, minLength, minProperties, multipleOf, name, not, nullable, pattern, properties, readOnly, required, set$ref, setAdditionalProperties, setDefault, setDeprecated, setDescription, setDiscriminator, setEnum, setExample, setExclusiveMaximum, setExclusiveMinimum, setExtensions, setExternalDocs, setMaximum, setMaxItems, setMaxLength, setMaxProperties, setMinimum, setMinItems, setMinLength, setMinProperties, setMultipleOf, setName, setNot, setNullable, setPattern, setProperties, setReadOnly, setRequired, setTitle, setUniqueItems, setWriteOnly, setXml, title, uniqueItems, writeOnly, xml
public String getType()
public ByteArraySchema type(String type)
public String getFormat()
public ByteArraySchema format(String format)
public ByteArraySchema _default(byte[] _default)
public ByteArraySchema _enum(List<byte[]> _enum)
public ByteArraySchema addEnumItem(byte[] _enumItem)
Copyright © 2018. All rights reserved.