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.
# QueryResultItem$new()
R6 class
Model class for QueryResultItem objects. Contains an object returned from a QuerySpec query. Holds an item and a relevance score.
score
numeric
item
list
$new()
Constructor QueryResultItem object.
$fromList(QueryResultItemList)
Create QueryResultItem object from list.
$toList()
Get list representation of QueryResultItem.
fromJSONString(QueryResultItemJson)
Create QueryResultItem object from JSON.
toJSONString(pretty=TRUE)
Get JSON representation of QueryResultItem.