Link to incident, resolved message
- Major outage when already in Partial outage - Resolved at x message - Link incident to component
This commit is contained in:
@@ -1,19 +1,18 @@
|
||||
package cachet
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// Component Cachet model
|
||||
type Component struct {
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
Status int `json:"status"`
|
||||
Link *string `json:"link"`
|
||||
Order *int `json:"order"`
|
||||
GroupID *int `json:"group_id"`
|
||||
CreatedAt *time.Time `json:"created_at"`
|
||||
UpdatedAt *time.Time `json:"updated_at"`
|
||||
DeletedAt *time.Time `json:"deleted_at"`
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
Status int `json:"status_id"`
|
||||
HumanStatus string `json:"-"`
|
||||
IncidentCount int `json:"-"`
|
||||
CreatedAt int `json:"created_at"`
|
||||
UpdatedAt int `json:"updated_at"`
|
||||
}
|
||||
|
||||
// ComponentData json response model
|
||||
type ComponentData struct {
|
||||
Component Component `json:"data"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user