Builder

public abstract class Builder

Builder for Schema.

Constructors

Link copied to clipboard
public void Schema.Builder()

Functions

Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder anyOf(Array<Schema> anyOf)
public abstract Schema.Builder anyOf(List<Schema> anyOf)
Setter for anyOf.
@CanIgnoreReturnValue()
public Schema.Builder anyOf(Array<Schema.Builder> anyOfBuilders)
Setter for anyOf builder.
Link copied to clipboard
public abstract Schema build()
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearAnyOf()
Clears the value of anyOf field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearDefault_()
Clears the value of default_ field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearDescription()
Clears the value of description field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearEnum_()
Clears the value of enum_ field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearExample()
Clears the value of example field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearFormat()
Clears the value of format field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearItems()
Clears the value of items field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearMaximum()
Clears the value of maximum field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearMaxItems()
Clears the value of maxItems field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearMaxLength()
Clears the value of maxLength field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearMaxProperties()
Clears the value of maxProperties field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearMinimum()
Clears the value of minimum field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearMinItems()
Clears the value of minItems field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearMinLength()
Clears the value of minLength field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearMinProperties()
Clears the value of minProperties field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearNullable()
Clears the value of nullable field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearPattern()
Clears the value of pattern field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearProperties()
Clears the value of properties field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearPropertyOrdering()
Clears the value of propertyOrdering field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearRequired()
Clears the value of required field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearTitle()
Clears the value of title field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder clearType()
Clears the value of type field.
Link copied to clipboard
public abstract Schema.Builder default_(Object default_)
Setter for default_.
Link copied to clipboard
public abstract Schema.Builder description(String description)
Setter for description.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder enum_(Array<String> enum_)
public abstract Schema.Builder enum_(List<String> enum_)
Setter for enum_.
Link copied to clipboard
public abstract Schema.Builder example(Object example)
Setter for example.
Link copied to clipboard
public abstract Schema.Builder format(String format)
Setter for format.
Link copied to clipboard
public abstract Schema.Builder items(Schema items)
Setter for items.
@CanIgnoreReturnValue()
public Schema.Builder items(Schema.Builder itemsBuilder)
Setter for items builder.
Link copied to clipboard
public abstract Schema.Builder maximum(Double maximum)
Setter for maximum.
Link copied to clipboard
public abstract Schema.Builder maxItems(Long maxItems)
Setter for maxItems.
Link copied to clipboard
public abstract Schema.Builder maxLength(Long maxLength)
Setter for maxLength.
Link copied to clipboard
public abstract Schema.Builder maxProperties(Long maxProperties)
Setter for maxProperties.
Link copied to clipboard
public abstract Schema.Builder minimum(Double minimum)
Setter for minimum.
Link copied to clipboard
public abstract Schema.Builder minItems(Long minItems)
Setter for minItems.
Link copied to clipboard
public abstract Schema.Builder minLength(Long minLength)
Setter for minLength.
Link copied to clipboard
public abstract Schema.Builder minProperties(Long minProperties)
Setter for minProperties.
Link copied to clipboard
public abstract Schema.Builder nullable(boolean nullable)
Setter for nullable.
Link copied to clipboard
public abstract Schema.Builder pattern(String pattern)
Setter for pattern.
Link copied to clipboard
public abstract Schema.Builder properties(Map<String, Schema> properties)
Setter for properties.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder propertyOrdering(Array<String> propertyOrdering)
public abstract Schema.Builder propertyOrdering(List<String> propertyOrdering)
Setter for propertyOrdering.
Link copied to clipboard
@CanIgnoreReturnValue()
public Schema.Builder required(Array<String> required)
public abstract Schema.Builder required(List<String> required)
Setter for required.
Link copied to clipboard
public abstract Schema.Builder title(String title)
Setter for title.
Link copied to clipboard
public abstract Schema.Builder type(Type type)
Setter for type.
@CanIgnoreReturnValue()
public Schema.Builder type(Type.Known knownType)
Setter for type given a known enum.
@CanIgnoreReturnValue()
public Schema.Builder type(String type)
Setter for type given a string.