Expose IsLocked Propertytags/v1.13.0-rc1
Body: issue.Content, | Body: issue.Content, | ||||
Labels: ToLabelList(issue.Labels), | Labels: ToLabelList(issue.Labels), | ||||
State: issue.State(), | State: issue.State(), | ||||
IsLocked: issue.IsLocked, | |||||
Comments: issue.NumComments, | Comments: issue.NumComments, | ||||
Created: issue.CreatedUnix.AsTime(), | Created: issue.CreatedUnix.AsTime(), | ||||
Updated: issue.UpdatedUnix.AsTime(), | Updated: issue.UpdatedUnix.AsTime(), |
Assignee: apiIssue.Assignee, | Assignee: apiIssue.Assignee, | ||||
Assignees: apiIssue.Assignees, | Assignees: apiIssue.Assignees, | ||||
State: apiIssue.State, | State: apiIssue.State, | ||||
IsLocked: apiIssue.IsLocked, | |||||
Comments: apiIssue.Comments, | Comments: apiIssue.Comments, | ||||
HTMLURL: pr.Issue.HTMLURL(), | HTMLURL: pr.Issue.HTMLURL(), | ||||
DiffURL: pr.Issue.DiffURL(), | DiffURL: pr.Issue.DiffURL(), |
// type: string | // type: string | ||||
// enum: open,closed | // enum: open,closed | ||||
State StateType `json:"state"` | State StateType `json:"state"` | ||||
IsLocked bool `json:"is_locked"` | |||||
Comments int `json:"comments"` | Comments int `json:"comments"` | ||||
// swagger:strfmt date-time | // swagger:strfmt date-time | ||||
Created time.Time `json:"created_at"` | Created time.Time `json:"created_at"` |
Assignee *User `json:"assignee"` | Assignee *User `json:"assignee"` | ||||
Assignees []*User `json:"assignees"` | Assignees []*User `json:"assignees"` | ||||
State StateType `json:"state"` | State StateType `json:"state"` | ||||
IsLocked bool `json:"is_locked"` | |||||
Comments int `json:"comments"` | Comments int `json:"comments"` | ||||
HTMLURL string `json:"html_url"` | HTMLURL string `json:"html_url"` |
"format": "int64", | "format": "int64", | ||||
"x-go-name": "ID" | "x-go-name": "ID" | ||||
}, | }, | ||||
"is_locked": { | |||||
"type": "boolean", | |||||
"x-go-name": "IsLocked" | |||||
}, | |||||
"labels": { | "labels": { | ||||
"type": "array", | "type": "array", | ||||
"items": { | "items": { | ||||
"format": "int64", | "format": "int64", | ||||
"x-go-name": "ID" | "x-go-name": "ID" | ||||
}, | }, | ||||
"is_locked": { | |||||
"type": "boolean", | |||||
"x-go-name": "IsLocked" | |||||
}, | |||||
"labels": { | "labels": { | ||||
"type": "array", | "type": "array", | ||||
"items": { | "items": { |