R6 Class representing Divisions resource.
Super class
sevenbridges2::Resource
-> Divisions
Methods
Inherited methods
Method query()
This call retrieves a list of all divisions you are a member of. Each division's ID, name and URL on platform will be returned.
Returns
A Collection
of Division
objects.
Method get()
This call returns the details of a specified division.
Arguments
id
The ID of the division you are querying. The function also accepts a Division object and extracts the ID.
...
Other arguments that can be passed to core
api()
function like 'fields', etc.
Returns
Division
object.
Examples
## ------------------------------------------------
## Method `Divisions$query`
## ------------------------------------------------
if (FALSE) { # \dontrun{
# Retrieve a list of all divisions you are a member of
a$Divisions$query()
} # }
## ------------------------------------------------
## Method `Divisions$get`
## ------------------------------------------------
if (FALSE) { # \dontrun{
# Retrieve details of a specified division
a$Divisions$get(id = "division-id")
} # }