import { DefaultDeSerializers , DeSerializers , GetAllRequestBuilder , GetByKeyRequestBuilder , CreateRequestBuilder , UpdateRequestBuilder , DeleteRequestBuilder , DeserializedType , RequestBuilder } from '@sap-cloud-sdk/odata-v4' ; import { TestEntity1 } from './TestEntity1' ; /**
 * Request builder class for operations supported on the [[TestEntity1]] entity.
 */ export class TestEntity1RequestBuilder < T extends DeSerializers = DefaultDeSerializers > extends RequestBuilder < TestEntity1 < T > , T > { param keyPropertyString returns getByKey ( keyPropertyString ) { return new GetByKeyRequestBuilder < TestEntity1 < T > , T > ( this . entityApi , { KeyPropertyString : keyPropertyString } ) ; } returns getAll ( ) { return new GetAllRequestBuilder < TestEntity1 < T > , T > ( this . entityApi ) ; } param entity returns create ( entity ) { return new CreateRequestBuilder < TestEntity1 < T > , T > ( this . entityApi , entity ) ; } param entity returns update ( entity ) { return new UpdateRequestBuilder < TestEntity1 < T > , T > ( this . entityApi , entity ) ; } param keyPropertyString returns delete ( keyPropertyString ) ; param entity returns delete ( entity ) ; delete ( keyPropertyStringOrEntity ) { return new DeleteRequestBuilder < TestEntity1 < T > , T > ( this . entityApi , keyPropertyStringOrEntity instanceof TestEntity1 ? keyPropertyStringOrEntity : { KeyPropertyString : keyPropertyStringOrEntity ! } ) ; } }