Contact Class

Format

An R6Class generator object

Public fields

id

integer [optional]

name

character [optional]

affiliation

character [optional]

email

character [optional]

Methods


Method new()

Create a Contact

Usage

Contact$new(id = NULL, name = NULL, affiliation = NULL, email = NULL, ...)

Arguments

id

Contact id.

name

Contact name.

affiliation

Contact affiliation / address.

email

Contact email.

...

local optional variable arguments


Method toJSON()

Serialize to list object suitable for jsonlite

Usage

Contact$toJSON()


Method fromJSON()

Deserialize from jsonlite list object

Usage

Contact$fromJSON(ContactJson)

Arguments

ContactJson

list object.


Method toJSONString()

Serialize to JSON string.

Usage

Contact$toJSONString()


Method fromJSONString()

Deserialize from JSON string

Usage

Contact$fromJSONString(ContactJson)

Arguments

ContactJson

JSON string


Method toDataFrame()

Serialize to data frame

Usage

Contact$toDataFrame()


Method fromDataFrame()

Deserialize from contact data frame

Usage

Contact$fromDataFrame(ContactDataFrame)

Arguments

ContactDataFrame

contact data frame


Method clone()

The objects of this class are cloneable with this method.

Usage

Contact$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.