commits

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 commits API

func (*Client) DeleteRepositoriesWorkspaceRepoSlugCommitNodeApprove

DeleteRepositoriesWorkspaceRepoSlugCommitNodeApprove Redact the authenticated user's approval of the specified commit.

This operation is only available to users that have explicit access to the repository. In contrast, just the fact that a repository is publicly accessible to users does not give them the ability to approve commits.

func (*Client) GetRepositoriesWorkspaceRepoSlugCommitNode

GetRepositoriesWorkspaceRepoSlugCommitNode Returns the specified commit.

Example:

``` $ curl https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/commit/f7591a1

{
    "rendered": {
        "message": {
        "raw": "Add a GEORDI_OUTPUT_DIR setting",
        "markup": "markdown",
        "html": "<p>Add a GEORDI_OUTPUT_DIR setting</p>",
        "type": "rendered"
        }
    },
    "hash": "f7591a13eda445d9a9167f98eb870319f4b6c2d8",
    "repository": {
        "name": "geordi",
        "type": "repository",
        "full_name": "bitbucket/geordi",
        "links": {
            "self": {
                "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi"
            },
            "html": {
                "href": "https://bitbucket.org/bitbucket/geordi"
            },
            "avatar": {
                "href": "https://bytebucket.org/ravatar/%7B85d08b4e-571d-44e9-a507-fa476535aa98%7D?ts=1730260"
            }
        },
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
    },
    "links": {
        "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/commit/f7591a13eda445d9a9167f98eb870319f4b6c2d8"
        },
        "comments": {
            "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/commit/f7591a13eda445d9a9167f98eb870319f4b6c2d8/comments"
        },
        "patch": {
            "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/patch/f7591a13eda445d9a9167f98eb870319f4b6c2d8"
        },
        "html": {
            "href": "https://bitbucket.org/bitbucket/geordi/commits/f7591a13eda445d9a9167f98eb870319f4b6c2d8"
        },
        "diff": {
            "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/diff/f7591a13eda445d9a9167f98eb870319f4b6c2d8"
        },
        "approve": {
            "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/commit/f7591a13eda445d9a9167f98eb870319f4b6c2d8/approve"
        },
        "statuses": {
            "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/commit/f7591a13eda445d9a9167f98eb870319f4b6c2d8/statuses"
        }
    },
    "author": {
        "raw": "Brodie Rao <a@b.c>",
        "type": "author",
        "user": {
            "display_name": "Brodie Rao",
            "uuid": "{9484702e-c663-4afd-aefb-c93a8cd31c28}",
            "links": {
                "self": {
                    "href": "https://api.bitbucket.org/2.0/users/%7B9484702e-c663-4afd-aefb-c93a8cd31c28%7D"
                },
                "html": {
                    "href": "https://bitbucket.org/%7B9484702e-c663-4afd-aefb-c93a8cd31c28%7D/"
                },
                "avatar": {
                    "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/557058:3aae1e05-702a-41e5-81c8-f36f29afb6ca/613070db-28b0-421f-8dba-ae8a87e2a5c7/128"
                }
            },
            "type": "user",
            "nickname": "brodie",
            "account_id": "557058:3aae1e05-702a-41e5-81c8-f36f29afb6ca"
        }
    },
    "summary": {
        "raw": "Add a GEORDI_OUTPUT_DIR setting",
        "markup": "markdown",
        "html": "<p>Add a GEORDI_OUTPUT_DIR setting</p>",
        "type": "rendered"
    },
    "participants": [],
    "parents": [
        {
            "type": "commit",
            "hash": "f06941fec4ef6bcb0c2456927a0cf258fa4f899b",
            "links": {
                "self": {
                    "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/commit/f06941fec4ef6bcb0c2456927a0cf258fa4f899b"
                },
                "html": {
                    "href": "https://bitbucket.org/bitbucket/geordi/commits/f06941fec4ef6bcb0c2456927a0cf258fa4f899b"
                }
            }
        }
    ],
    "date": "2012-07-16T19:37:54+00:00",
    "message": "Add a GEORDI_OUTPUT_DIR setting",
    "type": "commit"
}

```

func (*Client) GetRepositoriesWorkspaceRepoSlugCommitNodeComments

GetRepositoriesWorkspaceRepoSlugCommitNodeComments Returns the commit's comments.

This includes both global and inline comments.

The default sorting is oldest to newest and can be overridden with the `sort` query parameter.

func (*Client) GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentID

GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentID Returns the specified commit comment.

func (*Client) GetRepositoriesWorkspaceRepoSlugCommits

func (a *Client) GetRepositoriesWorkspaceRepoSlugCommits(params *GetRepositoriesWorkspaceRepoSlugCommitsParams, authInfo runtime.ClientAuthInfoWriter) error
GetRepositoriesWorkspaceRepoSlugCommits These are the repository's commits. They are paginated and returned

in reverse chronological order, similar to the output of `git log` and `hg log`. Like these tools, the DAG can be filtered.

## GET /repositories/{workspace}/{repo_slug}/commits/

Returns all commits in the repo in topological order (newest commit first). All branches and tags are included (similar to `git log --all` and `hg log`).

## GET /repositories/{workspace}/{repo_slug}/commits/master

Returns all commits on rev `master` (similar to `git log master`, `hg log master`).

## GET /repositories/{workspace}/{repo_slug}/commits/dev?exclude=master

Returns all commits on ref `dev`, except those that are reachable on `master` (similar to `git log dev ^master`).

## GET /repositories/{workspace}/{repo_slug}/commits/?exclude=master

Returns all commits in the repo that are not on master (similar to `git log --all ^master`).

## GET /repositories/{workspace}/{repo_slug}/commits/?include=foo&include=bar&exclude=fu&exclude=fubar

Returns all commits that are on refs `foo` or `bar`, but not on `fu` or `fubar` (similar to `git log foo bar ^fu ^fubar`).

An optional `path` parameter can be specified that will limit the results to commits that affect that path. `path` can either be a file or a directory. If a directory is specified, commits are returned that have modified any file in the directory tree rooted by `path`. It is important to note that if the `path` parameter is specified, the commits returned by this endpoint may no longer be a DAG, parent commits that do not modify the path will be omitted from the response.

## GET /repositories/{workspace}/{repo_slug}/commits/?path=README.md&include=foo&include=bar&exclude=master

Returns all commits that are on refs `foo` or `bar`, but not on `master` that changed the file README.md.

## GET /repositories/{workspace}/{repo_slug}/commits/?path=src/&include=foo&include=bar&exclude=master

Returns all commits that are on refs `foo` or `bar`, but not on `master` that changed to a file in any file in the directory src or its children.

Because the response could include a very large number of commits, it is paginated. Follow the 'next' link in the response to navigate to the next page of commits. As with other paginated resources, do not construct your own links.

When the include and exclude parameters are more than can fit in a query string, clients can use a `x-www-form-urlencoded` POST instead.

func (*Client) GetRepositoriesWorkspaceRepoSlugCommitsRevision

