Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetByKeyRequestBuilderV2<EntityT>

Create an OData request to get a single entity based on its key properties. The properties available in the response can be restricted by creating a selection, where no selection is equal to selecting all fields. Note that navigational properties are automatically expanded if they included in a select.

Type parameters

  • EntityT: EntityV2

    Type of the entity to be requested

Hierarchy

Implements

  • EntityIdentifiable<EntityT>
  • EntityIdentifiable<EntityT>

Index

Constructors

constructor

Properties

Readonly _entity

_entity: EntityT

Readonly _entityConstructor

_entityConstructor: Constructable<EntityT>

Constructor of the entity to create the request for

Readonly dataAccessor

dataAccessor: ResponseDataAccessor

Readonly entityDeserializer

entityDeserializer: EntityDeserializer

Entity deserializer

requestConfig

requestConfig: ODataGetByKeyRequestConfig<EntityT>

Request configuration to initialize with

Methods

addCustomHeaders

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

addCustomQueryParameters

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

build

execute

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