From 42609212dc3b30bd784e3e4a6fe80d84c32871c6 Mon Sep 17 00:00:00 2001 From: Ranjib Dey Date: Wed, 3 Aug 2016 13:44:56 -0700 Subject: [PATCH] add incident_key field in event api client (#20) --- event.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/event.go b/event.go index 9203e1d4..8c6ca167 100644 --- a/event.go +++ b/event.go @@ -11,9 +11,10 @@ import ( const EventEndPoint = "https://events.pagerduty.com/generic/2010-04-15/create_event.json" type Event struct { - Type string `json:"event_type"` ServiceKey string `json:"service_key"` - Description string `json:"description,omitempty"` + Type string `json:"event_type"` + IncidentKey string `json:"incident_key,omitempty"` + Description string `json:"description"` Client string `json:"client,omitempty"` ClientURL string `json:"client_url,omitempty"` Details interface{} `json:"details,omitempty"`