func (a *Client) GetRepositoriesWorkspaceRepoSlugCommitsRevision(params *GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams, authInfo runtime.ClientAuthInfoWriter) error
GetRepositoriesWorkspaceRepoSlugCommitsRevision These are the repository's commits. They are paginated and returned

in reverse chronological order, similar to the output of `git log` and `hg log`. Like these tools, the DAG can be filtered.

## GET /repositories/{workspace}/{repo_slug}/commits/

Returns all commits in the repo in topological order (newest commit first). All branches and tags are included (similar to `git log --all` and `hg log`).

## GET /repositories/{workspace}/{repo_slug}/commits/master

Returns all commits on rev `master` (similar to `git log master`, `hg log master`).

## GET /repositories/{workspace}/{repo_slug}/commits/dev?exclude=master

Returns all commits on ref `dev`, except those that are reachable on `master` (similar to `git log dev ^master`).

## GET /repositories/{workspace}/{repo_slug}/commits/?exclude=master

Returns all commits in the repo that are not on master (similar to `git log --all ^master`).

## GET /repositories/{workspace}/{repo_slug}/commits/?include=foo&include=bar&exclude=fu&exclude=fubar

Returns all commits that are on refs `foo` or `bar`, but not on `fu` or `fubar` (similar to `git log foo bar ^fu ^fubar`).

An optional `path` parameter can be specified that will limit the results to commits that affect that path. `path` can either be a file or a directory. If a directory is specified, commits are returned that have modified any file in the directory tree rooted by `path`. It is important to note that if the `path` parameter is specified, the commits returned by this endpoint may no longer be a DAG, parent commits that do not modify the path will be omitted from the response.

## GET /repositories/{workspace}/{repo_slug}/commits/?path=README.md&include=foo&include=bar&exclude=master

Returns all commits that are on refs `foo` or `bar`, but not on `master` that changed the file README.md.

## GET /repositories/{workspace}/{repo_slug}/commits/?path=src/&include=foo&include=bar&exclude=master

Returns all commits that are on refs `foo` or `bar`, but not on `master` that changed to a file in any file in the directory src or its children.

Because the response could include a very large number of commits, it is paginated. Follow the 'next' link in the response to navigate to the next page of commits. As with other paginated resources, do not construct your own links.

When the include and exclude parameters are more than can fit in a query string, clients can use a `x-www-form-urlencoded` POST instead.

func (*Client) GetRepositoriesWorkspaceRepoSlugDiffSpec

GetRepositoriesWorkspaceRepoSlugDiffSpec Produces a raw, git-style diff for either a single commit (diffed

against its first parent), or a revspec of 2 commits (e.g. `3a8b42..9ff173` where the first commit represents the source and the second commit the destination).

In case of the latter (diffing a revspec), a 3-way diff, or merge diff, is computed. This shows the changes introduced by the left branch (`3a8b42` in our example) as compared againt the right branch (`9ff173`).

This is equivalent to merging the left branch into the right branch and then computing the diff of the merge commit against its first parent (the right branch). This follows the same behavior as pull requests that also show this style of 3-way, or merge diff.

While similar to patches, diffs:

  • Don't have a commit header (username, commit message, etc)
  • Support the optional `path=foo/bar.py` query param to filter the diff to just that one file diff

The raw diff is returned as-is, in whatever encoding the files in the repository use. It is not decoded into unicode. As such, the content-type is `text/plain`.

func (*Client) GetRepositoriesWorkspaceRepoSlugMergeBaseRevspec

GetRepositoriesWorkspaceRepoSlugMergeBaseRevspec Returns the best common ancestor between two commits, specified in a revspec

of 2 commits (e.g. 3a8b42..9ff173).

If more than one best common ancestor exists, only one will be returned. It is unspecified which will be returned.

func (*Client) GetRepositoriesWorkspaceRepoSlugPatchSpec

GetRepositoriesWorkspaceRepoSlugPatchSpec Produces a raw patch for a single commit (diffed against its first

parent), or a patch-series for a revspec of 2 commits (e.g. `3a8b42..9ff173` where the first commit represents the source and the second commit the destination).

In case of the latter (diffing a revspec), a patch series is returned for the commits on the source branch (`3a8b42` and its ancestors in our example). For Mercurial, a single patch is returned that combines the changes of all commits on the source branch.

While similar to diffs, patches:

* Have a commit header (username, commit message, etc) * Do not support the `path=foo/bar.py` query parameter

The raw patch is returned as-is, in whatever encoding the files in the repository use. It is not decoded into unicode. As such, the content-type is `text/plain`.

func (*Client) PostRepositoriesWorkspaceRepoSlugCommitNodeApprove

PostRepositoriesWorkspaceRepoSlugCommitNodeApprove Approve the specified commit as the authenticated user.

This operation is only available to users that have explicit access to the repository. In contrast, just the fact that a repository is publicly accessible to users does not give them the ability to approve commits.

func (*Client) PostRepositoriesWorkspaceRepoSlugCommitNodeComments

PostRepositoriesWorkspaceRepoSlugCommitNodeComments Creates new comment on the specified commit.

To post a reply to an existing comment, include the `parent.id` field:

```

$ curl https://api.bitbucket.org/2.0/repositories/atlassian/prlinks/commit/db9ba1e031d07a02603eae0e559a7adc010257fc/comments/ \
  -X POST -u evzijst \
  -H 'Content-Type: application/json' \
  -d '{"content": {"raw": "One more thing!"},
       "parent": {"id": 5728901}}'

```

func (*Client) PostRepositoriesWorkspaceRepoSlugCommits

func (a *Client) PostRepositoriesWorkspaceRepoSlugCommits(params *PostRepositoriesWorkspaceRepoSlugCommitsParams, authInfo runtime.ClientAuthInfoWriter) error
PostRepositoriesWorkspaceRepoSlugCommits Identical to `GET /repositories/{workspace}/{repo_slug}/commits`,

except that POST allows clients to place the include and exclude parameters in the request body to avoid URL length issues.

**Note that this resource does NOT support new commit creation.**

func (*Client) PostRepositoriesWorkspaceRepoSlugCommitsRevision

func (a *Client) PostRepositoriesWorkspaceRepoSlugCommitsRevision(params *PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams, authInfo runtime.ClientAuthInfoWriter) error
PostRepositoriesWorkspaceRepoSlugCommitsRevision Identical to `GET /repositories/{workspace}/{repo_slug}/commits`,

except that POST allows clients to place the include and exclude parameters in the request body to avoid URL length issues.

