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