This commit is contained in:
1 parent
63c534869e
commit
0e9591e6fc
4 files changed
+147
-33
No files matched your search
+12
-11
@@ -18,17 +18,18 @@ type IncidentResultItem struct {
|
||||
|
||||
// TODO - populate more fields here
|
||||
type SingleIncidentResponse struct {
|
||||
Number string `json:"number"` // corresponds with incident_number
|
||||
SysID string `json:"sys_id,omitempty"`
|
||||
IncidentState string `json:"incident_state"` // integer value, 1-6 (6 is resolved)
|
||||
State string `json:"state,omitempty"` // unsure how this differs from IncidentState
|
||||
ShortDescription string `json:"short_description"`
|
||||
AssignedTo interface{} `json:"assigned_to,omitempty"`
|
||||
Description string `json:"description"`
|
||||
Urgency string `json:"urgency"`
|
||||
Impact string `json:"impact"`
|
||||
Category string `json:"category"`
|
||||
Subcategory string `json:"subcategory"`
|
||||
Number string `json:"number"` // corresponds with incident_number
|
||||
SysID string `json:"sys_id,omitempty"`
|
||||
IncidentState string `json:"incident_state"` // integer value, 1-6 (6 is resolved)
|
||||
State string `json:"state,omitempty"` // unsure how this differs from IncidentState
|
||||
ShortDescription string `json:"short_description"`
|
||||
AssignedTo interface{} `json:"assigned_to,omitempty"`
|
||||
Description string `json:"description"`
|
||||
Urgency string `json:"urgency"`
|
||||
Impact string `json:"impact"`
|
||||
Category string `json:"category"`
|
||||
Subcategory string `json:"subcategory"`
|
||||
CommentsAndWorkNotes string `json:"comments_and_work_notes"`
|
||||
// TODO - unvalidated from here on
|
||||
|
||||
// Associated DeviceID (UUID from CPDB)
|
||||
|
||||
Reference in new issue
Block a user