pullrequests

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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

DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApprove Redact the authenticated user's approval of the specified pull

request.

func (*Client) DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID

DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentID Deletes a specific pull request comment.

func (*Client) GetPullrequestsForCommit

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

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

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

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

GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestID Returns the specified pull request.

func (*Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivity

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

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

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

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

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

PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApprove Approve the specified pull request as the authenticated user.

func (*Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDComments

PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDComments Creates a new pull request comment.

Returns the newly created pull request comment.

func (*Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDecline

PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDecline Declines the pull request.

func (*Client) PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMerge

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

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

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) Error

func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) GetPayload

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

SetContext adds the context to the delete repositories workspace repo slug default reviewers target username params

func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete repositories workspace repo slug default reviewers target username params

func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the delete repositories workspace repo slug default reviewers target username params

func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTargetUsername

SetTargetUsername adds the targetUsername to the delete repositories workspace repo slug default reviewers target username params

func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTimeout

SetTimeout adds the timeout to the delete repositories workspace repo slug default reviewers target username params

func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetWorkspace

SetWorkspace adds the workspace to the delete repositories workspace repo slug default reviewers target username params

func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithContext

WithContext adds the context to the delete repositories workspace repo slug default reviewers target username params

func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete repositories workspace repo slug default reviewers target username params

func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the delete repositories workspace repo slug default reviewers target username params

func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTargetUsername

WithTargetUsername adds the targetUsername to the delete repositories workspace repo slug default reviewers target username params

func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTimeout

WithTimeout adds the timeout to the delete repositories workspace repo slug default reviewers target username params

func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithWorkspace

WithWorkspace adds the workspace to the delete repositories workspace repo slug default reviewers target username params

func (*DeleteRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WriteToRequest

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

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

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNoContent) Error

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) Error

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound) GetPayload

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

SetContext adds the context to the delete repositories workspace repo slug pullrequests pull request ID approve params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete repositories workspace repo slug pullrequests pull request ID approve params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the delete repositories workspace repo slug pullrequests pull request ID approve params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the delete repositories workspace repo slug pullrequests pull request ID approve params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetTimeout

SetTimeout adds the timeout to the delete repositories workspace repo slug pullrequests pull request ID approve params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetWorkspace

SetWorkspace adds the workspace to the delete repositories workspace repo slug pullrequests pull request ID approve params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithContext

WithContext adds the context to the delete repositories workspace repo slug pullrequests pull request ID approve params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete repositories workspace repo slug pullrequests pull request ID approve params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the delete repositories workspace repo slug pullrequests pull request ID approve params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the delete repositories workspace repo slug pullrequests pull request ID approve params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithTimeout

WithTimeout adds the timeout to the delete repositories workspace repo slug pullrequests pull request ID approve params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithWorkspace

WithWorkspace adds the workspace to the delete repositories workspace repo slug pullrequests pull request ID approve params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WriteToRequest

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

ReadResponse reads a server response into the received o.

type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized

type DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized struct {
	Payload *models.Error
}

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) Error

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized) GetPayload

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

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

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNoContent) Error

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

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

SetCommentID adds the commentId to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetContext

SetContext adds the context to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetTimeout

SetTimeout adds the timeout to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetWorkspace

SetWorkspace adds the workspace to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithCommentID

WithCommentID adds the commentID to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithContext

WithContext adds the context to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithTimeout

WithTimeout adds the timeout to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithWorkspace

WithWorkspace adds the workspace to the delete repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*DeleteRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WriteToRequest

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

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 (*GetPullrequestsForCommitAccepted) GetPayload

type GetPullrequestsForCommitNotFound

type GetPullrequestsForCommitNotFound struct {
	Payload *models.Error
}

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 (*GetPullrequestsForCommitNotFound) GetPayload

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 (*GetPullrequestsForCommitOK) GetPayload

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

WithCommit adds the commit to the get pullrequests for commit params

func (*GetPullrequestsForCommitParams) WithContext

WithContext adds the context to the get pullrequests for commit params

func (*GetPullrequestsForCommitParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get pullrequests for commit params

func (*GetPullrequestsForCommitParams) WithPage

WithPage adds the page to the get pullrequests for commit params

func (*GetPullrequestsForCommitParams) WithPagelen

WithPagelen adds the pagelen to the get pullrequests for commit params

func (*GetPullrequestsForCommitParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get pullrequests for commit params

func (*GetPullrequestsForCommitParams) WithTimeout

WithTimeout adds the timeout to the get pullrequests for commit params

func (*GetPullrequestsForCommitParams) WithUsername

WithUsername adds the username to the get pullrequests for commit params

func (*GetPullrequestsForCommitParams) WriteToRequest

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

type GetPullrequestsSelectedUserNotFound struct {
	Payload *models.Error
}

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 (*GetPullrequestsSelectedUserNotFound) GetPayload

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 (*GetPullrequestsSelectedUserOK) GetPayload

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

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

WithContext adds the context to the get pullrequests selected user params

func (*GetPullrequestsSelectedUserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get pullrequests selected user params

func (*GetPullrequestsSelectedUserParams) WithSelectedUser

WithSelectedUser adds the selectedUser to the get pullrequests selected user params

func (*GetPullrequestsSelectedUserParams) WithState

WithState adds the state to the get pullrequests selected user params

func (*GetPullrequestsSelectedUserParams) WithTimeout

WithTimeout adds the timeout to the get pullrequests selected user params

func (*GetPullrequestsSelectedUserParams) WriteToRequest

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

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

SetContext adds the context to the get repositories workspace repo slug default reviewers params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug default reviewers params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug default reviewers params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug default reviewers params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug default reviewers params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithContext

WithContext adds the context to the get repositories workspace repo slug default reviewers params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug default reviewers params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug default reviewers params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug default reviewers params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug default reviewers params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersParams) WriteToRequest

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

Code gets the status code for the get repositories workspace repo slug default reviewers target username default response

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) Error

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) GetPayload

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

SetContext adds the context to the get repositories workspace repo slug default reviewers target username params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug default reviewers target username params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug default reviewers target username params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTargetUsername

SetTargetUsername adds the targetUsername to the get repositories workspace repo slug default reviewers target username params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug default reviewers target username params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug default reviewers target username params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithContext

WithContext adds the context to the get repositories workspace repo slug default reviewers target username params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug default reviewers target username params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug default reviewers target username params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTargetUsername

WithTargetUsername adds the targetUsername to the get repositories workspace repo slug default reviewers target username params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug default reviewers target username params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug default reviewers target username params

func (*GetRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WriteToRequest

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

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound

type GetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound struct {
	Payload *models.Error
}

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 (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityNotFound) GetPayload

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

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

SetContext adds the context to the get repositories workspace repo slug pullrequests activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithContext

WithContext adds the context to the get repositories workspace repo slug pullrequests activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsActivityParams) WriteToRequest

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

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

type GetRepositoriesWorkspaceRepoSlugPullrequestsNotFound

type GetRepositoriesWorkspaceRepoSlugPullrequestsNotFound struct {
	Payload *models.Error
}

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 (*GetRepositoriesWorkspaceRepoSlugPullrequestsNotFound) GetPayload

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 (*GetRepositoriesWorkspaceRepoSlugPullrequestsOK) GetPayload

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

SetContext adds the context to the get repositories workspace repo slug pullrequests params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetState

SetState adds the state to the get repositories workspace repo slug pullrequests params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithContext

WithContext adds the context to the get repositories workspace repo slug pullrequests params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithState

WithState adds the state to the get repositories workspace repo slug pullrequests params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsParams) WriteToRequest

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) Error

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityNotFound) GetPayload

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

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

SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithContext

WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID activity params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityParams) WriteToRequest

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

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDActivityUnauthorized) Error

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) Error

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden) GetPayload

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) Error

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound) GetPayload

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) Error

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK) GetPayload

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

SetCommentID adds the commentId to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetContext

SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithCommentID

WithCommentID adds the commentID to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithContext

WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WriteToRequest

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

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) Error

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden) GetPayload

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) Error

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound) GetPayload

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 (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsOK) GetPayload

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

SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID comments params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID comments params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID comments params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID comments params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID comments params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID comments params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithContext

WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID comments params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID comments params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID comments params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID comments params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID comments params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID comments params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WriteToRequest

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

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) Error

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsDefault) GetPayload

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

SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID commits params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID commits params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID commits params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID commits params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID commits params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID commits params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithContext

WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID commits params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID commits params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID commits params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID commits params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID commits params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID commits params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommitsParams) WriteToRequest

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

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

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

SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID diff params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID diff params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID diff params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID diff params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID diff params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID diff params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithContext

WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID diff params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID diff params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID diff params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID diff params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID diff params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID diff params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffParams) WriteToRequest

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

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

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

SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID diffstat params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID diffstat params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID diffstat params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID diffstat params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID diffstat params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID diffstat params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithContext

WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID diffstat params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID diffstat params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID diffstat params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID diffstat params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID diffstat params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID diffstat params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDiffstatParams) WriteToRequest

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

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDBadRequest) Error

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDForbidden) Error

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDOK) Error

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

SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetTaskID

SetTaskID adds the taskId to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithContext

WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithTaskID

WithTaskID adds the taskID to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID merge task status task ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeTaskStatusTaskIDParams) WriteToRequest

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

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 (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound) GetPayload

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 (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK) GetPayload

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

SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithContext

WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WriteToRequest

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

Code gets the status code for the get repositories workspace repo slug pullrequests pull request ID patch default response

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault) Error

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchDefault) GetPayload

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

SetContext adds the context to the get repositories workspace repo slug pullrequests pull request ID patch params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID patch params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the get repositories workspace repo slug pullrequests pull request ID patch params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID patch params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID patch params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID patch params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithContext

WithContext adds the context to the get repositories workspace repo slug pullrequests pull request ID patch params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug pullrequests pull request ID patch params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the get repositories workspace repo slug pullrequests pull request ID patch params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug pullrequests pull request ID patch params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug pullrequests pull request ID patch params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug pullrequests pull request ID patch params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDPatchParams) WriteToRequest

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

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

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

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

type PostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest

type PostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest struct {
	Payload *models.Error
}

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 (*PostRepositoriesWorkspaceRepoSlugPullrequestsBadRequest) GetPayload

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 (*PostRepositoriesWorkspaceRepoSlugPullrequestsCreated) GetPayload

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

SetBody adds the body to the post repositories workspace repo slug pullrequests params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetContext

SetContext adds the context to the post repositories workspace repo slug pullrequests params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetTimeout

SetTimeout adds the timeout to the post repositories workspace repo slug pullrequests params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) SetWorkspace

SetWorkspace adds the workspace to the post repositories workspace repo slug pullrequests params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithBody

WithBody adds the body to the post repositories workspace repo slug pullrequests params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithContext

WithContext adds the context to the post repositories workspace repo slug pullrequests params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithTimeout

WithTimeout adds the timeout to the post repositories workspace repo slug pullrequests params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WithWorkspace

WithWorkspace adds the workspace to the post repositories workspace repo slug pullrequests params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsParams) WriteToRequest

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) Error

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveNotFound) GetPayload

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 (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveOK) GetPayload

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

SetContext adds the context to the post repositories workspace repo slug pullrequests pull request ID approve params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID approve params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the post repositories workspace repo slug pullrequests pull request ID approve params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID approve params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetTimeout

SetTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID approve params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) SetWorkspace

SetWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID approve params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithContext

WithContext adds the context to the post repositories workspace repo slug pullrequests pull request ID approve params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID approve params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the post repositories workspace repo slug pullrequests pull request ID approve params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID approve params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithTimeout

WithTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID approve params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WithWorkspace

WithWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID approve params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveParams) WriteToRequest

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

ReadResponse reads a server response into the received o.

type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized

type PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized struct {
	Payload *models.Error
}

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) Error

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDApproveUnauthorized) GetPayload

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) Error

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCreated) GetPayload

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) Error

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsForbidden) GetPayload

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) Error

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsNotFound) GetPayload

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

SetBody adds the body to the post repositories workspace repo slug pullrequests pull request ID comments params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetContext

SetContext adds the context to the post repositories workspace repo slug pullrequests pull request ID comments params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID comments params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the post repositories workspace repo slug pullrequests pull request ID comments params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID comments params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetTimeout

SetTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID comments params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) SetWorkspace

SetWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID comments params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithBody

WithBody adds the body to the post repositories workspace repo slug pullrequests pull request ID comments params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithContext

WithContext adds the context to the post repositories workspace repo slug pullrequests pull request ID comments params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID comments params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the post repositories workspace repo slug pullrequests pull request ID comments params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID comments params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithTimeout

WithTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID comments params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WithWorkspace

WithWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID comments params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsParams) WriteToRequest

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

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 (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineOK) GetPayload

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

SetContext adds the context to the post repositories workspace repo slug pullrequests pull request ID decline params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID decline params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the post repositories workspace repo slug pullrequests pull request ID decline params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID decline params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetTimeout

SetTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID decline params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) SetWorkspace

SetWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID decline params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithContext

WithContext adds the context to the post repositories workspace repo slug pullrequests pull request ID decline params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID decline params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the post repositories workspace repo slug pullrequests pull request ID decline params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID decline params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithTimeout

WithTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID decline params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WithWorkspace

WithWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID decline params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineParams) WriteToRequest

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

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) Error

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDDeclineStatus555) GetPayload

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

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeAccepted) Error

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 (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeOK) GetPayload

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

SetBody adds the body to the post repositories workspace repo slug pullrequests pull request ID merge params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetContext

SetContext adds the context to the post repositories workspace repo slug pullrequests pull request ID merge params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID merge params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the post repositories workspace repo slug pullrequests pull request ID merge params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID merge params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetTimeout

SetTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID merge params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) SetWorkspace

SetWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID merge params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithBody

WithBody adds the body to the post repositories workspace repo slug pullrequests pull request ID merge params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithContext

WithContext adds the context to the post repositories workspace repo slug pullrequests pull request ID merge params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug pullrequests pull request ID merge params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the post repositories workspace repo slug pullrequests pull request ID merge params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the post repositories workspace repo slug pullrequests pull request ID merge params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithTimeout

WithTimeout adds the timeout to the post repositories workspace repo slug pullrequests pull request ID merge params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WithWorkspace

WithWorkspace adds the workspace to the post repositories workspace repo slug pullrequests pull request ID merge params

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeParams) WriteToRequest

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

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) Error

func (*PostRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDMergeStatus555) GetPayload

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 {
	Payload *models.Error
}

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 (*PostRepositoriesWorkspaceRepoSlugPullrequestsUnauthorized) GetPayload

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

Code gets the status code for the put repositories workspace repo slug default reviewers target username default response

func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) Error

func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDefault) GetPayload

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

SetContext adds the context to the put repositories workspace repo slug default reviewers target username params

func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the put repositories workspace repo slug default reviewers target username params

func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the put repositories workspace repo slug default reviewers target username params

func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTargetUsername

SetTargetUsername adds the targetUsername to the put repositories workspace repo slug default reviewers target username params

func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetTimeout

SetTimeout adds the timeout to the put repositories workspace repo slug default reviewers target username params

func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) SetWorkspace

SetWorkspace adds the workspace to the put repositories workspace repo slug default reviewers target username params

func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithContext

WithContext adds the context to the put repositories workspace repo slug default reviewers target username params

func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put repositories workspace repo slug default reviewers target username params

func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the put repositories workspace repo slug default reviewers target username params

func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTargetUsername

WithTargetUsername adds the targetUsername to the put repositories workspace repo slug default reviewers target username params

func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithTimeout

WithTimeout adds the timeout to the put repositories workspace repo slug default reviewers target username params

func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WithWorkspace

WithWorkspace adds the workspace to the put repositories workspace repo slug default reviewers target username params

func (*PutRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameParams) WriteToRequest

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

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 (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDBadRequest) GetPayload

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) Error

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDForbidden) GetPayload

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) Error

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDNotFound) GetPayload

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) Error

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDOK) GetPayload

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

SetBody adds the body to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetCommentID

SetCommentID adds the commentId to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetContext

SetContext adds the context to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetTimeout

SetTimeout adds the timeout to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) SetWorkspace

SetWorkspace adds the workspace to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithBody

WithBody adds the body to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithCommentID

WithCommentID adds the commentID to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithContext

WithContext adds the context to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithTimeout

WithTimeout adds the timeout to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WithWorkspace

WithWorkspace adds the workspace to the put repositories workspace repo slug pullrequests pull request ID comments comment ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDCommentsCommentIDParams) WriteToRequest

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

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 (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDNotFound) GetPayload

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 (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDOK) GetPayload

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

SetBody adds the body to the put repositories workspace repo slug pullrequests pull request ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetContext

SetContext adds the context to the put repositories workspace repo slug pullrequests pull request ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the put repositories workspace repo slug pullrequests pull request ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetPullRequestID

SetPullRequestID adds the pullRequestId to the put repositories workspace repo slug pullrequests pull request ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the put repositories workspace repo slug pullrequests pull request ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetTimeout

SetTimeout adds the timeout to the put repositories workspace repo slug pullrequests pull request ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) SetWorkspace

SetWorkspace adds the workspace to the put repositories workspace repo slug pullrequests pull request ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithBody

WithBody adds the body to the put repositories workspace repo slug pullrequests pull request ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithContext

WithContext adds the context to the put repositories workspace repo slug pullrequests pull request ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put repositories workspace repo slug pullrequests pull request ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithPullRequestID

WithPullRequestID adds the pullRequestID to the put repositories workspace repo slug pullrequests pull request ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the put repositories workspace repo slug pullrequests pull request ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithTimeout

WithTimeout adds the timeout to the put repositories workspace repo slug pullrequests pull request ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WithWorkspace

WithWorkspace adds the workspace to the put repositories workspace repo slug pullrequests pull request ID params

func (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDParams) WriteToRequest

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

ReadResponse reads a server response into the received o.

type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized

type PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized struct {
	Payload *models.Error
}

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 (*PutRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDUnauthorized) GetPayload

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL