-
Notifications
You must be signed in to change notification settings - Fork 3
/
priorities.go
40 lines (30 loc) · 1011 Bytes
/
priorities.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
38
39
40
package tracker
// BasicPriority
// https://cloud.yandex.ru/en/docs/tracker/concepts/issues/get-issue#priority
type BasicPriority struct {
// Address of the API resource with information about the priority.
Self string `json:"self"`
// Priority ID.
ID string `json:"id"`
// Priority key.
Key string `json:"key"`
// Priority name displayed.
Display string `json:"display"`
}
// Priority
// https://cloud.yandex.ru/en/docs/tracker/concepts/issues/get-priorities
type Priority struct {
// Address of the API resource with information about the priority.
Self string `json:"self"`
// Priority ID.
ID int `json:"id"`
// Priority key.
Key string `json:"key"`
// Priority version.
Version int `json:"version"`
// Priority name displayed.
// If localized=false is provided in the request, this parameter duplicates the name in other languages.
Name string `json:"name"`
// Priority weight. This parameter affects the order of priority display in the interface.
Order int `json:"order"`
}