io.atomicbits.scraml.ramlparser.model

types

package types

Visibility
  1. Public
  2. All

Type Members

  1. case class AllOf(selection: List[Type]) extends Selection with Product with Serializable

  2. trait AllowedAsObjectField extends AnyRef

  3. case class AnyOf(selection: List[Type]) extends Selection with Product with Serializable

  4. case class ArrayType(items: Type, id: Id = ..., required: Option[Boolean] = scala.None, minItems: Option[Int] = scala.None, maxItems: Option[Int] = scala.None, uniqueItems: Boolean = false, fragments: Fragment = ...) extends NonePrimitiveType with AllowedAsObjectField with Fragmented with Product with Serializable

    Created by peter on 25/03/16.

  5. case class BooleanType(id: Id = ..., required: Option[Boolean] = scala.None) extends PrimitiveType with AllowedAsObjectField with Product with Serializable

    Created by peter on 1/04/16.

  6. case class DateOnlyType(id: Id = ..., required: Option[Boolean] = scala.None) extends DateType with Product with Serializable

    date-only The "full-date" notation of RFC3339, namely yyyy-mm-dd.

  7. case class DateTimeDefaultType(id: Id = ..., required: Option[Boolean] = scala.None) extends DateTimeType with Product with Serializable

  8. case class DateTimeOnlyType(id: Id = ..., required: Option[Boolean] = scala.None) extends DateType with Product with Serializable

    datetime-only Combined date-only and time-only with a separator of "T", namely yyyy-mm-ddThh:mm:ss[.

  9. case class DateTimeRFC2616Type(id: Id = ..., required: Option[Boolean] = scala.None) extends DateTimeType with Product with Serializable

  10. sealed trait DateTimeType extends DateType

    datetime A timestamp in one of the following formats: if the format is omitted or set to rfc3339, uses the "date-time" notation of RFC3339; if format is set to rfc2616, uses the format defined in RFC2616.

  11. trait DateType extends PrimitiveType with AllowedAsObjectField

    Created by peter on 26/08/16.

  12. case class EnumType(id: Id, choices: List[String], required: Option[Boolean] = scala.None) extends PrimitiveType with AllowedAsObjectField with Product with Serializable

    Created by peter on 1/04/16.

  13. case class FileType(id: Id = ..., fileTypes: Option[Seq[String]] = scala.None, minLength: Option[Int] = scala.None, maxLength: Option[Int] = scala.None, required: Option[Boolean] = scala.None) extends PrimitiveType with AllowedAsObjectField with Product with Serializable

    Created by peter on 26/08/16.

  14. case class Fragment(id: Id = ..., fragmentMap: Map[String, Identifiable] = ...) extends Identifiable with Fragmented with Product with Serializable

    Created by peter on 1/04/16.

  15. trait Fragmented extends AnyRef

    Only used in json-schema.

  16. case class GenericObjectType(id: Id, typeVariable: String, required: Option[Boolean] = scala.None, fragments: Fragment = ...) extends Fragmented with AllowedAsObjectField with NonePrimitiveType with Product with Serializable

    Created by peter on 16/09/15.

  17. trait Identifiable extends AnyRef

  18. case class IntegerType(id: Id = ..., format: Option[String] = scala.None, minimum: Option[Int] = scala.None, maximum: Option[Int] = scala.None, multipleOf: Option[Int] = scala.None, required: Option[Boolean] = scala.None) extends PrimitiveType with AllowedAsObjectField with Product with Serializable

    Created by peter on 1/04/16.

  19. case class MapType(id: Id, baseType: List[String], elementType: String, required: Option[Boolean] = scala.None) extends Type with Product with Serializable

    Created by peter on 25/03/16.

  20. trait NonePrimitiveType extends Type

  21. case class NullType(id: Id = ..., required: Option[Boolean] = scala.None) extends PrimitiveType with AllowedAsObjectField with Product with Serializable

    Created by peter on 1/04/16.

  22. case class NumberType(id: Id = ..., format: Option[String] = scala.None, minimum: Option[Int] = scala.None, maximum: Option[Int] = scala.None, multipleOf: Option[Int] = scala.None, required: Option[Boolean] = scala.None) extends PrimitiveType with AllowedAsObjectField with Product with Serializable

    Created by peter on 1/04/16.

  23. case class ObjectType(id: Id, baseType: List[Id], properties: Map[String, Type], required: Option[Boolean] = scala.None, requiredFields: List[String] = immutable.this.List.empty[Nothing], selection: Option[Selection] = scala.None, fragments: Fragment = ..., typeVariables: List[String] = immutable.this.List.empty[Nothing], typeDiscriminator: Option[String] = scala.None) extends Fragmented with AllowedAsObjectField with NonePrimitiveType with Product with Serializable

    Created by peter on 25/03/16.

  24. case class OneOf(selection: List[Type]) extends Selection with Product with Serializable

  25. trait PrimitiveType extends Type

  26. case class PropertyDeclaration(typeName: String, required: Boolean = true) extends Product with Serializable

    Created by peter on 25/03/16.

  27. sealed trait Selection extends AnyRef

    Created by peter on 25/03/16.

  28. case class StringType(id: Id = ..., format: Option[String] = scala.None, pattern: Option[String] = scala.None, minLength: Option[Int] = scala.None, maxLength: Option[Int] = scala.None, required: Option[Boolean] = scala.None) extends PrimitiveType with AllowedAsObjectField with Product with Serializable

    Created by peter on 1/04/16.

  29. case class TimeOnlyType(id: Id = ..., required: Option[Boolean] = scala.None) extends DateType with Product with Serializable

    time-only The "partial-time" notation of RFC3339, namely hh:mm:ss[.

  30. trait Type extends Identifiable

    Created by peter on 10/02/16.

  31. case class TypeReference(refersTo: Id, id: Id = ..., required: Option[Boolean] = scala.None, genericTypes: Map[String, Type] = ..., fragments: Fragment = ...) extends PrimitiveType with AllowedAsObjectField with Fragmented with Product with Serializable

    Created by peter on 1/04/16.

  32. case class Types(typeDefinitions: Map[String, Type] = ...) extends Product with Serializable

    Created by peter on 10/02/16.

Value Members

  1. object ArrayType extends Serializable

  2. object BooleanType extends Serializable

  3. object DateOnlyType extends Product with Serializable

  4. object DateTimeDefaultType extends Product with Serializable

  5. object DateTimeOnlyType extends Product with Serializable

  6. object DateTimeRFC2616Type extends Product with Serializable

  7. object DateTimeType

  8. object EnumType extends Serializable

  9. object FileType extends Product with Serializable

  10. object Fragment extends Serializable

  11. object GenericObjectType extends Serializable

  12. object InlineTypeDeclaration

    Created by peter on 1/09/16.

  13. object IntegerType extends Serializable

  14. object NullType extends Serializable

  15. object NumberType extends Serializable

  16. object ObjectType extends Serializable

  17. object StringType extends Serializable

  18. object TimeOnlyType extends Product with Serializable

  19. object Type

  20. object TypeReference extends Serializable

  21. object Types extends Serializable

Ungrouped