Beginning of incident reporting

This commit is contained in:
Matej Kramny
2015-03-16 01:44:48 +01:00
parent 1cadc9b3b3
commit f478ad9895
5 changed files with 91 additions and 16 deletions

18
cachet/component.go Normal file
View File

@@ -0,0 +1,18 @@
package cachet
import (
"time"
)
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"`
Group_id *int `json:"group_id"`
Created_at *time.Time `json:"created_at"`
Updated_at *time.Time `json:"updated_at"`
Deleted_at *time.Time `json:"deleted_at"`
}