RestService: RestService Class

RestServiceR Documentation

RestService Class

Description

For more information on the NBA object model, please refer to the official NBA documentation at https://docs.biodiversitydata.nl and the NBA model and endpoints reference at https://docs.biodiversitydata.nl/endpoints-reference.

Usage

# RestService$new()

Format

R6 class

Details

Model class for RestService objects.

Fields

endPoint

character

method

character

consumes

character

produces

character

url

character

Methods

$new()

Constructor RestService object.

$fromList(RestServiceList)

Create RestService object from list.

$toList()

Get list representation of RestService.

fromJSONString(RestServiceJson)

Create RestService object from JSON.

toJSONString(pretty=TRUE)

Get JSON representation of RestService.


naturalis/nbaR documentation built on Nov. 12, 2023, 4:47 p.m.