api_entities_PermissionGroup.PermissionGroup
@polymeshassociation/polymesh-sdk / Modules / api/entities/PermissionGroup / PermissionGroup
Class: PermissionGroup
api/entities/PermissionGroup.PermissionGroup
Represents a group of permissions for an Asset
Hierarchy
Table of contents
Properties
Methods
Properties
asset
• asset: Asset
Asset for which this group specifies permissions
Defined in
api/entities/PermissionGroup.ts:19
uuid
• uuid: string
Inherited from
Defined in
Methods
exists
▸ Abstract
exists(): Promise
<boolean
>
Determine whether this Entity exists on chain
Returns
Promise
<boolean
>
Inherited from
Defined in
getPermissions
▸ Abstract
getPermissions(): Promise
<GroupPermissions
>
Retrieve the Permissions associated with this Permission Group
Returns
Promise
<GroupPermissions
>
Defined in
api/entities/PermissionGroup.ts:35
isEqual
▸ isEqual(entity
): boolean
Determine whether this Entity is the same as another one
Parameters
Name | Type |
---|---|
|
|
Returns
boolean
Inherited from
Defined in
toHuman
▸ Abstract
toHuman(): unknown
Returns Entity data in a human readable (JSON) format
Returns
unknown
Inherited from
Defined in
generateUuid
▸ Static
generateUuid<Identifiers
>(identifiers
): string
Generate the Entity's UUID from its identifying properties
Type parameters
Name |
---|
|
Parameters
Name | Type |
---|---|
|
|
Returns
string
Inherited from
Defined in
isUniqueIdentifiers
▸ Static
isUniqueIdentifiers(identifiers
): boolean
Typeguard that checks whether the object passed corresponds to the unique identifiers of the class. Must be overridden
Parameters
Name | Type | Description |
---|---|---|
|
| object to type check |
Returns
boolean
Inherited from
Defined in
unserialize
▸ Static
unserialize<Identifiers
>(serialized
): Identifiers
Unserialize a UUID into its Unique Identifiers
Type parameters
Name |
---|
|
Parameters
Name | Type | Description |
---|---|---|
|
| UUID to unserialize |
Returns
Identifiers
Inherited from
Defined in
Last updated