Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
APIError wraps an error model and captures the status code
func NewAPIError ¶
NewAPIError creates a new API error
type GetPullRequestActivitiesOK ¶
type GetPullRequestActivitiesOK struct {
Payload *models.PullRequestActivitiesResponse
}
type GetPullRequestActivitiesParams ¶
type GetPullRequestActivitiesParams struct { /*Limit Probably defaults to 25. It is a best practice to check the limit attribute on the response to see what limit has been applied. */ Limit *int64 Project string PullRequestID int64 Repo string }
GetPullRequestActivitiesParams contains all the parameters to send to the API endpoint for the get pull request activities operation typically these are written to a http.Request
type GetPullRequestsOK ¶
type GetPullRequestsOK struct {
Payload *models.PullRequestsResponse
}
type GetPullRequestsParams ¶
type GetPullRequestsParams struct { /*Limit Probably defaults to 25. It is a best practice to check the limit attribute on the response to see what limit has been applied. */ Limit *int64 /*Order NEWEST is as in newest first. */ Order *string Project string Repo string Role1 *string Role2 *string /*Start The count of the result to start with, inclusive (I think). */ Start *int64 /*State You probably want to include this in, and probably as ALL to see everything (which you won't by default). */ State *string Username1 *string Username2 *string }
Click to show internal directories.
Click to hide internal directories.