Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
ConsumptionAlert Class
Namespace
ConsumptionAlert Constructors
The following are constructors for ConsumptionAlert.
ConsumptionAlert(alertTriggerType, alertTriggerValue, isNotificationSent, createdDate)
Signature
public ConsumptionAlert(String alertTriggerType, Integer alertTriggerValue, Boolean isNotificationSent, Datetime createdDate)
Parameters
- alertTriggerType
- Type: String
- The unit or measurement type of the value that triggered the alert.
- alertTriggerValue
- Type: Integer
- The numeric threshold that was crossed to trigger the alert, based on the alertTriggerType.
- isNotificationSent
- Type: Boolean
- Indicates whether a notification has been sent for this alert (true) or not (false).
- createdDate
- Type: Datetime
- The date and time the alert was created.
ConsumptionAlert Properties
The following are properties for ConsumptionAlert.
alertTriggerType
Signature
public String alertTriggerType {get; set;}
Property Value
Type: String
alertTriggerValue
Signature
public Integer alertTriggerValue {get; set;}
Property Value
Type: Integer
createdDate
Signature
public Datetime createdDate {get; set;}
Property Value
Type: Datetime
isNotificationSent
Signature
public Boolean isNotificationSent {get; set;}
Property Value
Type: Boolean