Skip to contents

PaginationMetadata Class

Format

An R6Class generator object

Public fields

page

numeric [optional]

per_page

numeric [optional]

total_pages

numeric [optional]

total_items

numeric [optional]

Methods


Method new()

Usage

PaginationMetadata$new(
  page = NULL,
  per_page = NULL,
  total_pages = NULL,
  total_items = NULL,
  ...
)


Method toJSON()

Usage

PaginationMetadata$toJSON()


Method fromJSON()

Usage

PaginationMetadata$fromJSON(PaginationMetadataJson)


Method toJSONString()

Usage

PaginationMetadata$toJSONString()


Method fromJSONString()

Usage

PaginationMetadata$fromJSONString(PaginationMetadataJson)


Method clone()

The objects of this class are cloneable with this method.

Usage

PaginationMetadata$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.