Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ODataDeleteRequestConfig<EntityT>

OData delete request configuration for an entity type.

Type parameters

  • EntityT: Entity

    Type of the entity to setup a request for

Hierarchy

  • ODataRequestConfig
    • ODataDeleteRequestConfig

Implements

  • WithKeys

Index

Constructors

constructor

  • Creates an instance of ODataDeleteRequestConfig.

    Parameters

    • entityConstructor: Constructable<EntityT>

      Constructor type of the entity to create a configuration for

    Returns ODataDeleteRequestConfig

Properties

customServicePath

customServicePath: string

defaultServicePath

defaultServicePath: string

default path of the according service

eTag

eTag: string

entityConstructor

entityConstructor: Constructable<EntityT>

Constructor type of the entity to create a configuration for

keys

keys: MapType<FieldType>

method

HTTP method of the request

payload

payload: MapType<any>

Accessors

customHeaders

  • get customHeaders(): MapType<string>
  • set customHeaders(headers: MapType<string>): void
  • Returns MapType<string>

  • Parameters

    • headers: MapType<string>

    Returns void

Methods

addCustomHeaders

  • addCustomHeaders(headers: MapType<string>): void
  • Add custom headers to the request. This is useful in case you want to provide your own authorization headers for example.

    Parameters

    • headers: MapType<string>

      Key-value pairs where the key is the name of a header property and the value is the respective value

    Returns void

Protected prependDollarToQueryParameters

  • prependDollarToQueryParameters(params: MapType<any>): MapType<any>
  • Parameters

    • params: MapType<any>

    Returns MapType<any>

queryParameters

  • queryParameters(): MapType<any>
  • Returns MapType<any>

resourcePath

  • resourcePath(): string
  • Returns string