**Note that this resource does NOT support new commit creation.**

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteRepositoriesWorkspaceRepoSlugCommitNodeApprove(params *DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNoContent, error)

	GetRepositoriesWorkspaceRepoSlugCommitNode(params *GetRepositoriesWorkspaceRepoSlugCommitNodeParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugCommitNodeOK, error)

	GetRepositoriesWorkspaceRepoSlugCommitNodeComments(params *GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsOK, error)

	GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentID(params *GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDOK, error)

	GetRepositoriesWorkspaceRepoSlugCommits(params *GetRepositoriesWorkspaceRepoSlugCommitsParams, authInfo runtime.ClientAuthInfoWriter) error

	GetRepositoriesWorkspaceRepoSlugCommitsRevision(params *GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams, authInfo runtime.ClientAuthInfoWriter) error

	GetRepositoriesWorkspaceRepoSlugDiffSpec(params *GetRepositoriesWorkspaceRepoSlugDiffSpecParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugDiffSpecOK, error)

	GetRepositoriesWorkspaceRepoSlugMergeBaseRevspec(params *GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecOK, error)

	GetRepositoriesWorkspaceRepoSlugPatchSpec(params *GetRepositoriesWorkspaceRepoSlugPatchSpecParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPatchSpecOK, error)

	PostRepositoriesWorkspaceRepoSlugCommitNodeApprove(params *PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveOK, error)

	PostRepositoriesWorkspaceRepoSlugCommitNodeComments(params *PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsCreated, error)

	PostRepositoriesWorkspaceRepoSlugCommits(params *PostRepositoriesWorkspaceRepoSlugCommitsParams, authInfo runtime.ClientAuthInfoWriter) error

	PostRepositoriesWorkspaceRepoSlugCommitsRevision(params *PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams, authInfo runtime.ClientAuthInfoWriter) 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 commits API client.

type DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNoContent

type DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNoContent struct {
}

DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNoContent handles this case with default header values.

An empty response indicating the authenticated user's approval has been withdrawn.

func NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNoContent

func NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNoContent() *DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNoContent

NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNoContent creates a DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNoContent with default headers values

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNoContent) Error

type DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound

type DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound struct {
	Payload *models.Error
}

DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound handles this case with default header values.

If the specified commit, or the repository does not exist.

func NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound

func NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound() *DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound

NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound creates a DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound with default headers values

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound) Error

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound) GetPayload

type DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams

type DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams struct {

	/*Node
	  The commit's SHA1.

	*/
	Node string
	/*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
}

DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams contains all the parameters to send to the API endpoint for the delete repositories workspace repo slug commit node approve operation typically these are written to a http.Request

func NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams

func NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams() *DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams

NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams creates a new DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams object with the default values initialized.

func NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithContext

func NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams

NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithContext creates a new DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithHTTPClient

func NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams

NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithHTTPClient creates a new DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithTimeout

func NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams

NewDeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithTimeout creates a new DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) SetContext

SetContext adds the context to the delete repositories workspace repo slug commit node approve params

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete repositories workspace repo slug commit node approve params

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) SetNode

SetNode adds the node to the delete repositories workspace repo slug commit node approve params

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the delete repositories workspace repo slug commit node approve params

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) SetTimeout

SetTimeout adds the timeout to the delete repositories workspace repo slug commit node approve params

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) SetWorkspace

SetWorkspace adds the workspace to the delete repositories workspace repo slug commit node approve params

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) WithContext

WithContext adds the context to the delete repositories workspace repo slug commit node approve params

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete repositories workspace repo slug commit node approve params

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) WithNode

WithNode adds the node to the delete repositories workspace repo slug commit node approve params

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the delete repositories workspace repo slug commit node approve params

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) WithTimeout

WithTimeout adds the timeout to the delete repositories workspace repo slug commit node approve params

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) WithWorkspace

WithWorkspace adds the workspace to the delete repositories workspace repo slug commit node approve params

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveReader

type DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveReader struct {
	// contains filtered or unexported fields
}

DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveReader is a Reader for the DeleteRepositoriesWorkspaceRepoSlugCommitNodeApprove structure.

func (*DeleteRepositoriesWorkspaceRepoSlugCommitNodeApproveReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDOK

type GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDOK struct {
	Payload *models.CommitComment
}

GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDOK handles this case with default header values.

The commit comment.

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDOK

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDOK() *GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDOK

NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDOK creates a GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDOK with default headers values

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDOK) Error

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDOK) GetPayload

type GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams

type GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams struct {

	/*CommentID
	  The id of the comment.

	*/
	CommentID int64
	/*Node
	  The commit's SHA1.

	*/
	Node string
	/*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
}

GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug commit node comments comment ID operation typically these are written to a http.Request

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams() *GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams

NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams creates a new GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams

NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams

NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams

NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) SetCommentID

SetCommentID adds the commentId to the get repositories workspace repo slug commit node comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) SetContext

SetContext adds the context to the get repositories workspace repo slug commit node comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug commit node comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) SetNode

SetNode adds the node to the get repositories workspace repo slug commit node comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug commit node comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug commit node comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug commit node comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) WithCommentID

WithCommentID adds the commentID to the get repositories workspace repo slug commit node comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) WithContext

WithContext adds the context to the get repositories workspace repo slug commit node comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug commit node comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) WithNode

WithNode adds the node to the get repositories workspace repo slug commit node comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug commit node comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug commit node comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug commit node comments comment ID params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDReader

type GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDReader struct {
	// contains filtered or unexported fields
}

GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDReader is a Reader for the GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentID structure.

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsCommentIDReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsOK

type GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsOK struct {
	Payload *models.PaginatedCommitComments
}

GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsOK handles this case with default header values.

A paginated list of commit comments.

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsOK

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsOK() *GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsOK

NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsOK creates a GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsOK with default headers values

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsOK) Error

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsOK) GetPayload

type GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams

type GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams struct {

	/*Node
	  The commit's SHA1.

	*/
	Node string
	/*Q
	  Query string to narrow down the response as per
	[filtering and sorting](../../../../../../meta/filtering).


	*/
	Q *string
	/*RepoSlug
	  This can either be the repository slug or the UUID of the repository,
	surrounded by curly-braces, for example: `{repository UUID}`.


	*/
	RepoSlug string
	/*Sort
	  Field by which the results should be sorted as per
	[filtering and sorting](../../../../../../meta/filtering).


	*/
	Sort *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
}

GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug commit node comments operation typically these are written to a http.Request

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams() *GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams

NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams creates a new GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams

NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams object with the default values initialized, and the ability to set a context for a request

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams

NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams

NewGetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetContext

SetContext adds the context to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetNode

SetNode adds the node to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetQ

SetQ adds the q to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetSort

SetSort adds the sort to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithContext

WithContext adds the context to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithNode

WithNode adds the node to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithQ

WithQ adds the q to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithSort

WithSort adds the sort to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug commit node comments params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsReader

type GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsReader struct {
	// contains filtered or unexported fields
}

GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsReader is a Reader for the GetRepositoriesWorkspaceRepoSlugCommitNodeComments structure.

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsReader) ReadResponse

