repositories

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

func (*Client) DeleteRepositoriesWorkspaceRepoSlug

DeleteRepositoriesWorkspaceRepoSlug Deletes the repository. This is an irreversible operation.

This does not affect its forks.

func (*Client) DeleteRepositoriesWorkspaceRepoSlugHooksUID

DeleteRepositoriesWorkspaceRepoSlugHooksUID Deletes the specified webhook subscription from the given

repository.

func (*Client) GetRepositories

func (a *Client) GetRepositories(params *GetRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesOK, error)
GetRepositories Returns a paginated list of all public repositories.

This endpoint also supports filtering and sorting of the results. See [filtering and sorting](../meta/filtering) for more details.

func (*Client) GetRepositoriesWorkspace

func (a *Client) GetRepositoriesWorkspace(params *GetRepositoriesWorkspaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceOK, error)
GetRepositoriesWorkspace Returns a paginated list of all repositories owned by the specified

account or UUID.

The result can be narrowed down based on the authenticated user's role.

E.g. with `?role=contributor`, only those repositories that the authenticated user has write access to are returned (this includes any repo the user is an admin on, as that implies write access).

This endpoint also supports filtering and sorting of the results. See [filtering and sorting](../../meta/filtering) for more details.

func (*Client) GetRepositoriesWorkspaceRepoSlug

GetRepositoriesWorkspaceRepoSlug Returns the object describing this repository.

func (*Client) GetRepositoriesWorkspaceRepoSlugCommitNodeStatuses

GetRepositoriesWorkspaceRepoSlugCommitNodeStatuses Returns all statuses (e.g. build results) for a specific commit.

func (*Client) GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKey

GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKey Returns the specified build status for a commit.

func (*Client) GetRepositoriesWorkspaceRepoSlugForks

GetRepositoriesWorkspaceRepoSlugForks Returns a paginated list of all the forks of the specified

repository.

func (*Client) GetRepositoriesWorkspaceRepoSlugHooks

GetRepositoriesWorkspaceRepoSlugHooks Returns a paginated list of webhooks installed on this repository.

The teams endpoint for projects has been deprecated, and you should ensure you are using the workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).

func (*Client) GetRepositoriesWorkspaceRepoSlugHooksUID

GetRepositoriesWorkspaceRepoSlugHooksUID Returns the webhook with the specified id installed on the specified

repository.

func (*Client) GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatuses

GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatuses Returns all statuses (e.g. build results) for the given pull

request.

func (*Client) GetRepositoriesWorkspaceRepoSlugWatchers

GetRepositoriesWorkspaceRepoSlugWatchers Returns a paginated list of all the watchers on the specified

repository.

func (*Client) GetUserPermissionsRepositories

func (a *Client) GetUserPermissionsRepositories(params *GetUserPermissionsRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserPermissionsRepositoriesOK, error)
GetUserPermissionsRepositories Returns an object for each repository the caller has explicit access

to and their effective permission — the highest level of permission the caller has. This does not return public repositories that the user was not granted any specific permission in, and does not distinguish between direct and indirect privileges.

Permissions can be:

* `admin` * `write` * `read`

Example:

``` $ curl https://api.bitbucket.org/2.0/user/permissions/repositories

{
  "pagelen": 10,
  "values": [
    {
      "type": "repository_permission",
      "user": {
        "type": "user",
        "nickname": "evzijst",
        "display_name": "Erik van Zijst",
        "uuid": "{d301aafa-d676-4ee0-88be-962be7417567}"
      },
      "repository": {
        "type": "repository",
        "name": "geordi",
        "full_name": "bitbucket/geordi",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
      },
      "permission": "admin"
    }
  ],
  "page": 1,
  "size": 1
}

```

Results may be further [filtered or sorted](../../../meta/filtering) by repository or permission by adding the following query string parameters:

* `q=repository.name="geordi"` or `q=permission>"read"` * `sort=repository.name`

Note that the query parameter values need to be URL escaped so that `=` would become `%3D`.

func (*Client) PostRepositoriesWorkspaceRepoSlug

PostRepositoriesWorkspaceRepoSlug Creates a new repository.

Note: In order to set the project for the newly created repository, pass in either the project key or the project UUID as part of the request body as shown in the examples below:

```

$ curl -X POST -H "Content-Type: application/json" -d '{
    "scm": "git",
    "project": {
        "key": "MARS"
    }
}' https://api.bitbucket.org/2.0/repositories/teamsinspace/hablanding

```

or

```

$ curl -X POST -H "Content-Type: application/json" -d '{
    "scm": "git",
    "project": {
        "key": "{ba516952-992a-4c2d-acbd-17d502922f96}"
    }
}' https://api.bitbucket.org/2.0/repositories/teamsinspace/hablanding

```

The project must only be assigned for repositories belonging to a team. If the repository owner is a team and the project is not provided, the repository is automatically assigned to the oldest project in the team.

Note: In the examples above, the username `teamsinspace`, and/or the repository name `hablanding` can be replaced by UUIDs.

func (*Client) PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuild

PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuild Creates a new build status against the specified commit.

If the specified key already exists, the existing status object will be overwritten.

When creating a new commit status, you can use a URI template for the URL. Templates are URLs that contain variable names that Bitbucket will evaluate at runtime whenever the URL is displayed anywhere similar to parameter substitution in [Bitbucket Connect](https://developer.atlassian.com/bitbucket/concepts/context-parameters.html). For example, one could use `https://foo.com/builds/{repository.full_name}` which Bitbucket will turn into `https://foo.com/builds/foo/bar` at render time. The context variables available are `repository` and `commit`.

func (*Client) PostRepositoriesWorkspaceRepoSlugForks

PostRepositoriesWorkspaceRepoSlugForks Creates a new fork of the specified repository.

## Forking a repository

To create a fork, specify the workspace explicitly as part of the request body:

```

$ curl -X POST -u jdoe https://api.bitbucket.org/2.0/repositories/atlassian/bbql/forks \
  -H 'Content-Type: application/json' -d '{
    "name": "bbql_fork",
    "workspace": {
      "slug": "atlassian"
    }
}'

```

To fork a repository into the same workspace, also specify a new `name`.

When you specify a value for `name`, it will also affect the `slug`. The `slug` is reflected in the repository URL of the new fork. It is derived from `name` by substituting non-ASCII characters, removes whitespace, and changes characters to lower case. For example, `My repo` would turn into `my_repo`.

You need contributor access to create new forks within a workspace.

## Change the properties of a new fork

By default the fork inherits most of its properties from the parent. However, since the optional POST body document follows the normal `repository` JSON schema and you can override the new fork's properties.

Properties that can be overridden include:

  • description
  • fork_policy
  • language
  • mainbranch
  • is_private (note that a private repo's fork_policy might prohibit the creation of public forks, in which `is_private=False` would fail)
  • has_issues (to initialize or disable the new repo's issue tracker -- note that the actual contents of the parent repository's issue tracker are not copied during forking)
  • has_wiki (to initialize or disable the new repo's wiki -- note that the actual contents of the parent repository's wiki are not copied during forking)
  • project (when forking into a private project, the fork's `is_private` must be `true`)

Properties that cannot be modified include:

* scm * parent * full_name

func (*Client) PostRepositoriesWorkspaceRepoSlugHooks

PostRepositoriesWorkspaceRepoSlugHooks Creates a new webhook on the specified repository.

The teams endpoint for projects has been deprecated, and you should ensure you are using the workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).

Example:

``` $ curl -X POST -u credentials -H 'Content-Type: application/json' https://api.bitbucket.org/2.0/repositories/username/slug/hooks -d '

{
  "description": "Webhook Description",
  "url": "https://example.com/",
  "active": true,
  "events": [
    "repo:push",
    "issue:created",
    "issue:updated"
  ]
}'

```

Note that this call requires the webhook scope, as well as any scope that applies to the events that the webhook subscribes to. In the example above that means: `webhook`, `repository` and `issue`.

Also note that the `url` must properly resolve and cannot be an internal, non-routed address.

func (*Client) PutRepositoriesWorkspaceRepoSlug

PutRepositoriesWorkspaceRepoSlug Since this endpoint can be used to both update and to create a

repository, the request body depends on the intent.

### Creation

See the POST documentation for the repository endpoint for an example of the request body.

### Update

Note: Changing the `name` of the repository will cause the location to be changed. This is because the URL of the repo is derived from the name (a process called slugification). In such a scenario, it is possible for the request to fail if the newly created slug conflicts with an existing repository's slug. But if there is no conflict, the new location will be returned in the `Location` header of the response.

func (*Client) PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKey

PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKey Used to update the current status of a build status object on the

specific commit.

This operation can also be used to change other properties of the build status:

* `state` * `name` * `description` * `url` * `refname`

The `key` cannot be changed.

func (*Client) PutRepositoriesWorkspaceRepoSlugHooksUID

PutRepositoriesWorkspaceRepoSlugHooksUID Updates the specified webhook subscription.

The following properties can be mutated:

* `description` * `url` * `active` * `events`

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteRepositoriesWorkspaceRepoSlug(params *DeleteRepositoriesWorkspaceRepoSlugParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoriesWorkspaceRepoSlugNoContent, error)

	DeleteRepositoriesWorkspaceRepoSlugHooksUID(params *DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDNoContent, error)

	GetRepositories(params *GetRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesOK, error)

	GetRepositoriesWorkspace(params *GetRepositoriesWorkspaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceOK, error)

	GetRepositoriesWorkspaceRepoSlug(params *GetRepositoriesWorkspaceRepoSlugParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugOK, error)

	GetRepositoriesWorkspaceRepoSlugCommitNodeStatuses(params *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesOK, error)

	GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKey(params *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK, error)

	GetRepositoriesWorkspaceRepoSlugForks(params *GetRepositoriesWorkspaceRepoSlugForksParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugForksOK, error)

	GetRepositoriesWorkspaceRepoSlugHooks(params *GetRepositoriesWorkspaceRepoSlugHooksParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugHooksOK, error)

	GetRepositoriesWorkspaceRepoSlugHooksUID(params *GetRepositoriesWorkspaceRepoSlugHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugHooksUIDOK, error)

	GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatuses(params *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesOK, error)

	GetRepositoriesWorkspaceRepoSlugWatchers(params *GetRepositoriesWorkspaceRepoSlugWatchersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesWorkspaceRepoSlugWatchersOK, error)

	GetUserPermissionsRepositories(params *GetUserPermissionsRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserPermissionsRepositoriesOK, error)

	PostRepositoriesWorkspaceRepoSlug(params *PostRepositoriesWorkspaceRepoSlugParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugOK, error)

	PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuild(params *PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildCreated, error)

	PostRepositoriesWorkspaceRepoSlugForks(params *PostRepositoriesWorkspaceRepoSlugForksParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugForksCreated, error)

	PostRepositoriesWorkspaceRepoSlugHooks(params *PostRepositoriesWorkspaceRepoSlugHooksParams, authInfo runtime.ClientAuthInfoWriter) (*PostRepositoriesWorkspaceRepoSlugHooksCreated, error)

	PutRepositoriesWorkspaceRepoSlug(params *PutRepositoriesWorkspaceRepoSlugParams, authInfo runtime.ClientAuthInfoWriter) (*PutRepositoriesWorkspaceRepoSlugOK, *PutRepositoriesWorkspaceRepoSlugCreated, error)

	PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKey(params *PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams, authInfo runtime.ClientAuthInfoWriter) (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK, error)

	PutRepositoriesWorkspaceRepoSlugHooksUID(params *PutRepositoriesWorkspaceRepoSlugHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutRepositoriesWorkspaceRepoSlugHooksUIDOK, 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 repositories API client.

type DeleteRepositoriesWorkspaceRepoSlugForbidden

type DeleteRepositoriesWorkspaceRepoSlugForbidden struct {
	Payload *models.Error
}

DeleteRepositoriesWorkspaceRepoSlugForbidden handles this case with default header values.

If the caller either does not have admin access to the repository, or the repository is set to read-only.

func NewDeleteRepositoriesWorkspaceRepoSlugForbidden

func NewDeleteRepositoriesWorkspaceRepoSlugForbidden() *DeleteRepositoriesWorkspaceRepoSlugForbidden

NewDeleteRepositoriesWorkspaceRepoSlugForbidden creates a DeleteRepositoriesWorkspaceRepoSlugForbidden with default headers values

func (*DeleteRepositoriesWorkspaceRepoSlugForbidden) Error

func (*DeleteRepositoriesWorkspaceRepoSlugForbidden) GetPayload

type DeleteRepositoriesWorkspaceRepoSlugHooksUIDForbidden

type DeleteRepositoriesWorkspaceRepoSlugHooksUIDForbidden struct {
	Payload *models.Error
}

DeleteRepositoriesWorkspaceRepoSlugHooksUIDForbidden handles this case with default header values.

If the authenticated user does not have permission to delete the webhook.

func NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDForbidden

func NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDForbidden() *DeleteRepositoriesWorkspaceRepoSlugHooksUIDForbidden

NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDForbidden creates a DeleteRepositoriesWorkspaceRepoSlugHooksUIDForbidden with default headers values

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDForbidden) Error

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDForbidden) GetPayload

type DeleteRepositoriesWorkspaceRepoSlugHooksUIDNoContent

type DeleteRepositoriesWorkspaceRepoSlugHooksUIDNoContent struct {
}

DeleteRepositoriesWorkspaceRepoSlugHooksUIDNoContent handles this case with default header values.

When the webhook was deleted successfully

func NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDNoContent

func NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDNoContent() *DeleteRepositoriesWorkspaceRepoSlugHooksUIDNoContent

NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDNoContent creates a DeleteRepositoriesWorkspaceRepoSlugHooksUIDNoContent with default headers values

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDNoContent) Error

