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