UNPKG

@sap-cloud-sdk/core

Version:
25 lines 1.1 kB
import { Entity, Constructable } from '../entity'; import { FieldType } from '../selectable'; import { ODataUri } from '../uri-conversion'; import { ODataRequestConfig } from './odata-request-config'; import { WithKeys, WithETag } from './odata-request-traits'; /** * OData update request configuration for an entity type. * @typeparam EntityT - Type of the entity to setup a request for */ export declare class ODataUpdateRequestConfig<EntityT extends Entity> extends ODataRequestConfig implements WithKeys, WithETag { readonly _entityConstructor: Constructable<EntityT>; private oDataUri; keys: Record<string, FieldType>; eTag: string; versionIdentifierIgnored: boolean; /** * Creates an instance of ODataUpdateRequestConfig. * @param _entityConstructor - Constructor type of the entity to create a configuration for */ constructor(_entityConstructor: Constructable<EntityT>, oDataUri: ODataUri); resourcePath(): string; queryParameters(): Record<string, any>; updateWithPut(): void; } //# sourceMappingURL=odata-update-request-config.d.ts.map