Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetRequestBuilderBase<EntityT, RequestConfigT>

Base class for the get all and get by key request builders.

Type parameters

Hierarchy

Implements

  • EntityIdentifiable<EntityT>

Index

Constructors

constructor

  • new GetRequestBuilderBase(_entityConstructor: Constructable<EntityT>, requestConfig: RequestConfigT): GetRequestBuilderBase

Properties

Readonly _entity

_entity: EntityT

Readonly _entityConstructor

_entityConstructor: Constructable<EntityT>

Constructor of the entity to create the request for.

requestConfig

requestConfig: RequestConfigT

Request configuration to initialize with

Methods

addCustomHeaders

  • addCustomHeaders(headers: Record<string, string>): this

addCustomQueryParameters

  • addCustomQueryParameters(queryParameters: Record<string, string>): this

build

relativeUrl

  • relativeUrl(): string

select

setCustomServicePath

  • setCustomServicePath(servicePath: string): this

url

withCustomHeaders

  • withCustomHeaders(headers: Record<string, string>): this

withCustomQueryParameters

  • withCustomQueryParameters(queryParameters: Record<string, string>): this

withCustomServicePath

  • withCustomServicePath(servicePath: string): this