io.funkode.resource.model

Members list

Concise view

Type members

Classlikes

case class CollectionModel(resourceType: String, rels: List[RelModel])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Etag

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Etag.type
case class RelModel(rel: String, targetType: String)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
trait Resource[Encoder[_], Decoder[_], Body]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object Resource

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
enum ResourceError(msg: String, cause: Option[Throwable]) extends Throwable

Attributes

Graph
Supertypes
trait Enum
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
case class ResourceLink(urn: Urn, rel: String, attributes: Map[String, String])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ResourceModel(name: String, collections: Map[String, CollectionModel])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Types

opaque type Etag
type JsonResource = Resource[JsonEncoder, JsonDecoder, Json]

Givens

Givens

given urnCodec: JsonCodec[Urn]