func (o *GetRepositoriesWorkspaceRepoSlugCommitNodeCommentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugCommitNodeNotFound

type GetRepositoriesWorkspaceRepoSlugCommitNodeNotFound struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceRepoSlugCommitNodeNotFound handles this case with default header values.

If the specified commit or repository does not exist.

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeNotFound

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeNotFound() *GetRepositoriesWorkspaceRepoSlugCommitNodeNotFound

NewGetRepositoriesWorkspaceRepoSlugCommitNodeNotFound creates a GetRepositoriesWorkspaceRepoSlugCommitNodeNotFound with default headers values

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeNotFound) Error

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeNotFound) GetPayload

type GetRepositoriesWorkspaceRepoSlugCommitNodeOK

type GetRepositoriesWorkspaceRepoSlugCommitNodeOK struct {
	Payload *models.Commit
}

GetRepositoriesWorkspaceRepoSlugCommitNodeOK handles this case with default header values.

The commit object

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeOK

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeOK() *GetRepositoriesWorkspaceRepoSlugCommitNodeOK

NewGetRepositoriesWorkspaceRepoSlugCommitNodeOK creates a GetRepositoriesWorkspaceRepoSlugCommitNodeOK with default headers values

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeOK) Error

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeOK) GetPayload

type GetRepositoriesWorkspaceRepoSlugCommitNodeParams

type GetRepositoriesWorkspaceRepoSlugCommitNodeParams struct {

	/*Node
	  The commit's SHA1.

	*/
	Node string
	/*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
}

GetRepositoriesWorkspaceRepoSlugCommitNodeParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug commit node operation typically these are written to a http.Request

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeParams

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeParams() *GetRepositoriesWorkspaceRepoSlugCommitNodeParams

NewGetRepositoriesWorkspaceRepoSlugCommitNodeParams creates a new GetRepositoriesWorkspaceRepoSlugCommitNodeParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugCommitNodeParams

NewGetRepositoriesWorkspaceRepoSlugCommitNodeParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugCommitNodeParams object with the default values initialized, and the ability to set a context for a request

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugCommitNodeParams

NewGetRepositoriesWorkspaceRepoSlugCommitNodeParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugCommitNodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugCommitNodeParams

NewGetRepositoriesWorkspaceRepoSlugCommitNodeParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugCommitNodeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeParams) SetContext

SetContext adds the context to the get repositories workspace repo slug commit node params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug commit node params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeParams) SetNode

SetNode adds the node to the get repositories workspace repo slug commit node params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug commit node params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug commit node params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeParams) SetWorkspace

func (o *GetRepositoriesWorkspaceRepoSlugCommitNodeParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the get repositories workspace repo slug commit node params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeParams) WithContext

WithContext adds the context to the get repositories workspace repo slug commit node params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug commit node params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeParams) WithNode

WithNode adds the node to the get repositories workspace repo slug commit node params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug commit node params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug commit node params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug commit node params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugCommitNodeReader

type GetRepositoriesWorkspaceRepoSlugCommitNodeReader struct {
	// contains filtered or unexported fields
}

GetRepositoriesWorkspaceRepoSlugCommitNodeReader is a Reader for the GetRepositoriesWorkspaceRepoSlugCommitNode structure.

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeReader) ReadResponse

func (o *GetRepositoriesWorkspaceRepoSlugCommitNodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugCommitsDefault

type GetRepositoriesWorkspaceRepoSlugCommitsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetRepositoriesWorkspaceRepoSlugCommitsDefault handles this case with default header values.

Unexpected error.

func NewGetRepositoriesWorkspaceRepoSlugCommitsDefault

func NewGetRepositoriesWorkspaceRepoSlugCommitsDefault(code int) *GetRepositoriesWorkspaceRepoSlugCommitsDefault

NewGetRepositoriesWorkspaceRepoSlugCommitsDefault creates a GetRepositoriesWorkspaceRepoSlugCommitsDefault with default headers values

func (*GetRepositoriesWorkspaceRepoSlugCommitsDefault) Code

Code gets the status code for the get repositories workspace repo slug commits default response

func (*GetRepositoriesWorkspaceRepoSlugCommitsDefault) Error

func (*GetRepositoriesWorkspaceRepoSlugCommitsDefault) GetPayload

type GetRepositoriesWorkspaceRepoSlugCommitsParams

type GetRepositoriesWorkspaceRepoSlugCommitsParams 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
}

GetRepositoriesWorkspaceRepoSlugCommitsParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug commits operation typically these are written to a http.Request

func NewGetRepositoriesWorkspaceRepoSlugCommitsParams

func NewGetRepositoriesWorkspaceRepoSlugCommitsParams() *GetRepositoriesWorkspaceRepoSlugCommitsParams

NewGetRepositoriesWorkspaceRepoSlugCommitsParams creates a new GetRepositoriesWorkspaceRepoSlugCommitsParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugCommitsParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugCommitsParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugCommitsParams

NewGetRepositoriesWorkspaceRepoSlugCommitsParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugCommitsParams object with the default values initialized, and the ability to set a context for a request

func NewGetRepositoriesWorkspaceRepoSlugCommitsParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugCommitsParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugCommitsParams

NewGetRepositoriesWorkspaceRepoSlugCommitsParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugCommitsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRepositoriesWorkspaceRepoSlugCommitsParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugCommitsParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugCommitsParams

NewGetRepositoriesWorkspaceRepoSlugCommitsParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugCommitsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRepositoriesWorkspaceRepoSlugCommitsParams) SetContext

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

func (*GetRepositoriesWorkspaceRepoSlugCommitsParams) SetHTTPClient

func (o *GetRepositoriesWorkspaceRepoSlugCommitsParams) SetHTTPClient(client *http.Client)

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

func (*GetRepositoriesWorkspaceRepoSlugCommitsParams) SetRepoSlug

func (o *GetRepositoriesWorkspaceRepoSlugCommitsParams) SetRepoSlug(repoSlug string)

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

func (*GetRepositoriesWorkspaceRepoSlugCommitsParams) SetTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugCommitsParams) SetWorkspace

func (o *GetRepositoriesWorkspaceRepoSlugCommitsParams) SetWorkspace(workspace string)

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

func (*GetRepositoriesWorkspaceRepoSlugCommitsParams) WithContext

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

func (*GetRepositoriesWorkspaceRepoSlugCommitsParams) WithHTTPClient

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

func (*GetRepositoriesWorkspaceRepoSlugCommitsParams) WithRepoSlug

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

func (*GetRepositoriesWorkspaceRepoSlugCommitsParams) WithTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugCommitsParams) WithWorkspace

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

func (*GetRepositoriesWorkspaceRepoSlugCommitsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugCommitsReader

type GetRepositoriesWorkspaceRepoSlugCommitsReader struct {
	// contains filtered or unexported fields
}

GetRepositoriesWorkspaceRepoSlugCommitsReader is a Reader for the GetRepositoriesWorkspaceRepoSlugCommits structure.

func (*GetRepositoriesWorkspaceRepoSlugCommitsReader) ReadResponse

func (o *GetRepositoriesWorkspaceRepoSlugCommitsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugCommitsRevisionDefault

type GetRepositoriesWorkspaceRepoSlugCommitsRevisionDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetRepositoriesWorkspaceRepoSlugCommitsRevisionDefault handles this case with default header values.

Unexpected error.

func NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionDefault

func NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionDefault(code int) *GetRepositoriesWorkspaceRepoSlugCommitsRevisionDefault

NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionDefault creates a GetRepositoriesWorkspaceRepoSlugCommitsRevisionDefault with default headers values

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionDefault) Code

Code gets the status code for the get repositories workspace repo slug commits revision default response

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionDefault) Error

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionDefault) GetPayload

type GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams

type GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams 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
	/*Revision*/
	Revision 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
}

GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug commits revision operation typically these are written to a http.Request

func NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionParams

func NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionParams() *GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams

NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionParams creates a new GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams

NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams object with the default values initialized, and the ability to set a context for a request

func NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams

NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams

NewGetRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams) SetContext

SetContext adds the context to the get repositories workspace repo slug commits revision params

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug commits revision params

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug commits revision params

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams) SetRevision

SetRevision adds the revision to the get repositories workspace repo slug commits revision params

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug commits revision params

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug commits revision params

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams) WithContext

WithContext adds the context to the get repositories workspace repo slug commits revision params

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug commits revision params

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug commits revision params

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams) WithRevision

WithRevision adds the revision to the get repositories workspace repo slug commits revision params

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug commits revision params

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug commits revision params

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugCommitsRevisionReader

type GetRepositoriesWorkspaceRepoSlugCommitsRevisionReader struct {
	// contains filtered or unexported fields
}

GetRepositoriesWorkspaceRepoSlugCommitsRevisionReader is a Reader for the GetRepositoriesWorkspaceRepoSlugCommitsRevision structure.

func (*GetRepositoriesWorkspaceRepoSlugCommitsRevisionReader) ReadResponse

func (o *GetRepositoriesWorkspaceRepoSlugCommitsRevisionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugDiffSpecOK

type GetRepositoriesWorkspaceRepoSlugDiffSpecOK struct {
}

GetRepositoriesWorkspaceRepoSlugDiffSpecOK handles this case with default header values.

The raw diff

func NewGetRepositoriesWorkspaceRepoSlugDiffSpecOK

func NewGetRepositoriesWorkspaceRepoSlugDiffSpecOK() *GetRepositoriesWorkspaceRepoSlugDiffSpecOK

NewGetRepositoriesWorkspaceRepoSlugDiffSpecOK creates a GetRepositoriesWorkspaceRepoSlugDiffSpecOK with default headers values

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecOK) Error

type GetRepositoriesWorkspaceRepoSlugDiffSpecParams

type GetRepositoriesWorkspaceRepoSlugDiffSpecParams struct {

	/*Binary
	  Generate diffs that include binary files, true if omitted.

	*/
	Binary *bool
	/*IgnoreWhitespace
	  Generate diffs that ignore whitespace.

	*/
	IgnoreWhitespace *bool
	/*Merge
	  If true, the source commit is merged into the
	destination commit, and then a diff from the
	destination to the merge result is returned. If false,
	a simple 'two dot' diff between the source and
	destination is returned. True if omitted.

	*/
	Merge *bool
	/*Path
	  Limit the diff to a particular file (this parameter
	can be repeated for multiple paths).

	*/
	Path *string
	/*Renames
	  Whether to perform rename detection, true if omitted.

	*/
	Renames *bool
	/*RepoSlug
	  This can either be the repository slug or the UUID of the repository,
	surrounded by curly-braces, for example: `{repository UUID}`.


	*/
	RepoSlug string
	/*Spec
	  A commit SHA (e.g. `3a8b42`) or a commit range using double dot
	notation (e.g. `3a8b42..9ff173`).


	*/
	Spec 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
}

GetRepositoriesWorkspaceRepoSlugDiffSpecParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug diff spec operation typically these are written to a http.Request

func NewGetRepositoriesWorkspaceRepoSlugDiffSpecParams

func NewGetRepositoriesWorkspaceRepoSlugDiffSpecParams() *GetRepositoriesWorkspaceRepoSlugDiffSpecParams

NewGetRepositoriesWorkspaceRepoSlugDiffSpecParams creates a new GetRepositoriesWorkspaceRepoSlugDiffSpecParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugDiffSpecParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugDiffSpecParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugDiffSpecParams

NewGetRepositoriesWorkspaceRepoSlugDiffSpecParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugDiffSpecParams object with the default values initialized, and the ability to set a context for a request

func NewGetRepositoriesWorkspaceRepoSlugDiffSpecParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugDiffSpecParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugDiffSpecParams

NewGetRepositoriesWorkspaceRepoSlugDiffSpecParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugDiffSpecParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRepositoriesWorkspaceRepoSlugDiffSpecParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugDiffSpecParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugDiffSpecParams

NewGetRepositoriesWorkspaceRepoSlugDiffSpecParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugDiffSpecParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetBinary

SetBinary adds the binary to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetContext

SetContext adds the context to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetIgnoreWhitespace

func (o *GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetIgnoreWhitespace(ignoreWhitespace *bool)

SetIgnoreWhitespace adds the ignoreWhitespace to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetMerge

SetMerge adds the merge to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetPath

SetPath adds the path to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetRenames

func (o *GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetRenames(renames *bool)

SetRenames adds the renames to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetRepoSlug

func (o *GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetRepoSlug(repoSlug string)

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetSpec

SetSpec adds the spec to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetWorkspace

func (o *GetRepositoriesWorkspaceRepoSlugDiffSpecParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) WithBinary

WithBinary adds the binary to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) WithContext

WithContext adds the context to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) WithIgnoreWhitespace

WithIgnoreWhitespace adds the ignoreWhitespace to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) WithMerge

WithMerge adds the merge to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) WithPath

WithPath adds the path to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) WithRenames

WithRenames adds the renames to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) WithSpec

WithSpec adds the spec to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug diff spec params

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugDiffSpecReader

type GetRepositoriesWorkspaceRepoSlugDiffSpecReader struct {
	// contains filtered or unexported fields
}

GetRepositoriesWorkspaceRepoSlugDiffSpecReader is a Reader for the GetRepositoriesWorkspaceRepoSlugDiffSpec structure.

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecReader) ReadResponse

func (o *GetRepositoriesWorkspaceRepoSlugDiffSpecReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugDiffSpecStatus555

type GetRepositoriesWorkspaceRepoSlugDiffSpecStatus555 struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceRepoSlugDiffSpecStatus555 handles this case with default header values.

If the diff was too large and timed out.

Since this endpoint does not employ any form of pagination, but instead returns the diff as a single document, it can run into trouble on very large diffs. If Bitbucket times out in cases like these, a 555 status code is returned.

func NewGetRepositoriesWorkspaceRepoSlugDiffSpecStatus555

func NewGetRepositoriesWorkspaceRepoSlugDiffSpecStatus555() *GetRepositoriesWorkspaceRepoSlugDiffSpecStatus555

NewGetRepositoriesWorkspaceRepoSlugDiffSpecStatus555 creates a GetRepositoriesWorkspaceRepoSlugDiffSpecStatus555 with default headers values

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecStatus555) Error

