api_entities_PermissionGroup.PermissionGroup
Last updated
Was this helpful?
Last updated
Was this helpful?
/ / / PermissionGroup
.PermissionGroup
Represents a group of permissions for an Asset
<, unknown
>
↳ PermissionGroup
↳↳
↳↳
Asset for which this group specifies permissions
Defined in
• uuid: string
Inherited from
Defined in
â–¸ Abstract
exists(): Promise
<boolean
>
Determine whether this Entity exists on chain
Returns
Promise
<boolean
>
Inherited from
Defined in
Retrieve the Permissions associated with this Permission Group
Returns
Defined in
â–¸ isEqual(entity
): boolean
Determine whether this Entity is the same as another one
Parameters
entity
Returns
boolean
Inherited from
Defined in
â–¸ Abstract
toHuman(): unknown
Returns Entity data in a human readable (JSON) format
Returns
unknown
Inherited from
Defined in
â–¸ Static
generateUuid<Identifiers
>(identifiers
): string
Generate the Entity's UUID from its identifying properties
Type parameters
Identifiers
Parameters
identifiers
Identifiers
Returns
string
Inherited from
Defined in
â–¸ Static
isUniqueIdentifiers(identifiers
): boolean
Typeguard that checks whether the object passed corresponds to the unique identifiers of the class. Must be overridden
Parameters
identifiers
unknown
object to type check
Returns
boolean
Inherited from
Defined in
â–¸ Static
unserialize<Identifiers
>(serialized
): Identifiers
Unserialize a UUID into its Unique Identifiers
Type parameters
Identifiers
Parameters
serialized
string
UUID to unserialize
Returns
Identifiers
Inherited from
Defined in
• asset:
.
.
â–¸ Abstract
getPermissions(): Promise
<>
Promise
<>
<unknown
, unknown
>
.
.
.
.
.