Base class for describing a resource.
Details
This is a base class for describing a resource on the platform: Projects, Tasks, Volumes, Files, Apps etc.
Public fields
authSeven Bridges Authentication object.
URLList of URL endpoints for this resource.
Methods
Method query()
Generic query implementation that is used by the resources.
Arguments
...Parameters that will be passed to core
api()function.
Method get()
Generic get implementation that fetches a single resource from the server.
Arguments
clsResource class object.
idObject id.
...Other arguments that can be passed to core
api()function like 'fields', etc.
Method delete()
Generic implementation to delete a resource from the server.
Arguments
idObject id.
...Other arguments that can be passed to core
api()function.clsResource class object.