Interface SchemaBoolean
- All Superinterfaces:
Prototype.Api, SchemaItem
- All Known Implementing Classes:
SchemaBoolean.BuilderBase.SchemaBooleanImpl
Json schema related to the boolean value.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forSchemaBoolean.static classSchemaBoolean.BuilderBase<BUILDER extends SchemaBoolean.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends SchemaBoolean>Fluent API builder base forSchemaBoolean. -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaBoolean.Builderbuilder()Create a new fluent API builder to customize configuration.static SchemaBoolean.Builderbuilder(SchemaBoolean instance) Create a new fluent API builder from an existing instance.static SchemaBooleancreate()Create a new instance with default values.Methods inherited from interface SchemaItem
description, generate, required, schemaType, titleModifier and TypeMethodDescriptionDescription of the item.default voidgenerate(JsonObject.Builder builder) Generated the Json schema item to the Json.booleanrequired()Used in the object properties to mark required property.Schema type of the item.title()Title of the item.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
-
schemaType
SchemaType schemaType()
-