zorkian / go-datadog-api

A Go implementation of the Datadog API.
BSD 3-Clause "New" or "Revised" License
183 stars 156 forks source link

Allow for related_event_id on the Event struct #309

Open jonpjenkins opened 4 years ago

jonpjenkins commented 4 years ago

Events can be related, when posting with a parent_id - https://docs.datadoghq.com/api/?lang=bash#post-an-event

Could you please add a field for related_event_id in the Event struct?

ParentId *int 'json:"related_event_id,omitempty"'