mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
23 lines
510 B
Go
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"`
|
|
}
|