1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00
wtf/modules/victorops/oncallresponse.go
2019-02-18 11:16:34 -05:00

23 lines
510 B
Go

package victorops
// OnCallResponse object
type OnCallResponse struct {
TeamsOnCall []struct {
Team struct {
Name string `json:"name"`
Slug string `json:"slug"`
} `json:"team"`
OnCallNow []struct {
EscalationPolicy struct {
Name string `json:"name"`
Slug string `json:"slug"`
} `json:"escalationPolicy"`
Users []struct {
OnCallUser struct {
Username string `json:"username"`
} `json:"onCalluser"`
} `json:"users"`
} `json:"oncallNow"`
} `json:"teamsOnCall"`
}