Class Schema

java.lang.Object
com.kingsrook.qqq.openapi.model.Schema
Direct Known Subclasses:
SchemaBuilder.SchemaFromBuilder

public class Schema extends Object
  • Constructor Details

    • Schema

      public Schema()
  • Method Details

    • getType

      public String getType()
      Getter for type
    • setType

      @Deprecated(since="Use version that takes enum") public void setType(String type)
      Deprecated.
      Setter for type
    • withType

      @Deprecated(since="Use version that takes enum") public Schema withType(String type)
      Deprecated.
      Fluent setter for type
    • setType

      public void setType(Type type)
      Setter for type
    • withType

      public Schema withType(Type type)
      Fluent setter for type
    • getFormat

      public String getFormat()
      Getter for format
    • setFormat

      public void setFormat(String format)
      Setter for format
    • withFormat

      public Schema withFormat(String format)
      Fluent setter for format
    • getItems

      public Schema getItems()
      Getter for items
    • setItems

      public void setItems(Schema items)
      Setter for items
    • withItems

      public Schema withItems(Schema items)
      Fluent setter for items
    • getProperties

      public Map<String,Schema> getProperties()
      Getter for properties
    • setProperties

      public void setProperties(Map<String,Schema> properties)
      Setter for properties
    • withProperties

      public Schema withProperties(Map<String,Schema> properties)
      Fluent setter for properties
    • withProperty

      public Schema withProperty(String key, Schema schema)
      Fluent setter for properties
    • getExample

      public Object getExample()
      Getter for example
    • setExample

      public void setExample(String example)
      Setter for example
    • setExample

      public void setExample(BigDecimal example)
      Setter for example
    • withExample

      public Schema withExample(Object example)
      Fluent setter for example
    • withExample

      public Schema withExample(String example)
      Fluent setter for example
    • setExample

      public void setExample(List<?> example)
      Setter for example
    • withExample

      public Schema withExample(List<?> example)
      Fluent setter for example
    • getRef

      public String getRef()
      Getter for ref
    • setRef

      public void setRef(String ref)
      Setter for ref
    • withRef

      public Schema withRef(String ref)
      Fluent setter for ref
    • getAllOf

      public List<Schema> getAllOf()
      Getter for allOf
    • setAllOf

      public void setAllOf(List<Schema> allOf)
      Setter for allOf
    • withAllOf

      public Schema withAllOf(List<Schema> allOf)
      Fluent setter for allOf
    • getDescription

      public String getDescription()
      Getter for description
    • setDescription

      public void setDescription(String description)
      Setter for description
    • withDescription

      public Schema withDescription(String description)
      Fluent setter for description
    • getEnumValues

      public List<String> getEnumValues()
      Getter for enumValues
    • setEnumValues

      public void setEnumValues(List<String> enumValues)
      Setter for enumValues
    • withEnumValues

      public Schema withEnumValues(List<String> enumValues)
      Fluent setter for enumValues
    • getReadOnly

      public Boolean getReadOnly()
      Getter for readOnly
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
      Setter for readOnly
    • withReadOnly

      public Schema withReadOnly(Boolean readOnly)
      Fluent setter for readOnly
    • getNullable

      public Boolean getNullable()
      Getter for nullable
    • setNullable

      public void setNullable(Boolean nullable)
      Setter for nullable
    • withNullable

      public Schema withNullable(Boolean nullable)
      Fluent setter for nullable
    • getMaxLength

      public Integer getMaxLength()
      Getter for maxLength
    • setMaxLength

      public void setMaxLength(Integer maxLength)
      Setter for maxLength
    • withMaxLength

      public Schema withMaxLength(Integer maxLength)
      Fluent setter for maxLength
    • getDiscriminator

      public Discriminator getDiscriminator()
      Getter for discriminator
    • setDiscriminator

      public void setDiscriminator(Discriminator discriminator)
      Setter for discriminator
    • withDiscriminator

      public Schema withDiscriminator(Discriminator discriminator)
      Fluent setter for discriminator
    • getAnyOf

      public List<Schema> getAnyOf()
      Getter for anyOf
    • setAnyOf

      public void setAnyOf(List<Schema> anyOf)
      Setter for anyOf
    • withAnyOf

      public Schema withAnyOf(List<Schema> anyOf)
      Fluent setter for anyOf
    • getOneOf

      public List<Schema> getOneOf()
      Getter for oneOf
    • setOneOf

      public void setOneOf(List<Schema> oneOf)
      Setter for oneOf
    • withOneOf

      public Schema withOneOf(List<Schema> oneOf)
      Fluent setter for oneOf
    • getExamples

      public Map<String,Example> getExamples()
      Getter for examples
    • setExamples

      public void setExamples(Map<String,Example> examples)
      Setter for examples
    • withExamples

      public Schema withExamples(Map<String,Example> examples)
      Fluent setter for examples
    • withExample

      public Schema withExample(String name, Example example)
      Fluent setter for examples
    • getAdditionalProperties

      public Object getAdditionalProperties()
      Getter for additionalProperties
    • setAdditionalProperties

      public void setAdditionalProperties(Schema additionalProperties)
      Setter for additionalProperties
    • withAdditionalProperties

      public Schema withAdditionalProperties(Schema additionalProperties)
      Fluent setter for additionalProperties
    • setAdditionalProperties

      public void setAdditionalProperties(Boolean additionalProperties)
      Setter for additionalProperties
    • withAdditionalProperties

      public Schema withAdditionalProperties(Boolean additionalProperties)
      Fluent setter for additionalProperties
    • withRefToSchema

      public Schema withRefToSchema(String componentName)