Skip to content

Latest commit

 

History

History
70 lines (64 loc) · 5.51 KB

Incident.md

File metadata and controls

70 lines (64 loc) · 5.51 KB

PagerDutyOpenapiClient::Incident

Properties

Name Type Description Notes
incident_number Integer The number of the incident. This is unique across your account. [optional][readonly]
title String A succinct description of the nature, symptoms, cause, or effect of the incident. [optional]
created_at Time The time the incident was first triggered. [optional][readonly]
updated_at Time The time the incident was last modified. [optional]
status String The current status of the incident. [optional]
incident_key String The incident's de-duplication key. [optional][readonly]
service IncidentAllOfService [optional]
assignments Array<Assignment> List of all assignments for this incident. This list will be empty if the `Incident.status` is `resolved`. Returns a user reference for each assignment. Full user definitions will be returned if the `include[]=assignees` query parameter is provided. [optional]
assigned_via String How the current incident assignments were decided. Note that `direct_assignment` incidents will not escalate up the attached `escalation_policy` [optional][readonly]
last_status_change_at Time The time the status of the incident last changed. If the incident is not currently acknowledged or resolved, this will be the incident's `updated_at`. [optional][readonly]
resolved_at Time The time the incident became &quot;resolved&quot; or `null` if the incident is not resolved. [optional]
first_trigger_log_entry IncidentAllOfFirstTriggerLogEntry [optional]
alert_counts AlertCount [optional]
is_mergeable Boolean Whether the incident is mergeable. Only incidents that have alerts, or that are manually created can be merged. [optional][readonly]
escalation_policy IncidentAllOfEscalationPolicy [optional]
teams Array<IncidentAllOfTeams> The teams involved in the incident’s lifecycle. If the `include[]=teams` query parameter is provided, the full team definitions will be returned. [optional]
pending_actions Array<IncidentAction> The list of pending_actions on the incident. A pending_action object contains a type of action which can be escalate, unacknowledge, resolve or urgency_change. A pending_action object contains at, the time at which the action will take place. An urgency_change pending_action will contain to, the urgency that the incident will change to. [optional][readonly]
acknowledgements Array<Acknowledgement> List of all acknowledgements for this incident. This list will be empty if the `Incident.status` is `resolved` or `triggered`. If the `include[]=acknowledgers` query parameter is provided, the full user or service definitions will be returned for each acknowledgement entry. [optional]
alert_grouping IncidentAllOfAlertGrouping [optional]
last_status_change_by IncidentAllOfLastStatusChangeBy [optional]
priority Priority [optional]
resolve_reason ResolveReason [optional]
conference_bridge ConferenceBridge The conference bridge information attached to the incident. Only returned if the `include[]=conference_bridge` query parameter is provided. [optional]
incidents_responders Array<IncidentsRespondersReference> The responders on the incident. Only returned if the account has access to the responder requests feature. [optional][readonly]
responder_requests Array<ResponderRequest> Previous responder requests made on this incident. Only returned if the account has access to the responder requests feature. [optional][readonly]
urgency String The current urgency of the incident. [optional]
body IncidentBody The additional incident body details. Only returned if the `include[]=body` query parameter is provided. [optional]

Example

require 'pager_duty_openapi_client'

instance = PagerDutyOpenapiClient::Incident.new(
  incident_number: null,
  title: null,
  created_at: 2019-12-01T20:00Z,
  updated_at: 2019-12-01T21:02Z,
  status: null,
  incident_key: null,
  service: null,
  assignments: null,
  assigned_via: null,
  last_status_change_at: 2019-12-01T21:01Z,
  resolved_at: 2019-12-01T21:01Z,
  first_trigger_log_entry: null,
  alert_counts: null,
  is_mergeable: null,
  escalation_policy: null,
  teams: null,
  pending_actions: null,
  acknowledgements: null,
  alert_grouping: null,
  last_status_change_by: null,
  priority: null,
  resolve_reason: null,
  conference_bridge: null,
  incidents_responders: null,
  responder_requests: null,
  urgency: null,
  body: null
)