18 lines
504 B
Go
18 lines
504 B
Go
package request
|
|
|
|
type AddSeverityRequest struct {
|
|
Name string `json:"name,omitempty"`
|
|
Description string `json:"description,omitempty"`
|
|
}
|
|
|
|
type AddSeverityUserMappingRequest struct {
|
|
SeverityId uint16 `json:"severity_id,omitempty"`
|
|
Users []AddSeverityUserData `json:"users,omitempty"`
|
|
}
|
|
|
|
type AddSeverityUserData struct {
|
|
SlackUserId string `json:"slack_user_id,omitempty"`
|
|
Primary bool `json:"primary,omitempty"`
|
|
Secondary bool `json:"secondary,omitempty"`
|
|
}
|