Billing_groups | R Documentation |
R6 Class representing billing groups resource endpoints.
sevenbridges2::Resource
-> Billing_groups
URL
List of URL endpoints for this resource.
new()
Create a new Billing_groups object.
Billing_groups$new(...)
...
Other response arguments.
query()
List all your billing groups, including groups that are pending or have been disabled.
Billing_groups$query( limit = getOption("sevenbridges2")$limit, offset = getOption("sevenbridges2")$offset, ... )
limit
The maximum number of collection items to return
for a single request. Minimum value is 1
.
The maximum value is 100
and the default value is 50
.
This is a pagination-specific attribute.
offset
The zero-based starting index in the entire collection
of the first item to return. The default value is 0
.
This is a pagination-specific attribute.
...
Other arguments that can be passed to core api()
function
like query parameters, 'fields', etc.
Collection
of Billing
groups.
\dontrun{ billing_groups_object <- Billing_groups$new( auth = auth ) # List all your billing groups billing_groups_object$query() }
get()
Retrieve a single billing group, specified by its ID.
To find the billing_group
, use the call Billing_groups$query()
to list all your billing groups. The information returned
includes the billing group owner, the total balance, and the status of
the billing group (pending or confirmed).
Billing_groups$get(id, ...)
id
The ID of the billing group you are querying.
...
Other arguments that can be passed to core api()
function
like 'fields', etc.
Billing
object.
\dontrun{ billing_groups_object <- Billing_groups$new( auth = auth ) # Get single billing group billing_groups_object$get(id = id) }
clone()
The objects of this class are cloneable with this method.
Billing_groups$clone(deep = FALSE)
deep
Whether to make a deep clone.
## ------------------------------------------------
## Method `Billing_groups$query`
## ------------------------------------------------
## Not run:
billing_groups_object <- Billing_groups$new(
auth = auth
)
# List all your billing groups
billing_groups_object$query()
## End(Not run)
## ------------------------------------------------
## Method `Billing_groups$get`
## ------------------------------------------------
## Not run:
billing_groups_object <- Billing_groups$new(
auth = auth
)
# Get single billing group
billing_groups_object$get(id = id)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.