PagerDuty Elixir v0.0.1 PagerDuty.Oncall
An on-call represents a contiguous unit of time for which a user will be on call for a given escalation policy and escalation rule.
This may be the result of that user always being on call for the escalation rule, or a block of time during which the computed result of a schedule on that escalation rule puts the user on call.
During an on-call, the user is expected to bear responsibility for responding to any notifications he or she receives and working to resolve the associated incident(s).
On-calls cannot be created directly through the API; they are the computed result of how escalation policies and schedules are configured.
The API provides read-only access to the on-calls generated by PagerDuty.
Attributes
@escalation_policy: The escalation policy for the on-call.@user: The user for the on-call.@schedule: The schedule for the on-call.@escalation_level: The escalation level for the on-call.@start: The start of the on-call. Ifnull, the on-call is a permanent user on-call.@end: The end of the on-call. Ifnull, the user does not go off-call.