type DeleteRepositoriesWorkspaceRepoSlugHooksUIDNotFound

type DeleteRepositoriesWorkspaceRepoSlugHooksUIDNotFound struct {
	Payload *models.Error
}

DeleteRepositoriesWorkspaceRepoSlugHooksUIDNotFound handles this case with default header values.

If the webhook or repository does not exist.

func NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDNotFound

func NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDNotFound() *DeleteRepositoriesWorkspaceRepoSlugHooksUIDNotFound

NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDNotFound creates a DeleteRepositoriesWorkspaceRepoSlugHooksUIDNotFound with default headers values

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDNotFound) Error

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDNotFound) GetPayload

type DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams

type DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams 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
	/*UID
	  The installed webhook's id

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

DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams contains all the parameters to send to the API endpoint for the delete repositories workspace repo slug hooks UID operation typically these are written to a http.Request

func NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDParams

func NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDParams() *DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams

NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDParams creates a new DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams object with the default values initialized.

func NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDParamsWithContext

func NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDParamsWithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams

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

func NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDParamsWithHTTPClient

func NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDParamsWithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams

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

func NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDParamsWithTimeout

func NewDeleteRepositoriesWorkspaceRepoSlugHooksUIDParamsWithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams

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

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams) SetContext

SetContext adds the context to the delete repositories workspace repo slug hooks UID params

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete repositories workspace repo slug hooks UID params

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the delete repositories workspace repo slug hooks UID params

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams) SetTimeout

SetTimeout adds the timeout to the delete repositories workspace repo slug hooks UID params

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams) SetUID

SetUID adds the uid to the delete repositories workspace repo slug hooks UID params

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams) SetWorkspace

func (o *DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the delete repositories workspace repo slug hooks UID params

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams) WithContext

WithContext adds the context to the delete repositories workspace repo slug hooks UID params

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete repositories workspace repo slug hooks UID params

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the delete repositories workspace repo slug hooks UID params

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams) WithTimeout

WithTimeout adds the timeout to the delete repositories workspace repo slug hooks UID params

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams) WithUID

WithUID adds the uid to the delete repositories workspace repo slug hooks UID params

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams) WithWorkspace

WithWorkspace adds the workspace to the delete repositories workspace repo slug hooks UID params

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRepositoriesWorkspaceRepoSlugHooksUIDReader

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

DeleteRepositoriesWorkspaceRepoSlugHooksUIDReader is a Reader for the DeleteRepositoriesWorkspaceRepoSlugHooksUID structure.

func (*DeleteRepositoriesWorkspaceRepoSlugHooksUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRepositoriesWorkspaceRepoSlugNoContent

type DeleteRepositoriesWorkspaceRepoSlugNoContent struct {
}

DeleteRepositoriesWorkspaceRepoSlugNoContent handles this case with default header values.

Indicates successful deletion.

func NewDeleteRepositoriesWorkspaceRepoSlugNoContent

func NewDeleteRepositoriesWorkspaceRepoSlugNoContent() *DeleteRepositoriesWorkspaceRepoSlugNoContent

NewDeleteRepositoriesWorkspaceRepoSlugNoContent creates a DeleteRepositoriesWorkspaceRepoSlugNoContent with default headers values

func (*DeleteRepositoriesWorkspaceRepoSlugNoContent) Error

type DeleteRepositoriesWorkspaceRepoSlugNotFound

type DeleteRepositoriesWorkspaceRepoSlugNotFound struct {
	Payload *models.Error
}

DeleteRepositoriesWorkspaceRepoSlugNotFound handles this case with default header values.

If the repository does not exist.

func NewDeleteRepositoriesWorkspaceRepoSlugNotFound

func NewDeleteRepositoriesWorkspaceRepoSlugNotFound() *DeleteRepositoriesWorkspaceRepoSlugNotFound

NewDeleteRepositoriesWorkspaceRepoSlugNotFound creates a DeleteRepositoriesWorkspaceRepoSlugNotFound with default headers values

func (*DeleteRepositoriesWorkspaceRepoSlugNotFound) Error

func (*DeleteRepositoriesWorkspaceRepoSlugNotFound) GetPayload

type DeleteRepositoriesWorkspaceRepoSlugParams

type DeleteRepositoriesWorkspaceRepoSlugParams struct {

	/*RedirectTo
	  If a repository has been moved to a new location, use this parameter to
	show users a friendly message in the Bitbucket UI that the repository
	has moved to a new location. However, a GET to this endpoint will still
	return a 404.


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

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

func NewDeleteRepositoriesWorkspaceRepoSlugParams

func NewDeleteRepositoriesWorkspaceRepoSlugParams() *DeleteRepositoriesWorkspaceRepoSlugParams

NewDeleteRepositoriesWorkspaceRepoSlugParams creates a new DeleteRepositoriesWorkspaceRepoSlugParams object with the default values initialized.

func NewDeleteRepositoriesWorkspaceRepoSlugParamsWithContext

func NewDeleteRepositoriesWorkspaceRepoSlugParamsWithContext(ctx context.Context) *DeleteRepositoriesWorkspaceRepoSlugParams

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

func NewDeleteRepositoriesWorkspaceRepoSlugParamsWithHTTPClient

func NewDeleteRepositoriesWorkspaceRepoSlugParamsWithHTTPClient(client *http.Client) *DeleteRepositoriesWorkspaceRepoSlugParams

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

func NewDeleteRepositoriesWorkspaceRepoSlugParamsWithTimeout

func NewDeleteRepositoriesWorkspaceRepoSlugParamsWithTimeout(timeout time.Duration) *DeleteRepositoriesWorkspaceRepoSlugParams

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

func (*DeleteRepositoriesWorkspaceRepoSlugParams) SetContext

SetContext adds the context to the delete repositories workspace repo slug params

func (*DeleteRepositoriesWorkspaceRepoSlugParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete repositories workspace repo slug params

func (*DeleteRepositoriesWorkspaceRepoSlugParams) SetRedirectTo

func (o *DeleteRepositoriesWorkspaceRepoSlugParams) SetRedirectTo(redirectTo *string)

SetRedirectTo adds the redirectTo to the delete repositories workspace repo slug params

func (*DeleteRepositoriesWorkspaceRepoSlugParams) SetRepoSlug

func (o *DeleteRepositoriesWorkspaceRepoSlugParams) SetRepoSlug(repoSlug string)

SetRepoSlug adds the repoSlug to the delete repositories workspace repo slug params

func (*DeleteRepositoriesWorkspaceRepoSlugParams) SetTimeout

SetTimeout adds the timeout to the delete repositories workspace repo slug params

func (*DeleteRepositoriesWorkspaceRepoSlugParams) SetWorkspace

func (o *DeleteRepositoriesWorkspaceRepoSlugParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the delete repositories workspace repo slug params

func (*DeleteRepositoriesWorkspaceRepoSlugParams) WithContext

WithContext adds the context to the delete repositories workspace repo slug params

func (*DeleteRepositoriesWorkspaceRepoSlugParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete repositories workspace repo slug params

func (*DeleteRepositoriesWorkspaceRepoSlugParams) WithRedirectTo

WithRedirectTo adds the redirectTo to the delete repositories workspace repo slug params

func (*DeleteRepositoriesWorkspaceRepoSlugParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the delete repositories workspace repo slug params

func (*DeleteRepositoriesWorkspaceRepoSlugParams) WithTimeout

WithTimeout adds the timeout to the delete repositories workspace repo slug params

func (*DeleteRepositoriesWorkspaceRepoSlugParams) WithWorkspace

WithWorkspace adds the workspace to the delete repositories workspace repo slug params

func (*DeleteRepositoriesWorkspaceRepoSlugParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRepositoriesWorkspaceRepoSlugReader

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

DeleteRepositoriesWorkspaceRepoSlugReader is a Reader for the DeleteRepositoriesWorkspaceRepoSlug structure.

func (*DeleteRepositoriesWorkspaceRepoSlugReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRepositoriesOK

type GetRepositoriesOK struct {
	Payload *models.PaginatedRepositories
}

GetRepositoriesOK handles this case with default header values.

All public repositories.

func NewGetRepositoriesOK

func NewGetRepositoriesOK() *GetRepositoriesOK

NewGetRepositoriesOK creates a GetRepositoriesOK with default headers values

func (*GetRepositoriesOK) Error

func (o *GetRepositoriesOK) Error() string

func (*GetRepositoriesOK) GetPayload

type GetRepositoriesParams

type GetRepositoriesParams struct {

	/*After
	  Filter the results to include only repositories created on or
	after this [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601)
	 timestamp. Example: `YYYY-MM-DDTHH:mm:ss.sssZ`

	*/
	After *string
	/*Q
	  Query string to narrow down the response as per [filtering and sorting](../meta/filtering).
	`role` parameter must also be specified.


	*/
	Q *string
	/*Role
	  Filters the result based on the authenticated user's role on each repository.

	* **member**: returns repositories to which the user has explicit read access
	* **contributor**: returns repositories to which the user has explicit write access
	* **admin**: returns repositories to which the user has explicit administrator access
	* **owner**: returns all repositories owned by the current user


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


	*/
	Sort *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRepositoriesParams contains all the parameters to send to the API endpoint for the get repositories operation typically these are written to a http.Request

