Represents the API of an entity, including its request and entity builders as well as its schema.

Type Param

Type of the entity without methods.

Type Parameters

Hierarchy

  • EntityApi

Properties

deSerializers: DeSerializersT

Set of functions that determine (de-)serialization per EDM type.

entityConstructor: Constructable<EntityT>

Constructor function for the entity.

schema: Record<string, any>

Schema of the entity api.

Methods

  • Type Parameters

    • NullableT extends boolean

    Parameters

    • fieldName: string

    Returns CustomField<EntityT, DeSerializersT, NullableT>

  • Returns RequestBuilder<EntityT, DeSerializersT>

Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.