26 lines
799 B
Go
26 lines
799 B
Go
package contracts
|
|
|
|
type SeverityUpdateWebhookRequest struct {
|
|
Requester string `json:"requester"`
|
|
RequestType string `json:"requestType"`
|
|
IncidentDetails IncidentDetails `json:"incidentDetails"`
|
|
RequestMetaData SeverityUpdateRequestMetaData `json:"requestMetaData"`
|
|
}
|
|
|
|
type IncidentDetails struct {
|
|
IncidentType string `json:"incidentType"`
|
|
IncidentID uint `json:"incidentId"`
|
|
}
|
|
|
|
type SeverityUpdateRequestMetaData struct {
|
|
CurrentSeverity SeverityInfo `json:"currentSeverity"`
|
|
UpdatedBy string `json:"updatedBy"`
|
|
ResponderTeam string `json:"responderTeam"`
|
|
SlackChannelId string `json:"slackChannelId"`
|
|
}
|
|
|
|
type SeverityInfo struct {
|
|
Name string `json:"name"`
|
|
ID uint `json:"id"`
|
|
}
|