import { TestEntityLvl2SingleLink } from './TestEntityLvl2SingleLink' ; import { TestEntityLvl2SingleLinkRequestBuilder } from './TestEntityLvl2SingleLinkRequestBuilder' ; import { CustomField , defaultDeSerializers , DefaultDeSerializers , DeSerializers , mergeDefaultDeSerializersWith , AllFields , entityBuilder , EntityBuilderType , EntityApi , FieldBuilder , Time , EdmTypeField , OrderableEdmTypeField } from '@sap-cloud-sdk/odata-v2' ; import { BigNumber } from 'bignumber.js' ; import { Moment } from 'moment' ; export class TestEntityLvl2SingleLinkApi < DeSerializersT extends DeSerializers = DefaultDeSerializers > implements EntityApi < TestEntityLvl2SingleLink < DeSerializersT > , DeSerializersT > { public deSerializers : DeSerializersT ; constructor ( deSerializers = defaultDeSerializers as any ) { this . deSerializers = deSerializers ; } private navigationPropertyFields ! : { } ; _addNavigationProperties ( linkedApis ) { this . navigationPropertyFields = { } ; return this ; } entityConstructor = TestEntityLvl2SingleLink ; requestBuilder ( ) { return new TestEntityLvl2SingleLinkRequestBuilder < 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 ( TestEntityLvl2SingleLink , this . deSerializers ) ; return { /**
             * Static representation of the [[keyProperty]] property for query construction.
             * Use to reference this property in query operations such as 'select' in the fluent request API.
             */ KEY_PROPERTY : fieldBuilder . buildEdmTypeField ( 'KeyProperty' , 'Edm.String' , false ) , /**
             * Static representation of the [[stringProperty]] property for query construction.
             * Use to reference this property in query operations such as 'select' in the fluent request API.
             */ STRING_PROPERTY : fieldBuilder . buildEdmTypeField ( 'StringProperty' , 'Edm.String' , true ) , /**
             * 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 ) , /**
             * Static representation of the [[guidProperty]] property for query construction.
             * Use to reference this property in query operations such as 'select' in the fluent request API.
             */ GUID_PROPERTY : fieldBuilder . buildEdmTypeField ( 'GuidProperty' , 'Edm.Guid' , true ) , /**
             * Static representation of the [[int16Property]] property for query construction.
             * Use to reference this property in query operations such as 'select' in the fluent request API.
             */ INT_16_PROPERTY : fieldBuilder . buildEdmTypeField ( 'Int16Property' , 'Edm.Int16' , true ) , ... this . navigationPropertyFields , /**
             *
             * All fields selector.
             */ ALL_FIELDS : new AllFields ( '*' , TestEntityLvl2SingleLink ) } ; } }