ResourceInterface.setId() method
Set a unique ID for this resource.
Signature:
setId(id: string): ResourceInterface<TOptions, TSources>;
Parameters
Parameter |
Type |
Description |
---|---|---|
id |
string |
ResourceInterface<TOptions, TSources>
Remarks
This will override any ID provided via the constructor or the ID generated if no ID was provided.