import { TestEntityCircularLinkChild } from './TestEntityCircularLinkChild' ; import { TestEntityCircularLinkChildRequestBuilder } from './TestEntityCircularLinkChildRequestBuilder' ; import { TestEntityCircularLinkParent } from './TestEntityCircularLinkParent' ; import { TestEntityCircularLinkParentApi } from './TestEntityCircularLinkParentApi' ; import { CustomField , defaultDeSerializers , DefaultDeSerializers , DeSerializers , mergeDefaultDeSerializersWith , AllFields , entityBuilder , EntityBuilderType , EntityApi , FieldBuilder , Time , EdmTypeField , OneToOneLink } from '@sap-cloud-sdk/odata-v4' ; import { BigNumber } from 'bignumber.js' ; import { Moment , Duration } from 'moment' ; export class TestEntityCircularLinkChildApi < DeSerializersT extends DeSerializers = DefaultDeSerializers > implements EntityApi < TestEntityCircularLinkChild < DeSerializersT > , DeSerializersT > { public deSerializers : DeSerializersT ; constructor ( deSerializers = defaultDeSerializers as any ) { this . deSerializers = deSerializers ; } private navigationPropertyFields ! : { /**
         * Static representation of the one-to-one navigation property [[toParent]] for query construction.
         * Use to reference this property in query operations such as 'select' in the fluent request API.
         */ TO_PARENT : OneToOneLink < TestEntityCircularLinkChild < DeSerializersT > , DeSerializersT , TestEntityCircularLinkParent < DeSerializersT > > ; } ; _addNavigationProperties ( linkedApis ) { this . navigationPropertyFields = { TO_PARENT : new OneToOneLink ( 'to_Parent' , this , linkedApis [ 0 ] ) } ; return this ; } entityConstructor = TestEntityCircularLinkChild ; requestBuilder ( ) { return new TestEntityCircularLinkChildRequestBuilder < 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 ( TestEntityCircularLinkChild , 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 ) , ... this . navigationPropertyFields , /**
             *
             * All fields selector.
             */ ALL_FIELDS : new AllFields ( '*' , TestEntityCircularLinkChild ) } ; } }