Documents
Last updated
Was this helpful?
Last updated
Was this helpful?
Handles all Asset Document related functionality
Namespace‹›
↳ Documents
Protected
context• context: Context
Inherited from void
Protected
parentInherited from void
Retrieve all documents linked to the Asset
note
supports pagination
Parameters:
paginationOpts?
Assign a new list of documents to the Asset by replacing the existing list of documents with the ones passed in the parameters
This requires two transactions
Parameters:
args
opts?
Defined in
• parent:
Defined in
▸ get(paginationOpts?
: ): Promise‹‹››
Defined in
Returns: Promise‹‹››
▸ set(args
: , opts?
: ): Promise‹‹››
Defined in
note
this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it
Returns: Promise‹‹››