Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Author ¶
type Author struct { /* Role role */ Role string `json:"role,omitempty"` /* User user */ User *User `json:"user,omitempty"` }
Author author
swagger:model Author
type Comment ¶
type Comment struct { /* Author author */ Author *User `json:"author,omitempty"` /* Comments comments */ Comments []*Comment `json:"comments,omitempty"` /* CreatedDate created date */ CreatedDate int64 `json:"createdDate,omitempty"` /* ID id */ ID int64 `json:"id,omitempty"` /* Text text */ Text string `json:"text,omitempty"` /* UpdatedDate updated date */ UpdatedDate int64 `json:"updatedDate,omitempty"` /* Version version */ Version int64 `json:"version,omitempty"` }
Comment comment
swagger:model Comment
type CommitsResponse ¶
type CommitsResponse struct { /* IsLastPage is last page */ IsLastPage bool `json:"isLastPage,omitempty"` /* Limit limit */ Limit int64 `json:"limit,omitempty"` /* NextPageStart next page start */ NextPageStart int64 `json:"nextPageStart,omitempty"` /* Size size */ Size int64 `json:"size,omitempty"` /* Start start */ Start int64 `json:"start,omitempty"` }
CommitsResponse commits response
swagger:model CommitsResponse
type Link ¶
type Link struct { /* Rel rel */ Rel string `json:"rel,omitempty"` /* URL url */ URL string `json:"url,omitempty"` }
Link link
swagger:model Link
type PullRequest ¶
type PullRequest struct { /* Author author */ Author *Author `json:"author,omitempty"` /* CreatedDate created date */ CreatedDate int64 `json:"createdDate,omitempty"` /* Description description */ Description string `json:"description,omitempty"` /* ID id */ ID int64 `json:"id,omitempty"` /* Links links */ Links *PullRequestLinks `json:"links,omitempty"` /* State state */ State string `json:"state,omitempty"` /* Title title */ Title string `json:"title,omitempty"` /* UpdatedDate updated date */ UpdatedDate int64 `json:"updatedDate,omitempty"` /* Version version */ Version int64 `json:"version,omitempty"` }
PullRequest pull request
swagger:model PullRequest
type PullRequestActivitiesResponse ¶
type PullRequestActivitiesResponse struct { /* IsLastPage is last page */ IsLastPage bool `json:"isLastPage,omitempty"` /* Limit limit */ Limit int64 `json:"limit,omitempty"` /* NextPageStart next page start */ NextPageStart int64 `json:"nextPageStart,omitempty"` /* Size size */ Size int64 `json:"size,omitempty"` /* Start start */ Start int64 `json:"start,omitempty"` /* Values values */ Values []*PullRequestActivity `json:"values,omitempty"` }
PullRequestActivitiesResponse pull request activities response
swagger:model PullRequestActivitiesResponse
type PullRequestActivity ¶
type PullRequestActivity struct { /* Action action */ Action string `json:"action,omitempty"` /* Comment comment */ Comment *Comment `json:"comment,omitempty"` /* CreatedDate created date */ CreatedDate int64 `json:"createdDate,omitempty"` /* ID id */ ID int64 `json:"id,omitempty"` /* User user */ User *User `json:"user,omitempty"` }
PullRequestActivity pull request activity
swagger:model PullRequestActivity
type PullRequestLinks ¶
type PullRequestLinks struct { /* Self self */ Self []*PullRequestSelfItems0 `json:"self,omitempty"` }
PullRequestLinks pull request links
swagger:model PullRequestLinks
type PullRequestResponse ¶
type PullRequestResponse struct { /* Author author */ Author *Author `json:"author,omitempty"` /* CreatedDate created date */ CreatedDate int64 `json:"createdDate,omitempty"` /* Description description */ Description string `json:"description,omitempty"` /* ID id */ ID int64 `json:"id,omitempty"` /* State state */ State string `json:"state,omitempty"` /* Title title */ Title string `json:"title,omitempty"` /* UpdatedDate updated date */ UpdatedDate int64 `json:"updatedDate,omitempty"` /* Version version */ Version int64 `json:"version,omitempty"` }
PullRequestResponse pull request response
swagger:model PullRequestResponse
type PullRequestSelfItems0 ¶
type PullRequestSelfItems0 struct { /* Href href */ Href string `json:"href,omitempty"` }
PullRequestSelfItems0 pull request self items0
swagger:model PullRequestSelfItems0
type PullRequestsResponse ¶
type PullRequestsResponse struct { /* IsLastPage is last page */ IsLastPage bool `json:"isLastPage,omitempty"` /* Limit limit */ Limit int64 `json:"limit,omitempty"` /* NextPageStart next page start */ NextPageStart int64 `json:"nextPageStart,omitempty"` /* Size size */ Size int64 `json:"size,omitempty"` /* Start start */ Start int64 `json:"start,omitempty"` /* Values values */ Values []*PullRequest `json:"values,omitempty"` }
PullRequestsResponse pull requests response
swagger:model PullRequestsResponse
type User ¶
type User struct { /* e.g. John Smith */ DisplayName string `json:"displayName,omitempty"` /* EmailAddress email address */ EmailAddress string `json:"emailAddress,omitempty"` /* ID id */ ID int64 `json:"id,omitempty"` /* Link link */ Link *Link `json:"link,omitempty"` /* e.g. short ldap name */ Name string `json:"name,omitempty"` /* e.g. ldap name */ Slug string `json:"slug,omitempty"` }
User user
swagger:model User