Resource

com.alecdorrington.hecate.model.Resource
See theResource companion class
object Resource

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Resource.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def group(id: Long): Resource

Names a group as a resource.

Names a group as a resource.

Value parameters

id

The identifier of the group.

Attributes

Returns

The group as a resource.

def user(id: Long): Resource

Names an account as a resource. A grant over it reaches its managers; its own user's powers over it come from being signed in as it, never from a grant.

Names an account as a resource. A grant over it reaches its managers; its own user's powers over it come from being signed in as it, never from a grant.

Value parameters

id

The identifier of the account's user.

Attributes

Returns

The account as a resource.

Concrete fields

val groupKind: String

The kind of a group as a resource, over which access decides who manages it. Reserved: a host must not name a kind of its own this.

The kind of a group as a resource, over which access decides who manages it. Reserved: a host must not name a kind of its own this.

Attributes

val userKind: String

The kind of an account as a resource, over which access decides who manages it. Reserved: a host must not name a kind of its own this.

The kind of an account as a resource, over which access decides who manages it. Reserved: a host must not name a kind of its own this.

Attributes

Givens

Givens

given derived$AsObject: AsObject[Resource]