-
Notifications
You must be signed in to change notification settings - Fork 14
/
issue.go
54 lines (33 loc) · 1.22 KB
/
issue.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
* Bitbucket API
*
* Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework.
*
* API version: 2.0
* Contact: [email protected]
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package bitbucket
import (
"time"
)
type Issue struct {
Type_ string `json:"type"`
Links *IssueLinks `json:"links,omitempty"`
Id int32 `json:"id,omitempty"`
Repository *Repository `json:"repository,omitempty"`
Title string `json:"title,omitempty"`
Reporter *User `json:"reporter,omitempty"`
Assignee *User `json:"assignee,omitempty"`
CreatedOn time.Time `json:"created_on,omitempty"`
UpdatedOn time.Time `json:"updated_on,omitempty"`
EditedOn time.Time `json:"edited_on,omitempty"`
State string `json:"state,omitempty"`
Kind string `json:"kind,omitempty"`
Priority string `json:"priority,omitempty"`
Milestone *Milestone `json:"milestone,omitempty"`
Version *Version `json:"version,omitempty"`
Component *Component `json:"component,omitempty"`
Votes int32 `json:"votes,omitempty"`
Content *IssueContent `json:"content,omitempty"`
}