Skip to main content

Interface: PaginatedOperation<Request, JSONRequest, Response, JSONResult>

moralis-monorepo / @moralisweb3/common-core / PaginatedOperation

Interface: PaginatedOperation<Request, JSONRequest, Response, JSONResult>

@moralisweb3/common-core.PaginatedOperation

Type parameters

NameType
Requestextends PaginatedRequest
JSONRequestJSONRequest
ResponseResponse
JSONResultJSONResult

Hierarchy

Table of contents

Properties

Methods

Properties

bodyParamNames

Optional bodyParamNames: keyof Request[]

Inherited from

Operation.bodyParamNames


bodyType

Optional bodyType: OperationBodyType

Inherited from

Operation.bodyType


firstPageIndex

firstPageIndex: number

Overrides

Operation.firstPageIndex


groupName

groupName: string

Inherited from

Operation.groupName


id

id: string

Inherited from

Operation.id


isNullable

Optional isNullable: boolean

Inherited from

Operation.isNullable


method

method: OperationRequestMethod

Inherited from

Operation.method


name

name: string

Inherited from

Operation.name


urlPathParamNames

Optional urlPathParamNames: keyof Request[]

Inherited from

Operation.urlPathParamNames


urlPathPattern

urlPathPattern: string

Inherited from

Operation.urlPathPattern


urlSearchParamNames

Optional urlSearchParamNames: keyof Request[]

Inherited from

Operation.urlSearchParamNames

Methods

deserializeRequest

deserializeRequest(jsonRequest, core): Request

Parameters

NameType
jsonRequestJSONRequest
coreCore

Returns

Request

Inherited from

Operation.deserializeRequest


deserializeResponse

deserializeResponse(jsonResponse, request, core): Response

Parameters

NameType
jsonResponsePaginatedJSONResponse<JSONResult>
requestRequest
coreCore

Returns

Response

Inherited from

Operation.deserializeResponse


getRequestBody

Optional getRequestBody(request, core): OperationRequestBody

Parameters

NameType
requestRequest
coreCore

Returns

OperationRequestBody

Inherited from

Operation.getRequestBody


getRequestUrlParams

getRequestUrlParams(request, core): OperationRequestUrlParams

Parameters

NameType
requestRequest
coreCore

Returns

OperationRequestUrlParams

Inherited from

Operation.getRequestUrlParams


serializeRequest

serializeRequest(request, core): JSONRequest

Parameters

NameType
requestRequest
coreCore

Returns

JSONRequest

Inherited from

Operation.serializeRequest