PluginCollaborator
Extends:
Plugin collaborator item resource object representing a plugin collaborator.
Constructor Summary
| Public Constructor | ||
| public | constructor(url: string, auth: Object) Constructor | |
Method Summary
| Public Methods | ||
| public | Make a DELETE request to delete this plugin collaborator item resource through the REST API. | |
| public | getPluginMeta(timeout: number): Object Fetch the plugin meta associated to this plugin collaborator from the REST API. | |
| public | Fetch the user associated to this plugin collaborator from the REST API. | |
| public | Make a PUT request to modify this plugin collaborator item resource through the REST API. | |
Inherited Summary
| From class Resource | ||
| public get | Return true if the resource object contains any data. | |
| public |  | |
| public |  | |
| public |  | |
| public |  | |
| public | Make a deep copy clone of this object resource. | |
| From class ItemResource | ||
| public get | Get the item's data object (REST API descriptors). | |
| public | collection: * | |
| public | Fetch this item resource from the REST API. | |
| public | getPUTParameters(): string[] Get an array of parameter names that can be used as properties of the data object in PUT requests. | |
| private | Internal helper method to make a DELETE request to this item resource through the REST API. | |
| private | _getResource(linkRelation: string, ResourceClass: Object, searchParams: Object, timeout: number): Object Internal method to fetch a related resource from the REST API that is referenced by a link relation within the item object. | |
| private | Internal helper method to make a PUT request to this item resource through the REST API. | |
Public Constructors
Public Methods
public delete(timeout: number): Object source
Make a DELETE request to delete this plugin collaborator item resource through the REST API.
Params:
| Name | Type | Attribute | Description | 
| timeout | number | 
 | request timeout | 
public getPluginMeta(timeout: number): Object source
Fetch the plugin meta associated to this plugin collaborator from the REST API.
Params:
| Name | Type | Attribute | Description | 
| timeout | number | 
 | request timeout | 
public getUser(timeout: number): Object source
Fetch the user associated to this plugin collaborator from the REST API.
Params:
| Name | Type | Attribute | Description | 
| timeout | number | 
 | request timeout | 
