Options
All
  • Public
  • Public/Protected
  • All
Menu

The query params structure describes pagination params for requests.

since

1.0

Hierarchy

  • QueryParams

Index

Constructors

Properties

Methods

Constructors

constructor

  • new QueryParams(args?: undefined | { id?: undefined | string; order?: Order; pageSize?: undefined | number }): QueryParams

Properties

Optional id

id: undefined | string

Id after which we want objects to be returned

order

order: Order = Order.Desc

Order of transactions. DESC. Newer to older. ASC. Older to newer.

pageSize

pageSize: number = 10

Page size between 10 and 100, otherwise 10

Methods

Private setPageSize

  • setPageSize(pageSize?: undefined | number): void

Generated using TypeDoc