Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername(...) error
- func (a *Client) DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApprove(...) (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNoContent, ...)
- func (a *Client) DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID(...) (...)
- func (a *Client) GetPullrequestsForCommit(params *GetPullrequestsForCommitParams) (*GetPullrequestsForCommitOK, *GetPullrequestsForCommitAccepted, error)
- func (a *Client) GetPullrequestsSelectedUser(params *GetPullrequestsSelectedUserParams, ...) (*GetPullrequestsSelectedUserOK, error)
- func (a *Client) GetRepositoriesWorkspaceRepoSlugDefaultReviewers(params *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams, ...) (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersOK, error)
- func (a *Client) GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername(params *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams, ...) error
- func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequests(params *GetRepositoriesWorkspaceRepoSlugPullrequestsParams, ...) (*GetRepositoriesWorkspaceRepoSlugPullrequestsOK, error)
- func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsActivity(params *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams, ...) (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityOK, error)
- func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestID(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams, ...) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK, error)
- func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivity(...) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityOK, error)
- func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDComments(...) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK, error)
- func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID(...) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK, ...)
- func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommits(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams, ...) error
- func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiff(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams, ...) error
- func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstat(...) error
- func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskID(...) (...)
- func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatch(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams, ...) error
- func (a *Client) PostRepositoriesWorkspaceRepoSlugPullrequests(params *PostRepositoriesWorkspaceRepoSlugPullrequestsParams, ...) (*PostRepositoriesWorkspaceRepoSlugPullrequestsCreated, error)
- func (a *Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApprove(...) (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK, error)
- func (a *Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDComments(...) (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated, ...)
- func (a *Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDecline(...) (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK, error)
- func (a *Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMerge(params *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams, ...) (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK, ...)
- func (a *Client) PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername(params *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams, ...) error
- func (a *Client) PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestID(params *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams, ...) (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK, error)
- func (a *Client) PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID(...) (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK, ...)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) Code() int
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) Error() string
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) GetPayload() *models.Error
- type DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams() *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetContext(ctx context.Context)
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetRepoSlug(repoSlug string)
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTargetUsername(targetUsername string)
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetWorkspace(workspace string)
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithRepoSlug(repoSlug string) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTargetUsername(targetUsername string) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithWorkspace(workspace string) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader
- type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNoContent
- type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound
- type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams() *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetContext(ctx context.Context)
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetPullRequestID(pullRequestID int64)
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetRepoSlug(repoSlug string)
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetWorkspace(workspace string)
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithPullRequestID(pullRequestID int64) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithRepoSlug(repoSlug string) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithWorkspace(workspace string) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveReader
- type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized
- type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden
- type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNoContent
- type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound
- type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
- func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams() ...
- func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithContext(ctx context.Context) ...
- func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithHTTPClient(client *http.Client) ...
- func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithTimeout(timeout time.Duration) ...
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetCommentID(commentID string)
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetContext(ctx context.Context)
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetPullRequestID(pullRequestID int64)
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetRepoSlug(repoSlug string)
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetWorkspace(workspace string)
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithCommentID(commentID string) ...
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithContext(ctx context.Context) ...
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithHTTPClient(client *http.Client) ...
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithPullRequestID(pullRequestID int64) ...
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithRepoSlug(repoSlug string) ...
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithTimeout(timeout time.Duration) ...
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithWorkspace(workspace string) ...
- func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader
- type GetPullrequestsForCommitAccepted
- type GetPullrequestsForCommitNotFound
- type GetPullrequestsForCommitOK
- type GetPullrequestsForCommitParams
- func NewGetPullrequestsForCommitParams() *GetPullrequestsForCommitParams
- func NewGetPullrequestsForCommitParamsWithContext(ctx context.Context) *GetPullrequestsForCommitParams
- func NewGetPullrequestsForCommitParamsWithHTTPClient(client *http.Client) *GetPullrequestsForCommitParams
- func NewGetPullrequestsForCommitParamsWithTimeout(timeout time.Duration) *GetPullrequestsForCommitParams
- func (o *GetPullrequestsForCommitParams) SetCommit(commit string)
- func (o *GetPullrequestsForCommitParams) SetContext(ctx context.Context)
- func (o *GetPullrequestsForCommitParams) SetHTTPClient(client *http.Client)
- func (o *GetPullrequestsForCommitParams) SetPage(page *int32)
- func (o *GetPullrequestsForCommitParams) SetPagelen(pagelen *int32)
- func (o *GetPullrequestsForCommitParams) SetRepoSlug(repoSlug string)
- func (o *GetPullrequestsForCommitParams) SetTimeout(timeout time.Duration)
- func (o *GetPullrequestsForCommitParams) SetUsername(username string)
- func (o *GetPullrequestsForCommitParams) WithCommit(commit string) *GetPullrequestsForCommitParams
- func (o *GetPullrequestsForCommitParams) WithContext(ctx context.Context) *GetPullrequestsForCommitParams
- func (o *GetPullrequestsForCommitParams) WithHTTPClient(client *http.Client) *GetPullrequestsForCommitParams
- func (o *GetPullrequestsForCommitParams) WithPage(page *int32) *GetPullrequestsForCommitParams
- func (o *GetPullrequestsForCommitParams) WithPagelen(pagelen *int32) *GetPullrequestsForCommitParams
- func (o *GetPullrequestsForCommitParams) WithRepoSlug(repoSlug string) *GetPullrequestsForCommitParams
- func (o *GetPullrequestsForCommitParams) WithTimeout(timeout time.Duration) *GetPullrequestsForCommitParams
- func (o *GetPullrequestsForCommitParams) WithUsername(username string) *GetPullrequestsForCommitParams
- func (o *GetPullrequestsForCommitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPullrequestsForCommitReader
- type GetPullrequestsSelectedUserNotFound
- type GetPullrequestsSelectedUserOK
- type GetPullrequestsSelectedUserParams
- func NewGetPullrequestsSelectedUserParams() *GetPullrequestsSelectedUserParams
- func NewGetPullrequestsSelectedUserParamsWithContext(ctx context.Context) *GetPullrequestsSelectedUserParams
- func NewGetPullrequestsSelectedUserParamsWithHTTPClient(client *http.Client) *GetPullrequestsSelectedUserParams
- func NewGetPullrequestsSelectedUserParamsWithTimeout(timeout time.Duration) *GetPullrequestsSelectedUserParams
- func (o *GetPullrequestsSelectedUserParams) SetContext(ctx context.Context)
- func (o *GetPullrequestsSelectedUserParams) SetHTTPClient(client *http.Client)
- func (o *GetPullrequestsSelectedUserParams) SetSelectedUser(selectedUser string)
- func (o *GetPullrequestsSelectedUserParams) SetState(state *string)
- func (o *GetPullrequestsSelectedUserParams) SetTimeout(timeout time.Duration)
- func (o *GetPullrequestsSelectedUserParams) WithContext(ctx context.Context) *GetPullrequestsSelectedUserParams
- func (o *GetPullrequestsSelectedUserParams) WithHTTPClient(client *http.Client) *GetPullrequestsSelectedUserParams
- func (o *GetPullrequestsSelectedUserParams) WithSelectedUser(selectedUser string) *GetPullrequestsSelectedUserParams
- func (o *GetPullrequestsSelectedUserParams) WithState(state *string) *GetPullrequestsSelectedUserParams
- func (o *GetPullrequestsSelectedUserParams) WithTimeout(timeout time.Duration) *GetPullrequestsSelectedUserParams
- func (o *GetPullrequestsSelectedUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPullrequestsSelectedUserReader
- type GetRepositoriesWorkspaceRepoSlugDefaultReviewersOK
- type GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
- func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParams() *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
- func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
- func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
- func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugDefaultReviewersReader
- type GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault
- type GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams() *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTargetUsername(targetUsername string)
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTargetUsername(targetUsername string) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader
- type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound
- type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityOK
- type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityReader
- type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityUnauthorized
- type GetRepositoriesWorkspaceRepoSlugPullrequestsNotFound
- type GetRepositoriesWorkspaceRepoSlugPullrequestsOK
- type GetRepositoriesWorkspaceRepoSlugPullrequestsParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetState(state *string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithState(state *string) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityNotFound
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityOK
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetPullRequestID(pullRequestID int64)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityReader
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityUnauthorized
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams() ...
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithContext(ctx context.Context) ...
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithHTTPClient(client *http.Client) ...
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithTimeout(timeout time.Duration) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetCommentID(commentID string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetPullRequestID(pullRequestID int64)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithCommentID(commentID string) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithContext(ctx context.Context) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithHTTPClient(client *http.Client) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithPullRequestID(pullRequestID int64) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithRepoSlug(repoSlug string) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithTimeout(timeout time.Duration) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithWorkspace(workspace string) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetPullRequestID(pullRequestID int64)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsReader
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsDefault
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetPullRequestID(pullRequestID int64)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsReader
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffFound
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetPullRequestID(pullRequestID int64)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffReader
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatFound
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetPullRequestID(pullRequestID int64)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatReader
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDBadRequest
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDForbidden
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDOK
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams() ...
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParamsWithContext(ctx context.Context) ...
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParamsWithHTTPClient(client *http.Client) ...
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParamsWithTimeout(timeout time.Duration) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetPullRequestID(pullRequestID int64)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetTaskID(taskID string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithContext(ctx context.Context) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithHTTPClient(client *http.Client) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithPullRequestID(pullRequestID int64) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithRepoSlug(repoSlug string) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithTaskID(taskID string) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithTimeout(timeout time.Duration) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithWorkspace(workspace string) ...
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDReader
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetPullRequestID(pullRequestID int64)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
- func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetPullRequestID(pullRequestID int64)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetRepoSlug(repoSlug string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetWorkspace(workspace string)
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
- func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchReader
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDReader
- type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized
- type GetRepositoriesWorkspaceRepoSlugPullrequestsReader
- type GetRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized
- type PostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest
- type PostRepositoriesWorkspaceRepoSlugPullrequestsCreated
- type PostRepositoriesWorkspaceRepoSlugPullrequestsParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsParams() *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetBody(body *models.Pullrequest)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetContext(ctx context.Context)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetHTTPClient(client *http.Client)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetRepoSlug(repoSlug string)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetTimeout(timeout time.Duration)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetWorkspace(workspace string)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithBody(body *models.Pullrequest) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithRepoSlug(repoSlug string) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithWorkspace(workspace string) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetContext(ctx context.Context)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetHTTPClient(client *http.Client)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetPullRequestID(pullRequestID int64)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetRepoSlug(repoSlug string)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetTimeout(timeout time.Duration)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetWorkspace(workspace string)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithPullRequestID(pullRequestID int64) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithRepoSlug(repoSlug string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithWorkspace(workspace string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveReader
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetBody(body *models.PullrequestComment)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetContext(ctx context.Context)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetHTTPClient(client *http.Client)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetPullRequestID(pullRequestID int64)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetRepoSlug(repoSlug string)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetTimeout(timeout time.Duration)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetWorkspace(workspace string)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithBody(body *models.PullrequestComment) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithPullRequestID(pullRequestID int64) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithRepoSlug(repoSlug string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithWorkspace(workspace string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsReader
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetContext(ctx context.Context)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetHTTPClient(client *http.Client)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetPullRequestID(pullRequestID int64)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetRepoSlug(repoSlug string)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetTimeout(timeout time.Duration)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetWorkspace(workspace string)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithPullRequestID(pullRequestID int64) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithRepoSlug(repoSlug string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithWorkspace(workspace string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineReader
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineStatus555
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeAccepted
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
- func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetBody(body *models.PullrequestMergeParameters)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetContext(ctx context.Context)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetHTTPClient(client *http.Client)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetPullRequestID(pullRequestID int64)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetRepoSlug(repoSlug string)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetTimeout(timeout time.Duration)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetWorkspace(workspace string)
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithBody(body *models.PullrequestMergeParameters) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithPullRequestID(pullRequestID int64) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithRepoSlug(repoSlug string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithWorkspace(workspace string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
- func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeReader
- type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeStatus555
- type PostRepositoriesWorkspaceRepoSlugPullrequestsReader
- type PostRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized
- type PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault
- type PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams() *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithContext(ctx context.Context) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithHTTPClient(client *http.Client) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithTimeout(timeout time.Duration) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetContext(ctx context.Context)
- func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetHTTPClient(client *http.Client)
- func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetRepoSlug(repoSlug string)
- func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTargetUsername(targetUsername string)
- func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTimeout(timeout time.Duration)
- func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetWorkspace(workspace string)
- func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithContext(ctx context.Context) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithHTTPClient(client *http.Client) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithRepoSlug(repoSlug string) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTargetUsername(targetUsername string) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTimeout(timeout time.Duration) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithWorkspace(workspace string) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
- func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader
- type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDBadRequest
- type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden
- type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound
- type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK
- type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
- func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams() ...
- func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithContext(ctx context.Context) ...
- func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithHTTPClient(client *http.Client) ...
- func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithTimeout(timeout time.Duration) ...
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetBody(body *models.PullrequestComment)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetCommentID(commentID string)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetContext(ctx context.Context)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetHTTPClient(client *http.Client)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetPullRequestID(pullRequestID int64)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetRepoSlug(repoSlug string)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetTimeout(timeout time.Duration)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetWorkspace(workspace string)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithBody(body *models.PullrequestComment) ...
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithCommentID(commentID string) ...
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithContext(ctx context.Context) ...
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithHTTPClient(client *http.Client) ...
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithPullRequestID(pullRequestID int64) ...
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithRepoSlug(repoSlug string) ...
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithTimeout(timeout time.Duration) ...
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithWorkspace(workspace string) ...
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader
- type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound
- type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK
- type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams() *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithContext(ctx context.Context) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithHTTPClient(client *http.Client) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithTimeout(timeout time.Duration) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetBody(body *models.Pullrequest)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetContext(ctx context.Context)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetHTTPClient(client *http.Client)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetPullRequestID(pullRequestID int64)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetRepoSlug(repoSlug string)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetTimeout(timeout time.Duration)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetWorkspace(workspace string)
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithBody(body *models.Pullrequest) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithContext(ctx context.Context) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithHTTPClient(client *http.Client) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithPullRequestID(pullRequestID int64) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithRepoSlug(repoSlug string) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithTimeout(timeout time.Duration) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithWorkspace(workspace string) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
- func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDReader
- type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for pullrequests API
func (*Client) DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername ¶
func (a *Client) DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername(params *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams, authInfo runtime.ClientAuthInfoWriter) error
DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername Removes a default reviewer from the repository.
func (*Client) DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApprove ¶
func (a *Client) DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApprove(params *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNoContent, error)
DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApprove Redact the authenticated user's approval of the specified pull
request.
func (*Client) DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID ¶
func (a *Client) DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID(params *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNoContent, error)
DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID Deletes a specific pull request comment.
func (*Client) GetPullrequestsForCommit ¶
func (a *Client) GetPullrequestsForCommit(params *GetPullrequestsForCommitParams) (*GetPullrequestsForCommitOK, *GetPullrequestsForCommitAccepted, error)
GetPullrequestsForCommit returns a paginated list of all pull requests as part of which this commit was reviewed pull request commit links app must be installed first before using this API installation automatically occurs when go to pull request is clicked from the web interface for a commit s details
func (*Client) GetPullrequestsSelectedUser ¶
func (a *Client) GetPullrequestsSelectedUser(params *GetPullrequestsSelectedUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetPullrequestsSelectedUserOK, error)
GetPullrequestsSelectedUser Returns all pull requests authored by the specified user.
By default only open pull requests are returned. This can be controlled using the `state` query parameter. To retrieve pull requests that are in one of multiple states, repeat the `state` parameter for each individual state.
This endpoint also supports filtering and sorting of the results. See [filtering and sorting](../../../../meta/filtering) for more details.
func (*Client) GetRepositoriesWorkspaceRepoSlugDefaultReviewers ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugDefaultReviewers(params *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersOK, error)
GetRepositoriesWorkspaceRepoSlugDefaultReviewers Returns the repository's default reviewers.
These are the users that are automatically added as reviewers on every new pull request that is created.
func (*Client) GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername(params *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams, authInfo runtime.ClientAuthInfoWriter) error
GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername Returns the specified reviewer.
This can be used to test whether a user is among the repository's default reviewers list. A 404 indicates that that specified user is not a default reviewer.
func (*Client) GetRepositoriesWorkspaceRepoSlugPullrequests ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequests(params *GetRepositoriesWorkspaceRepoSlugPullrequestsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsOK, error)
GetRepositoriesWorkspaceRepoSlugPullrequests Returns all pull requests on the specified repository.
By default only open pull requests are returned. This can be controlled using the `state` query parameter. To retrieve pull requests that are in one of multiple states, repeat the `state` parameter for each individual state.
This endpoint also supports filtering and sorting of the results. See [filtering and sorting](../../../../meta/filtering) for more details.
func (*Client) GetRepositoriesWorkspaceRepoSlugPullrequestsActivity ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsActivity(params *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityOK, error)
GetRepositoriesWorkspaceRepoSlugPullrequestsActivity Returns a paginated list of the pull request's activity log.
This handler serves both a v20 and internal endpoint. The v20 endpoint returns reviewer comments, updates, and approvals. The internal endpoint includes those plus tasks and attachments.
Comments created on a file or a line of code have an inline property.
Comment example: ```
{ "pagelen": 20, "values": [ { "comment": { "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695/comments/118571088" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695/_/diff#comment-118571088" } }, "deleted": false, "pullrequest": { "type": "pullrequest", "id": 5695, "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695" } }, "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it" }, "content": { "raw": "inline with to a dn from lines", "markup": "markdown", "html": "<p>inline with to a dn from lines</p>", "type": "rendered" }, "created_on": "2019-09-27T00:33:46.039178+00:00", "user": { "display_name": "Name Lastname", "uuid": "{}", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/users/%7B%7D" }, "html": { "href": "https://bitbucket.org/%7B%7D/" }, "avatar": { "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128" } }, "type": "user", "nickname": "Name", "account_id": "" }, "created_on": "2019-09-27T00:33:46.039178+00:00", "user": { "display_name": "Name Lastname", "uuid": "{}", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/users/%7B%7D" }, "html": { "href": "https://bitbucket.org/%7B%7D/" }, "avatar": { "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128" } }, "type": "user", "nickname": "Name", "account_id": "" }, "updated_on": "2019-09-27T00:33:46.055384+00:00", "inline": { "context_lines": "", "to": null, "path": "", "outdated": false, "from": 211 }, "type": "pullrequest_comment", "id": 118571088 }, "pull_request": { "type": "pullrequest", "id": 5695, "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695" } }, "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it" } } ] }
```
Updates include a state property of OPEN, MERGED, or DECLINED.
Update example: ```
{ "pagelen": 20, "values": [ { "update": { "description": "", "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it", "destination": { "commit": { "type": "commit", "hash": "6a2c16e4a152", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/commit/6a2c16e4a152" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a2c16e4a152" } } }, "branch": { "name": "master" }, "repository": { "name": "Atlaskit-MK-2", "type": "repository", "full_name": "atlassian/atlaskit-mk-2", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2" }, "avatar": { "href": "https://bytebucket.org/ravatar/%7B%7D?ts=js" } }, "uuid": "{}" } }, "reason": "", "source": { "commit": { "type": "commit", "hash": "728c8bad1813", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/commit/728c8bad1813" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/commits/728c8bad1813" } } }, "branch": { "name": "username/NONE-add-onClick-prop-for-accessibility" }, "repository": { "name": "Atlaskit-MK-2", "type": "repository", "full_name": "atlassian/atlaskit-mk-2", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2" }, "avatar": { "href": "https://bytebucket.org/ravatar/%7B%7D?ts=js" } }, "uuid": "{}" } }, "state": "OPEN", "author": { "display_name": "Name Lastname", "uuid": "{}", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/users/%7B%7D" }, "html": { "href": "https://bitbucket.org/%7B%7D/" }, "avatar": { "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128" } }, "type": "user", "nickname": "Name", "account_id": "" }, "date": "2019-05-10T06:48:25.305565+00:00" }, "pull_request": { "type": "pullrequest", "id": 5695, "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695" } }, "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it" } } ] }
```
Approval example: ```
{ "pagelen": 20, "values": [ { "approval": { "date": "2019-09-27T00:37:19.849534+00:00", "pullrequest": { "type": "pullrequest", "id": 5695, "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695" } }, "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it" }, "user": { "display_name": "Name Lastname", "uuid": "{}", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/users/%7B%7D" }, "html": { "href": "https://bitbucket.org/%7B%7D/" }, "avatar": { "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128" } }, "type": "user", "nickname": "Name", "account_id": "" } }, "pull_request": { "type": "pullrequest", "id": 5695, "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695" } }, "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it" } } ] }
```
func (*Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestID ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestID(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK, error)
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestID Returns the specified pull request.
func (*Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivity ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivity(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityOK, error)
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivity Returns a paginated list of the pull request's activity log.
This handler serves both a v20 and internal endpoint. The v20 endpoint returns reviewer comments, updates, and approvals. The internal endpoint includes those plus tasks and attachments.
Comments created on a file or a line of code have an inline property.
Comment example: ```
{ "pagelen": 20, "values": [ { "comment": { "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695/comments/118571088" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695/_/diff#comment-118571088" } }, "deleted": false, "pullrequest": { "type": "pullrequest", "id": 5695, "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695" } }, "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it" }, "content": { "raw": "inline with to a dn from lines", "markup": "markdown", "html": "<p>inline with to a dn from lines</p>", "type": "rendered" }, "created_on": "2019-09-27T00:33:46.039178+00:00", "user": { "display_name": "Name Lastname", "uuid": "{}", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/users/%7B%7D" }, "html": { "href": "https://bitbucket.org/%7B%7D/" }, "avatar": { "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128" } }, "type": "user", "nickname": "Name", "account_id": "" }, "created_on": "2019-09-27T00:33:46.039178+00:00", "user": { "display_name": "Name Lastname", "uuid": "{}", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/users/%7B%7D" }, "html": { "href": "https://bitbucket.org/%7B%7D/" }, "avatar": { "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128" } }, "type": "user", "nickname": "Name", "account_id": "" }, "updated_on": "2019-09-27T00:33:46.055384+00:00", "inline": { "context_lines": "", "to": null, "path": "", "outdated": false, "from": 211 }, "type": "pullrequest_comment", "id": 118571088 }, "pull_request": { "type": "pullrequest", "id": 5695, "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695" } }, "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it" } } ] }
```
Updates include a state property of OPEN, MERGED, or DECLINED.
Update example: ```
{ "pagelen": 20, "values": [ { "update": { "description": "", "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it", "destination": { "commit": { "type": "commit", "hash": "6a2c16e4a152", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/commit/6a2c16e4a152" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a2c16e4a152" } } }, "branch": { "name": "master" }, "repository": { "name": "Atlaskit-MK-2", "type": "repository", "full_name": "atlassian/atlaskit-mk-2", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2" }, "avatar": { "href": "https://bytebucket.org/ravatar/%7B%7D?ts=js" } }, "uuid": "{}" } }, "reason": "", "source": { "commit": { "type": "commit", "hash": "728c8bad1813", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/commit/728c8bad1813" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/commits/728c8bad1813" } } }, "branch": { "name": "username/NONE-add-onClick-prop-for-accessibility" }, "repository": { "name": "Atlaskit-MK-2", "type": "repository", "full_name": "atlassian/atlaskit-mk-2", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2" }, "avatar": { "href": "https://bytebucket.org/ravatar/%7B%7D?ts=js" } }, "uuid": "{}" } }, "state": "OPEN", "author": { "display_name": "Name Lastname", "uuid": "{}", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/users/%7B%7D" }, "html": { "href": "https://bitbucket.org/%7B%7D/" }, "avatar": { "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128" } }, "type": "user", "nickname": "Name", "account_id": "" }, "date": "2019-05-10T06:48:25.305565+00:00" }, "pull_request": { "type": "pullrequest", "id": 5695, "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695" } }, "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it" } } ] }
```
Approval example: ```
{ "pagelen": 20, "values": [ { "approval": { "date": "2019-09-27T00:37:19.849534+00:00", "pullrequest": { "type": "pullrequest", "id": 5695, "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695" } }, "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it" }, "user": { "display_name": "Name Lastname", "uuid": "{}", "links": { "self": { "href": "https://bitbucket.org/!api/2.0/users/%7B%7D" }, "html": { "href": "https://bitbucket.org/%7B%7D/" }, "avatar": { "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128" } }, "type": "user", "nickname": "Name", "account_id": "" } }, "pull_request": { "type": "pullrequest", "id": 5695, "links": { "self": { "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695" }, "html": { "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695" } }, "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it" } } ] }
```
func (*Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDComments ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDComments(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK, error)
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDComments Returns a paginated list of the pull request's comments.
This includes both global, inline comments and replies.
The default sorting is oldest to newest and can be overridden with the `sort` query parameter.
This endpoint also supports filtering and sorting of the results. See [filtering and sorting](../../../../../../meta/filtering) for more details.
func (*Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK, error)
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID Returns a specific pull request comment.
func (*Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommits ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommits(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams, authInfo runtime.ClientAuthInfoWriter) error
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommits Returns a paginated list of the pull request's commits.
These are the commits that are being merged into the destination branch when the pull requests gets accepted.
func (*Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiff ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiff(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams, authInfo runtime.ClientAuthInfoWriter) error
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiff Redirects to the [repository diff](../../diff/%7Bspec%7D)
with the revspec that corresponds to the pull request.
func (*Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstat ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstat(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams, authInfo runtime.ClientAuthInfoWriter) error
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstat Redirects to the [repository diffstat](../../diffstat/%7Bspec%7D)
with the revspec that corresponds to the pull request.
func (*Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskID ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskID(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDOK, error)
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskID When merging a pull request takes too long, the client receives a
task ID along with a 202 status code. The task ID can be used in a call to this endpoint to check the status of a merge task.
``` curl -X GET https://api.bitbucket.org/2.0/repositories/atlassian/bitbucket/pullrequests/2286/merge/task-status/<task_id> ```
If the merge task is not yet finished, a PENDING status will be returned.
``` HTTP/2 200
{ "task_status": "PENDING", "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bitbucket/pullrequests/2286/merge/task-status/<task_id>" } } }
```
If the merge was successful, a SUCCESS status will be returned.
``` HTTP/2 200
{ "task_status": "SUCCESS", "links": { "self": { "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bitbucket/pullrequests/2286/merge/task-status/<task_id>" } }, "merge_result": <the merged pull request object> }
```
If the merge task failed, an error will be returned.
```
{ "type": "error", "error": { "message": "<error message>" } }
```
func (*Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatch ¶
func (a *Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatch(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams, authInfo runtime.ClientAuthInfoWriter) error
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatch get repositories workspace repo slug pullrequests pull request ID patch API
func (*Client) PostRepositoriesWorkspaceRepoSlugPullrequests ¶
func (a *Client) PostRepositoriesWorkspaceRepoSlugPullrequests(params *PostRepositoriesWorkspaceRepoSlugPullrequestsParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugPullrequestsCreated, error)
PostRepositoriesWorkspaceRepoSlugPullrequests Creates a new pull request where the destination repository is
this repository and the author is the authenticated user.
The minimum required fields to create a pull request are `title` and `source`, specified by a branch name.
```
curl https://api.bitbucket.org/2.0/repositories/my-username/my-repository/pullrequests \ -u my-username:my-password \ --request POST \ --header 'Content-Type: application/json' \ --data '{ "title": "My Title", "source": { "branch": { "name": "staging" } } }'
```
If the pull request's `destination` is not specified, it will default to the `repository.mainbranch`. To open a pull request to a different branch, say from a feature branch to a staging branch, specify a `destination` (same format as the `source`):
```
{ "title": "My Title", "source": { "branch": { "name": "my-feature-branch" } }, "destination": { "branch": { "name": "staging" } } }
```
Reviewers can be specified by adding an array of user objects as the `reviewers` property.
```
{ "title": "My Title", "source": { "branch": { "name": "my-feature-branch" } }, "reviewers": [ { "uuid": "{504c3b62-8120-4f0c-a7bc-87800b9d6f70}" } ] }
```
Other fields:
* `description` - a string * `close_source_branch` - boolean that specifies if the source branch should be closed upon merging
func (*Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApprove ¶
func (a *Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApprove(params *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK, error)
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApprove Approve the specified pull request as the authenticated user.
func (*Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDComments ¶
func (a *Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDComments(params *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated, error)
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDComments Creates a new pull request comment.
Returns the newly created pull request comment.
func (*Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDecline ¶
func (a *Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDecline(params *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK, error)
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDecline Declines the pull request.
func (*Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMerge ¶
func (a *Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMerge(params *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK, *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeAccepted, error)
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMerge Merges the pull request.
func (*Client) PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername ¶
func (a *Client) PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername(params *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams, authInfo runtime.ClientAuthInfoWriter) error
PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername Adds the specified user to the repository's list of default
reviewers.
This method is idempotent. Adding a user a second time has no effect.
func (*Client) PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestID ¶
func (a *Client) PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestID(params *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK, error)
PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestID Mutates the specified pull request.
This can be used to change the pull request's branches or description.
Only open pull requests can be mutated.
func (*Client) PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID ¶
func (a *Client) PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID(params *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK, error)
PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID Updates a specific pull request comment.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername(params *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams, authInfo runtime.ClientAuthInfoWriter) error DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApprove(params *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNoContent, error) DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID(params *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNoContent, error) GetPullrequestsSelectedUser(params *GetPullrequestsSelectedUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetPullrequestsSelectedUserOK, error) GetRepositoriesWorkspaceRepoSlugDefaultReviewers(params *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersOK, error) GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername(params *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams, authInfo runtime.ClientAuthInfoWriter) error GetRepositoriesWorkspaceRepoSlugPullrequests(params *GetRepositoriesWorkspaceRepoSlugPullrequestsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsOK, error) GetRepositoriesWorkspaceRepoSlugPullrequestsActivity(params *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityOK, error) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestID(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK, error) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivity(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityOK, error) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDComments(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK, error) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK, error) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommits(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams, authInfo runtime.ClientAuthInfoWriter) error GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiff(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams, authInfo runtime.ClientAuthInfoWriter) error GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstat(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams, authInfo runtime.ClientAuthInfoWriter) error GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskID(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDOK, error) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatch(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams, authInfo runtime.ClientAuthInfoWriter) error PostRepositoriesWorkspaceRepoSlugPullrequests(params *PostRepositoriesWorkspaceRepoSlugPullrequestsParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugPullrequestsCreated, error) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApprove(params *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK, error) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDComments(params *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated, error) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDecline(params *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK, error) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMerge(params *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK, *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeAccepted, error) PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername(params *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams, authInfo runtime.ClientAuthInfoWriter) error PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestID(params *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK, error) PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID(params *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK, error) GetPullrequestsForCommit(params *GetPullrequestsForCommitParams) (*GetPullrequestsForCommitOK, *GetPullrequestsForCommitAccepted, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new pullrequests API client.
type DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault ¶
type DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault struct { Payload *models.Error // contains filtered or unexported fields }
DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault handles this case with default header values.
Unexpected error.
func NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault ¶
func NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault(code int) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault
NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault creates a DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault with default headers values
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) Code ¶
Code gets the status code for the delete repositories workspace repo slug default reviewers target username default response
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) GetPayload ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) GetPayload() *models.Error
type DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams ¶
type DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams struct { /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*TargetUsername This can either be the username or the UUID of the default reviewer, surrounded by curly-braces, for example: `{account UUID}`. */ TargetUsername string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams contains all the parameters to send to the API endpoint for the delete repositories workspace repo slug default reviewers target username operation typically these are written to a http.Request
func NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams ¶
func NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams() *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams creates a new DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams object with the default values initialized.
func NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithContext ¶
func NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithContext creates a new DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithHTTPClient ¶
func NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithHTTPClient creates a new DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithTimeout ¶
func NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
NewDeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithTimeout creates a new DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetContext ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetContext(ctx context.Context)
SetContext adds the context to the delete repositories workspace repo slug default reviewers target username params
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetHTTPClient ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete repositories workspace repo slug default reviewers target username params
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetRepoSlug ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the delete repositories workspace repo slug default reviewers target username params
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTargetUsername ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTargetUsername(targetUsername string)
SetTargetUsername adds the targetUsername to the delete repositories workspace repo slug default reviewers target username params
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTimeout ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete repositories workspace repo slug default reviewers target username params
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetWorkspace ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the delete repositories workspace repo slug default reviewers target username params
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithContext ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithContext adds the context to the delete repositories workspace repo slug default reviewers target username params
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithHTTPClient ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithHTTPClient adds the HTTPClient to the delete repositories workspace repo slug default reviewers target username params
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithRepoSlug ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithRepoSlug(repoSlug string) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithRepoSlug adds the repoSlug to the delete repositories workspace repo slug default reviewers target username params
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTargetUsername ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTargetUsername(targetUsername string) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithTargetUsername adds the targetUsername to the delete repositories workspace repo slug default reviewers target username params
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTimeout ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithTimeout adds the timeout to the delete repositories workspace repo slug default reviewers target username params
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithWorkspace ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithWorkspace(workspace string) *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithWorkspace adds the workspace to the delete repositories workspace repo slug default reviewers target username params
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WriteToRequest ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader ¶
type DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader struct {
// contains filtered or unexported fields
}
DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader is a Reader for the DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername structure.
func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader) ReadResponse ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNoContent ¶
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNoContent struct { }
DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNoContent handles this case with default header values.
An empty response indicating the authenticated user's approval has been withdrawn.
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNoContent ¶
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNoContent() *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNoContent
NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNoContent creates a DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNoContent with default headers values
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound ¶
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound struct {
Payload *models.Error
}
DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound handles this case with default header values.
The specified pull request or the repository does not exist.
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound ¶
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound() *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound
NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound creates a DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound with default headers values
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound) GetPayload ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound) GetPayload() *models.Error
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams ¶
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams struct { /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams contains all the parameters to send to the API endpoint for the delete repositories workspace repo slug pullrequests pull request ID approve operation typically these are written to a http.Request
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams ¶
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams() *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams creates a new DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams object with the default values initialized.
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithContext ¶
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithContext creates a new DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithHTTPClient ¶
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithHTTPClient creates a new DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithTimeout ¶
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithTimeout creates a new DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetContext ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetContext(ctx context.Context)
SetContext adds the context to the delete repositories workspace repo slug pullrequests pull request ID approve params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetHTTPClient ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete repositories workspace repo slug pullrequests pull request ID approve params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetPullRequestID ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the delete repositories workspace repo slug pullrequests pull request ID approve params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetRepoSlug ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the delete repositories workspace repo slug pullrequests pull request ID approve params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetTimeout ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete repositories workspace repo slug pullrequests pull request ID approve params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetWorkspace ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the delete repositories workspace repo slug pullrequests pull request ID approve params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithContext ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
WithContext adds the context to the delete repositories workspace repo slug pullrequests pull request ID approve params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithHTTPClient ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
WithHTTPClient adds the HTTPClient to the delete repositories workspace repo slug pullrequests pull request ID approve params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithPullRequestID ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithPullRequestID(pullRequestID int64) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
WithPullRequestID adds the pullRequestID to the delete repositories workspace repo slug pullrequests pull request ID approve params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithRepoSlug ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithRepoSlug(repoSlug string) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
WithRepoSlug adds the repoSlug to the delete repositories workspace repo slug pullrequests pull request ID approve params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithTimeout ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
WithTimeout adds the timeout to the delete repositories workspace repo slug pullrequests pull request ID approve params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithWorkspace ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithWorkspace(workspace string) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
WithWorkspace adds the workspace to the delete repositories workspace repo slug pullrequests pull request ID approve params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WriteToRequest ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveReader ¶
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveReader struct {
// contains filtered or unexported fields
}
DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveReader is a Reader for the DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApprove structure.
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveReader) ReadResponse ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized ¶
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized struct {
}DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized handles this case with default header values.
The request wasn't authenticated.
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized ¶
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized() *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized
NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized creates a DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized with default headers values
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized) GetPayload ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized) GetPayload() *models.Error
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden ¶
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden struct {
Payload *models.Error
}
DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden handles this case with default header values.
If the authenticated user does not have access to delete the comment.
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden ¶
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden() *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden
NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden creates a DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden with default headers values
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden) Error ¶
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden) GetPayload ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden) GetPayload() *models.Error
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNoContent ¶
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNoContent struct { }
DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNoContent handles this case with default header values.
Successful deletion.
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNoContent ¶
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNoContent() *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNoContent
NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNoContent creates a DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNoContent with default headers values
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound ¶
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound struct {
Payload *models.Error
}
DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound handles this case with default header values.
If the comment does not exist.
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound ¶
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound() *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound
NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound creates a DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound with default headers values
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound) Error ¶
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound) GetPayload ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound) GetPayload() *models.Error
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams ¶
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams struct { /*CommentID*/ CommentID string /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams contains all the parameters to send to the API endpoint for the delete repositories workspace repo slug pullrequests pull request ID comments comment ID operation typically these are written to a http.Request
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams ¶
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams() *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams creates a new DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams object with the default values initialized.
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithContext ¶
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithContext creates a new DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithHTTPClient ¶
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithHTTPClient creates a new DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithTimeout ¶
func NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
NewDeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithTimeout creates a new DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetCommentID ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetCommentID(commentID string)
SetCommentID adds the commentId to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetContext ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetHTTPClient ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetPullRequestID ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetRepoSlug ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetTimeout ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetWorkspace ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithCommentID ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithCommentID(commentID string) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithCommentID adds the commentID to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithContext ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithContext adds the context to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithHTTPClient ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithHTTPClient adds the HTTPClient to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithPullRequestID ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithPullRequestID(pullRequestID int64) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithPullRequestID adds the pullRequestID to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithRepoSlug ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithRepoSlug(repoSlug string) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithRepoSlug adds the repoSlug to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithTimeout ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithTimeout adds the timeout to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithWorkspace ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithWorkspace(workspace string) *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithWorkspace adds the workspace to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WriteToRequest ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader ¶
type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader struct {
// contains filtered or unexported fields
}
DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader is a Reader for the DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID structure.
func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader) ReadResponse ¶
func (o *DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPullrequestsForCommitAccepted ¶
type GetPullrequestsForCommitAccepted struct {
Payload *models.PaginatedPullrequests
}
GetPullrequestsForCommitAccepted handles this case with default header values.
The repository's pull requests are still being indexed.
func NewGetPullrequestsForCommitAccepted ¶
func NewGetPullrequestsForCommitAccepted() *GetPullrequestsForCommitAccepted
NewGetPullrequestsForCommitAccepted creates a GetPullrequestsForCommitAccepted with default headers values
func (*GetPullrequestsForCommitAccepted) Error ¶
func (o *GetPullrequestsForCommitAccepted) Error() string
func (*GetPullrequestsForCommitAccepted) GetPayload ¶
func (o *GetPullrequestsForCommitAccepted) GetPayload() *models.PaginatedPullrequests
type GetPullrequestsForCommitNotFound ¶
GetPullrequestsForCommitNotFound handles this case with default header values.
Either the repository does not exist, or pull request commit links have not yet been indexed.
func NewGetPullrequestsForCommitNotFound ¶
func NewGetPullrequestsForCommitNotFound() *GetPullrequestsForCommitNotFound
NewGetPullrequestsForCommitNotFound creates a GetPullrequestsForCommitNotFound with default headers values
func (*GetPullrequestsForCommitNotFound) Error ¶
func (o *GetPullrequestsForCommitNotFound) Error() string
func (*GetPullrequestsForCommitNotFound) GetPayload ¶
func (o *GetPullrequestsForCommitNotFound) GetPayload() *models.Error
type GetPullrequestsForCommitOK ¶
type GetPullrequestsForCommitOK struct {
Payload *models.PaginatedPullrequests
}
GetPullrequestsForCommitOK handles this case with default header values.
The paginated list of pull requests.
func NewGetPullrequestsForCommitOK ¶
func NewGetPullrequestsForCommitOK() *GetPullrequestsForCommitOK
NewGetPullrequestsForCommitOK creates a GetPullrequestsForCommitOK with default headers values
func (*GetPullrequestsForCommitOK) Error ¶
func (o *GetPullrequestsForCommitOK) Error() string
func (*GetPullrequestsForCommitOK) GetPayload ¶
func (o *GetPullrequestsForCommitOK) GetPayload() *models.PaginatedPullrequests
type GetPullrequestsForCommitParams ¶
type GetPullrequestsForCommitParams struct { /*Commit The SHA1 of the commit */ Commit string /*Page Which page to retrieve */ Page *int32 /*Pagelen How many pull requests to retrieve per page */ Pagelen *int32 /*RepoSlug The repository; either the UUID in curly braces, or the slug */ RepoSlug string /*Username The account; either the UUID in curly braces, or the account_id */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPullrequestsForCommitParams contains all the parameters to send to the API endpoint for the get pullrequests for commit operation typically these are written to a http.Request
func NewGetPullrequestsForCommitParams ¶
func NewGetPullrequestsForCommitParams() *GetPullrequestsForCommitParams
NewGetPullrequestsForCommitParams creates a new GetPullrequestsForCommitParams object with the default values initialized.
func NewGetPullrequestsForCommitParamsWithContext ¶
func NewGetPullrequestsForCommitParamsWithContext(ctx context.Context) *GetPullrequestsForCommitParams
NewGetPullrequestsForCommitParamsWithContext creates a new GetPullrequestsForCommitParams object with the default values initialized, and the ability to set a context for a request
func NewGetPullrequestsForCommitParamsWithHTTPClient ¶
func NewGetPullrequestsForCommitParamsWithHTTPClient(client *http.Client) *GetPullrequestsForCommitParams
NewGetPullrequestsForCommitParamsWithHTTPClient creates a new GetPullrequestsForCommitParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPullrequestsForCommitParamsWithTimeout ¶
func NewGetPullrequestsForCommitParamsWithTimeout(timeout time.Duration) *GetPullrequestsForCommitParams
NewGetPullrequestsForCommitParamsWithTimeout creates a new GetPullrequestsForCommitParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPullrequestsForCommitParams) SetCommit ¶
func (o *GetPullrequestsForCommitParams) SetCommit(commit string)
SetCommit adds the commit to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) SetContext ¶
func (o *GetPullrequestsForCommitParams) SetContext(ctx context.Context)
SetContext adds the context to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) SetHTTPClient ¶
func (o *GetPullrequestsForCommitParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) SetPage ¶
func (o *GetPullrequestsForCommitParams) SetPage(page *int32)
SetPage adds the page to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) SetPagelen ¶
func (o *GetPullrequestsForCommitParams) SetPagelen(pagelen *int32)
SetPagelen adds the pagelen to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) SetRepoSlug ¶
func (o *GetPullrequestsForCommitParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) SetTimeout ¶
func (o *GetPullrequestsForCommitParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) SetUsername ¶
func (o *GetPullrequestsForCommitParams) SetUsername(username string)
SetUsername adds the username to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) WithCommit ¶
func (o *GetPullrequestsForCommitParams) WithCommit(commit string) *GetPullrequestsForCommitParams
WithCommit adds the commit to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) WithContext ¶
func (o *GetPullrequestsForCommitParams) WithContext(ctx context.Context) *GetPullrequestsForCommitParams
WithContext adds the context to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) WithHTTPClient ¶
func (o *GetPullrequestsForCommitParams) WithHTTPClient(client *http.Client) *GetPullrequestsForCommitParams
WithHTTPClient adds the HTTPClient to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) WithPage ¶
func (o *GetPullrequestsForCommitParams) WithPage(page *int32) *GetPullrequestsForCommitParams
WithPage adds the page to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) WithPagelen ¶
func (o *GetPullrequestsForCommitParams) WithPagelen(pagelen *int32) *GetPullrequestsForCommitParams
WithPagelen adds the pagelen to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) WithRepoSlug ¶
func (o *GetPullrequestsForCommitParams) WithRepoSlug(repoSlug string) *GetPullrequestsForCommitParams
WithRepoSlug adds the repoSlug to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) WithTimeout ¶
func (o *GetPullrequestsForCommitParams) WithTimeout(timeout time.Duration) *GetPullrequestsForCommitParams
WithTimeout adds the timeout to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) WithUsername ¶
func (o *GetPullrequestsForCommitParams) WithUsername(username string) *GetPullrequestsForCommitParams
WithUsername adds the username to the get pullrequests for commit params
func (*GetPullrequestsForCommitParams) WriteToRequest ¶
func (o *GetPullrequestsForCommitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPullrequestsForCommitReader ¶
type GetPullrequestsForCommitReader struct {
// contains filtered or unexported fields
}
GetPullrequestsForCommitReader is a Reader for the GetPullrequestsForCommit structure.
func (*GetPullrequestsForCommitReader) ReadResponse ¶
func (o *GetPullrequestsForCommitReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPullrequestsSelectedUserNotFound ¶
GetPullrequestsSelectedUserNotFound handles this case with default header values.
If the specified user does not exist.
func NewGetPullrequestsSelectedUserNotFound ¶
func NewGetPullrequestsSelectedUserNotFound() *GetPullrequestsSelectedUserNotFound
NewGetPullrequestsSelectedUserNotFound creates a GetPullrequestsSelectedUserNotFound with default headers values
func (*GetPullrequestsSelectedUserNotFound) Error ¶
func (o *GetPullrequestsSelectedUserNotFound) Error() string
func (*GetPullrequestsSelectedUserNotFound) GetPayload ¶
func (o *GetPullrequestsSelectedUserNotFound) GetPayload() *models.Error
type GetPullrequestsSelectedUserOK ¶
type GetPullrequestsSelectedUserOK struct {
Payload *models.PaginatedPullrequests
}
GetPullrequestsSelectedUserOK handles this case with default header values.
All pull requests authored by the specified user.
func NewGetPullrequestsSelectedUserOK ¶
func NewGetPullrequestsSelectedUserOK() *GetPullrequestsSelectedUserOK
NewGetPullrequestsSelectedUserOK creates a GetPullrequestsSelectedUserOK with default headers values
func (*GetPullrequestsSelectedUserOK) Error ¶
func (o *GetPullrequestsSelectedUserOK) Error() string
func (*GetPullrequestsSelectedUserOK) GetPayload ¶
func (o *GetPullrequestsSelectedUserOK) GetPayload() *models.PaginatedPullrequests
type GetPullrequestsSelectedUserParams ¶
type GetPullrequestsSelectedUserParams struct { /*SelectedUser This can either be the username of the pull request author, the author's UUID surrounded by curly-braces, for example: `{account UUID}`, or the author's Atlassian ID. */ SelectedUser string /*State Only return pull requests that are in this state. This parameter can be repeated. */ State *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPullrequestsSelectedUserParams contains all the parameters to send to the API endpoint for the get pullrequests selected user operation typically these are written to a http.Request
func NewGetPullrequestsSelectedUserParams ¶
func NewGetPullrequestsSelectedUserParams() *GetPullrequestsSelectedUserParams
NewGetPullrequestsSelectedUserParams creates a new GetPullrequestsSelectedUserParams object with the default values initialized.
func NewGetPullrequestsSelectedUserParamsWithContext ¶
func NewGetPullrequestsSelectedUserParamsWithContext(ctx context.Context) *GetPullrequestsSelectedUserParams
NewGetPullrequestsSelectedUserParamsWithContext creates a new GetPullrequestsSelectedUserParams object with the default values initialized, and the ability to set a context for a request
func NewGetPullrequestsSelectedUserParamsWithHTTPClient ¶
func NewGetPullrequestsSelectedUserParamsWithHTTPClient(client *http.Client) *GetPullrequestsSelectedUserParams
NewGetPullrequestsSelectedUserParamsWithHTTPClient creates a new GetPullrequestsSelectedUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPullrequestsSelectedUserParamsWithTimeout ¶
func NewGetPullrequestsSelectedUserParamsWithTimeout(timeout time.Duration) *GetPullrequestsSelectedUserParams
NewGetPullrequestsSelectedUserParamsWithTimeout creates a new GetPullrequestsSelectedUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPullrequestsSelectedUserParams) SetContext ¶
func (o *GetPullrequestsSelectedUserParams) SetContext(ctx context.Context)
SetContext adds the context to the get pullrequests selected user params
func (*GetPullrequestsSelectedUserParams) SetHTTPClient ¶
func (o *GetPullrequestsSelectedUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get pullrequests selected user params
func (*GetPullrequestsSelectedUserParams) SetSelectedUser ¶
func (o *GetPullrequestsSelectedUserParams) SetSelectedUser(selectedUser string)
SetSelectedUser adds the selectedUser to the get pullrequests selected user params
func (*GetPullrequestsSelectedUserParams) SetState ¶
func (o *GetPullrequestsSelectedUserParams) SetState(state *string)
SetState adds the state to the get pullrequests selected user params
func (*GetPullrequestsSelectedUserParams) SetTimeout ¶
func (o *GetPullrequestsSelectedUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get pullrequests selected user params
func (*GetPullrequestsSelectedUserParams) WithContext ¶
func (o *GetPullrequestsSelectedUserParams) WithContext(ctx context.Context) *GetPullrequestsSelectedUserParams
WithContext adds the context to the get pullrequests selected user params
func (*GetPullrequestsSelectedUserParams) WithHTTPClient ¶
func (o *GetPullrequestsSelectedUserParams) WithHTTPClient(client *http.Client) *GetPullrequestsSelectedUserParams
WithHTTPClient adds the HTTPClient to the get pullrequests selected user params
func (*GetPullrequestsSelectedUserParams) WithSelectedUser ¶
func (o *GetPullrequestsSelectedUserParams) WithSelectedUser(selectedUser string) *GetPullrequestsSelectedUserParams
WithSelectedUser adds the selectedUser to the get pullrequests selected user params
func (*GetPullrequestsSelectedUserParams) WithState ¶
func (o *GetPullrequestsSelectedUserParams) WithState(state *string) *GetPullrequestsSelectedUserParams
WithState adds the state to the get pullrequests selected user params
func (*GetPullrequestsSelectedUserParams) WithTimeout ¶
func (o *GetPullrequestsSelectedUserParams) WithTimeout(timeout time.Duration) *GetPullrequestsSelectedUserParams
WithTimeout adds the timeout to the get pullrequests selected user params
func (*GetPullrequestsSelectedUserParams) WriteToRequest ¶
func (o *GetPullrequestsSelectedUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPullrequestsSelectedUserReader ¶
type GetPullrequestsSelectedUserReader struct {
// contains filtered or unexported fields
}
GetPullrequestsSelectedUserReader is a Reader for the GetPullrequestsSelectedUser structure.
func (*GetPullrequestsSelectedUserReader) ReadResponse ¶
func (o *GetPullrequestsSelectedUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugDefaultReviewersOK ¶
type GetRepositoriesWorkspaceRepoSlugDefaultReviewersOK struct { }
GetRepositoriesWorkspaceRepoSlugDefaultReviewersOK handles this case with default header values.
The paginated list of default reviewers
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersOK ¶
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersOK() *GetRepositoriesWorkspaceRepoSlugDefaultReviewersOK
NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersOK creates a GetRepositoriesWorkspaceRepoSlugDefaultReviewersOK with default headers values
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersOK) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersOK) Error() string
type GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams ¶
type GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams struct { /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug default reviewers operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParams ¶
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParams() *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParams creates a new GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug default reviewers params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug default reviewers params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug default reviewers params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug default reviewers params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug default reviewers params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
WithContext adds the context to the get repositories workspace repo slug default reviewers params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug default reviewers params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug default reviewers params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
WithTimeout adds the timeout to the get repositories workspace repo slug default reviewers params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams
WithWorkspace adds the workspace to the get repositories workspace repo slug default reviewers params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugDefaultReviewersReader ¶
type GetRepositoriesWorkspaceRepoSlugDefaultReviewersReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugDefaultReviewersReader is a Reader for the GetRepositoriesWorkspaceRepoSlugDefaultReviewers structure.
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault ¶
type GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault handles this case with default header values.
Unexpected error.
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault ¶
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault(code int) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault
NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault creates a GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault with default headers values
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) Code ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) Code() int
Code gets the status code for the get repositories workspace repo slug default reviewers target username default response
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) Error() string
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams ¶
type GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams struct { /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*TargetUsername This can either be the username or the UUID of the default reviewer, surrounded by curly-braces, for example: `{account UUID}`. */ TargetUsername string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug default reviewers target username operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams ¶
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams() *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams creates a new GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
NewGetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug default reviewers target username params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug default reviewers target username params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug default reviewers target username params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTargetUsername ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTargetUsername(targetUsername string)
SetTargetUsername adds the targetUsername to the get repositories workspace repo slug default reviewers target username params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug default reviewers target username params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug default reviewers target username params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithContext adds the context to the get repositories workspace repo slug default reviewers target username params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug default reviewers target username params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug default reviewers target username params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTargetUsername ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTargetUsername(targetUsername string) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithTargetUsername adds the targetUsername to the get repositories workspace repo slug default reviewers target username params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithTimeout adds the timeout to the get repositories workspace repo slug default reviewers target username params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithWorkspace adds the workspace to the get repositories workspace repo slug default reviewers target username params
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader ¶
type GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader is a Reader for the GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername structure.
func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound ¶
GetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound handles this case with default header values.
If the specified repository does not exist.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound() *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound
NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound creates a GetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound) Error() string
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityOK ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityOK struct { }
GetRepositoriesWorkspaceRepoSlugPullrequestsActivityOK handles this case with default header values.
The pull request activity log
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityOK ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityOK() *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityOK
NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityOK creates a GetRepositoriesWorkspaceRepoSlugPullrequestsActivityOK with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityOK) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityOK) Error() string
type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams struct { /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug pullrequests activity operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug pullrequests activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
WithContext adds the context to the get repositories workspace repo slug pullrequests activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams
WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityReader ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugPullrequestsActivityReader is a Reader for the GetRepositoriesWorkspaceRepoSlugPullrequestsActivity structure.
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityUnauthorized ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityUnauthorized struct { }
GetRepositoriesWorkspaceRepoSlugPullrequestsActivityUnauthorized handles this case with default header values.
If the repository is private and the request was not authenticated.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityUnauthorized ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityUnauthorized() *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityUnauthorized
NewGetRepositoriesWorkspaceRepoSlugPullrequestsActivityUnauthorized creates a GetRepositoriesWorkspaceRepoSlugPullrequestsActivityUnauthorized with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityUnauthorized) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsActivityUnauthorized) Error() string
type GetRepositoriesWorkspaceRepoSlugPullrequestsNotFound ¶
GetRepositoriesWorkspaceRepoSlugPullrequestsNotFound handles this case with default header values.
If the specified repository does not exist.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsNotFound ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsNotFound() *GetRepositoriesWorkspaceRepoSlugPullrequestsNotFound
NewGetRepositoriesWorkspaceRepoSlugPullrequestsNotFound creates a GetRepositoriesWorkspaceRepoSlugPullrequestsNotFound with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsNotFound) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsNotFound) Error() string
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsNotFound) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsNotFound) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugPullrequestsOK ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsOK struct {
Payload *models.PaginatedPullrequests
}
GetRepositoriesWorkspaceRepoSlugPullrequestsOK handles this case with default header values.
All pull requests on the specified repository.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsOK ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsOK() *GetRepositoriesWorkspaceRepoSlugPullrequestsOK
NewGetRepositoriesWorkspaceRepoSlugPullrequestsOK creates a GetRepositoriesWorkspaceRepoSlugPullrequestsOK with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsOK) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsOK) Error() string
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsOK) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsOK) GetPayload() *models.PaginatedPullrequests
type GetRepositoriesWorkspaceRepoSlugPullrequestsParams ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsParams struct { /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*State Only return pull requests that are in this state. This parameter can be repeated. */ State *string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugPullrequestsParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug pullrequests operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsParams ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsParams creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug pullrequests params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetState ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetState(state *string)
SetState adds the state to the get repositories workspace repo slug pullrequests params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
WithContext adds the context to the get repositories workspace repo slug pullrequests params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithState ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithState(state *string) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
WithState adds the state to the get repositories workspace repo slug pullrequests params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsParams
WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityNotFound ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityNotFound struct {
Payload *models.Error
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityNotFound handles this case with default header values.
If the specified repository does not exist.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityNotFound ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityNotFound() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityNotFound
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityNotFound creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityNotFound with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityNotFound) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityNotFound) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityOK ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityOK struct { }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityOK handles this case with default header values.
The pull request activity log
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityOK ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityOK() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityOK
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityOK creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityOK with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityOK) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityOK) Error() string
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams struct { /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug pullrequests pull request ID activity operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams
WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID activity params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityReader ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityReader is a Reader for the GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivity structure.
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityUnauthorized ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityUnauthorized struct { }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityUnauthorized handles this case with default header values.
If the repository is private and the request was not authenticated.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityUnauthorized ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityUnauthorized() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityUnauthorized
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityUnauthorized creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityUnauthorized with default headers values
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden struct {
Payload *models.Error
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden handles this case with default header values.
If the authenticated user does not have access to the pull request.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound struct {
Payload *models.Error
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound handles this case with default header values.
If the comment does not exist.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK struct {
Payload *models.PullrequestComment
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK handles this case with default header values.
The comment.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK) GetPayload() *models.PullrequestComment
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams struct { /*CommentID*/ CommentID string /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug pullrequests pull request ID comments comment ID operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetCommentID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetCommentID(commentID string)
SetCommentID adds the commentId to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithCommentID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithCommentID(commentID string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithCommentID adds the commentID to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader is a Reader for the GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID structure.
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden struct {
Payload *models.Error
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden handles this case with default header values.
If the authenticated user does not have access to the pull request.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound struct {
Payload *models.Error
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound handles this case with default header values.
If the pull request does not exist.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK struct {
Payload *models.PaginatedPullrequestComments
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK handles this case with default header values.
A paginated list of comments made on the given pull request, in chronological order.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK) Error() string
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK) GetPayload() *models.PaginatedPullrequestComments
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams struct { /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug pullrequests pull request ID comments operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID comments params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID comments params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID comments params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID comments params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID comments params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID comments params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID comments params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID comments params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID comments params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID comments params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID comments params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID comments params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsReader ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsReader is a Reader for the GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDComments structure.
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsDefault ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsDefault handles this case with default header values.
Unexpected error.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsDefault ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsDefault(code int) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsDefault
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsDefault creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsDefault with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsDefault) Code ¶
Code gets the status code for the get repositories workspace repo slug pullrequests pull request ID commits default response
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsDefault) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsDefault) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams struct { /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug pullrequests pull request ID commits operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID commits params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID commits params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID commits params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID commits params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID commits params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID commits params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID commits params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID commits params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID commits params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID commits params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID commits params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams
WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID commits params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsReader ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsReader is a Reader for the GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommits structure.
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffFound ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffFound struct { }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffFound handles this case with default header values.
Redirects to the [repository diff](../../diff/%7Bspec%7D) with the revspec that corresponds to the pull request.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffFound ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffFound() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffFound
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffFound creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffFound with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffFound) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffFound) Error() string
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams struct { /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug pullrequests pull request ID diff operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID diff params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID diff params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID diff params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID diff params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID diff params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID diff params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID diff params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID diff params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID diff params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID diff params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID diff params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams
WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID diff params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffReader ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffReader is a Reader for the GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiff structure.
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatFound ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatFound struct { }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatFound handles this case with default header values.
Redirects to the [repository diffstat](../../diffstat/%7Bspec%7D) with the revspec that corresponds to pull request.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatFound ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatFound() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatFound
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatFound creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatFound with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatFound) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatFound) Error() string
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams struct { /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug pullrequests pull request ID diffstat operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID diffstat params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID diffstat params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID diffstat params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID diffstat params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID diffstat params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID diffstat params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID diffstat params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID diffstat params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID diffstat params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID diffstat params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID diffstat params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams
WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID diffstat params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatReader ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatReader is a Reader for the GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstat structure.
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDBadRequest ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDBadRequest struct { }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDBadRequest handles this case with default header values.
If the provided task ID does not relate to this pull request, or if something went wrong during the merge operation
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDBadRequest ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDBadRequest() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDBadRequest
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDBadRequest creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDBadRequest with default headers values
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDForbidden ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDForbidden struct { }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDForbidden handles this case with default header values.
The user making the request does not have permission to the repo and is different from the user who queued the task
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDForbidden ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDForbidden() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDForbidden
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDForbidden creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDForbidden with default headers values
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDOK ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDOK struct { }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDOK handles this case with default header values.
Returns a task status if the merge is either pending or successful, and if it is successful, a pull request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDOK ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDOK() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDOK
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDOK creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDOK with default headers values
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams struct { /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*TaskID ID of the merge task */ TaskID string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug pullrequests pull request ID merge task status task ID operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetTaskID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetTaskID(taskID string)
SetTaskID adds the taskId to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams
WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams
WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithTaskID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithTaskID(taskID string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams
WithTaskID adds the taskID to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams
WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams
WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDReader ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDReader is a Reader for the GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskID structure.
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound struct {
Payload *models.Error
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound handles this case with default header values.
If the repository or pull request does not exist
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound) Error() string
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK struct {
Payload *models.Pullrequest
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK handles this case with default header values.
The pull request object
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK) Error() string
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK) GetPayload() *models.Pullrequest
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams struct { /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug pullrequests pull request ID operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault handles this case with default header values.
Unexpected error.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault(code int) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault) Code ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault) Code() int
Code gets the status code for the get repositories workspace repo slug pullrequests pull request ID patch default response
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault) Error() string
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault) GetPayload ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault) GetPayload() *models.Error
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams struct { /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug pullrequests pull request ID patch operation typically these are written to a http.Request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams object with the default values initialized.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParamsWithContext ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParamsWithHTTPClient ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParamsWithTimeout ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID patch params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID patch params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID patch params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID patch params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID patch params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID patch params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithContext ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID patch params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithHTTPClient ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID patch params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithPullRequestID ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithPullRequestID(pullRequestID int64) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID patch params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithRepoSlug ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithRepoSlug(repoSlug string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID patch params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithTimeout ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID patch params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithWorkspace ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithWorkspace(workspace string) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams
WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID patch params
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WriteToRequest ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchReader ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchReader is a Reader for the GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatch structure.
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDReader ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDReader is a Reader for the GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestID structure.
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized struct { }
GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized handles this case with default header values.
If the repository is private and the request was not authenticated.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized
NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized) Error() string
type GetRepositoriesWorkspaceRepoSlugPullrequestsReader ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsReader struct {
// contains filtered or unexported fields
}
GetRepositoriesWorkspaceRepoSlugPullrequestsReader is a Reader for the GetRepositoriesWorkspaceRepoSlugPullrequests structure.
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsReader) ReadResponse ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized ¶
type GetRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized struct { }
GetRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized handles this case with default header values.
If the repository is private and the request was not authenticated.
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized ¶
func NewGetRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized() *GetRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized
NewGetRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized creates a GetRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized with default headers values
func (*GetRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized) Error ¶
func (o *GetRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized) Error() string
type PostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest ¶
PostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest handles this case with default header values.
If the input document was invalid, or if the caller lacks the privilege to create repositories under the targeted account.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest() *PostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest
NewPostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest creates a PostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest with default headers values
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest) Error ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest) Error() string
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest) GetPayload() *models.Error
type PostRepositoriesWorkspaceRepoSlugPullrequestsCreated ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsCreated struct { /*The URL of new newly created pull request. */ Location string Payload *models.Pullrequest }
PostRepositoriesWorkspaceRepoSlugPullrequestsCreated handles this case with default header values.
The newly created pull request.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsCreated ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsCreated() *PostRepositoriesWorkspaceRepoSlugPullrequestsCreated
NewPostRepositoriesWorkspaceRepoSlugPullrequestsCreated creates a PostRepositoriesWorkspaceRepoSlugPullrequestsCreated with default headers values
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsCreated) Error ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsCreated) Error() string
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsCreated) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsCreated) GetPayload() *models.Pullrequest
type PostRepositoriesWorkspaceRepoSlugPullrequestsParams ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsParams struct { /*Body The new pull request. The request URL you POST to becomes the destination repository URL. For this reason, you must specify an explicit source repository in the request object if you want to pull from a different repository (fork). Since not all elements are required or even mutable, you only need to include the elements you want to initialize, such as the source branch and the title. */ Body *models.Pullrequest /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostRepositoriesWorkspaceRepoSlugPullrequestsParams contains all the parameters to send to the API endpoint for the post repositories workspace repo slug pullrequests operation typically these are written to a http.Request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsParams ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsParams() *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsParams creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsParams object with the default values initialized.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsParamsWithContext ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsParamsWithContext creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsParams object with the default values initialized, and the ability to set a context for a request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsParamsWithHTTPClient ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsParamsWithHTTPClient creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsParamsWithTimeout ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsParamsWithTimeout creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetBody ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetBody(body *models.Pullrequest)
SetBody adds the body to the post repositories workspace repo slug pullrequests params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetContext ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetContext(ctx context.Context)
SetContext adds the context to the post repositories workspace repo slug pullrequests params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetHTTPClient ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetRepoSlug ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetTimeout ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post repositories workspace repo slug pullrequests params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetWorkspace ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the post repositories workspace repo slug pullrequests params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithBody ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithBody(body *models.Pullrequest) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
WithBody adds the body to the post repositories workspace repo slug pullrequests params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithContext ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
WithContext adds the context to the post repositories workspace repo slug pullrequests params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithHTTPClient ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithRepoSlug ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithRepoSlug(repoSlug string) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
WithRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithTimeout ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
WithTimeout adds the timeout to the post repositories workspace repo slug pullrequests params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithWorkspace ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithWorkspace(workspace string) *PostRepositoriesWorkspaceRepoSlugPullrequestsParams
WithWorkspace adds the workspace to the post repositories workspace repo slug pullrequests params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WriteToRequest ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound struct {
Payload *models.Error
}
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound handles this case with default header values.
The specified pull request or the repository does not exist.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound creates a PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound with default headers values
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound) GetPayload() *models.Error
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK struct {
Payload *models.Participant
}
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK handles this case with default header values.
The `participant` object recording that the authenticated user approved the pull request.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK creates a PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK with default headers values
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK) Error ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK) Error() string
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK) GetPayload() *models.Participant
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams struct { /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams contains all the parameters to send to the API endpoint for the post repositories workspace repo slug pullrequests pull request ID approve operation typically these are written to a http.Request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams object with the default values initialized.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithContext ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithContext creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams object with the default values initialized, and the ability to set a context for a request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithHTTPClient ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithHTTPClient creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithTimeout ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParamsWithTimeout creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetContext ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetContext(ctx context.Context)
SetContext adds the context to the post repositories workspace repo slug pullrequests pull request ID approve params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetHTTPClient ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID approve params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetPullRequestID ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the post repositories workspace repo slug pullrequests pull request ID approve params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetRepoSlug ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID approve params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetTimeout ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID approve params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetWorkspace ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID approve params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithContext ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
WithContext adds the context to the post repositories workspace repo slug pullrequests pull request ID approve params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithHTTPClient ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID approve params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithPullRequestID ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithPullRequestID(pullRequestID int64) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
WithPullRequestID adds the pullRequestID to the post repositories workspace repo slug pullrequests pull request ID approve params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithRepoSlug ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithRepoSlug(repoSlug string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
WithRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID approve params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithTimeout ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
WithTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID approve params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithWorkspace ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithWorkspace(workspace string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams
WithWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID approve params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WriteToRequest ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveReader ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveReader struct {
// contains filtered or unexported fields
}
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveReader is a Reader for the PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApprove structure.
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveReader) ReadResponse ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized struct {
}PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized handles this case with default header values.
The request wasn't authenticated.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized creates a PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized with default headers values
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized) GetPayload() *models.Error
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated struct { /*The URL of the new comment */ Location string Payload *models.PullrequestComment }
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated handles this case with default header values.
The newly created comment.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated creates a PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated with default headers values
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated) GetPayload() *models.PullrequestComment
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden struct {
Payload *models.Error
}
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden handles this case with default header values.
If the authenticated user does not have access to the pull request.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden creates a PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden with default headers values
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden) GetPayload() *models.Error
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound struct {
Payload *models.Error
}
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound handles this case with default header values.
If the pull request does not exist.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound creates a PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound with default headers values
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound) GetPayload() *models.Error
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams struct { /*Body The comment object. */ Body *models.PullrequestComment /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams contains all the parameters to send to the API endpoint for the post repositories workspace repo slug pullrequests pull request ID comments operation typically these are written to a http.Request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams object with the default values initialized.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithContext ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithContext creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams object with the default values initialized, and the ability to set a context for a request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithHTTPClient ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithHTTPClient creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithTimeout ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParamsWithTimeout creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetBody ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetBody(body *models.PullrequestComment)
SetBody adds the body to the post repositories workspace repo slug pullrequests pull request ID comments params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetContext ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetContext(ctx context.Context)
SetContext adds the context to the post repositories workspace repo slug pullrequests pull request ID comments params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetHTTPClient ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID comments params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetPullRequestID ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the post repositories workspace repo slug pullrequests pull request ID comments params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetRepoSlug ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID comments params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetTimeout ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID comments params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetWorkspace ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID comments params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithBody ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithBody(body *models.PullrequestComment) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
WithBody adds the body to the post repositories workspace repo slug pullrequests pull request ID comments params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithContext ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
WithContext adds the context to the post repositories workspace repo slug pullrequests pull request ID comments params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithHTTPClient ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID comments params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithPullRequestID ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithPullRequestID(pullRequestID int64) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
WithPullRequestID adds the pullRequestID to the post repositories workspace repo slug pullrequests pull request ID comments params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithRepoSlug ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithRepoSlug(repoSlug string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
WithRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID comments params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithTimeout ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
WithTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID comments params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithWorkspace ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithWorkspace(workspace string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams
WithWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID comments params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WriteToRequest ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsReader ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsReader struct {
// contains filtered or unexported fields
}
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsReader is a Reader for the PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDComments structure.
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsReader) ReadResponse ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK struct {
Payload *models.Pullrequest
}
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK handles this case with default header values.
The pull request object.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK creates a PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK with default headers values
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK) Error ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK) Error() string
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK) GetPayload() *models.Pullrequest
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams struct { /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams contains all the parameters to send to the API endpoint for the post repositories workspace repo slug pullrequests pull request ID decline operation typically these are written to a http.Request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams object with the default values initialized.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParamsWithContext ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParamsWithContext creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams object with the default values initialized, and the ability to set a context for a request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParamsWithHTTPClient ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParamsWithHTTPClient creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParamsWithTimeout ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParamsWithTimeout creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetContext ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetContext(ctx context.Context)
SetContext adds the context to the post repositories workspace repo slug pullrequests pull request ID decline params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetHTTPClient ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID decline params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetPullRequestID ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the post repositories workspace repo slug pullrequests pull request ID decline params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetRepoSlug ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID decline params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetTimeout ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID decline params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetWorkspace ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID decline params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithContext ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
WithContext adds the context to the post repositories workspace repo slug pullrequests pull request ID decline params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithHTTPClient ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID decline params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithPullRequestID ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithPullRequestID(pullRequestID int64) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
WithPullRequestID adds the pullRequestID to the post repositories workspace repo slug pullrequests pull request ID decline params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithRepoSlug ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithRepoSlug(repoSlug string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
WithRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID decline params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithTimeout ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
WithTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID decline params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithWorkspace ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithWorkspace(workspace string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams
WithWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID decline params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WriteToRequest ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineReader ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineReader struct {
// contains filtered or unexported fields
}
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineReader is a Reader for the PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDecline structure.
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineReader) ReadResponse ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineStatus555 ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineStatus555 struct {
Payload *models.Error
}
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineStatus555 handles this case with default header values.
If the decline took too long and timed out. In this case the caller should retry the request later.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineStatus555 ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineStatus555() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineStatus555
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineStatus555 creates a PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineStatus555 with default headers values
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineStatus555) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineStatus555) GetPayload() *models.Error
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeAccepted ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeAccepted struct { }
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeAccepted handles this case with default header values.
In the Location header, the URL to poll for the pull request merge status
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeAccepted ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeAccepted() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeAccepted
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeAccepted creates a PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeAccepted with default headers values
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK struct {
Payload *models.Pullrequest
}
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK handles this case with default header values.
The pull request object.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK creates a PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK with default headers values
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK) Error ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK) Error() string
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK) GetPayload() *models.Pullrequest
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams struct { /*Body*/ Body *models.PullrequestMergeParameters /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams contains all the parameters to send to the API endpoint for the post repositories workspace repo slug pullrequests pull request ID merge operation typically these are written to a http.Request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams object with the default values initialized.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParamsWithContext ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParamsWithContext creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams object with the default values initialized, and the ability to set a context for a request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParamsWithHTTPClient ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParamsWithHTTPClient creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParamsWithTimeout ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParamsWithTimeout creates a new PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetBody ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetBody(body *models.PullrequestMergeParameters)
SetBody adds the body to the post repositories workspace repo slug pullrequests pull request ID merge params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetContext ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetContext(ctx context.Context)
SetContext adds the context to the post repositories workspace repo slug pullrequests pull request ID merge params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetHTTPClient ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID merge params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetPullRequestID ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the post repositories workspace repo slug pullrequests pull request ID merge params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetRepoSlug ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID merge params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetTimeout ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID merge params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetWorkspace ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID merge params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithBody ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithBody(body *models.PullrequestMergeParameters) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
WithBody adds the body to the post repositories workspace repo slug pullrequests pull request ID merge params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithContext ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
WithContext adds the context to the post repositories workspace repo slug pullrequests pull request ID merge params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithHTTPClient ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID merge params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithPullRequestID ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithPullRequestID(pullRequestID int64) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
WithPullRequestID adds the pullRequestID to the post repositories workspace repo slug pullrequests pull request ID merge params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithRepoSlug ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithRepoSlug(repoSlug string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
WithRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID merge params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithTimeout ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
WithTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID merge params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithWorkspace ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithWorkspace(workspace string) *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams
WithWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID merge params
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WriteToRequest ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeReader ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeReader struct {
// contains filtered or unexported fields
}
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeReader is a Reader for the PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMerge structure.
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeReader) ReadResponse ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeStatus555 ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeStatus555 struct {
Payload *models.Error
}
PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeStatus555 handles this case with default header values.
If the merge took too long and timed out. In this case the caller should retry the request later
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeStatus555 ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeStatus555() *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeStatus555
NewPostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeStatus555 creates a PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeStatus555 with default headers values
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeStatus555) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeStatus555) GetPayload() *models.Error
type PostRepositoriesWorkspaceRepoSlugPullrequestsReader ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsReader struct {
// contains filtered or unexported fields
}
PostRepositoriesWorkspaceRepoSlugPullrequestsReader is a Reader for the PostRepositoriesWorkspaceRepoSlugPullrequests structure.
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsReader) ReadResponse ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized ¶
type PostRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized struct {
}PostRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized handles this case with default header values.
If the request was not authenticated.
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized ¶
func NewPostRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized() *PostRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized
NewPostRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized creates a PostRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized with default headers values
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized) Error ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized) Error() string
func (*PostRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized) GetPayload ¶
func (o *PostRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized) GetPayload() *models.Error
type PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault ¶
type PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault handles this case with default header values.
Unexpected error.
func NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault ¶
func NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault(code int) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault
NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault creates a PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault with default headers values
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) Code ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) Code() int
Code gets the status code for the put repositories workspace repo slug default reviewers target username default response
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) Error ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) Error() string
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) GetPayload ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) GetPayload() *models.Error
type PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams ¶
type PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams struct { /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*TargetUsername This can either be the username or the UUID of the default reviewer, surrounded by curly-braces, for example: `{account UUID}`. */ TargetUsername string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams contains all the parameters to send to the API endpoint for the put repositories workspace repo slug default reviewers target username operation typically these are written to a http.Request
func NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams ¶
func NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams() *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams creates a new PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams object with the default values initialized.
func NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithContext ¶
func NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithContext(ctx context.Context) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithContext creates a new PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams object with the default values initialized, and the ability to set a context for a request
func NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithHTTPClient ¶
func NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithHTTPClient(client *http.Client) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithHTTPClient creates a new PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithTimeout ¶
func NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithTimeout(timeout time.Duration) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
NewPutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParamsWithTimeout creates a new PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetContext ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetContext(ctx context.Context)
SetContext adds the context to the put repositories workspace repo slug default reviewers target username params
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetHTTPClient ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put repositories workspace repo slug default reviewers target username params
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetRepoSlug ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the put repositories workspace repo slug default reviewers target username params
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTargetUsername ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTargetUsername(targetUsername string)
SetTargetUsername adds the targetUsername to the put repositories workspace repo slug default reviewers target username params
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTimeout ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put repositories workspace repo slug default reviewers target username params
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetWorkspace ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the put repositories workspace repo slug default reviewers target username params
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithContext ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithContext(ctx context.Context) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithContext adds the context to the put repositories workspace repo slug default reviewers target username params
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithHTTPClient ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithHTTPClient(client *http.Client) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithHTTPClient adds the HTTPClient to the put repositories workspace repo slug default reviewers target username params
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithRepoSlug ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithRepoSlug(repoSlug string) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithRepoSlug adds the repoSlug to the put repositories workspace repo slug default reviewers target username params
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTargetUsername ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTargetUsername(targetUsername string) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithTargetUsername adds the targetUsername to the put repositories workspace repo slug default reviewers target username params
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTimeout ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTimeout(timeout time.Duration) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithTimeout adds the timeout to the put repositories workspace repo slug default reviewers target username params
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithWorkspace ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithWorkspace(workspace string) *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams
WithWorkspace adds the workspace to the put repositories workspace repo slug default reviewers target username params
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WriteToRequest ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader ¶
type PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader struct {
// contains filtered or unexported fields
}
PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader is a Reader for the PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsername structure.
func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader) ReadResponse ¶
func (o *PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDBadRequest ¶
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDBadRequest struct {
Payload *models.Error
}
PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDBadRequest handles this case with default header values.
If the input document was invalid.
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDBadRequest ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDBadRequest() *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDBadRequest
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDBadRequest creates a PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDBadRequest with default headers values
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDBadRequest) Error ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDBadRequest) Error() string
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDBadRequest) GetPayload ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDBadRequest) GetPayload() *models.Error
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden ¶
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden struct {
Payload *models.Error
}
PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden handles this case with default header values.
If the authenticated user does not have access to the comment.
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden() *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden creates a PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden with default headers values
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden) GetPayload ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden) GetPayload() *models.Error
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound ¶
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound struct {
Payload *models.Error
}
PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound handles this case with default header values.
If the comment does not exist.
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound() *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound creates a PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound with default headers values
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound) GetPayload ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound) GetPayload() *models.Error
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK ¶
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK struct {
Payload *models.PullrequestComment
}
PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK handles this case with default header values.
The updated comment.
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK() *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK creates a PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK with default headers values
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK) GetPayload ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK) GetPayload() *models.PullrequestComment
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams ¶
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams struct { /*Body The contents of the updated comment. */ Body *models.PullrequestComment /*CommentID*/ CommentID string /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams contains all the parameters to send to the API endpoint for the put repositories workspace repo slug pullrequests pull request ID comments comment ID operation typically these are written to a http.Request
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams() *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams creates a new PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams object with the default values initialized.
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithContext ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithContext(ctx context.Context) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithContext creates a new PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams object with the default values initialized, and the ability to set a context for a request
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithHTTPClient ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithHTTPClient(client *http.Client) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithHTTPClient creates a new PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithTimeout ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithTimeout(timeout time.Duration) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParamsWithTimeout creates a new PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetBody ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetBody(body *models.PullrequestComment)
SetBody adds the body to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetCommentID ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetCommentID(commentID string)
SetCommentID adds the commentId to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetContext ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetHTTPClient ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetPullRequestID ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetRepoSlug ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetTimeout ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetWorkspace ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithBody ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithBody(body *models.PullrequestComment) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithBody adds the body to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithCommentID ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithCommentID(commentID string) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithCommentID adds the commentID to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithContext ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithContext(ctx context.Context) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithContext adds the context to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithHTTPClient ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithHTTPClient(client *http.Client) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithHTTPClient adds the HTTPClient to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithPullRequestID ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithPullRequestID(pullRequestID int64) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithPullRequestID adds the pullRequestID to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithRepoSlug ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithRepoSlug(repoSlug string) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithRepoSlug adds the repoSlug to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithTimeout ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithTimeout(timeout time.Duration) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithTimeout adds the timeout to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithWorkspace ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithWorkspace(workspace string) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams
WithWorkspace adds the workspace to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WriteToRequest ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader ¶
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader struct {
// contains filtered or unexported fields
}
PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader is a Reader for the PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID structure.
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader) ReadResponse ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound ¶
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound struct {
Payload *models.Error
}
PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound handles this case with default header values.
If the repository or pull request id does not exist
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound() *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound creates a PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound with default headers values
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound) Error ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound) Error() string
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound) GetPayload ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound) GetPayload() *models.Error
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK ¶
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK struct {
Payload *models.Pullrequest
}
PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK handles this case with default header values.
The updated pull request
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK() *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK creates a PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK with default headers values
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK) Error ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK) Error() string
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK) GetPayload ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK) GetPayload() *models.Pullrequest
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams ¶
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams struct { /*Body The pull request that is to be updated. */ Body *models.Pullrequest /*PullRequestID The id of the pull request. */ PullRequestID int64 /*RepoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`. */ RepoSlug string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams contains all the parameters to send to the API endpoint for the put repositories workspace repo slug pullrequests pull request ID operation typically these are written to a http.Request
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams() *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams creates a new PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams object with the default values initialized.
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithContext ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithContext(ctx context.Context) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithContext creates a new PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams object with the default values initialized, and the ability to set a context for a request
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithHTTPClient ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithHTTPClient(client *http.Client) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithHTTPClient creates a new PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithTimeout ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithTimeout(timeout time.Duration) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParamsWithTimeout creates a new PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetBody ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetBody(body *models.Pullrequest)
SetBody adds the body to the put repositories workspace repo slug pullrequests pull request ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetContext ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put repositories workspace repo slug pullrequests pull request ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetHTTPClient ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put repositories workspace repo slug pullrequests pull request ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetPullRequestID ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetPullRequestID(pullRequestID int64)
SetPullRequestID adds the pullRequestId to the put repositories workspace repo slug pullrequests pull request ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetRepoSlug ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the put repositories workspace repo slug pullrequests pull request ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetTimeout ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put repositories workspace repo slug pullrequests pull request ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetWorkspace ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the put repositories workspace repo slug pullrequests pull request ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithBody ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithBody(body *models.Pullrequest) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
WithBody adds the body to the put repositories workspace repo slug pullrequests pull request ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithContext ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithContext(ctx context.Context) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
WithContext adds the context to the put repositories workspace repo slug pullrequests pull request ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithHTTPClient ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithHTTPClient(client *http.Client) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
WithHTTPClient adds the HTTPClient to the put repositories workspace repo slug pullrequests pull request ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithPullRequestID ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithPullRequestID(pullRequestID int64) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
WithPullRequestID adds the pullRequestID to the put repositories workspace repo slug pullrequests pull request ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithRepoSlug ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithRepoSlug(repoSlug string) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
WithRepoSlug adds the repoSlug to the put repositories workspace repo slug pullrequests pull request ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithTimeout ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithTimeout(timeout time.Duration) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
WithTimeout adds the timeout to the put repositories workspace repo slug pullrequests pull request ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithWorkspace ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithWorkspace(workspace string) *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams
WithWorkspace adds the workspace to the put repositories workspace repo slug pullrequests pull request ID params
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WriteToRequest ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDReader ¶
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDReader struct {
// contains filtered or unexported fields
}
PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDReader is a Reader for the PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestID structure.
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDReader) ReadResponse ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized ¶
type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized struct {
}PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized handles this case with default header values.
If the request was not authenticated.
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized ¶
func NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized() *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized
NewPutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized creates a PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized with default headers values
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized) Error ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized) Error() string
func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized) GetPayload ¶
func (o *PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized) GetPayload() *models.Error
Source Files ¶
- delete_repositories_workspace_repo_slug_default_reviewers_target_username_parameters.go
- delete_repositories_workspace_repo_slug_default_reviewers_target_username_responses.go
- delete_repositories_workspace_repo_slug_pullrequests_pull_request_id_approve_parameters.go
- delete_repositories_workspace_repo_slug_pullrequests_pull_request_id_approve_responses.go
- delete_repositories_workspace_repo_slug_pullrequests_pull_request_id_comments_comment_id_parameters.go
- delete_repositories_workspace_repo_slug_pullrequests_pull_request_id_comments_comment_id_responses.go
- get_pullrequests_for_commit_parameters.go
- get_pullrequests_for_commit_responses.go
- get_pullrequests_selected_user_parameters.go
- get_pullrequests_selected_user_responses.go
- get_repositories_workspace_repo_slug_default_reviewers_parameters.go
- get_repositories_workspace_repo_slug_default_reviewers_responses.go
- get_repositories_workspace_repo_slug_default_reviewers_target_username_parameters.go
- get_repositories_workspace_repo_slug_default_reviewers_target_username_responses.go
- get_repositories_workspace_repo_slug_pullrequests_activity_parameters.go
- get_repositories_workspace_repo_slug_pullrequests_activity_responses.go
- get_repositories_workspace_repo_slug_pullrequests_parameters.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_activity_parameters.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_activity_responses.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_comments_comment_id_parameters.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_comments_comment_id_responses.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_comments_parameters.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_comments_responses.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_commits_parameters.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_commits_responses.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_diff_parameters.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_diff_responses.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_diffstat_parameters.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_diffstat_responses.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_merge_task_status_task_id_parameters.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_merge_task_status_task_id_responses.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_parameters.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_patch_parameters.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_patch_responses.go
- get_repositories_workspace_repo_slug_pullrequests_pull_request_id_responses.go
- get_repositories_workspace_repo_slug_pullrequests_responses.go
- post_repositories_workspace_repo_slug_pullrequests_parameters.go
- post_repositories_workspace_repo_slug_pullrequests_pull_request_id_approve_parameters.go
- post_repositories_workspace_repo_slug_pullrequests_pull_request_id_approve_responses.go
- post_repositories_workspace_repo_slug_pullrequests_pull_request_id_comments_parameters.go
- post_repositories_workspace_repo_slug_pullrequests_pull_request_id_comments_responses.go
- post_repositories_workspace_repo_slug_pullrequests_pull_request_id_decline_parameters.go
- post_repositories_workspace_repo_slug_pullrequests_pull_request_id_decline_responses.go
- post_repositories_workspace_repo_slug_pullrequests_pull_request_id_merge_parameters.go
- post_repositories_workspace_repo_slug_pullrequests_pull_request_id_merge_responses.go
- post_repositories_workspace_repo_slug_pullrequests_responses.go
- pullrequests_client.go
- put_repositories_workspace_repo_slug_default_reviewers_target_username_parameters.go
- put_repositories_workspace_repo_slug_default_reviewers_target_username_responses.go
- put_repositories_workspace_repo_slug_pullrequests_pull_request_id_comments_comment_id_parameters.go
- put_repositories_workspace_repo_slug_pullrequests_pull_request_id_comments_comment_id_responses.go
- put_repositories_workspace_repo_slug_pullrequests_pull_request_id_parameters.go
- put_repositories_workspace_repo_slug_pullrequests_pull_request_id_responses.go