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