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