func NewGetRepositoriesParams

func NewGetRepositoriesParams() *GetRepositoriesParams

NewGetRepositoriesParams creates a new GetRepositoriesParams object with the default values initialized.

func NewGetRepositoriesParamsWithContext

func NewGetRepositoriesParamsWithContext(ctx context.Context) *GetRepositoriesParams

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

func NewGetRepositoriesParamsWithHTTPClient

func NewGetRepositoriesParamsWithHTTPClient(client *http.Client) *GetRepositoriesParams

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

func NewGetRepositoriesParamsWithTimeout

func NewGetRepositoriesParamsWithTimeout(timeout time.Duration) *GetRepositoriesParams

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

func (*GetRepositoriesParams) SetAfter

func (o *GetRepositoriesParams) SetAfter(after *string)

SetAfter adds the after to the get repositories params

func (*GetRepositoriesParams) SetContext

func (o *GetRepositoriesParams) SetContext(ctx context.Context)

SetContext adds the context to the get repositories params

func (*GetRepositoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get repositories params

func (*GetRepositoriesParams) SetQ

func (o *GetRepositoriesParams) SetQ(q *string)

SetQ adds the q to the get repositories params

func (*GetRepositoriesParams) SetRole

func (o *GetRepositoriesParams) SetRole(role *string)

SetRole adds the role to the get repositories params

func (*GetRepositoriesParams) SetSort

func (o *GetRepositoriesParams) SetSort(sort *string)

SetSort adds the sort to the get repositories params

func (*GetRepositoriesParams) SetTimeout

func (o *GetRepositoriesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get repositories params

func (*GetRepositoriesParams) WithAfter

func (o *GetRepositoriesParams) WithAfter(after *string) *GetRepositoriesParams

WithAfter adds the after to the get repositories params

func (*GetRepositoriesParams) WithContext

WithContext adds the context to the get repositories params

func (*GetRepositoriesParams) WithHTTPClient

func (o *GetRepositoriesParams) WithHTTPClient(client *http.Client) *GetRepositoriesParams

WithHTTPClient adds the HTTPClient to the get repositories params

func (*GetRepositoriesParams) WithQ

WithQ adds the q to the get repositories params

func (*GetRepositoriesParams) WithRole

WithRole adds the role to the get repositories params

func (*GetRepositoriesParams) WithSort

WithSort adds the sort to the get repositories params

func (*GetRepositoriesParams) WithTimeout

func (o *GetRepositoriesParams) WithTimeout(timeout time.Duration) *GetRepositoriesParams

WithTimeout adds the timeout to the get repositories params

func (*GetRepositoriesParams) WriteToRequest

func (o *GetRepositoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetRepositoriesReader

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

GetRepositoriesReader is a Reader for the GetRepositories structure.

func (*GetRepositoriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceGone

type GetRepositoriesWorkspaceGone struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceGone handles this case with default header values.

If the specified account marked as spam.

func NewGetRepositoriesWorkspaceGone

func NewGetRepositoriesWorkspaceGone() *GetRepositoriesWorkspaceGone

NewGetRepositoriesWorkspaceGone creates a GetRepositoriesWorkspaceGone with default headers values

func (*GetRepositoriesWorkspaceGone) Error

func (*GetRepositoriesWorkspaceGone) GetPayload

func (o *GetRepositoriesWorkspaceGone) GetPayload() *models.Error

type GetRepositoriesWorkspaceNotFound

type GetRepositoriesWorkspaceNotFound struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceNotFound handles this case with default header values.

If the specified account does not exist.

func NewGetRepositoriesWorkspaceNotFound

func NewGetRepositoriesWorkspaceNotFound() *GetRepositoriesWorkspaceNotFound

NewGetRepositoriesWorkspaceNotFound creates a GetRepositoriesWorkspaceNotFound with default headers values

func (*GetRepositoriesWorkspaceNotFound) Error

func (*GetRepositoriesWorkspaceNotFound) GetPayload

type GetRepositoriesWorkspaceOK

type GetRepositoriesWorkspaceOK struct {
	Payload *models.PaginatedRepositories
}

GetRepositoriesWorkspaceOK handles this case with default header values.

The repositories owned by the specified account.

func NewGetRepositoriesWorkspaceOK

func NewGetRepositoriesWorkspaceOK() *GetRepositoriesWorkspaceOK

NewGetRepositoriesWorkspaceOK creates a GetRepositoriesWorkspaceOK with default headers values

func (*GetRepositoriesWorkspaceOK) Error

func (*GetRepositoriesWorkspaceOK) GetPayload

type GetRepositoriesWorkspaceParams

type GetRepositoriesWorkspaceParams struct {

	/*Q

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


	*/
	Q *string
	/*Role

	Filters the result based on the authenticated user's role on each repository.

	* **member**: returns repositories to which the user has explicit read access
	* **contributor**: returns repositories to which the user has explicit write access
	* **admin**: returns repositories to which the user has explicit administrator access
	* **owner**: returns all repositories owned by the current user


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

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

func NewGetRepositoriesWorkspaceParams

func NewGetRepositoriesWorkspaceParams() *GetRepositoriesWorkspaceParams

NewGetRepositoriesWorkspaceParams creates a new GetRepositoriesWorkspaceParams object with the default values initialized.

func NewGetRepositoriesWorkspaceParamsWithContext

func NewGetRepositoriesWorkspaceParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceParams

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

func NewGetRepositoriesWorkspaceParamsWithHTTPClient

func NewGetRepositoriesWorkspaceParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceParams

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

func NewGetRepositoriesWorkspaceParamsWithTimeout

func NewGetRepositoriesWorkspaceParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceParams

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

func (*GetRepositoriesWorkspaceParams) SetContext

func (o *GetRepositoriesWorkspaceParams) SetContext(ctx context.Context)

SetContext adds the context to the get repositories workspace params

func (*GetRepositoriesWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get repositories workspace params

func (*GetRepositoriesWorkspaceParams) SetQ

SetQ adds the q to the get repositories workspace params

func (*GetRepositoriesWorkspaceParams) SetRole

func (o *GetRepositoriesWorkspaceParams) SetRole(role *string)

SetRole adds the role to the get repositories workspace params

func (*GetRepositoriesWorkspaceParams) SetSort

func (o *GetRepositoriesWorkspaceParams) SetSort(sort *string)

SetSort adds the sort to the get repositories workspace params

func (*GetRepositoriesWorkspaceParams) SetTimeout

func (o *GetRepositoriesWorkspaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get repositories workspace params

func (*GetRepositoriesWorkspaceParams) SetWorkspace

func (o *GetRepositoriesWorkspaceParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the get repositories workspace params

func (*GetRepositoriesWorkspaceParams) WithContext

WithContext adds the context to the get repositories workspace params

func (*GetRepositoriesWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace params

func (*GetRepositoriesWorkspaceParams) WithQ

WithQ adds the q to the get repositories workspace params

func (*GetRepositoriesWorkspaceParams) WithRole

WithRole adds the role to the get repositories workspace params

func (*GetRepositoriesWorkspaceParams) WithSort

WithSort adds the sort to the get repositories workspace params

func (*GetRepositoriesWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace params

func (*GetRepositoriesWorkspaceParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace params

func (*GetRepositoriesWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceReader

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

GetRepositoriesWorkspaceReader is a Reader for the GetRepositoriesWorkspace structure.

func (*GetRepositoriesWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound handles this case with default header values.

If the repository, commit, or build status key does not exist

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound() *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound

NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound creates a GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound with default headers values

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound) Error

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound) GetPayload

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK struct {
	Payload *models.Commitstatus
}

GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK handles this case with default header values.

The build status object with the specified key.

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK() *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK

NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK creates a GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK with default headers values

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK) Error

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK) GetPayload

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams struct {

	/*Key
	  The build status' unique key

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

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

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams() *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams

NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams creates a new GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams

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

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams

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

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetContext

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetHTTPClient

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetKey

SetKey adds the key to the get repositories workspace repo slug commit node statuses build key params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetNode

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetRepoSlug

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetWorkspace

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithContext

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithHTTPClient

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithKey

WithKey adds the key to the get repositories workspace repo slug commit node statuses build key params

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithNode

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithRepoSlug

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithWorkspace

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyReader

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

GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyReader is a Reader for the GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKey structure.

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized struct {
}

GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized handles this case with default header values.

If the repository is private and the request was not authenticated.

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized() *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized

NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized creates a GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized with default headers values

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized) Error

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesNotFound

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesNotFound struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesNotFound handles this case with default header values.

If the repository or commit does not exist

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesNotFound

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesNotFound() *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesNotFound

NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesNotFound creates a GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesNotFound with default headers values

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesNotFound) Error

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesNotFound) GetPayload

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesOK

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesOK struct {
	Payload *models.PaginatedCommitstatuses
}

GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesOK handles this case with default header values.

A paginated list of all commit statuses for this commit.

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesOK

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesOK() *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesOK

NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesOK creates a GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesOK with default headers values

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesOK) Error

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesOK) GetPayload

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams 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).
	Defaults to `created_on`.


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

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

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams() *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams

NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams creates a new GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams

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

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams

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

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) SetContext

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) SetHTTPClient

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) SetNode

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) SetQ

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) SetRepoSlug

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) SetSort

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) SetTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) SetWorkspace

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) WithContext

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) WithHTTPClient

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) WithNode

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) WithQ

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) WithRepoSlug

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) WithSort

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) WithTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) WithWorkspace

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

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesReader

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

GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesReader is a Reader for the GetRepositoriesWorkspaceRepoSlugCommitNodeStatuses structure.

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesUnauthorized

type GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesUnauthorized struct {
}

GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesUnauthorized handles this case with default header values.

If the repository is private and the request was not authenticated.

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesUnauthorized

func NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesUnauthorized() *GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesUnauthorized

NewGetRepositoriesWorkspaceRepoSlugCommitNodeStatusesUnauthorized creates a GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesUnauthorized with default headers values

func (*GetRepositoriesWorkspaceRepoSlugCommitNodeStatusesUnauthorized) Error

type GetRepositoriesWorkspaceRepoSlugForbidden

type GetRepositoriesWorkspaceRepoSlugForbidden struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceRepoSlugForbidden handles this case with default header values.

If the repository is private and the authenticated user does not have access to it.

func NewGetRepositoriesWorkspaceRepoSlugForbidden

func NewGetRepositoriesWorkspaceRepoSlugForbidden() *GetRepositoriesWorkspaceRepoSlugForbidden

NewGetRepositoriesWorkspaceRepoSlugForbidden creates a GetRepositoriesWorkspaceRepoSlugForbidden with default headers values

func (*GetRepositoriesWorkspaceRepoSlugForbidden) Error

func (*GetRepositoriesWorkspaceRepoSlugForbidden) GetPayload

type GetRepositoriesWorkspaceRepoSlugForksOK

type GetRepositoriesWorkspaceRepoSlugForksOK struct {
	Payload *models.PaginatedRepositories
}

GetRepositoriesWorkspaceRepoSlugForksOK handles this case with default header values.

All forks.

func NewGetRepositoriesWorkspaceRepoSlugForksOK

func NewGetRepositoriesWorkspaceRepoSlugForksOK() *GetRepositoriesWorkspaceRepoSlugForksOK

NewGetRepositoriesWorkspaceRepoSlugForksOK creates a GetRepositoriesWorkspaceRepoSlugForksOK with default headers values

func (*GetRepositoriesWorkspaceRepoSlugForksOK) Error

func (*GetRepositoriesWorkspaceRepoSlugForksOK) GetPayload

type GetRepositoriesWorkspaceRepoSlugForksParams

type GetRepositoriesWorkspaceRepoSlugForksParams struct {

	/*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
	/*Role
	  Filters the result based on the authenticated user's role on each repository.

	* **member**: returns repositories to which the user has explicit read access
	* **contributor**: returns repositories to which the user has explicit write access
	* **admin**: returns repositories to which the user has explicit administrator access
	* **owner**: returns all repositories owned by the current user


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

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

func NewGetRepositoriesWorkspaceRepoSlugForksParams

func NewGetRepositoriesWorkspaceRepoSlugForksParams() *GetRepositoriesWorkspaceRepoSlugForksParams

NewGetRepositoriesWorkspaceRepoSlugForksParams creates a new GetRepositoriesWorkspaceRepoSlugForksParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugForksParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugForksParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugForksParams

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

func NewGetRepositoriesWorkspaceRepoSlugForksParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugForksParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugForksParams

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

func NewGetRepositoriesWorkspaceRepoSlugForksParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugForksParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugForksParams

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

func (*GetRepositoriesWorkspaceRepoSlugForksParams) SetContext

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

func (*GetRepositoriesWorkspaceRepoSlugForksParams) SetHTTPClient

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

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

func (*GetRepositoriesWorkspaceRepoSlugForksParams) SetQ

SetQ adds the q to the get repositories workspace repo slug forks params

func (*GetRepositoriesWorkspaceRepoSlugForksParams) SetRepoSlug

func (o *GetRepositoriesWorkspaceRepoSlugForksParams) SetRepoSlug(repoSlug string)

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

func (*GetRepositoriesWorkspaceRepoSlugForksParams) SetRole

SetRole adds the role to the get repositories workspace repo slug forks params

func (*GetRepositoriesWorkspaceRepoSlugForksParams) SetSort

SetSort adds the sort to the get repositories workspace repo slug forks params

func (*GetRepositoriesWorkspaceRepoSlugForksParams) SetTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugForksParams) SetWorkspace

func (o *GetRepositoriesWorkspaceRepoSlugForksParams) SetWorkspace(workspace string)

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

func (*GetRepositoriesWorkspaceRepoSlugForksParams) WithContext

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

func (*GetRepositoriesWorkspaceRepoSlugForksParams) WithHTTPClient

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

func (*GetRepositoriesWorkspaceRepoSlugForksParams) WithQ

WithQ adds the q to the get repositories workspace repo slug forks params

func (*GetRepositoriesWorkspaceRepoSlugForksParams) WithRepoSlug

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

func (*GetRepositoriesWorkspaceRepoSlugForksParams) WithRole

WithRole adds the role to the get repositories workspace repo slug forks params

func (*GetRepositoriesWorkspaceRepoSlugForksParams) WithSort

WithSort adds the sort to the get repositories workspace repo slug forks params

func (*GetRepositoriesWorkspaceRepoSlugForksParams) WithTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugForksParams) WithWorkspace

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

func (*GetRepositoriesWorkspaceRepoSlugForksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugForksReader

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

GetRepositoriesWorkspaceRepoSlugForksReader is a Reader for the GetRepositoriesWorkspaceRepoSlugForks structure.

func (*GetRepositoriesWorkspaceRepoSlugForksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugHooksForbidden

type GetRepositoriesWorkspaceRepoSlugHooksForbidden struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceRepoSlugHooksForbidden handles this case with default header values.

If the authenticated user does not have permission to access the webhooks.

func NewGetRepositoriesWorkspaceRepoSlugHooksForbidden

func NewGetRepositoriesWorkspaceRepoSlugHooksForbidden() *GetRepositoriesWorkspaceRepoSlugHooksForbidden

NewGetRepositoriesWorkspaceRepoSlugHooksForbidden creates a GetRepositoriesWorkspaceRepoSlugHooksForbidden with default headers values

func (*GetRepositoriesWorkspaceRepoSlugHooksForbidden) Error

func (*GetRepositoriesWorkspaceRepoSlugHooksForbidden) GetPayload

type GetRepositoriesWorkspaceRepoSlugHooksNotFound

type GetRepositoriesWorkspaceRepoSlugHooksNotFound struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceRepoSlugHooksNotFound handles this case with default header values.

If the repository does not exist.

func NewGetRepositoriesWorkspaceRepoSlugHooksNotFound

func NewGetRepositoriesWorkspaceRepoSlugHooksNotFound() *GetRepositoriesWorkspaceRepoSlugHooksNotFound

NewGetRepositoriesWorkspaceRepoSlugHooksNotFound creates a GetRepositoriesWorkspaceRepoSlugHooksNotFound with default headers values

func (*GetRepositoriesWorkspaceRepoSlugHooksNotFound) Error

func (*GetRepositoriesWorkspaceRepoSlugHooksNotFound) GetPayload

type GetRepositoriesWorkspaceRepoSlugHooksOK

type GetRepositoriesWorkspaceRepoSlugHooksOK struct {
	Payload *models.PaginatedWebhookSubscriptions
}

GetRepositoriesWorkspaceRepoSlugHooksOK handles this case with default header values.

The paginated list of installed webhooks.

func NewGetRepositoriesWorkspaceRepoSlugHooksOK

func NewGetRepositoriesWorkspaceRepoSlugHooksOK() *GetRepositoriesWorkspaceRepoSlugHooksOK

NewGetRepositoriesWorkspaceRepoSlugHooksOK creates a GetRepositoriesWorkspaceRepoSlugHooksOK with default headers values

func (*GetRepositoriesWorkspaceRepoSlugHooksOK) Error

func (*GetRepositoriesWorkspaceRepoSlugHooksOK) GetPayload

type GetRepositoriesWorkspaceRepoSlugHooksParams

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

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

func NewGetRepositoriesWorkspaceRepoSlugHooksParams

func NewGetRepositoriesWorkspaceRepoSlugHooksParams() *GetRepositoriesWorkspaceRepoSlugHooksParams

NewGetRepositoriesWorkspaceRepoSlugHooksParams creates a new GetRepositoriesWorkspaceRepoSlugHooksParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugHooksParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugHooksParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugHooksParams

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

func NewGetRepositoriesWorkspaceRepoSlugHooksParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugHooksParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugHooksParams

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

func NewGetRepositoriesWorkspaceRepoSlugHooksParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugHooksParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugHooksParams

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

func (*GetRepositoriesWorkspaceRepoSlugHooksParams) SetContext

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

func (*GetRepositoriesWorkspaceRepoSlugHooksParams) SetHTTPClient

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

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

func (*GetRepositoriesWorkspaceRepoSlugHooksParams) SetRepoSlug

func (o *GetRepositoriesWorkspaceRepoSlugHooksParams) SetRepoSlug(repoSlug string)

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

func (*GetRepositoriesWorkspaceRepoSlugHooksParams) SetTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugHooksParams) SetWorkspace

func (o *GetRepositoriesWorkspaceRepoSlugHooksParams) SetWorkspace(workspace string)

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

func (*GetRepositoriesWorkspaceRepoSlugHooksParams) WithContext

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

func (*GetRepositoriesWorkspaceRepoSlugHooksParams) WithHTTPClient

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

func (*GetRepositoriesWorkspaceRepoSlugHooksParams) WithRepoSlug

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

func (*GetRepositoriesWorkspaceRepoSlugHooksParams) WithTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugHooksParams) WithWorkspace

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

func (*GetRepositoriesWorkspaceRepoSlugHooksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugHooksReader

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

GetRepositoriesWorkspaceRepoSlugHooksReader is a Reader for the GetRepositoriesWorkspaceRepoSlugHooks structure.

func (*GetRepositoriesWorkspaceRepoSlugHooksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugHooksUIDNotFound

type GetRepositoriesWorkspaceRepoSlugHooksUIDNotFound struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceRepoSlugHooksUIDNotFound handles this case with default header values.

If the webhook or repository does not exist.

func NewGetRepositoriesWorkspaceRepoSlugHooksUIDNotFound

func NewGetRepositoriesWorkspaceRepoSlugHooksUIDNotFound() *GetRepositoriesWorkspaceRepoSlugHooksUIDNotFound

NewGetRepositoriesWorkspaceRepoSlugHooksUIDNotFound creates a GetRepositoriesWorkspaceRepoSlugHooksUIDNotFound with default headers values

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDNotFound) Error

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDNotFound) GetPayload

type GetRepositoriesWorkspaceRepoSlugHooksUIDOK

type GetRepositoriesWorkspaceRepoSlugHooksUIDOK struct {
	Payload *models.WebhookSubscription
}

GetRepositoriesWorkspaceRepoSlugHooksUIDOK handles this case with default header values.

The webhook subscription object.

func NewGetRepositoriesWorkspaceRepoSlugHooksUIDOK

func NewGetRepositoriesWorkspaceRepoSlugHooksUIDOK() *GetRepositoriesWorkspaceRepoSlugHooksUIDOK

NewGetRepositoriesWorkspaceRepoSlugHooksUIDOK creates a GetRepositoriesWorkspaceRepoSlugHooksUIDOK with default headers values

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDOK) Error

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDOK) GetPayload

type GetRepositoriesWorkspaceRepoSlugHooksUIDParams

type GetRepositoriesWorkspaceRepoSlugHooksUIDParams 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
	/*UID
	  The installed webhook's id.

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

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

func NewGetRepositoriesWorkspaceRepoSlugHooksUIDParams

func NewGetRepositoriesWorkspaceRepoSlugHooksUIDParams() *GetRepositoriesWorkspaceRepoSlugHooksUIDParams

NewGetRepositoriesWorkspaceRepoSlugHooksUIDParams creates a new GetRepositoriesWorkspaceRepoSlugHooksUIDParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugHooksUIDParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugHooksUIDParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugHooksUIDParams

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

func NewGetRepositoriesWorkspaceRepoSlugHooksUIDParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugHooksUIDParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugHooksUIDParams

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

func NewGetRepositoriesWorkspaceRepoSlugHooksUIDParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugHooksUIDParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugHooksUIDParams

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

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDParams) SetContext

SetContext adds the context to the get repositories workspace repo slug hooks UID params

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get repositories workspace repo slug hooks UID params

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDParams) SetRepoSlug

func (o *GetRepositoriesWorkspaceRepoSlugHooksUIDParams) SetRepoSlug(repoSlug string)

SetRepoSlug adds the repoSlug to the get repositories workspace repo slug hooks UID params

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDParams) SetTimeout

SetTimeout adds the timeout to the get repositories workspace repo slug hooks UID params

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDParams) SetUID

SetUID adds the uid to the get repositories workspace repo slug hooks UID params

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDParams) SetWorkspace

func (o *GetRepositoriesWorkspaceRepoSlugHooksUIDParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the get repositories workspace repo slug hooks UID params

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDParams) WithContext

WithContext adds the context to the get repositories workspace repo slug hooks UID params

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get repositories workspace repo slug hooks UID params

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get repositories workspace repo slug hooks UID params

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDParams) WithTimeout

WithTimeout adds the timeout to the get repositories workspace repo slug hooks UID params

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDParams) WithUID

WithUID adds the uid to the get repositories workspace repo slug hooks UID params

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDParams) WithWorkspace

WithWorkspace adds the workspace to the get repositories workspace repo slug hooks UID params

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugHooksUIDReader

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

GetRepositoriesWorkspaceRepoSlugHooksUIDReader is a Reader for the GetRepositoriesWorkspaceRepoSlugHooksUID structure.

func (*GetRepositoriesWorkspaceRepoSlugHooksUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugNotFound

type GetRepositoriesWorkspaceRepoSlugNotFound struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceRepoSlugNotFound handles this case with default header values.

If no repository exists at this location.

func NewGetRepositoriesWorkspaceRepoSlugNotFound

func NewGetRepositoriesWorkspaceRepoSlugNotFound() *GetRepositoriesWorkspaceRepoSlugNotFound

NewGetRepositoriesWorkspaceRepoSlugNotFound creates a GetRepositoriesWorkspaceRepoSlugNotFound with default headers values

func (*GetRepositoriesWorkspaceRepoSlugNotFound) Error

func (*GetRepositoriesWorkspaceRepoSlugNotFound) GetPayload

type GetRepositoriesWorkspaceRepoSlugOK

type GetRepositoriesWorkspaceRepoSlugOK struct {
	Payload *models.Repository
}

GetRepositoriesWorkspaceRepoSlugOK handles this case with default header values.

The repository object.

func NewGetRepositoriesWorkspaceRepoSlugOK

func NewGetRepositoriesWorkspaceRepoSlugOK() *GetRepositoriesWorkspaceRepoSlugOK

NewGetRepositoriesWorkspaceRepoSlugOK creates a GetRepositoriesWorkspaceRepoSlugOK with default headers values

func (*GetRepositoriesWorkspaceRepoSlugOK) Error

func (*GetRepositoriesWorkspaceRepoSlugOK) GetPayload

type GetRepositoriesWorkspaceRepoSlugParams

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

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

func NewGetRepositoriesWorkspaceRepoSlugParams

func NewGetRepositoriesWorkspaceRepoSlugParams() *GetRepositoriesWorkspaceRepoSlugParams

NewGetRepositoriesWorkspaceRepoSlugParams creates a new GetRepositoriesWorkspaceRepoSlugParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugParams

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

func NewGetRepositoriesWorkspaceRepoSlugParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugParams

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

func NewGetRepositoriesWorkspaceRepoSlugParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugParams

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

func (*GetRepositoriesWorkspaceRepoSlugParams) SetContext

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

func (*GetRepositoriesWorkspaceRepoSlugParams) SetHTTPClient

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

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

func (*GetRepositoriesWorkspaceRepoSlugParams) SetRepoSlug

func (o *GetRepositoriesWorkspaceRepoSlugParams) SetRepoSlug(repoSlug string)

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

func (*GetRepositoriesWorkspaceRepoSlugParams) SetTimeout

func (o *GetRepositoriesWorkspaceRepoSlugParams) SetTimeout(timeout time.Duration)

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

func (*GetRepositoriesWorkspaceRepoSlugParams) SetWorkspace

func (o *GetRepositoriesWorkspaceRepoSlugParams) SetWorkspace(workspace string)

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

func (*GetRepositoriesWorkspaceRepoSlugParams) WithContext

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

func (*GetRepositoriesWorkspaceRepoSlugParams) WithHTTPClient

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

func (*GetRepositoriesWorkspaceRepoSlugParams) WithRepoSlug

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

func (*GetRepositoriesWorkspaceRepoSlugParams) WithTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugParams) WithWorkspace

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

func (*GetRepositoriesWorkspaceRepoSlugParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesNotFound

type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesNotFound struct {
	Payload *models.Error
}

GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesNotFound handles this case with default header values.

If the specified repository or pull request does not exist.

func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesNotFound

func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesNotFound() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesNotFound

NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesNotFound creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesNotFound with default headers values

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesNotFound) Error

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesNotFound) GetPayload

type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesOK

type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesOK struct {
	Payload *models.PaginatedCommitstatuses
}

GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesOK handles this case with default header values.

A paginated list of all commit statuses for this pull request.

func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesOK

func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesOK() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesOK

NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesOK creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesOK with default headers values

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesOK) Error

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesOK) GetPayload

type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams

type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams struct {

	/*PullRequestID
	  The id of the pull request.

	*/
	PullRequestID int64
	/*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).
	Defaults to `created_on`.


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

GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams contains all the parameters to send to the API endpoint for the get repositories workspace repo slug pullrequests pull request ID statuses operation typically these are written to a http.Request

func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams

func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams

NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams creates a new GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams

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

func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams

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

func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) SetContext

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) SetHTTPClient

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) SetPullRequestID

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) SetQ

SetQ adds the q to the get repositories workspace repo slug pullrequests pull request ID statuses params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) SetRepoSlug

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) SetSort

SetSort adds the sort to the get repositories workspace repo slug pullrequests pull request ID statuses params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) SetTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) SetWorkspace

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) WithContext

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) WithHTTPClient

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) WithPullRequestID

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) WithQ

WithQ adds the q to the get repositories workspace repo slug pullrequests pull request ID statuses params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) WithRepoSlug

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) WithSort

WithSort adds the sort to the get repositories workspace repo slug pullrequests pull request ID statuses params

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) WithTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) WithWorkspace

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

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesReader

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

GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesReader is a Reader for the GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatuses structure.

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesUnauthorized

type GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesUnauthorized struct {
}

GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesUnauthorized handles this case with default header values.

If the repository is private and the request was not authenticated.

func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesUnauthorized

func NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesUnauthorized() *GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesUnauthorized

NewGetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesUnauthorized creates a GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesUnauthorized with default headers values

func (*GetRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIDStatusesUnauthorized) Error

type GetRepositoriesWorkspaceRepoSlugReader

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

GetRepositoriesWorkspaceRepoSlugReader is a Reader for the GetRepositoriesWorkspaceRepoSlug structure.

func (*GetRepositoriesWorkspaceRepoSlugReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRepositoriesWorkspaceRepoSlugWatchersOK

type GetRepositoriesWorkspaceRepoSlugWatchersOK struct {
}

GetRepositoriesWorkspaceRepoSlugWatchersOK handles this case with default header values.

A paginated list of all the watchers on the specified repository.

func NewGetRepositoriesWorkspaceRepoSlugWatchersOK

func NewGetRepositoriesWorkspaceRepoSlugWatchersOK() *GetRepositoriesWorkspaceRepoSlugWatchersOK

NewGetRepositoriesWorkspaceRepoSlugWatchersOK creates a GetRepositoriesWorkspaceRepoSlugWatchersOK with default headers values

func (*GetRepositoriesWorkspaceRepoSlugWatchersOK) Error

type GetRepositoriesWorkspaceRepoSlugWatchersParams

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

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

func NewGetRepositoriesWorkspaceRepoSlugWatchersParams

func NewGetRepositoriesWorkspaceRepoSlugWatchersParams() *GetRepositoriesWorkspaceRepoSlugWatchersParams

NewGetRepositoriesWorkspaceRepoSlugWatchersParams creates a new GetRepositoriesWorkspaceRepoSlugWatchersParams object with the default values initialized.

func NewGetRepositoriesWorkspaceRepoSlugWatchersParamsWithContext

func NewGetRepositoriesWorkspaceRepoSlugWatchersParamsWithContext(ctx context.Context) *GetRepositoriesWorkspaceRepoSlugWatchersParams

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

func NewGetRepositoriesWorkspaceRepoSlugWatchersParamsWithHTTPClient

func NewGetRepositoriesWorkspaceRepoSlugWatchersParamsWithHTTPClient(client *http.Client) *GetRepositoriesWorkspaceRepoSlugWatchersParams

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

func NewGetRepositoriesWorkspaceRepoSlugWatchersParamsWithTimeout

func NewGetRepositoriesWorkspaceRepoSlugWatchersParamsWithTimeout(timeout time.Duration) *GetRepositoriesWorkspaceRepoSlugWatchersParams

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

func (*GetRepositoriesWorkspaceRepoSlugWatchersParams) SetContext

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

func (*GetRepositoriesWorkspaceRepoSlugWatchersParams) SetHTTPClient

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

func (*GetRepositoriesWorkspaceRepoSlugWatchersParams) SetRepoSlug

func (o *GetRepositoriesWorkspaceRepoSlugWatchersParams) SetRepoSlug(repoSlug string)

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

func (*GetRepositoriesWorkspaceRepoSlugWatchersParams) SetTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugWatchersParams) SetWorkspace

func (o *GetRepositoriesWorkspaceRepoSlugWatchersParams) SetWorkspace(workspace string)

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

func (*GetRepositoriesWorkspaceRepoSlugWatchersParams) WithContext

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

func (*GetRepositoriesWorkspaceRepoSlugWatchersParams) WithHTTPClient

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

func (*GetRepositoriesWorkspaceRepoSlugWatchersParams) WithRepoSlug

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

func (*GetRepositoriesWorkspaceRepoSlugWatchersParams) WithTimeout

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

func (*GetRepositoriesWorkspaceRepoSlugWatchersParams) WithWorkspace

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

func (*GetRepositoriesWorkspaceRepoSlugWatchersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRepositoriesWorkspaceRepoSlugWatchersReader

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

GetRepositoriesWorkspaceRepoSlugWatchersReader is a Reader for the GetRepositoriesWorkspaceRepoSlugWatchers structure.

func (*GetRepositoriesWorkspaceRepoSlugWatchersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserPermissionsRepositoriesOK

type GetUserPermissionsRepositoriesOK struct {
	Payload *models.PaginatedRepositoryPermissions
}

GetUserPermissionsRepositoriesOK handles this case with default header values.

Repository permissions for the repositories a caller has explicit access to.

func NewGetUserPermissionsRepositoriesOK

func NewGetUserPermissionsRepositoriesOK() *GetUserPermissionsRepositoriesOK

NewGetUserPermissionsRepositoriesOK creates a GetUserPermissionsRepositoriesOK with default headers values

func (*GetUserPermissionsRepositoriesOK) Error

func (*GetUserPermissionsRepositoriesOK) GetPayload

type GetUserPermissionsRepositoriesParams

type GetUserPermissionsRepositoriesParams struct {

	/*Q

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

	*/
	Q *string
	/*Sort

	Name of a response property sort the result by as per
	[filtering and sorting](../../../meta/filtering#query-sort).


	*/
	Sort *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUserPermissionsRepositoriesParams contains all the parameters to send to the API endpoint for the get user permissions repositories operation typically these are written to a http.Request

func NewGetUserPermissionsRepositoriesParams

func NewGetUserPermissionsRepositoriesParams() *GetUserPermissionsRepositoriesParams

NewGetUserPermissionsRepositoriesParams creates a new GetUserPermissionsRepositoriesParams object with the default values initialized.

func NewGetUserPermissionsRepositoriesParamsWithContext

func NewGetUserPermissionsRepositoriesParamsWithContext(ctx context.Context) *GetUserPermissionsRepositoriesParams

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

func NewGetUserPermissionsRepositoriesParamsWithHTTPClient

func NewGetUserPermissionsRepositoriesParamsWithHTTPClient(client *http.Client) *GetUserPermissionsRepositoriesParams

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

func NewGetUserPermissionsRepositoriesParamsWithTimeout

func NewGetUserPermissionsRepositoriesParamsWithTimeout(timeout time.Duration) *GetUserPermissionsRepositoriesParams

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

func (*GetUserPermissionsRepositoriesParams) SetContext

SetContext adds the context to the get user permissions repositories params

func (*GetUserPermissionsRepositoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user permissions repositories params

func (*GetUserPermissionsRepositoriesParams) SetQ

SetQ adds the q to the get user permissions repositories params

func (*GetUserPermissionsRepositoriesParams) SetSort

func (o *GetUserPermissionsRepositoriesParams) SetSort(sort *string)

SetSort adds the sort to the get user permissions repositories params

func (*GetUserPermissionsRepositoriesParams) SetTimeout

func (o *GetUserPermissionsRepositoriesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user permissions repositories params

func (*GetUserPermissionsRepositoriesParams) WithContext

WithContext adds the context to the get user permissions repositories params

func (*GetUserPermissionsRepositoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user permissions repositories params

func (*GetUserPermissionsRepositoriesParams) WithQ

WithQ adds the q to the get user permissions repositories params

func (*GetUserPermissionsRepositoriesParams) WithSort

WithSort adds the sort to the get user permissions repositories params

func (*GetUserPermissionsRepositoriesParams) WithTimeout

WithTimeout adds the timeout to the get user permissions repositories params

func (*GetUserPermissionsRepositoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserPermissionsRepositoriesReader

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

GetUserPermissionsRepositoriesReader is a Reader for the GetUserPermissionsRepositories structure.

func (*GetUserPermissionsRepositoriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostRepositoriesWorkspaceRepoSlugBadRequest

type PostRepositoriesWorkspaceRepoSlugBadRequest struct {
	Payload *models.Error
}

PostRepositoriesWorkspaceRepoSlugBadRequest handles this case with default header values.

If the input document was invalid, or if the caller lacks the privilege to create repositories under the targeted account.

func NewPostRepositoriesWorkspaceRepoSlugBadRequest

func NewPostRepositoriesWorkspaceRepoSlugBadRequest() *PostRepositoriesWorkspaceRepoSlugBadRequest

NewPostRepositoriesWorkspaceRepoSlugBadRequest creates a PostRepositoriesWorkspaceRepoSlugBadRequest with default headers values

func (*PostRepositoriesWorkspaceRepoSlugBadRequest) Error

func (*PostRepositoriesWorkspaceRepoSlugBadRequest) GetPayload

type PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildCreated

type PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildCreated struct {
	Payload *models.Commitstatus
}

PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildCreated handles this case with default header values.

The newly created build status object.

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildCreated

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildCreated() *PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildCreated

NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildCreated creates a PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildCreated with default headers values

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildCreated) Error

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildCreated) GetPayload

type PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildNotFound

type PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildNotFound struct {
	Payload *models.Error
}

PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildNotFound handles this case with default header values.

If the repository, commit, or build status key does not exist

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildNotFound

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildNotFound() *PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildNotFound

NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildNotFound creates a PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildNotFound with default headers values

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildNotFound) Error

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildNotFound) GetPayload

type PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams

type PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams struct {

	/*Body
	  The new commit status object.

	*/
	Body *models.Commitstatus
	/*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
}

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

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams() *PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams

NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams creates a new PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams object with the default values initialized.

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParamsWithContext

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams

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

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParamsWithHTTPClient

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams

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

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParamsWithTimeout

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) SetBody

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) SetContext

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) SetHTTPClient

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) SetNode

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) SetRepoSlug

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) SetTimeout

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) SetWorkspace

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) WithBody

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) WithContext

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) WithHTTPClient

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) WithNode

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) WithRepoSlug

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) WithTimeout

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) WithWorkspace

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

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildReader

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

PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildReader is a Reader for the PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuild structure.

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildReader) ReadResponse

ReadResponse reads a server response into the received o.

type PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildUnauthorized

type PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildUnauthorized struct {
}

PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildUnauthorized handles this case with default header values.

If the repository is private and the request was not authenticated.

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildUnauthorized

func NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildUnauthorized() *PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildUnauthorized

NewPostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildUnauthorized creates a PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildUnauthorized with default headers values

func (*PostRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildUnauthorized) Error

type PostRepositoriesWorkspaceRepoSlugForksCreated

type PostRepositoriesWorkspaceRepoSlugForksCreated struct {
	/*The URL of the newly created fork
	 */
	Location string

	Payload *models.Repository
}

PostRepositoriesWorkspaceRepoSlugForksCreated handles this case with default header values.

The newly created fork.

func NewPostRepositoriesWorkspaceRepoSlugForksCreated

func NewPostRepositoriesWorkspaceRepoSlugForksCreated() *PostRepositoriesWorkspaceRepoSlugForksCreated

NewPostRepositoriesWorkspaceRepoSlugForksCreated creates a PostRepositoriesWorkspaceRepoSlugForksCreated with default headers values

func (*PostRepositoriesWorkspaceRepoSlugForksCreated) Error

func (*PostRepositoriesWorkspaceRepoSlugForksCreated) GetPayload

type PostRepositoriesWorkspaceRepoSlugForksParams

type PostRepositoriesWorkspaceRepoSlugForksParams struct {

	/*Body
	  A repository object. This can be left blank.

	*/
	Body *models.Repository
	/*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
}

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

func NewPostRepositoriesWorkspaceRepoSlugForksParams

func NewPostRepositoriesWorkspaceRepoSlugForksParams() *PostRepositoriesWorkspaceRepoSlugForksParams

NewPostRepositoriesWorkspaceRepoSlugForksParams creates a new PostRepositoriesWorkspaceRepoSlugForksParams object with the default values initialized.

func NewPostRepositoriesWorkspaceRepoSlugForksParamsWithContext

func NewPostRepositoriesWorkspaceRepoSlugForksParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugForksParams

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

func NewPostRepositoriesWorkspaceRepoSlugForksParamsWithHTTPClient

func NewPostRepositoriesWorkspaceRepoSlugForksParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugForksParams

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

func NewPostRepositoriesWorkspaceRepoSlugForksParamsWithTimeout

func NewPostRepositoriesWorkspaceRepoSlugForksParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugForksParams

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

func (*PostRepositoriesWorkspaceRepoSlugForksParams) SetBody

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

func (*PostRepositoriesWorkspaceRepoSlugForksParams) SetContext

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

func (*PostRepositoriesWorkspaceRepoSlugForksParams) SetHTTPClient

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

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

func (*PostRepositoriesWorkspaceRepoSlugForksParams) SetRepoSlug

func (o *PostRepositoriesWorkspaceRepoSlugForksParams) SetRepoSlug(repoSlug string)

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

func (*PostRepositoriesWorkspaceRepoSlugForksParams) SetTimeout

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

func (*PostRepositoriesWorkspaceRepoSlugForksParams) SetWorkspace

func (o *PostRepositoriesWorkspaceRepoSlugForksParams) SetWorkspace(workspace string)

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

func (*PostRepositoriesWorkspaceRepoSlugForksParams) WithBody

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

func (*PostRepositoriesWorkspaceRepoSlugForksParams) WithContext

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

func (*PostRepositoriesWorkspaceRepoSlugForksParams) WithHTTPClient

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

func (*PostRepositoriesWorkspaceRepoSlugForksParams) WithRepoSlug

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

func (*PostRepositoriesWorkspaceRepoSlugForksParams) WithTimeout

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

func (*PostRepositoriesWorkspaceRepoSlugForksParams) WithWorkspace

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

func (*PostRepositoriesWorkspaceRepoSlugForksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRepositoriesWorkspaceRepoSlugForksReader

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

PostRepositoriesWorkspaceRepoSlugForksReader is a Reader for the PostRepositoriesWorkspaceRepoSlugForks structure.

func (*PostRepositoriesWorkspaceRepoSlugForksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostRepositoriesWorkspaceRepoSlugHooksCreated

type PostRepositoriesWorkspaceRepoSlugHooksCreated struct {
	/*The URL of new newly created webhook.
	 */
	Location string

	Payload *models.WebhookSubscription
}

PostRepositoriesWorkspaceRepoSlugHooksCreated handles this case with default header values.

If the webhook was registered successfully.

func NewPostRepositoriesWorkspaceRepoSlugHooksCreated

func NewPostRepositoriesWorkspaceRepoSlugHooksCreated() *PostRepositoriesWorkspaceRepoSlugHooksCreated

NewPostRepositoriesWorkspaceRepoSlugHooksCreated creates a PostRepositoriesWorkspaceRepoSlugHooksCreated with default headers values

func (*PostRepositoriesWorkspaceRepoSlugHooksCreated) Error

func (*PostRepositoriesWorkspaceRepoSlugHooksCreated) GetPayload

type PostRepositoriesWorkspaceRepoSlugHooksForbidden

type PostRepositoriesWorkspaceRepoSlugHooksForbidden struct {
	Payload *models.Error
}

PostRepositoriesWorkspaceRepoSlugHooksForbidden handles this case with default header values.

If the authenticated user does not have permission to install webhooks on the specified repository.

func NewPostRepositoriesWorkspaceRepoSlugHooksForbidden

func NewPostRepositoriesWorkspaceRepoSlugHooksForbidden() *PostRepositoriesWorkspaceRepoSlugHooksForbidden

NewPostRepositoriesWorkspaceRepoSlugHooksForbidden creates a PostRepositoriesWorkspaceRepoSlugHooksForbidden with default headers values

func (*PostRepositoriesWorkspaceRepoSlugHooksForbidden) Error

func (*PostRepositoriesWorkspaceRepoSlugHooksForbidden) GetPayload

type PostRepositoriesWorkspaceRepoSlugHooksNotFound

type PostRepositoriesWorkspaceRepoSlugHooksNotFound struct {
	Payload *models.Error
}

PostRepositoriesWorkspaceRepoSlugHooksNotFound handles this case with default header values.

If the repository does not exist.

func NewPostRepositoriesWorkspaceRepoSlugHooksNotFound

func NewPostRepositoriesWorkspaceRepoSlugHooksNotFound() *PostRepositoriesWorkspaceRepoSlugHooksNotFound

NewPostRepositoriesWorkspaceRepoSlugHooksNotFound creates a PostRepositoriesWorkspaceRepoSlugHooksNotFound with default headers values

func (*PostRepositoriesWorkspaceRepoSlugHooksNotFound) Error

func (*PostRepositoriesWorkspaceRepoSlugHooksNotFound) GetPayload

type PostRepositoriesWorkspaceRepoSlugHooksParams

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

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

func NewPostRepositoriesWorkspaceRepoSlugHooksParams

func NewPostRepositoriesWorkspaceRepoSlugHooksParams() *PostRepositoriesWorkspaceRepoSlugHooksParams

NewPostRepositoriesWorkspaceRepoSlugHooksParams creates a new PostRepositoriesWorkspaceRepoSlugHooksParams object with the default values initialized.

func NewPostRepositoriesWorkspaceRepoSlugHooksParamsWithContext

func NewPostRepositoriesWorkspaceRepoSlugHooksParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugHooksParams

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

func NewPostRepositoriesWorkspaceRepoSlugHooksParamsWithHTTPClient

func NewPostRepositoriesWorkspaceRepoSlugHooksParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugHooksParams

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

func NewPostRepositoriesWorkspaceRepoSlugHooksParamsWithTimeout

func NewPostRepositoriesWorkspaceRepoSlugHooksParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugHooksParams

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

func (*PostRepositoriesWorkspaceRepoSlugHooksParams) SetContext

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

func (*PostRepositoriesWorkspaceRepoSlugHooksParams) SetHTTPClient

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

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

func (*PostRepositoriesWorkspaceRepoSlugHooksParams) SetRepoSlug

func (o *PostRepositoriesWorkspaceRepoSlugHooksParams) SetRepoSlug(repoSlug string)

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

func (*PostRepositoriesWorkspaceRepoSlugHooksParams) SetTimeout

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

func (*PostRepositoriesWorkspaceRepoSlugHooksParams) SetWorkspace

func (o *PostRepositoriesWorkspaceRepoSlugHooksParams) SetWorkspace(workspace string)

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

func (*PostRepositoriesWorkspaceRepoSlugHooksParams) WithContext

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

func (*PostRepositoriesWorkspaceRepoSlugHooksParams) WithHTTPClient

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

func (*PostRepositoriesWorkspaceRepoSlugHooksParams) WithRepoSlug

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

func (*PostRepositoriesWorkspaceRepoSlugHooksParams) WithTimeout

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

func (*PostRepositoriesWorkspaceRepoSlugHooksParams) WithWorkspace

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

func (*PostRepositoriesWorkspaceRepoSlugHooksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRepositoriesWorkspaceRepoSlugHooksReader

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

PostRepositoriesWorkspaceRepoSlugHooksReader is a Reader for the PostRepositoriesWorkspaceRepoSlugHooks structure.

func (*PostRepositoriesWorkspaceRepoSlugHooksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostRepositoriesWorkspaceRepoSlugOK

type PostRepositoriesWorkspaceRepoSlugOK struct {
	Payload *models.Repository
}

PostRepositoriesWorkspaceRepoSlugOK handles this case with default header values.

The newly created repository.

func NewPostRepositoriesWorkspaceRepoSlugOK

func NewPostRepositoriesWorkspaceRepoSlugOK() *PostRepositoriesWorkspaceRepoSlugOK

NewPostRepositoriesWorkspaceRepoSlugOK creates a PostRepositoriesWorkspaceRepoSlugOK with default headers values

func (*PostRepositoriesWorkspaceRepoSlugOK) Error

func (*PostRepositoriesWorkspaceRepoSlugOK) GetPayload

type PostRepositoriesWorkspaceRepoSlugParams

type PostRepositoriesWorkspaceRepoSlugParams struct {

	/*Body
	  The repository that is to be created. Note that most object elements are optional. Elements "owner" and "full_name" are ignored as the URL implies them.

	*/
	Body *models.Repository
	/*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
}

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

func NewPostRepositoriesWorkspaceRepoSlugParams

func NewPostRepositoriesWorkspaceRepoSlugParams() *PostRepositoriesWorkspaceRepoSlugParams

NewPostRepositoriesWorkspaceRepoSlugParams creates a new PostRepositoriesWorkspaceRepoSlugParams object with the default values initialized.

func NewPostRepositoriesWorkspaceRepoSlugParamsWithContext

func NewPostRepositoriesWorkspaceRepoSlugParamsWithContext(ctx context.Context) *PostRepositoriesWorkspaceRepoSlugParams

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

func NewPostRepositoriesWorkspaceRepoSlugParamsWithHTTPClient

func NewPostRepositoriesWorkspaceRepoSlugParamsWithHTTPClient(client *http.Client) *PostRepositoriesWorkspaceRepoSlugParams

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

func NewPostRepositoriesWorkspaceRepoSlugParamsWithTimeout

func NewPostRepositoriesWorkspaceRepoSlugParamsWithTimeout(timeout time.Duration) *PostRepositoriesWorkspaceRepoSlugParams

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

func (*PostRepositoriesWorkspaceRepoSlugParams) SetBody

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

func (*PostRepositoriesWorkspaceRepoSlugParams) SetContext

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

func (*PostRepositoriesWorkspaceRepoSlugParams) SetHTTPClient

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

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

func (*PostRepositoriesWorkspaceRepoSlugParams) SetRepoSlug

func (o *PostRepositoriesWorkspaceRepoSlugParams) SetRepoSlug(repoSlug string)

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

func (*PostRepositoriesWorkspaceRepoSlugParams) SetTimeout

func (o *PostRepositoriesWorkspaceRepoSlugParams) SetTimeout(timeout time.Duration)

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

func (*PostRepositoriesWorkspaceRepoSlugParams) SetWorkspace

func (o *PostRepositoriesWorkspaceRepoSlugParams) SetWorkspace(workspace string)

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

func (*PostRepositoriesWorkspaceRepoSlugParams) WithBody

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

func (*PostRepositoriesWorkspaceRepoSlugParams) WithContext

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

func (*PostRepositoriesWorkspaceRepoSlugParams) WithHTTPClient

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

func (*PostRepositoriesWorkspaceRepoSlugParams) WithRepoSlug

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

func (*PostRepositoriesWorkspaceRepoSlugParams) WithTimeout

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

func (*PostRepositoriesWorkspaceRepoSlugParams) WithWorkspace

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

func (*PostRepositoriesWorkspaceRepoSlugParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRepositoriesWorkspaceRepoSlugReader

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

PostRepositoriesWorkspaceRepoSlugReader is a Reader for the PostRepositoriesWorkspaceRepoSlug structure.

func (*PostRepositoriesWorkspaceRepoSlugReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostRepositoriesWorkspaceRepoSlugUnauthorized

type PostRepositoriesWorkspaceRepoSlugUnauthorized struct {
	Payload *models.Error
}

PostRepositoriesWorkspaceRepoSlugUnauthorized handles this case with default header values.

If the request was not authenticated.

func NewPostRepositoriesWorkspaceRepoSlugUnauthorized

func NewPostRepositoriesWorkspaceRepoSlugUnauthorized() *PostRepositoriesWorkspaceRepoSlugUnauthorized

NewPostRepositoriesWorkspaceRepoSlugUnauthorized creates a PostRepositoriesWorkspaceRepoSlugUnauthorized with default headers values

func (*PostRepositoriesWorkspaceRepoSlugUnauthorized) Error

func (*PostRepositoriesWorkspaceRepoSlugUnauthorized) GetPayload

type PutRepositoriesWorkspaceRepoSlugBadRequest

type PutRepositoriesWorkspaceRepoSlugBadRequest struct {
	Payload *models.Error
}

PutRepositoriesWorkspaceRepoSlugBadRequest handles this case with default header values.

If the input document was invalid, or if the caller lacks the privilege to create repositories under the targeted account.

func NewPutRepositoriesWorkspaceRepoSlugBadRequest

func NewPutRepositoriesWorkspaceRepoSlugBadRequest() *PutRepositoriesWorkspaceRepoSlugBadRequest

NewPutRepositoriesWorkspaceRepoSlugBadRequest creates a PutRepositoriesWorkspaceRepoSlugBadRequest with default headers values

func (*PutRepositoriesWorkspaceRepoSlugBadRequest) Error

func (*PutRepositoriesWorkspaceRepoSlugBadRequest) GetPayload

type PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound

type PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound struct {
	Payload *models.Error
}

PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound handles this case with default header values.

If the repository or build does not exist

func NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound

func NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound() *PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound

NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound creates a PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound with default headers values

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound) Error

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyNotFound) GetPayload

type PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK

type PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK struct {
	Payload *models.Commitstatus
}

PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK handles this case with default header values.

The updated build status object.

func NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK

func NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK() *PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK

NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK creates a PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK with default headers values

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK) Error

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyOK) GetPayload

type PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams

type PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams struct {

	/*Body
	  The updated build status object

	*/
	Body *models.Commitstatus
	/*Key
	  The build status' unique key

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

PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams contains all the parameters to send to the API endpoint for the put repositories workspace repo slug commit node statuses build key operation typically these are written to a http.Request

func NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams

func NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams() *PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams

NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams creates a new PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams object with the default values initialized.

func NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParamsWithContext

func NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParamsWithContext(ctx context.Context) *PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams

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

func NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParamsWithHTTPClient

func NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParamsWithHTTPClient(client *http.Client) *PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams

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

func NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParamsWithTimeout

func NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParamsWithTimeout(timeout time.Duration) *PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams

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

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetBody

SetBody adds the body to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetContext

SetContext adds the context to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetKey

SetKey adds the key to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetNode

SetNode adds the node to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetRepoSlug

SetRepoSlug adds the repoSlug to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetTimeout

SetTimeout adds the timeout to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) SetWorkspace

SetWorkspace adds the workspace to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithBody

WithBody adds the body to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithContext

WithContext adds the context to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithKey

WithKey adds the key to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithNode

WithNode adds the node to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithTimeout

WithTimeout adds the timeout to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WithWorkspace

WithWorkspace adds the workspace to the put repositories workspace repo slug commit node statuses build key params

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyReader

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

PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyReader is a Reader for the PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKey structure.

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyReader) ReadResponse

ReadResponse reads a server response into the received o.

type PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized

type PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized struct {
}

PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized handles this case with default header values.

If the repository is private and the request was not authenticated.

func NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized

func NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized() *PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized

NewPutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized creates a PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized with default headers values

func (*PutRepositoriesWorkspaceRepoSlugCommitNodeStatusesBuildKeyUnauthorized) Error

type PutRepositoriesWorkspaceRepoSlugCreated

type PutRepositoriesWorkspaceRepoSlugCreated struct {
	/*The location of the newly created repository
	 */
	Location string

	Payload *models.Repository
}

PutRepositoriesWorkspaceRepoSlugCreated handles this case with default header values.

A new repository has been created

func NewPutRepositoriesWorkspaceRepoSlugCreated

func NewPutRepositoriesWorkspaceRepoSlugCreated() *PutRepositoriesWorkspaceRepoSlugCreated

NewPutRepositoriesWorkspaceRepoSlugCreated creates a PutRepositoriesWorkspaceRepoSlugCreated with default headers values

func (*PutRepositoriesWorkspaceRepoSlugCreated) Error

func (*PutRepositoriesWorkspaceRepoSlugCreated) GetPayload

type PutRepositoriesWorkspaceRepoSlugHooksUIDForbidden

type PutRepositoriesWorkspaceRepoSlugHooksUIDForbidden struct {
	Payload *models.Error
}

PutRepositoriesWorkspaceRepoSlugHooksUIDForbidden handles this case with default header values.

If the authenticated user does not have permission to update the webhook.

func NewPutRepositoriesWorkspaceRepoSlugHooksUIDForbidden

func NewPutRepositoriesWorkspaceRepoSlugHooksUIDForbidden() *PutRepositoriesWorkspaceRepoSlugHooksUIDForbidden

NewPutRepositoriesWorkspaceRepoSlugHooksUIDForbidden creates a PutRepositoriesWorkspaceRepoSlugHooksUIDForbidden with default headers values

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDForbidden) Error

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDForbidden) GetPayload

type PutRepositoriesWorkspaceRepoSlugHooksUIDNotFound

type PutRepositoriesWorkspaceRepoSlugHooksUIDNotFound struct {
	Payload *models.Error
}

PutRepositoriesWorkspaceRepoSlugHooksUIDNotFound handles this case with default header values.

If the webhook or repository does not exist.

func NewPutRepositoriesWorkspaceRepoSlugHooksUIDNotFound

func NewPutRepositoriesWorkspaceRepoSlugHooksUIDNotFound() *PutRepositoriesWorkspaceRepoSlugHooksUIDNotFound

NewPutRepositoriesWorkspaceRepoSlugHooksUIDNotFound creates a PutRepositoriesWorkspaceRepoSlugHooksUIDNotFound with default headers values

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDNotFound) Error

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDNotFound) GetPayload

type PutRepositoriesWorkspaceRepoSlugHooksUIDOK

type PutRepositoriesWorkspaceRepoSlugHooksUIDOK struct {
	Payload *models.WebhookSubscription
}

PutRepositoriesWorkspaceRepoSlugHooksUIDOK handles this case with default header values.

The webhook subscription object.

func NewPutRepositoriesWorkspaceRepoSlugHooksUIDOK

func NewPutRepositoriesWorkspaceRepoSlugHooksUIDOK() *PutRepositoriesWorkspaceRepoSlugHooksUIDOK

NewPutRepositoriesWorkspaceRepoSlugHooksUIDOK creates a PutRepositoriesWorkspaceRepoSlugHooksUIDOK with default headers values

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDOK) Error

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDOK) GetPayload

type PutRepositoriesWorkspaceRepoSlugHooksUIDParams

type PutRepositoriesWorkspaceRepoSlugHooksUIDParams 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
	/*UID
	  The installed webhook's id

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

PutRepositoriesWorkspaceRepoSlugHooksUIDParams contains all the parameters to send to the API endpoint for the put repositories workspace repo slug hooks UID operation typically these are written to a http.Request

func NewPutRepositoriesWorkspaceRepoSlugHooksUIDParams

func NewPutRepositoriesWorkspaceRepoSlugHooksUIDParams() *PutRepositoriesWorkspaceRepoSlugHooksUIDParams

NewPutRepositoriesWorkspaceRepoSlugHooksUIDParams creates a new PutRepositoriesWorkspaceRepoSlugHooksUIDParams object with the default values initialized.

func NewPutRepositoriesWorkspaceRepoSlugHooksUIDParamsWithContext

func NewPutRepositoriesWorkspaceRepoSlugHooksUIDParamsWithContext(ctx context.Context) *PutRepositoriesWorkspaceRepoSlugHooksUIDParams

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

func NewPutRepositoriesWorkspaceRepoSlugHooksUIDParamsWithHTTPClient

func NewPutRepositoriesWorkspaceRepoSlugHooksUIDParamsWithHTTPClient(client *http.Client) *PutRepositoriesWorkspaceRepoSlugHooksUIDParams

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

func NewPutRepositoriesWorkspaceRepoSlugHooksUIDParamsWithTimeout

func NewPutRepositoriesWorkspaceRepoSlugHooksUIDParamsWithTimeout(timeout time.Duration) *PutRepositoriesWorkspaceRepoSlugHooksUIDParams

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

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDParams) SetContext

SetContext adds the context to the put repositories workspace repo slug hooks UID params

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the put repositories workspace repo slug hooks UID params

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDParams) SetRepoSlug

func (o *PutRepositoriesWorkspaceRepoSlugHooksUIDParams) SetRepoSlug(repoSlug string)

SetRepoSlug adds the repoSlug to the put repositories workspace repo slug hooks UID params

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDParams) SetTimeout

SetTimeout adds the timeout to the put repositories workspace repo slug hooks UID params

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDParams) SetUID

SetUID adds the uid to the put repositories workspace repo slug hooks UID params

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDParams) SetWorkspace

func (o *PutRepositoriesWorkspaceRepoSlugHooksUIDParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the put repositories workspace repo slug hooks UID params

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDParams) WithContext

WithContext adds the context to the put repositories workspace repo slug hooks UID params

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put repositories workspace repo slug hooks UID params

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the put repositories workspace repo slug hooks UID params

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDParams) WithTimeout

WithTimeout adds the timeout to the put repositories workspace repo slug hooks UID params

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDParams) WithUID

WithUID adds the uid to the put repositories workspace repo slug hooks UID params

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDParams) WithWorkspace

WithWorkspace adds the workspace to the put repositories workspace repo slug hooks UID params

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutRepositoriesWorkspaceRepoSlugHooksUIDReader

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

PutRepositoriesWorkspaceRepoSlugHooksUIDReader is a Reader for the PutRepositoriesWorkspaceRepoSlugHooksUID structure.

func (*PutRepositoriesWorkspaceRepoSlugHooksUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutRepositoriesWorkspaceRepoSlugOK

type PutRepositoriesWorkspaceRepoSlugOK struct {
	/*The location of the repository. This header is only
	provided when the repository's name is changed.
	*/
	Location string

	Payload *models.Repository
}

PutRepositoriesWorkspaceRepoSlugOK handles this case with default header values.

The existing repository has been updated

func NewPutRepositoriesWorkspaceRepoSlugOK

func NewPutRepositoriesWorkspaceRepoSlugOK() *PutRepositoriesWorkspaceRepoSlugOK

NewPutRepositoriesWorkspaceRepoSlugOK creates a PutRepositoriesWorkspaceRepoSlugOK with default headers values

func (*PutRepositoriesWorkspaceRepoSlugOK) Error

func (*PutRepositoriesWorkspaceRepoSlugOK) GetPayload

type PutRepositoriesWorkspaceRepoSlugParams

type PutRepositoriesWorkspaceRepoSlugParams struct {

	/*Body
	  The repository that is to be updated.

	Note that the elements "owner" and "full_name" are ignored since the
	URL implies them.


	*/
	Body *models.Repository
	/*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
}

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

func NewPutRepositoriesWorkspaceRepoSlugParams

func NewPutRepositoriesWorkspaceRepoSlugParams() *PutRepositoriesWorkspaceRepoSlugParams

NewPutRepositoriesWorkspaceRepoSlugParams creates a new PutRepositoriesWorkspaceRepoSlugParams object with the default values initialized.

func NewPutRepositoriesWorkspaceRepoSlugParamsWithContext

func NewPutRepositoriesWorkspaceRepoSlugParamsWithContext(ctx context.Context) *PutRepositoriesWorkspaceRepoSlugParams

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

func NewPutRepositoriesWorkspaceRepoSlugParamsWithHTTPClient

func NewPutRepositoriesWorkspaceRepoSlugParamsWithHTTPClient(client *http.Client) *PutRepositoriesWorkspaceRepoSlugParams

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

func NewPutRepositoriesWorkspaceRepoSlugParamsWithTimeout

func NewPutRepositoriesWorkspaceRepoSlugParamsWithTimeout(timeout time.Duration) *PutRepositoriesWorkspaceRepoSlugParams

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

func (*PutRepositoriesWorkspaceRepoSlugParams) SetBody

SetBody adds the body to the put repositories workspace repo slug params

func (*PutRepositoriesWorkspaceRepoSlugParams) SetContext

SetContext adds the context to the put repositories workspace repo slug params

func (*PutRepositoriesWorkspaceRepoSlugParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put repositories workspace repo slug params

func (*PutRepositoriesWorkspaceRepoSlugParams) SetRepoSlug

func (o *PutRepositoriesWorkspaceRepoSlugParams) SetRepoSlug(repoSlug string)

SetRepoSlug adds the repoSlug to the put repositories workspace repo slug params

func (*PutRepositoriesWorkspaceRepoSlugParams) SetTimeout

func (o *PutRepositoriesWorkspaceRepoSlugParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put repositories workspace repo slug params

func (*PutRepositoriesWorkspaceRepoSlugParams) SetWorkspace

func (o *PutRepositoriesWorkspaceRepoSlugParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the put repositories workspace repo slug params

func (*PutRepositoriesWorkspaceRepoSlugParams) WithBody

WithBody adds the body to the put repositories workspace repo slug params

func (*PutRepositoriesWorkspaceRepoSlugParams) WithContext

WithContext adds the context to the put repositories workspace repo slug params

func (*PutRepositoriesWorkspaceRepoSlugParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put repositories workspace repo slug params

func (*PutRepositoriesWorkspaceRepoSlugParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the put repositories workspace repo slug params

func (*PutRepositoriesWorkspaceRepoSlugParams) WithTimeout

WithTimeout adds the timeout to the put repositories workspace repo slug params

func (*PutRepositoriesWorkspaceRepoSlugParams) WithWorkspace

WithWorkspace adds the workspace to the put repositories workspace repo slug params

func (*PutRepositoriesWorkspaceRepoSlugParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutRepositoriesWorkspaceRepoSlugReader

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

PutRepositoriesWorkspaceRepoSlugReader is a Reader for the PutRepositoriesWorkspaceRepoSlug structure.

func (*PutRepositoriesWorkspaceRepoSlugReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutRepositoriesWorkspaceRepoSlugUnauthorized

type PutRepositoriesWorkspaceRepoSlugUnauthorized struct {
	Payload *models.Error
}

PutRepositoriesWorkspaceRepoSlugUnauthorized handles this case with default header values.

If the request was not authenticated.

func NewPutRepositoriesWorkspaceRepoSlugUnauthorized

func NewPutRepositoriesWorkspaceRepoSlugUnauthorized() *PutRepositoriesWorkspaceRepoSlugUnauthorized

NewPutRepositoriesWorkspaceRepoSlugUnauthorized creates a PutRepositoriesWorkspaceRepoSlugUnauthorized with default headers values

func (*PutRepositoriesWorkspaceRepoSlugUnauthorized) Error

func (*PutRepositoriesWorkspaceRepoSlugUnauthorized) GetPayload

Source Files

Jump to

Keyboard shortcuts

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