func (*GetRepositoriesWorkspaceRepoSlugDiffSpecStatus555) GetPayload

type GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecForbidden

type GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecForbidden struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecForbidden handles this case with default header values.

If the authenticated user does not have access to any of the repositories specified.

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecForbidden

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecForbidden() *GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecForbidden

NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecForbidden creates a GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecForbidden with default headers values

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecForbidden) Error

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecForbidden) GetPayload

type GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecNotFound

type GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecNotFound struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecNotFound handles this case with default header values.

If the repository or ref in the spec does not exist.

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecNotFound

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecNotFound() *GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecNotFound

NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecNotFound creates a GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecNotFound with default headers values

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecNotFound) Error

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecNotFound) GetPayload

type GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecOK

type GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecOK struct {
	Payload *models.Commit
}

GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecOK handles this case with default header values.

The merge base of the provided spec.

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecOK

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecOK() *GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecOK

NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecOK creates a GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecOK with default headers values

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecOK) Error

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecOK) GetPayload

type GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams

type GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams 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
	/*Revspec
	  A commit range using double dot notation (e.g. `3a8b42..9ff173`).


	*/
	Revspec 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
}

GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug merge base revspec operation typically these are written to a http.Request

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams() *GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams

NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams creates a new GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams

NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams object with the default values initialized, and the ability to set a context for a request

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams

NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams

NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams) SetContext

SetContext adds the context to the get repositories workspace repo slug merge base revspec params

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug merge base revspec params

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug merge base revspec params

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams) SetRevspec

SetRevspec adds the revspec to the get repositories workspace repo slug merge base revspec params

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug merge base revspec params

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams) SetWorkspace

SetWorkspace adds the workspace to the get repositories workspace repo slug merge base revspec params

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams) WithContext

WithContext adds the context to the get repositories workspace repo slug merge base revspec params

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug merge base revspec params

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug merge base revspec params

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams) WithRevspec

WithRevspec adds the revspec to the get repositories workspace repo slug merge base revspec params

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug merge base revspec params

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug merge base revspec params

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecReader

type GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecReader struct {
	// contains filtered or unexported fields
}

GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecReader is a Reader for the GetRepositoriesWorkspaceRepoSlugMergeBaseRevspec structure.

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecReader) ReadResponse

func (o *GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecUnauthorized

type GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecUnauthorized struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecUnauthorized handles this case with default header values.

If the request was not authenticated.

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecUnauthorized

func NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecUnauthorized() *GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecUnauthorized

NewGetRepositoriesWorkspaceRepoSlugMergeBaseRevspecUnauthorized creates a GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecUnauthorized with default headers values

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecUnauthorized) Error

func (*GetRepositoriesWorkspaceRepoSlugMergeBaseRevspecUnauthorized) GetPayload

type GetRepositoriesWorkspaceRepoSlugPatchSpecOK

type GetRepositoriesWorkspaceRepoSlugPatchSpecOK struct {
}

GetRepositoriesWorkspaceRepoSlugPatchSpecOK handles this case with default header values.

The raw patches

func NewGetRepositoriesWorkspaceRepoSlugPatchSpecOK

func NewGetRepositoriesWorkspaceRepoSlugPatchSpecOK() *GetRepositoriesWorkspaceRepoSlugPatchSpecOK

NewGetRepositoriesWorkspaceRepoSlugPatchSpecOK creates a GetRepositoriesWorkspaceRepoSlugPatchSpecOK with default headers values

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecOK) Error

type GetRepositoriesWorkspaceRepoSlugPatchSpecParams

type GetRepositoriesWorkspaceRepoSlugPatchSpecParams 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
	/*Spec
	  A commit SHA (e.g. `3a8b42`) or a commit range using double dot
	notation (e.g. `3a8b42..9ff173`).


	*/
	Spec 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
}

GetRepositoriesWorkspaceRepoSlugPatchSpecParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug patch spec operation typically these are written to a http.Request

func NewGetRepositoriesWorkspaceRepoSlugPatchSpecParams

func NewGetRepositoriesWorkspaceRepoSlugPatchSpecParams() *GetRepositoriesWorkspaceRepoSlugPatchSpecParams

NewGetRepositoriesWorkspaceRepoSlugPatchSpecParams creates a new GetRepositoriesWorkspaceRepoSlugPatchSpecParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugPatchSpecParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugPatchSpecParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPatchSpecParams

NewGetRepositoriesWorkspaceRepoSlugPatchSpecParamsWithContext creates a new GetRepositoriesWorkspaceRepoSlugPatchSpecParams object with the default values initialized, and the ability to set a context for a request

func NewGetRepositoriesWorkspaceRepoSlugPatchSpecParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugPatchSpecParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPatchSpecParams

NewGetRepositoriesWorkspaceRepoSlugPatchSpecParamsWithHTTPClient creates a new GetRepositoriesWorkspaceRepoSlugPatchSpecParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRepositoriesWorkspaceRepoSlugPatchSpecParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugPatchSpecParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPatchSpecParams

NewGetRepositoriesWorkspaceRepoSlugPatchSpecParamsWithTimeout creates a new GetRepositoriesWorkspaceRepoSlugPatchSpecParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecParams) SetContext

SetContext adds the context to the get repositories workspace repo slug patch spec params

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug patch spec params

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug patch spec params

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecParams) SetSpec

SetSpec adds the spec to the get repositories workspace repo slug patch spec params

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug patch spec params

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecParams) SetWorkspace

func (o *GetRepositoriesWorkspaceRepoSlugPatchSpecParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the get repositories workspace repo slug patch spec params

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecParams) WithContext

WithContext adds the context to the get repositories workspace repo slug patch spec params

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug patch spec params

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug patch spec params

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecParams) WithSpec

WithSpec adds the spec to the get repositories workspace repo slug patch spec params

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug patch spec params

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug patch spec params

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugPatchSpecReader

type GetRepositoriesWorkspaceRepoSlugPatchSpecReader struct {
	// contains filtered or unexported fields
}

GetRepositoriesWorkspaceRepoSlugPatchSpecReader is a Reader for the GetRepositoriesWorkspaceRepoSlugPatchSpec structure.

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecReader) ReadResponse

