UNPKG

@sap-cloud-sdk/core

Version:
30 lines 1.29 kB
import { Entity, Constructable } from '../entity'; import { Filterable } from '../filter'; import { Orderable } from '../order'; import { Selectable } from '../selectable'; import { Expandable } from '../expandable'; import { ODataUri } from '../uri-conversion'; import { ODataRequestConfig } from './odata-request-config'; import { WithGetAllRestrictions } from './odata-request-traits'; /** * OData getAll request configuration for an entity type. * @typeparam EntityT - Type of the entity to setup a request for */ export declare class ODataGetAllRequestConfig<EntityT extends Entity> extends ODataRequestConfig implements WithGetAllRestrictions<EntityT> { readonly entityConstructor: Constructable<EntityT>; private oDataUri; top: number; skip: number; filter: Filterable<EntityT>; orderBy: Orderable<EntityT>[]; selects: Selectable<EntityT>[]; expands: Expandable<EntityT>[]; /** * Creates an instance of ODataGetAllRequestConfig. * @param entityConstructor - Constructor type of the entity to create a configuration for */ constructor(entityConstructor: Constructable<EntityT>, oDataUri: ODataUri); resourcePath(): string; queryParameters(): Record<string, any>; } //# sourceMappingURL=odata-get-all-request-config.d.ts.map