blob: f19ea2bf4abc7b921b3e734dd6f15db7b1577fc5 (
plain)
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
|
package ticket
type CreateRequest struct {
CategoryRef string `json:"category_ref"`
Subject string `json:"subject"`
Body string `json:"body"`
Priority string `json:"priority"`
}
type UpdateRequest struct {
Status *string `json:"status"`
Priority *string `json:"priority"`
CategoryRef *string `json:"category_ref"`
Assignee *string `json:"assignee"`
}
type CreateCategoryRequest struct {
Name string `json:"name"`
Description string `json:"description"`
}
type UpdateCategoryRequest struct {
Name *string `json:"name"`
Description *string `json:"description"`
SortOrder *uint `json:"sort_order"`
}
type SendMessageRequest struct {
Body string `json:"body"`
}
|