Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_DefectCategory" of service "API_DEFECTCATEGORY_SRV". This service is part of the following communication scenarios: Defect Processing Integration (SAP_COM_0153). See https://api.sap.com/api/API_DEFECTCATEGORY_SRV for more information.

Hierarchy

  • any
    • DefectCategory

Implements

Index

Properties

defectCategory

defectCategory: string

Defect Category. Maximum length: 2.

toText

One-to-many navigation property to the DefectCategoryText entity.

Static DEFECT_CATEGORY

DEFECT_CATEGORY: StringField<DefectCategory> = new StringField('DefectCategory', DefectCategory, 'Edm.String')

Static representation of the defectCategory property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TO_TEXT

TO_TEXT: Link<DefectCategory, DefectCategoryText> = new Link('to_Text', DefectCategory, DefectCategoryText)

Static representation of the one-to-many navigation property toText for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static _allFields

_allFields: any[] = [DefectCategory.DEFECT_CATEGORY,DefectCategory.TO_TEXT]

All fields of the DefectCategory entity.

Static _defaultServicePath

_defaultServicePath: string = "/sap/opu/odata/sap/API_DEFECTCATEGORY_SRV"

Default url path for the according service.

Static _entityName

_entityName: string = "A_DefectCategory"

Technical entity name for DefectCategory.

Static _keyFields

_keyFields: Array<Selectable<DefectCategory>> = [DefectCategory.DEFECT_CATEGORY]

All key fields of the DefectCategory entity.

Static _keys

_keys: any = DefectCategory._keyFields.reduce((acc: any, field) => {acc[field.fieldName] = field;return acc;}, {})

Mapping of all key field names to the respective static field property DefectCategory.

Static _serviceName

_serviceName: string = "API_DEFECTCATEGORY_SRV"

Technical service name for DefectCategory.

Methods

Static builder

  • Returns an entity builder to construct instances DefectCategory.

    Returns EntityBuilderType<DefectCategory, DefectCategoryType>

    A builder that constructs instances of entity type DefectCategory.

Static requestBuilder

  • Returns a request builder to construct requests for operations on the DefectCategory entity type.

    Returns DefectCategoryRequestBuilder

    A DefectCategory request builder.