Represents the static API of an entity.

interface Constructable<EntityT> {
    new Constructablenew (...args): EntityT;
    _defaultBasePath: string;
    _entityName: string;
    _keys: string[];
}

Type Parameters

Constructors

  • Parameters

    • Rest ...args: any[]

    Returns EntityT

Properties

_defaultBasePath: string

Base path as specified in the options-per-service.json, e.g., /sap/opu/odata/sap/API_COMMON_SRV.

_entityName: string

Name of the entity.

_keys: string[]

Names of the key properties of the entity.

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