UNPKG

@sap-cloud-sdk/core

Version:
18 lines 890 B
import { Constructable, EntityIdentifiable, CreateRequestBuilder as CreateRequestBuilderBase } from '../../odata-common'; import { Entity } from '../entity'; /** * Create OData request to create an entity. * @typeparam EntityT - Type of the entity to be created */ export declare class CreateRequestBuilder<EntityT extends Entity> extends CreateRequestBuilderBase<EntityT> implements EntityIdentifiable<EntityT> { readonly _entityConstructor: Constructable<EntityT>; readonly _entity: EntityT; /** * Creates an instance of CreateRequestBuilder. * @param _entityConstructor - Constructor type of the entity to be created * @param _entity - Entity to be created */ constructor(_entityConstructor: Constructable<EntityT>, _entity: EntityT); } export { CreateRequestBuilder as CreateRequestBuilderV2 }; //# sourceMappingURL=create-request-builder.d.ts.map