import { TestEntity4 } from './TestEntity4' ; import { TestEntity4RequestBuilder } from './TestEntity4RequestBuilder' ; import { CustomField , defaultDeSerializers , DefaultDeSerializers , DeSerializers , mergeDefaultDeSerializersWith , AllFields , entityBuilder , EntityBuilderType , EntityApi , FieldBuilder , Time , EdmTypeField } from '@sap-cloud-sdk/odata-v4' ; import { BigNumber } from 'bignumber.js' ; import { Moment , Duration } from 'moment' ; export class TestEntity4Api < DeSerializersT extends DeSerializers = DefaultDeSerializers > implements EntityApi < TestEntity4 < DeSerializersT > , DeSerializersT > { public deSerializers : DeSerializersT ; constructor ( deSerializers = defaultDeSerializers as any ) { this . deSerializers = deSerializers ; } private navigationPropertyFields ! : { } ; _addNavigationProperties ( linkedApis ) { this . navigationPropertyFields = { } ; return this ; } entityConstructor = TestEntity4 ; requestBuilder ( ) { return new TestEntity4RequestBuilder < DeSerializersT > ( this ) ; } entityBuilder ( ) { return entityBuilder ( this ) ; } customField < NullableT extends boolean = false > ( fieldName , isNullable = false as NullableT ) { return new CustomField ( fieldName , this . entityConstructor , this . deSerializers , isNullable ) as any ; } get schema ( ) { const fieldBuilder = new FieldBuilder ( TestEntity4 , this . deSerializers ) ; return { /**
             * Static representation of the [[keyPropertyString]] property for query construction.
             * Use to reference this property in query operations such as 'select' in the fluent request API.
             */ KEY_PROPERTY_STRING : fieldBuilder . buildEdmTypeField ( 'KeyPropertyString' , 'Edm.String' , false ) , /**
             * Static representation of the [[booleanProperty]] property for query construction.
             * Use to reference this property in query operations such as 'select' in the fluent request API.
             */ BOOLEAN_PROPERTY : fieldBuilder . buildEdmTypeField ( 'BooleanProperty' , 'Edm.Boolean' , true ) , ... this . navigationPropertyFields , /**
             *
             * All fields selector.
             */ ALL_FIELDS : new AllFields ( '*' , TestEntity4 ) } ; } }