func (o *GetRepositoriesWorkspaceRepoSlugPatchSpecReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugPatchSpecStatus555

type GetRepositoriesWorkspaceRepoSlugPatchSpecStatus555 struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceRepoSlugPatchSpecStatus555 handles this case with default header values.

If the diff was too large and timed out.

Since this endpoint does not employ any form of pagination, but instead returns the diff as a single document, it can run into trouble on very large diffs. If Bitbucket times out in cases like these, a 555 status code is returned.

func NewGetRepositoriesWorkspaceRepoSlugPatchSpecStatus555

func NewGetRepositoriesWorkspaceRepoSlugPatchSpecStatus555() *GetRepositoriesWorkspaceRepoSlugPatchSpecStatus555

NewGetRepositoriesWorkspaceRepoSlugPatchSpecStatus555 creates a GetRepositoriesWorkspaceRepoSlugPatchSpecStatus555 with default headers values

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecStatus555) Error

func (*GetRepositoriesWorkspaceRepoSlugPatchSpecStatus555) GetPayload

type PostRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound

type PostRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound struct {
	Payload *models.Error
}

PostRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound handles this case with default header values.

If the specified commit, or the repository does not exist.

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound() *PostRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound

NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound creates a PostRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound with default headers values

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound) Error

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveNotFound) GetPayload

type PostRepositoriesWorkspaceRepoSlugCommitNodeApproveOK

type PostRepositoriesWorkspaceRepoSlugCommitNodeApproveOK struct {
	Payload *models.Participant
}

PostRepositoriesWorkspaceRepoSlugCommitNodeApproveOK handles this case with default header values.

The `participant` object recording that the authenticated user approved the commit.

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveOK

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveOK() *PostRepositoriesWorkspaceRepoSlugCommitNodeApproveOK

NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveOK creates a PostRepositoriesWorkspaceRepoSlugCommitNodeApproveOK with default headers values

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveOK) Error

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveOK) GetPayload

type PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams

type PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams struct {

	/*Node
	  The commit's SHA1.

	*/
	Node string
	/*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
}

PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams contains all the parameters to send to the API endpoint for the post repositories workspace repo slug commit node approve operation typically these are written to a http.Request

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams() *PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams

NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams creates a new PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams object with the default values initialized.

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithContext

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams

NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithContext creates a new PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams object with the default values initialized, and the ability to set a context for a request

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithHTTPClient

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams

NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithHTTPClient creates a new PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithTimeout

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams

NewPostRepositoriesWorkspaceRepoSlugCommitNodeApproveParamsWithTimeout creates a new PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) SetContext

SetContext adds the context to the post repositories workspace repo slug commit node approve params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug commit node approve params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) SetNode

SetNode adds the node to the post repositories workspace repo slug commit node approve params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the post repositories workspace repo slug commit node approve params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) SetTimeout

SetTimeout adds the timeout to the post repositories workspace repo slug commit node approve params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) SetWorkspace

SetWorkspace adds the workspace to the post repositories workspace repo slug commit node approve params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) WithContext

WithContext adds the context to the post repositories workspace repo slug commit node approve params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug commit node approve params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) WithNode

WithNode adds the node to the post repositories workspace repo slug commit node approve params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the post repositories workspace repo slug commit node approve params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) WithTimeout

WithTimeout adds the timeout to the post repositories workspace repo slug commit node approve params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) WithWorkspace

WithWorkspace adds the workspace to the post repositories workspace repo slug commit node approve params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRepositoriesWorkspaceRepoSlugCommitNodeApproveReader

type PostRepositoriesWorkspaceRepoSlugCommitNodeApproveReader struct {
	// contains filtered or unexported fields
}

PostRepositoriesWorkspaceRepoSlugCommitNodeApproveReader is a Reader for the PostRepositoriesWorkspaceRepoSlugCommitNodeApprove structure.

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeApproveReader) ReadResponse

func (o *PostRepositoriesWorkspaceRepoSlugCommitNodeApproveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsBadRequest

type PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsBadRequest struct {
}

PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsBadRequest handles this case with default header values.

If the comment was detected as spam, or if the parent comment is not attached to the same node as the new comment

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsBadRequest

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsBadRequest() *PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsBadRequest

NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsBadRequest creates a PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsBadRequest with default headers values

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsBadRequest) Error

type PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsCreated

type PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsCreated struct {
	/*The location of the newly created comment.
	 */
	Location string
}

PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsCreated handles this case with default header values.

The newly created comment.

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsCreated

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsCreated() *PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsCreated

NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsCreated creates a PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsCreated with default headers values

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsCreated) Error

type PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsNotFound

type PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsNotFound struct {
}

PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsNotFound handles this case with default header values.

If a parent ID was passed in that cannot be found

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsNotFound

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsNotFound() *PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsNotFound

NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsNotFound creates a PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsNotFound with default headers values

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsNotFound) Error

type PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams

type PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams struct {

	/*Body
	  The specified comment.

	*/
	Body *models.CommitComment
	/*Node
	  The commit's SHA1.

	*/
	Node string
	/*RepoSlug
	  This can either be the repository slug or the UUID of the repository,
	surrounded by curly-braces, for example: `{repository UUID}`.


	*/
	RepoSlug string
	/*Username
	  This can either be the username or the UUID of the user,
	surrounded by curly-braces, for example: `{user UUID}`.


	*/
	Username 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
}

PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams contains all the parameters to send to the API endpoint for the post repositories workspace repo slug commit node comments operation typically these are written to a http.Request

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams() *PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams

NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams creates a new PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams object with the default values initialized.

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithContext

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams

NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithContext creates a new PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams object with the default values initialized, and the ability to set a context for a request

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithHTTPClient

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams

NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithHTTPClient creates a new PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithTimeout

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams

NewPostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParamsWithTimeout creates a new PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetBody

SetBody adds the body to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetContext

SetContext adds the context to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetNode

SetNode adds the node to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetTimeout

SetTimeout adds the timeout to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetUsername

SetUsername adds the username to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) SetWorkspace

SetWorkspace adds the workspace to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithBody

WithBody adds the body to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithContext

WithContext adds the context to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithNode

WithNode adds the node to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithTimeout

WithTimeout adds the timeout to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithUsername

WithUsername adds the username to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WithWorkspace

WithWorkspace adds the workspace to the post repositories workspace repo slug commit node comments params

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsReader

type PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsReader struct {
	// contains filtered or unexported fields
}

PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsReader is a Reader for the PostRepositoriesWorkspaceRepoSlugCommitNodeComments structure.

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeCommentsReader) ReadResponse

ReadResponse reads a server response into the received o.

type PostRepositoriesWorkspaceRepoSlugCommitsDefault

type PostRepositoriesWorkspaceRepoSlugCommitsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PostRepositoriesWorkspaceRepoSlugCommitsDefault handles this case with default header values.

Unexpected error.

func NewPostRepositoriesWorkspaceRepoSlugCommitsDefault

func NewPostRepositoriesWorkspaceRepoSlugCommitsDefault(code int) *PostRepositoriesWorkspaceRepoSlugCommitsDefault

