Resource {sevenbridges2} | R Documentation |
Base class for describing a resource.
This is a base class for describing a resource on the platform: Projects, Tasks, Volumes, Files, Apps etc.
auth
Seven Bridges Authentication object.
URL
List of URL endpoints for this resource.
new()
Create a new Resource object.
Resource$new(auth = NA)
auth
Seven Bridges Authentication object.
query()
Generic query implementation that is used by the resources.
Resource$query(...)
...
Parameters that will be passed to core api()
function.
get()
Generic get implementation that fetches single resource from the server.
Resource$get(cls, id, ...)
cls
Resource class object.
id
Object id.
...
Other arguments that can be passed to core api()
function
like 'fields', etc.
delete()
Generic implementation that deletes the resource from the server.
Resource$delete(id, ...)
id
Object id.
...
Other arguments that can be passed to core api()
function.
cls
Resource class object.
clone()
The objects of this class are cloneable with this method.
Resource$clone(deep = FALSE)
deep
Whether to make a deep clone.