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