@sap-cloud-sdk/core
Version:
SAP Cloud SDK for JavaScript core
20 lines • 1.06 kB
TypeScript
import { Entity } from '../entity';
import { EntityIdentifiable, Constructable, Filterable, Expandable, GetAllRequestBuilder as GetAllRequestBuilderBase } from '../../odata-common';
export declare class GetAllRequestBuilder<EntityT extends Entity> extends GetAllRequestBuilderBase<EntityT> implements EntityIdentifiable<EntityT> {
readonly _entity: EntityT;
/**
* Creates an instance of GetAllRequestBuilder.
* @param entityConstructor - Constructor of the entity to create the request for
*/
constructor(entityConstructor: Constructable<EntityT>);
expand(expands: Expandable<EntityT>[]): this;
expand(...expands: Expandable<EntityT>[]): this;
/**
* Add filter statements to the request.
* @param expressions - Filter expressions to restrict the response
* @returns The request builder itself, to facilitate method chaining
*/
filter(...expressions: Filterable<EntityT>[]): this;
}
export { GetAllRequestBuilder as GetAllRequestBuilderV4 };
//# sourceMappingURL=get-all-request-builder.d.ts.map