/
jira_remote_links.go
39 lines (33 loc) · 1.37 KB
/
jira_remote_links.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
package models
type RemoteLinkIdentify struct {
ID int `json:"id,omitempty"`
Self string `json:"self,omitempty"`
}
type RemoteLinkScheme struct {
Application *RemoteLinkApplicationScheme `json:"application,omitempty"`
GlobalID string `json:"globalId,omitempty"`
ID int `json:"id,omitempty"`
Object *RemoteLinkObjectScheme `json:"object,omitempty"`
Relationship string `json:"relationship,omitempty"`
Self string `json:"self,omitempty"`
}
type RemoteLinkObjectScheme struct {
Icon *RemoteLinkObjectLinkScheme `json:"icon,omitempty"`
Status *RemoteLinkObjectStatusScheme `json:"status,omitempty"`
Summary string `json:"summary,omitempty"`
Title string `json:"title,omitempty"`
URL string `json:"url,omitempty"`
}
type RemoteLinkObjectStatusScheme struct {
Icon *RemoteLinkObjectLinkScheme `json:"icon,omitempty"`
Resolved bool `json:"resolved,omitempty"`
}
type RemoteLinkObjectLinkScheme struct {
Link string `json:"link,omitempty"`
Title string `json:"title,omitempty"`
URL16X16 string `json:"url16x16,omitempty"`
}
type RemoteLinkApplicationScheme struct {
Name string `json:"name,omitempty"`
Type string `json:"type,omitempty"`
}