Entity
global with sharing class Entity
Description
Represents a Salesforce object.
Properties
id@AuraEnabled global Id id
The Salesforce object ID.
isValid@AuraEnabled global Boolean isValid
Whether the entity is valid or not. It is considered valid if the ID is defined.
label@AuraEnabled global String label
The localized Salesforce object label.
name@AuraEnabled global String name
The Salesforce object name.
parent@AuraEnabled global Entity parent
The Salesforce object parent (e.g. Account for Opportunity).
typeName@AuraEnabled global String typeName
The name of the Salesforce object type.