BaseComponentCnfgItem Class

Abstract class that represents a base component configuration item in IT Service Asset Discovery. Stores the field labels for the component configuration item.

ItSvcAssetDcvr

This is an example implementation of the ItSvcAssetDcvr.BaseComponentCnfgItem abstract class.

The following are constructors for BaseComponentCnfgItem.

Creates a new instance of the ItSvcAssetDcvr.BaseComponentCnfgItem class using the specified fieldLabels payload parameter.

public BaseComponentCnfgItem(Map<String,String> fieldLabels)

fieldLabels: Type: Map<String,String>. Required. Specifies the field labels that map Apex fields in the class to the corresponding configuration item display names used by Content Management Database (CMDB).

The following are properties for BaseComponentCnfgItem.

  • fieldLabels

    A map of field API names to their display labels for the component configuration item.

A map of field API names to their display labels for the component configuration item.

public Map<String,String> fieldLabels {get; set;}

Type: Map<String,String>