| Divisions | R Documentation |
R6 Class representing Divisions resource.
sevenbridges2::Resource -> Divisions
URLList of URL endpoints for this resource.
new()Create new Divisions resource object.
Divisions$new(...)
...Other response arguments.
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.
Divisions$query()
A Collection of Division objects.
\dontrun{
# Retrieve a list of all divisions you are a member of
a$Divisions$query()
}
get()This call returns the details of a specified division.
Divisions$get(id, ...)
idThe 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.
Division object.
\dontrun{
# Retrieve details of a specified division
a$Divisions$get(id = "division-id")
}
clone()The objects of this class are cloneable with this method.
Divisions$clone(deep = FALSE)
deepWhether to make a deep clone.
## ------------------------------------------------
## Method `Divisions$query`
## ------------------------------------------------
## Not run:
# Retrieve a list of all divisions you are a member of
a$Divisions$query()
## End(Not run)
## ------------------------------------------------
## Method `Divisions$get`
## ------------------------------------------------
## Not run:
# Retrieve details of a specified division
a$Divisions$get(id = "division-id")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.