@sap-cloud-sdk/core
Version:
SAP Cloud SDK for JavaScript core
18 lines • 890 B
TypeScript
import { Constructable, CreateRequestBuilder as CreateRequestBuilderBase, EntityIdentifiable } 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 CreateRequestBuilderV4 };
//# sourceMappingURL=create-request-builder.d.ts.map