Package

org.zalando.jsonapi

model

Permalink

package model

The model package, containing partially covered Jsonapi specification.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. model
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. case class Attribute(name: String, value: Value) extends Product with Serializable

    Permalink

    The representation of an attribute of the root object.

    The representation of an attribute of the root object.

    name

    the name of the attribute

    value

    the value of the attribute

  2. type Attributes = Seq[Attribute]

    Permalink
  3. case class Data(type: String, id: String, attributes: Option[Attributes]) extends Product with Serializable

    Permalink

    The root object's "primary data".

    The root object's "primary data".

    id

    the ID of the root object

    attributes

    the optional list of attributes of the root object

  4. case class RootObject(data: Data) extends Product with Serializable

    Permalink

    A root, top-level object.

Value Members

  1. object Attribute extends Serializable

    Permalink

    Companion object of the Attribute type.

Inherited from AnyRef

Inherited from Any

Ungrouped