/
sm_service_desk_queue.go
37 lines (33 loc) · 1.57 KB
/
sm_service_desk_queue.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package models
type ServiceDeskQueuePageScheme struct {
Size int `json:"size,omitempty"`
Start int `json:"start,omitempty"`
Limit int `json:"limit,omitempty"`
IsLastPage bool `json:"isLastPage,omitempty"`
Values []*ServiceDeskQueueScheme `json:"values,omitempty"`
Expands []string `json:"_expands,omitempty"`
Links *ServiceDeskQueuePageLinkScheme `json:"_links,omitempty"`
}
type ServiceDeskQueuePageLinkScheme struct {
Self string `json:"self,omitempty"`
Base string `json:"base,omitempty"`
Context string `json:"context,omitempty"`
Next string `json:"next,omitempty"`
Prev string `json:"prev,omitempty"`
}
type ServiceDeskQueueScheme struct {
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Jql string `json:"jql,omitempty"`
Fields []string `json:"fields,omitempty"`
IssueCount int `json:"issueCount,omitempty"`
}
type ServiceDeskIssueQueueScheme struct {
Size int `json:"size,omitempty"`
Start int `json:"start,omitempty"`
Limit int `json:"limit,omitempty"`
IsLastPage bool `json:"isLastPage,omitempty"`
Values []*IssueSchemeV2 `json:"values,omitempty"`
Expands []string `json:"_expands,omitempty"`
Links *ServiceDeskQueuePageLinkScheme `json:"_links,omitempty"`
}