Documentation ¶
Index ¶
- type Incident
- type IncidentsAcknowledgementsElem
- type IncidentsAcknowledgementsElemAcknowledger
- type IncidentsAlertsElem
- type IncidentsAlertsElemBody
- type IncidentsAlertsElemBodyContextsElem
- type IncidentsAlertsElemIncident
- type IncidentsAlertsElemIntegration
- type IncidentsAlertsElemIntegrationService
- type IncidentsAlertsElemService
- type IncidentsAssignmentsElem
- type IncidentsAssignmentsElemAssignee
- type IncidentsConferenceBridge
- type IncidentsEscalationPolicy
- type IncidentsFirstTriggerLogEntry
- type IncidentsLastStatusChangeBy
- type IncidentsLogEntriesElem
- type IncidentsLogEntriesElemAgent
- type IncidentsLogEntriesElemChannel
- type IncidentsLogEntriesElemEventDetails
- type IncidentsLogEntriesElemIncident
- type IncidentsLogEntriesElemTeamsElem
- type IncidentsPriority
- type IncidentsService
- type IncidentsTeamsElem
- type Notifications
- type NotificationsUser
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Incident ¶
type Incident struct { // Acknowledgements corresponds to the JSON schema field "acknowledgements". Acknowledgements []IncidentsAcknowledgementsElem `json:"acknowledgements,omitempty"` // Alerts corresponds to the JSON schema field "alerts". Alerts []IncidentsAlertsElem `json:"alerts,omitempty"` // Assignments corresponds to the JSON schema field "assignments". Assignments []IncidentsAssignmentsElem `json:"assignments,omitempty"` // ConferenceBridge corresponds to the JSON schema field "conference_bridge". ConferenceBridge *IncidentsConferenceBridge `json:"conference_bridge,omitempty"` // CreatedAt corresponds to the JSON schema field "created_at". CreatedAt *time.Time `json:"created_at,omitempty"` // EscalationPolicy corresponds to the JSON schema field "escalation_policy". EscalationPolicy *IncidentsEscalationPolicy `json:"escalation_policy,omitempty"` // FirstTriggerLogEntry corresponds to the JSON schema field // "first_trigger_log_entry". FirstTriggerLogEntry *IncidentsFirstTriggerLogEntry `json:"first_trigger_log_entry,omitempty"` // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // IncidentKey corresponds to the JSON schema field "incident_key". IncidentKey *string `json:"incident_key,omitempty"` // IncidentNumber corresponds to the JSON schema field "incident_number". IncidentNumber *int `json:"incident_number,omitempty"` // LastStatusChangeAt corresponds to the JSON schema field // "last_status_change_at". LastStatusChangeAt *time.Time `json:"last_status_change_at,omitempty"` // LastStatusChangeBy corresponds to the JSON schema field // "last_status_change_by". LastStatusChangeBy *IncidentsLastStatusChangeBy `json:"last_status_change_by,omitempty"` // LogEntries corresponds to the JSON schema field "log_entries". LogEntries []IncidentsLogEntriesElem `json:"log_entries,omitempty"` // Priority corresponds to the JSON schema field "priority". Priority *IncidentsPriority `json:"priority,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Service corresponds to the JSON schema field "service". Service *IncidentsService `json:"service,omitempty"` // Status corresponds to the JSON schema field "status". Status *string `json:"status,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Teams corresponds to the JSON schema field "teams". Teams []IncidentsTeamsElem `json:"teams,omitempty"` // Title corresponds to the JSON schema field "title". Title *string `json:"title,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` // Urgency corresponds to the JSON schema field "urgency". Urgency *string `json:"urgency,omitempty"` }
type IncidentsAcknowledgementsElem ¶
type IncidentsAcknowledgementsElem struct { // Acknowledger corresponds to the JSON schema field "acknowledger". Acknowledger *IncidentsAcknowledgementsElemAcknowledger `json:"acknowledger,omitempty"` // At corresponds to the JSON schema field "at". At *time.Time `json:"at,omitempty"` }
type IncidentsAcknowledgementsElemAcknowledger ¶
type IncidentsAcknowledgementsElemAcknowledger struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsAlertsElem ¶
type IncidentsAlertsElem struct { // AlertKey corresponds to the JSON schema field "alert_key". AlertKey *string `json:"alert_key,omitempty"` // Body corresponds to the JSON schema field "body". Body *IncidentsAlertsElemBody `json:"body,omitempty"` // CreatedAt corresponds to the JSON schema field "created_at". CreatedAt *time.Time `json:"created_at,omitempty"` // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Incident corresponds to the JSON schema field "incident". Incident *IncidentsAlertsElemIncident `json:"incident,omitempty"` // Integration corresponds to the JSON schema field "integration". Integration *IncidentsAlertsElemIntegration `json:"integration,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Service corresponds to the JSON schema field "service". Service *IncidentsAlertsElemService `json:"service,omitempty"` // Severity corresponds to the JSON schema field "severity". Severity *string `json:"severity,omitempty"` // Status corresponds to the JSON schema field "status". Status *string `json:"status,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Suppressed corresponds to the JSON schema field "suppressed". Suppressed *bool `json:"suppressed,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsAlertsElemBody ¶
type IncidentsAlertsElemBody struct { // Contexts corresponds to the JSON schema field "contexts". Contexts []IncidentsAlertsElemBodyContextsElem `json:"contexts,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsAlertsElemBodyContextsElem ¶
type IncidentsAlertsElemBodyContextsElem struct { // Href corresponds to the JSON schema field "href". Href *string `json:"href,omitempty"` // Src corresponds to the JSON schema field "src". Src *string `json:"src,omitempty"` // Text corresponds to the JSON schema field "text". Text *string `json:"text,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsAlertsElemIncident ¶
type IncidentsAlertsElemIncident struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsAlertsElemIntegration ¶
type IncidentsAlertsElemIntegration struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Name corresponds to the JSON schema field "name". Name *string `json:"name,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Service corresponds to the JSON schema field "service". Service *IncidentsAlertsElemIntegrationService `json:"service,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsAlertsElemIntegrationService ¶
type IncidentsAlertsElemIntegrationService struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsAlertsElemService ¶
type IncidentsAlertsElemService struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsAssignmentsElem ¶
type IncidentsAssignmentsElem struct { // Assignee corresponds to the JSON schema field "assignee". Assignee *IncidentsAssignmentsElemAssignee `json:"assignee,omitempty"` // At corresponds to the JSON schema field "at". At *time.Time `json:"at,omitempty"` }
type IncidentsAssignmentsElemAssignee ¶
type IncidentsAssignmentsElemAssignee struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsConferenceBridge ¶
type IncidentsConferenceBridge struct { // ConferenceNumber corresponds to the JSON schema field "conference_number". ConferenceNumber *string `json:"conference_number,omitempty"` // ConferenceUrl corresponds to the JSON schema field "conference_url". ConferenceUrl *string `json:"conference_url,omitempty"` }
type IncidentsEscalationPolicy ¶
type IncidentsEscalationPolicy struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsFirstTriggerLogEntry ¶
type IncidentsFirstTriggerLogEntry struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsLastStatusChangeBy ¶
type IncidentsLastStatusChangeBy struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsLogEntriesElem ¶
type IncidentsLogEntriesElem struct { // Agent corresponds to the JSON schema field "agent". Agent *IncidentsLogEntriesElemAgent `json:"agent,omitempty"` // Channel corresponds to the JSON schema field "channel". Channel *IncidentsLogEntriesElemChannel `json:"channel,omitempty"` // CreatedAt corresponds to the JSON schema field "created_at". CreatedAt *time.Time `json:"created_at,omitempty"` // EventDetails corresponds to the JSON schema field "event_details". EventDetails *IncidentsLogEntriesElemEventDetails `json:"event_details,omitempty"` // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Incident corresponds to the JSON schema field "incident". Incident *IncidentsLogEntriesElemIncident `json:"incident,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Teams corresponds to the JSON schema field "teams". Teams []IncidentsLogEntriesElemTeamsElem `json:"teams,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsLogEntriesElemAgent ¶
type IncidentsLogEntriesElemAgent struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsLogEntriesElemChannel ¶
type IncidentsLogEntriesElemChannel struct { // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsLogEntriesElemEventDetails ¶
type IncidentsLogEntriesElemEventDetails struct { // Description corresponds to the JSON schema field "description". Description *string `json:"description,omitempty"` }
type IncidentsLogEntriesElemIncident ¶
type IncidentsLogEntriesElemIncident struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsLogEntriesElemTeamsElem ¶
type IncidentsLogEntriesElemTeamsElem struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsPriority ¶
type IncidentsPriority struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsService ¶
type IncidentsService struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type IncidentsTeamsElem ¶
type IncidentsTeamsElem struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type Notifications ¶
type Notifications struct { // Address corresponds to the JSON schema field "address". Address *string `json:"address,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // StartedAt corresponds to the JSON schema field "started_at". StartedAt *time.Time `json:"started_at,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` // User corresponds to the JSON schema field "user". User *NotificationsUser `json:"user,omitempty"` }
type NotificationsUser ¶
type NotificationsUser struct { // HtmlUrl corresponds to the JSON schema field "html_url". HtmlUrl *string `json:"html_url,omitempty"` // Id corresponds to the JSON schema field "id". Id *string `json:"id,omitempty"` // Self corresponds to the JSON schema field "self". Self *string `json:"self,omitempty"` // Summary corresponds to the JSON schema field "summary". Summary *string `json:"summary,omitempty"` // Type corresponds to the JSON schema field "type". Type *string `json:"type,omitempty"` }
type Service ¶
type Service struct { Id string `json:"id"` Summary string `json:"summary"` Type string `json:"type"` Self string `json:"self"` HtmlUrl string `json:"html_url"` Name string `json:"name"` AutoResolveTimeout int `json:"auto_resolve_timeout"` AcknowledgementTimeout int `json:"acknowledgement_timeout"` CreatedAt time.Time `json:"created_at"` Status string `json:"status"` AlertCreation string `json:"alert_creation"` AlertGroupingParameters struct { Type string `json:"type"` } `json:"alert_grouping_parameters"` Integrations []struct { Id string `json:"id"` Type string `json:"type"` Summary string `json:"summary"` Self string `json:"self"` HtmlUrl string `json:"html_url"` } `json:"integrations"` EscalationPolicy struct { Id string `json:"id"` Type string `json:"type"` Summary string `json:"summary"` Self string `json:"self"` HtmlUrl string `json:"html_url"` } `json:"escalation_policy"` Teams []struct { Id string `json:"id"` Type string `json:"type"` Summary string `json:"summary"` Self string `json:"self"` HtmlUrl string `json:"html_url"` } `json:"teams"` IncidentUrgencyRule struct { Type string `json:"type"` DuringSupportHours struct { Type string `json:"type"` Urgency string `json:"urgency"` } `json:"during_support_hours"` OutsideSupportHours struct { Type string `json:"type"` Urgency string `json:"urgency"` } `json:"outside_support_hours"` } `json:"incident_urgency_rule"` SupportHours struct { Type string `json:"type"` TimeZone string `json:"time_zone"` StartTime string `json:"start_time"` EndTime string `json:"end_time"` DaysOfWeek []int `json:"days_of_week"` } `json:"support_hours"` ScheduledActions []struct { Type string `json:"type"` At struct { Type string `json:"type"` Name string `json:"name"` } `json:"at"` ToUrgency string `json:"to_urgency"` } `json:"scheduled_actions"` AutoPauseNotificationsParameters struct { Enabled bool `json:"enabled"` Timeout int `json:"timeout"` } `json:"auto_pause_notifications_parameters"` }
Click to show internal directories.
Click to hide internal directories.