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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Etag

Attributes

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class Resource(id: Urn, body: ByteResourceStream, format: ResourceFormat, etag: Option[Etag], links: ResourceLinks)

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Resource

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
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

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
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

Types

opaque type Etag
type ResourceStream[R] = Stream[ResourceError, R]

Givens

Givens

given urnCodec: JsonCodec[Urn]