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