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