| ApiVersion |
- Type
- double
- Properties
- Create, Filter, Sort, Update
- Description
- The API version for this trigger. Every trigger has an API version specified at
creation.
|
| Body |
- Type
- string
- Properties
- Create, Nillable, Update
- Description
- The Apex trigger definition. Limit: 1 million characters.
|
| BodyCrc |
- Type
- double
- Properties
- Create, Defaulted on create, Filter, Nillable, Sort, Update
- Description
- The CRC (cyclic redundancy check) of the class or trigger file.
|
| EntityDefinitionId |
- Type
- string
- Properties
- Filter, Group, Nillable,
Sort
- Description
- The Id of the EntityDefinition object associated with this object.
|
| IsValid |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- Indicates whether any dependent metadata has changed since the trigger was last compiled
(true) or not (false).
|
| LengthWithoutComments |
- Type
- int
- Properties
- Create, Filter, Group, Sort, Update
- Description
- Length of the trigger without comments.
|
| Metadata |
- Type
- ApexTriggerMetadata
- Properties
- None
- Description
- An object that describes the version, status, and packaged versions of the
corresponding Apex
trigger.
|
| Status |
- Type
- picklist
- Properties
- Create, Filter, Group, Restricted picklist,
Sort, Update
- Description
- The current status of the Apex
trigger. The following string values are valid:
- Active—The trigger is active.
- Inactive—The trigger is inactive, but
not deleted.
- Deleted—The trigger is marked for
deletion. This is useful for managed packages, because it allows a class to be deleted
when a managed package is updated.
|
| UsageAfterDelete |
- Type
- boolean
- Properties
- Create, Filter, Update
- Description
- Specifies whether the trigger is an after delete trigger (true) or not (false).
|
| UsageAfterInsert |
- Type
- boolean
- Properties
- Create, Filter, Update
- Description
- Specifies whether the trigger is an after insert trigger (true) or not (false).
|
| UsageAfterUndelete |
- Type
- boolean
- Properties
- Create, Filter, Update
- Description
- Specifies whether the trigger is an after undelete trigger (true) or not (false).
|
| UsageAfterUpdate |
- Type
- boolean
- Properties
- Create, Filter, Update
- Description
- Specifies whether the trigger is an after update trigger (true) or not (false).
|
| UsageBeforeDelete |
- Type
- boolean
- Properties
- Create, Filter, Update
- Description
- Specifies whether the trigger is an before delete trigger (true) or not (false).
|
| UsageBeforeInsert |
- Type
- boolean
- Properties
- Create, Filter, Update
- Description
- Specifies whether the trigger is an before insert trigger (true) or not (false).
|
| UsageBeforeUpdate |
- Type
- boolean
- Properties
- Create, Filter, Update
- Description
- Specifies whether the trigger is an before update trigger (true) or not (false).
|
| UsageIsBulk |
- Type
- boolean
- Properties
- Create, Filter, Update
- Description
- Specifies whether the trigger is defined as a bulk trigger (true) or not (false).
|