NewPostRepositoriesWorkspaceRepoSlugCommitsDefault creates a PostRepositoriesWorkspaceRepoSlugCommitsDefault with default headers values

func (*PostRepositoriesWorkspaceRepoSlugCommitsDefault) Code

Code gets the status code for the post repositories workspace repo slug commits default response

func (*PostRepositoriesWorkspaceRepoSlugCommitsDefault) Error

func (*PostRepositoriesWorkspaceRepoSlugCommitsDefault) GetPayload

type PostRepositoriesWorkspaceRepoSlugCommitsParams

type PostRepositoriesWorkspaceRepoSlugCommitsParams 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
}

PostRepositoriesWorkspaceRepoSlugCommitsParams contains all the parameters to send to the API endpoint for the post repositories workspace repo slug commits operation typically these are written to a http.Request

func NewPostRepositoriesWorkspaceRepoSlugCommitsParams

func NewPostRepositoriesWorkspaceRepoSlugCommitsParams() *PostRepositoriesWorkspaceRepoSlugCommitsParams

NewPostRepositoriesWorkspaceRepoSlugCommitsParams creates a new PostRepositoriesWorkspaceRepoSlugCommitsParams object with the default values initialized.

func NewPostRepositoriesWorkspaceRepoSlugCommitsParamsWithContext

func NewPostRepositoriesWorkspaceRepoSlugCommitsParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugCommitsParams

NewPostRepositoriesWorkspaceRepoSlugCommitsParamsWithContext creates a new PostRepositoriesWorkspaceRepoSlugCommitsParams object with the default values initialized, and the ability to set a context for a request

func NewPostRepositoriesWorkspaceRepoSlugCommitsParamsWithHTTPClient

func NewPostRepositoriesWorkspaceRepoSlugCommitsParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugCommitsParams

NewPostRepositoriesWorkspaceRepoSlugCommitsParamsWithHTTPClient creates a new PostRepositoriesWorkspaceRepoSlugCommitsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostRepositoriesWorkspaceRepoSlugCommitsParamsWithTimeout

func NewPostRepositoriesWorkspaceRepoSlugCommitsParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugCommitsParams

NewPostRepositoriesWorkspaceRepoSlugCommitsParamsWithTimeout creates a new PostRepositoriesWorkspaceRepoSlugCommitsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostRepositoriesWorkspaceRepoSlugCommitsParams) SetContext

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

func (*PostRepositoriesWorkspaceRepoSlugCommitsParams) SetHTTPClient

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

func (*PostRepositoriesWorkspaceRepoSlugCommitsParams) SetRepoSlug

func (o *PostRepositoriesWorkspaceRepoSlugCommitsParams) SetRepoSlug(repoSlug string)

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

func (*PostRepositoriesWorkspaceRepoSlugCommitsParams) SetTimeout

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

func (*PostRepositoriesWorkspaceRepoSlugCommitsParams) SetWorkspace

func (o *PostRepositoriesWorkspaceRepoSlugCommitsParams) SetWorkspace(workspace string)

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

func (*PostRepositoriesWorkspaceRepoSlugCommitsParams) WithContext

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

func (*PostRepositoriesWorkspaceRepoSlugCommitsParams) WithHTTPClient

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

func (*PostRepositoriesWorkspaceRepoSlugCommitsParams) WithRepoSlug

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

func (*PostRepositoriesWorkspaceRepoSlugCommitsParams) WithTimeout

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

func (*PostRepositoriesWorkspaceRepoSlugCommitsParams) WithWorkspace

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

func (*PostRepositoriesWorkspaceRepoSlugCommitsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRepositoriesWorkspaceRepoSlugCommitsReader

type PostRepositoriesWorkspaceRepoSlugCommitsReader struct {
	// contains filtered or unexported fields
}

PostRepositoriesWorkspaceRepoSlugCommitsReader is a Reader for the PostRepositoriesWorkspaceRepoSlugCommits structure.

func (*PostRepositoriesWorkspaceRepoSlugCommitsReader) ReadResponse

func (o *PostRepositoriesWorkspaceRepoSlugCommitsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostRepositoriesWorkspaceRepoSlugCommitsRevisionDefault

type PostRepositoriesWorkspaceRepoSlugCommitsRevisionDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PostRepositoriesWorkspaceRepoSlugCommitsRevisionDefault handles this case with default header values.

Unexpected error.

func NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionDefault

func NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionDefault(code int) *PostRepositoriesWorkspaceRepoSlugCommitsRevisionDefault

NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionDefault creates a PostRepositoriesWorkspaceRepoSlugCommitsRevisionDefault with default headers values

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionDefault) Code

Code gets the status code for the post repositories workspace repo slug commits revision default response

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionDefault) Error

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionDefault) GetPayload

type PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams

type PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams 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
	/*Revision*/
	Revision 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
}

PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams contains all the parameters to send to the API endpoint for the post repositories workspace repo slug commits revision operation typically these are written to a http.Request

func NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionParams

func NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionParams() *PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams

NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionParams creates a new PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams object with the default values initialized.

func NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithContext

func NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams

NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithContext creates a new PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams object with the default values initialized, and the ability to set a context for a request

func NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithHTTPClient

func NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams

NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithHTTPClient creates a new PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithTimeout

func NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams

NewPostRepositoriesWorkspaceRepoSlugCommitsRevisionParamsWithTimeout creates a new PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams) SetContext

SetContext adds the context to the post repositories workspace repo slug commits revision params

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post repositories workspace repo slug commits revision params

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the post repositories workspace repo slug commits revision params

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams) SetRevision

SetRevision adds the revision to the post repositories workspace repo slug commits revision params

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams) SetTimeout

SetTimeout adds the timeout to the post repositories workspace repo slug commits revision params

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams) SetWorkspace

SetWorkspace adds the workspace to the post repositories workspace repo slug commits revision params

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams) WithContext

WithContext adds the context to the post repositories workspace repo slug commits revision params

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post repositories workspace repo slug commits revision params

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the post repositories workspace repo slug commits revision params

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams) WithRevision

WithRevision adds the revision to the post repositories workspace repo slug commits revision params

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams) WithTimeout

WithTimeout adds the timeout to the post repositories workspace repo slug commits revision params

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams) WithWorkspace

WithWorkspace adds the workspace to the post repositories workspace repo slug commits revision params

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRepositoriesWorkspaceRepoSlugCommitsRevisionReader

type PostRepositoriesWorkspaceRepoSlugCommitsRevisionReader struct {
	// contains filtered or unexported fields
}

PostRepositoriesWorkspaceRepoSlugCommitsRevisionReader is a Reader for the PostRepositoriesWorkspaceRepoSlugCommitsRevision structure.

func (*PostRepositoriesWorkspaceRepoSlugCommitsRevisionReader) ReadResponse

func (o *PostRepositoriesWorkspaceRepoSlugCommitsRevisionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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