Item {sevenbridges2}R Documentation

R6 Class Representing an Item

Description

Base class for describing objects: Project, Task, App, File, etc.

Public fields

response

Raw response from the request.

href

Item's API request URL.

auth

Seven Bridges Authentication object.

Methods

Public methods


Method new()

Create a new Item object.

Usage
Item$new(href = NA, response = NA, auth = NA)
Arguments
href

Item's API request URL.

response

Raw API response.

auth

Seven Bridges Authentication object.


Method reload()

Reload the Item (resource).

Usage
Item$reload(cls, ...)
Arguments
cls

Item class object.

...

Other arguments that can be passed to core api() function like 'limit', 'offset', 'fields', etc.


Method clone()

The objects of this class are cloneable with this method.

Usage
Item$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


[Package sevenbridges2 version 0.2.0 Index]