Skip to content

Commit

Permalink
add incident_key field in event api client (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjib committed Aug 3, 2016
1 parent 4b751b6 commit 4260921
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions event.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 4260921

Please sign in to comment.