workspaces

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: 10 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 workspaces API

func (*Client) DeleteWorkspacesWorkspaceHooksUID

DeleteWorkspacesWorkspaceHooksUID Deletes the specified webhook subscription from the given workspace.

func (*Client) GetUserPermissionsWorkspaces

func (a *Client) GetUserPermissionsWorkspaces(params *GetUserPermissionsWorkspacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserPermissionsWorkspacesOK, error)
GetUserPermissionsWorkspaces Returns an object for each workspace the caller is a member of, and

their effective role - the highest level of privilege the caller has. If a user is a member of multiple groups with distinct roles, only the highest level is returned.

Permissions can be:

* `owner` * `collaborator` * `member`

Example:

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

{
  "pagelen": 10,
  "page": 1,
  "size": 1,
  "values": [
    {
      "type": "workspace_membership",
      "permission": "owner",
      "last_accessed": "2019-03-07T12:35:02.900024+00:00",
      "added_on": "2018-10-11T17:42:02.961424+00:00",

      "user": {
        "type": "user",
        "uuid": "{470c176d-3574-44ea-bb41-89e8638bcca4}",
        "nickname": "evzijst",
        "display_name": "Erik van Zijst",
      },

      "workspace": {
        "type": "workspace",
        "uuid": "{a15fb181-db1f-48f7-b41f-e1eff06929d6}",
        "slug": "bitbucket",
        "name": "Atlassian Bitbucket",
      }
    }
  ]
}

```

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

* `q=workspace.slug="bitbucket"` or `q=permission="owner"` * `sort=workspace.slug`

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

func (*Client) GetWorkspaces

func (a *Client) GetWorkspaces(params *GetWorkspacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesOK, error)

GetWorkspaces get workspaces API

func (*Client) GetWorkspacesWorkspace

func (a *Client) GetWorkspacesWorkspace(params *GetWorkspacesWorkspaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceOK, error)

GetWorkspacesWorkspace get workspaces workspace API

func (*Client) GetWorkspacesWorkspaceHooks

func (a *Client) GetWorkspacesWorkspaceHooks(params *GetWorkspacesWorkspaceHooksParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceHooksOK, error)

GetWorkspacesWorkspaceHooks Returns a paginated list of webhooks installed on this workspace.

func (*Client) GetWorkspacesWorkspaceHooksUID

func (a *Client) GetWorkspacesWorkspaceHooksUID(params *GetWorkspacesWorkspaceHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceHooksUIDOK, error)
GetWorkspacesWorkspaceHooksUID Returns the webhook with the specified id installed on the given

workspace.

func (*Client) GetWorkspacesWorkspaceMembers

func (a *Client) GetWorkspacesWorkspaceMembers(params *GetWorkspacesWorkspaceMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceMembersOK, error)

GetWorkspacesWorkspaceMembers get workspaces workspace members API

func (*Client) GetWorkspacesWorkspaceMembersMember

GetWorkspacesWorkspaceMembersMember get workspaces workspace members member API

func (*Client) GetWorkspacesWorkspacePermissions

GetWorkspacesWorkspacePermissions get workspaces workspace permissions API

func (*Client) GetWorkspacesWorkspaceProjects

func (a *Client) GetWorkspacesWorkspaceProjects(params *GetWorkspacesWorkspaceProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceProjectsOK, error)

GetWorkspacesWorkspaceProjects get workspaces workspace projects API

func (*Client) PostWorkspacesWorkspaceHooks

PostWorkspacesWorkspaceHooks Creates a new webhook on the specified workspace.

Workspace webhooks are fired for events from all repositories contained by that workspace.

Note that only owners can install webhooks on workspaces.

func (*Client) PutWorkspacesWorkspaceHooksUID

func (a *Client) PutWorkspacesWorkspaceHooksUID(params *PutWorkspacesWorkspaceHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutWorkspacesWorkspaceHooksUIDOK, error)
PutWorkspacesWorkspaceHooksUID 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 {
	DeleteWorkspacesWorkspaceHooksUID(params *DeleteWorkspacesWorkspaceHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteWorkspacesWorkspaceHooksUIDNoContent, error)

	GetUserPermissionsWorkspaces(params *GetUserPermissionsWorkspacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserPermissionsWorkspacesOK, error)

	GetWorkspaces(params *GetWorkspacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesOK, error)

	GetWorkspacesWorkspace(params *GetWorkspacesWorkspaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceOK, error)

	GetWorkspacesWorkspaceHooks(params *GetWorkspacesWorkspaceHooksParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceHooksOK, error)

	GetWorkspacesWorkspaceHooksUID(params *GetWorkspacesWorkspaceHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceHooksUIDOK, error)

	GetWorkspacesWorkspaceMembers(params *GetWorkspacesWorkspaceMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceMembersOK, error)

	GetWorkspacesWorkspaceMembersMember(params *GetWorkspacesWorkspaceMembersMemberParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceMembersMemberOK, error)

	GetWorkspacesWorkspacePermissions(params *GetWorkspacesWorkspacePermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspacePermissionsOK, error)

	GetWorkspacesWorkspaceProjects(params *GetWorkspacesWorkspaceProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceProjectsOK, error)

	PostWorkspacesWorkspaceHooks(params *PostWorkspacesWorkspaceHooksParams, authInfo runtime.ClientAuthInfoWriter) (*PostWorkspacesWorkspaceHooksCreated, error)

	PutWorkspacesWorkspaceHooksUID(params *PutWorkspacesWorkspaceHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutWorkspacesWorkspaceHooksUIDOK, 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 workspaces API client.

type DeleteWorkspacesWorkspaceHooksUIDForbidden

type DeleteWorkspacesWorkspaceHooksUIDForbidden struct {
	Payload *models.Error
}

DeleteWorkspacesWorkspaceHooksUIDForbidden handles this case with default header values.

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

func NewDeleteWorkspacesWorkspaceHooksUIDForbidden

func NewDeleteWorkspacesWorkspaceHooksUIDForbidden() *DeleteWorkspacesWorkspaceHooksUIDForbidden

NewDeleteWorkspacesWorkspaceHooksUIDForbidden creates a DeleteWorkspacesWorkspaceHooksUIDForbidden with default headers values

func (*DeleteWorkspacesWorkspaceHooksUIDForbidden) Error

func (*DeleteWorkspacesWorkspaceHooksUIDForbidden) GetPayload

type DeleteWorkspacesWorkspaceHooksUIDNoContent

type DeleteWorkspacesWorkspaceHooksUIDNoContent struct {
}

DeleteWorkspacesWorkspaceHooksUIDNoContent handles this case with default header values.

When the webhook was deleted successfully

func NewDeleteWorkspacesWorkspaceHooksUIDNoContent

func NewDeleteWorkspacesWorkspaceHooksUIDNoContent() *DeleteWorkspacesWorkspaceHooksUIDNoContent

NewDeleteWorkspacesWorkspaceHooksUIDNoContent creates a DeleteWorkspacesWorkspaceHooksUIDNoContent with default headers values

func (*DeleteWorkspacesWorkspaceHooksUIDNoContent) Error

type DeleteWorkspacesWorkspaceHooksUIDNotFound

type DeleteWorkspacesWorkspaceHooksUIDNotFound struct {
	Payload *models.Error
}

DeleteWorkspacesWorkspaceHooksUIDNotFound handles this case with default header values.

If the webhook or workspace does not exist.

func NewDeleteWorkspacesWorkspaceHooksUIDNotFound

func NewDeleteWorkspacesWorkspaceHooksUIDNotFound() *DeleteWorkspacesWorkspaceHooksUIDNotFound

NewDeleteWorkspacesWorkspaceHooksUIDNotFound creates a DeleteWorkspacesWorkspaceHooksUIDNotFound with default headers values

func (*DeleteWorkspacesWorkspaceHooksUIDNotFound) Error

func (*DeleteWorkspacesWorkspaceHooksUIDNotFound) GetPayload

type DeleteWorkspacesWorkspaceHooksUIDParams

type DeleteWorkspacesWorkspaceHooksUIDParams struct {

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

DeleteWorkspacesWorkspaceHooksUIDParams contains all the parameters to send to the API endpoint for the delete workspaces workspace hooks UID operation typically these are written to a http.Request

func NewDeleteWorkspacesWorkspaceHooksUIDParams

func NewDeleteWorkspacesWorkspaceHooksUIDParams() *DeleteWorkspacesWorkspaceHooksUIDParams

NewDeleteWorkspacesWorkspaceHooksUIDParams creates a new DeleteWorkspacesWorkspaceHooksUIDParams object with the default values initialized.

func NewDeleteWorkspacesWorkspaceHooksUIDParamsWithContext

func NewDeleteWorkspacesWorkspaceHooksUIDParamsWithContext(ctx context.Context) *DeleteWorkspacesWorkspaceHooksUIDParams

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

func NewDeleteWorkspacesWorkspaceHooksUIDParamsWithHTTPClient

func NewDeleteWorkspacesWorkspaceHooksUIDParamsWithHTTPClient(client *http.Client) *DeleteWorkspacesWorkspaceHooksUIDParams

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

func NewDeleteWorkspacesWorkspaceHooksUIDParamsWithTimeout

func NewDeleteWorkspacesWorkspaceHooksUIDParamsWithTimeout(timeout time.Duration) *DeleteWorkspacesWorkspaceHooksUIDParams

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

func (*DeleteWorkspacesWorkspaceHooksUIDParams) SetContext

SetContext adds the context to the delete workspaces workspace hooks UID params

func (*DeleteWorkspacesWorkspaceHooksUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete workspaces workspace hooks UID params

func (*DeleteWorkspacesWorkspaceHooksUIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete workspaces workspace hooks UID params

func (*DeleteWorkspacesWorkspaceHooksUIDParams) SetUID

SetUID adds the uid to the delete workspaces workspace hooks UID params

func (*DeleteWorkspacesWorkspaceHooksUIDParams) SetWorkspace

func (o *DeleteWorkspacesWorkspaceHooksUIDParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the delete workspaces workspace hooks UID params

func (*DeleteWorkspacesWorkspaceHooksUIDParams) WithContext

WithContext adds the context to the delete workspaces workspace hooks UID params

func (*DeleteWorkspacesWorkspaceHooksUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete workspaces workspace hooks UID params

func (*DeleteWorkspacesWorkspaceHooksUIDParams) WithTimeout

WithTimeout adds the timeout to the delete workspaces workspace hooks UID params

func (*DeleteWorkspacesWorkspaceHooksUIDParams) WithUID

WithUID adds the uid to the delete workspaces workspace hooks UID params

func (*DeleteWorkspacesWorkspaceHooksUIDParams) WithWorkspace

WithWorkspace adds the workspace to the delete workspaces workspace hooks UID params

func (*DeleteWorkspacesWorkspaceHooksUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteWorkspacesWorkspaceHooksUIDReader

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

DeleteWorkspacesWorkspaceHooksUIDReader is a Reader for the DeleteWorkspacesWorkspaceHooksUID structure.

func (*DeleteWorkspacesWorkspaceHooksUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserPermissionsWorkspacesOK

type GetUserPermissionsWorkspacesOK struct {
	Payload *models.PaginatedWorkspaceMemberships
}

GetUserPermissionsWorkspacesOK handles this case with default header values.

All of the workspace memberships for a user.

func NewGetUserPermissionsWorkspacesOK

func NewGetUserPermissionsWorkspacesOK() *GetUserPermissionsWorkspacesOK

NewGetUserPermissionsWorkspacesOK creates a GetUserPermissionsWorkspacesOK with default headers values

func (*GetUserPermissionsWorkspacesOK) Error

func (*GetUserPermissionsWorkspacesOK) GetPayload

type GetUserPermissionsWorkspacesParams

type GetUserPermissionsWorkspacesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewGetUserPermissionsWorkspacesParams

func NewGetUserPermissionsWorkspacesParams() *GetUserPermissionsWorkspacesParams

NewGetUserPermissionsWorkspacesParams creates a new GetUserPermissionsWorkspacesParams object with the default values initialized.

func NewGetUserPermissionsWorkspacesParamsWithContext

func NewGetUserPermissionsWorkspacesParamsWithContext(ctx context.Context) *GetUserPermissionsWorkspacesParams

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

func NewGetUserPermissionsWorkspacesParamsWithHTTPClient

func NewGetUserPermissionsWorkspacesParamsWithHTTPClient(client *http.Client) *GetUserPermissionsWorkspacesParams

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

func NewGetUserPermissionsWorkspacesParamsWithTimeout

func NewGetUserPermissionsWorkspacesParamsWithTimeout(timeout time.Duration) *GetUserPermissionsWorkspacesParams

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

func (*GetUserPermissionsWorkspacesParams) SetContext

SetContext adds the context to the get user permissions workspaces params

func (*GetUserPermissionsWorkspacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user permissions workspaces params

func (*GetUserPermissionsWorkspacesParams) SetTimeout

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

SetTimeout adds the timeout to the get user permissions workspaces params

func (*GetUserPermissionsWorkspacesParams) WithContext

WithContext adds the context to the get user permissions workspaces params

func (*GetUserPermissionsWorkspacesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user permissions workspaces params

func (*GetUserPermissionsWorkspacesParams) WithTimeout

WithTimeout adds the timeout to the get user permissions workspaces params

func (*GetUserPermissionsWorkspacesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserPermissionsWorkspacesReader

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

GetUserPermissionsWorkspacesReader is a Reader for the GetUserPermissionsWorkspaces structure.

func (*GetUserPermissionsWorkspacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserPermissionsWorkspacesUnauthorized

type GetUserPermissionsWorkspacesUnauthorized struct {
	Payload *models.Error
}

GetUserPermissionsWorkspacesUnauthorized handles this case with default header values.

The request wasn't authenticated.

func NewGetUserPermissionsWorkspacesUnauthorized

func NewGetUserPermissionsWorkspacesUnauthorized() *GetUserPermissionsWorkspacesUnauthorized

NewGetUserPermissionsWorkspacesUnauthorized creates a GetUserPermissionsWorkspacesUnauthorized with default headers values

func (*GetUserPermissionsWorkspacesUnauthorized) Error

func (*GetUserPermissionsWorkspacesUnauthorized) GetPayload

type GetWorkspacesOK

type GetWorkspacesOK struct {
	Payload *models.PaginatedWorkspaces
}

GetWorkspacesOK handles this case with default header values.

The list of workspaces accessible by the user.

func NewGetWorkspacesOK

func NewGetWorkspacesOK() *GetWorkspacesOK

NewGetWorkspacesOK creates a GetWorkspacesOK with default headers values

func (*GetWorkspacesOK) Error

func (o *GetWorkspacesOK) Error() string

func (*GetWorkspacesOK) GetPayload

func (o *GetWorkspacesOK) GetPayload() *models.PaginatedWorkspaces

type GetWorkspacesParams

type GetWorkspacesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewGetWorkspacesParams

func NewGetWorkspacesParams() *GetWorkspacesParams

NewGetWorkspacesParams creates a new GetWorkspacesParams object with the default values initialized.

func NewGetWorkspacesParamsWithContext

func NewGetWorkspacesParamsWithContext(ctx context.Context) *GetWorkspacesParams

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

func NewGetWorkspacesParamsWithHTTPClient

func NewGetWorkspacesParamsWithHTTPClient(client *http.Client) *GetWorkspacesParams

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

func NewGetWorkspacesParamsWithTimeout

func NewGetWorkspacesParamsWithTimeout(timeout time.Duration) *GetWorkspacesParams

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

func (*GetWorkspacesParams) SetContext

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

SetContext adds the context to the get workspaces params

func (*GetWorkspacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workspaces params

func (*GetWorkspacesParams) SetTimeout

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

SetTimeout adds the timeout to the get workspaces params

func (*GetWorkspacesParams) WithContext

WithContext adds the context to the get workspaces params

func (*GetWorkspacesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get workspaces params

func (*GetWorkspacesParams) WithTimeout

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

WithTimeout adds the timeout to the get workspaces params

func (*GetWorkspacesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetWorkspacesReader

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

GetWorkspacesReader is a Reader for the GetWorkspaces structure.

func (*GetWorkspacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWorkspacesUnauthorized

type GetWorkspacesUnauthorized struct {
	Payload *models.Error
}

GetWorkspacesUnauthorized handles this case with default header values.

The request wasn't authenticated.

func NewGetWorkspacesUnauthorized

func NewGetWorkspacesUnauthorized() *GetWorkspacesUnauthorized

NewGetWorkspacesUnauthorized creates a GetWorkspacesUnauthorized with default headers values

func (*GetWorkspacesUnauthorized) Error

func (o *GetWorkspacesUnauthorized) Error() string

func (*GetWorkspacesUnauthorized) GetPayload

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

type GetWorkspacesWorkspaceHooksForbidden

type GetWorkspacesWorkspaceHooksForbidden struct {
	Payload *models.Error
}

GetWorkspacesWorkspaceHooksForbidden handles this case with default header values.

If the authenticated user is not an owner on the specified workspace.

func NewGetWorkspacesWorkspaceHooksForbidden

func NewGetWorkspacesWorkspaceHooksForbidden() *GetWorkspacesWorkspaceHooksForbidden

NewGetWorkspacesWorkspaceHooksForbidden creates a GetWorkspacesWorkspaceHooksForbidden with default headers values

func (*GetWorkspacesWorkspaceHooksForbidden) Error

func (*GetWorkspacesWorkspaceHooksForbidden) GetPayload

type GetWorkspacesWorkspaceHooksNotFound

type GetWorkspacesWorkspaceHooksNotFound struct {
	Payload *models.Error
}

GetWorkspacesWorkspaceHooksNotFound handles this case with default header values.

If the specified workspace does not exist.

func NewGetWorkspacesWorkspaceHooksNotFound

func NewGetWorkspacesWorkspaceHooksNotFound() *GetWorkspacesWorkspaceHooksNotFound

NewGetWorkspacesWorkspaceHooksNotFound creates a GetWorkspacesWorkspaceHooksNotFound with default headers values

func (*GetWorkspacesWorkspaceHooksNotFound) Error

func (*GetWorkspacesWorkspaceHooksNotFound) GetPayload

type GetWorkspacesWorkspaceHooksOK

type GetWorkspacesWorkspaceHooksOK struct {
	Payload *models.PaginatedWebhookSubscriptions
}

GetWorkspacesWorkspaceHooksOK handles this case with default header values.

The paginated list of installed webhooks.

func NewGetWorkspacesWorkspaceHooksOK

func NewGetWorkspacesWorkspaceHooksOK() *GetWorkspacesWorkspaceHooksOK

NewGetWorkspacesWorkspaceHooksOK creates a GetWorkspacesWorkspaceHooksOK with default headers values

func (*GetWorkspacesWorkspaceHooksOK) Error

func (*GetWorkspacesWorkspaceHooksOK) GetPayload

type GetWorkspacesWorkspaceHooksParams

type GetWorkspacesWorkspaceHooksParams struct {

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

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

func NewGetWorkspacesWorkspaceHooksParams

func NewGetWorkspacesWorkspaceHooksParams() *GetWorkspacesWorkspaceHooksParams

NewGetWorkspacesWorkspaceHooksParams creates a new GetWorkspacesWorkspaceHooksParams object with the default values initialized.

func NewGetWorkspacesWorkspaceHooksParamsWithContext

func NewGetWorkspacesWorkspaceHooksParamsWithContext(ctx context.Context) *GetWorkspacesWorkspaceHooksParams

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

func NewGetWorkspacesWorkspaceHooksParamsWithHTTPClient

func NewGetWorkspacesWorkspaceHooksParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceHooksParams

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

func NewGetWorkspacesWorkspaceHooksParamsWithTimeout

func NewGetWorkspacesWorkspaceHooksParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceHooksParams

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

func (*GetWorkspacesWorkspaceHooksParams) SetContext

SetContext adds the context to the get workspaces workspace hooks params

func (*GetWorkspacesWorkspaceHooksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workspaces workspace hooks params

func (*GetWorkspacesWorkspaceHooksParams) SetTimeout

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

SetTimeout adds the timeout to the get workspaces workspace hooks params

func (*GetWorkspacesWorkspaceHooksParams) SetWorkspace

func (o *GetWorkspacesWorkspaceHooksParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the get workspaces workspace hooks params

func (*GetWorkspacesWorkspaceHooksParams) WithContext

WithContext adds the context to the get workspaces workspace hooks params

func (*GetWorkspacesWorkspaceHooksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get workspaces workspace hooks params

func (*GetWorkspacesWorkspaceHooksParams) WithTimeout

WithTimeout adds the timeout to the get workspaces workspace hooks params

func (*GetWorkspacesWorkspaceHooksParams) WithWorkspace

WithWorkspace adds the workspace to the get workspaces workspace hooks params

func (*GetWorkspacesWorkspaceHooksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetWorkspacesWorkspaceHooksReader

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

GetWorkspacesWorkspaceHooksReader is a Reader for the GetWorkspacesWorkspaceHooks structure.

func (*GetWorkspacesWorkspaceHooksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWorkspacesWorkspaceHooksUIDNotFound

type GetWorkspacesWorkspaceHooksUIDNotFound struct {
	Payload *models.Error
}

GetWorkspacesWorkspaceHooksUIDNotFound handles this case with default header values.

If the webhook or workspace does not exist.

func NewGetWorkspacesWorkspaceHooksUIDNotFound

func NewGetWorkspacesWorkspaceHooksUIDNotFound() *GetWorkspacesWorkspaceHooksUIDNotFound

NewGetWorkspacesWorkspaceHooksUIDNotFound creates a GetWorkspacesWorkspaceHooksUIDNotFound with default headers values

func (*GetWorkspacesWorkspaceHooksUIDNotFound) Error

func (*GetWorkspacesWorkspaceHooksUIDNotFound) GetPayload

type GetWorkspacesWorkspaceHooksUIDOK

type GetWorkspacesWorkspaceHooksUIDOK struct {
	Payload *models.WebhookSubscription
}

GetWorkspacesWorkspaceHooksUIDOK handles this case with default header values.

The webhook subscription object.

func NewGetWorkspacesWorkspaceHooksUIDOK

func NewGetWorkspacesWorkspaceHooksUIDOK() *GetWorkspacesWorkspaceHooksUIDOK

NewGetWorkspacesWorkspaceHooksUIDOK creates a GetWorkspacesWorkspaceHooksUIDOK with default headers values

func (*GetWorkspacesWorkspaceHooksUIDOK) Error

func (*GetWorkspacesWorkspaceHooksUIDOK) GetPayload

type GetWorkspacesWorkspaceHooksUIDParams

type GetWorkspacesWorkspaceHooksUIDParams struct {

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

GetWorkspacesWorkspaceHooksUIDParams contains all the parameters to send to the API endpoint for the get workspaces workspace hooks UID operation typically these are written to a http.Request

func NewGetWorkspacesWorkspaceHooksUIDParams

func NewGetWorkspacesWorkspaceHooksUIDParams() *GetWorkspacesWorkspaceHooksUIDParams

NewGetWorkspacesWorkspaceHooksUIDParams creates a new GetWorkspacesWorkspaceHooksUIDParams object with the default values initialized.

func NewGetWorkspacesWorkspaceHooksUIDParamsWithContext

func NewGetWorkspacesWorkspaceHooksUIDParamsWithContext(ctx context.Context) *GetWorkspacesWorkspaceHooksUIDParams

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

func NewGetWorkspacesWorkspaceHooksUIDParamsWithHTTPClient

func NewGetWorkspacesWorkspaceHooksUIDParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceHooksUIDParams

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

func NewGetWorkspacesWorkspaceHooksUIDParamsWithTimeout

func NewGetWorkspacesWorkspaceHooksUIDParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceHooksUIDParams

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

func (*GetWorkspacesWorkspaceHooksUIDParams) SetContext

SetContext adds the context to the get workspaces workspace hooks UID params

func (*GetWorkspacesWorkspaceHooksUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workspaces workspace hooks UID params

func (*GetWorkspacesWorkspaceHooksUIDParams) SetTimeout

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

SetTimeout adds the timeout to the get workspaces workspace hooks UID params

func (*GetWorkspacesWorkspaceHooksUIDParams) SetUID

SetUID adds the uid to the get workspaces workspace hooks UID params

func (*GetWorkspacesWorkspaceHooksUIDParams) SetWorkspace

func (o *GetWorkspacesWorkspaceHooksUIDParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the get workspaces workspace hooks UID params

func (*GetWorkspacesWorkspaceHooksUIDParams) WithContext

WithContext adds the context to the get workspaces workspace hooks UID params

func (*GetWorkspacesWorkspaceHooksUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get workspaces workspace hooks UID params

func (*GetWorkspacesWorkspaceHooksUIDParams) WithTimeout

WithTimeout adds the timeout to the get workspaces workspace hooks UID params

func (*GetWorkspacesWorkspaceHooksUIDParams) WithUID

WithUID adds the uid to the get workspaces workspace hooks UID params

func (*GetWorkspacesWorkspaceHooksUIDParams) WithWorkspace

WithWorkspace adds the workspace to the get workspaces workspace hooks UID params

func (*GetWorkspacesWorkspaceHooksUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetWorkspacesWorkspaceHooksUIDReader

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

GetWorkspacesWorkspaceHooksUIDReader is a Reader for the GetWorkspacesWorkspaceHooksUID structure.

func (*GetWorkspacesWorkspaceHooksUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWorkspacesWorkspaceMembersMemberNotFound

type GetWorkspacesWorkspaceMembersMemberNotFound struct {
	Payload *models.Error
}

GetWorkspacesWorkspaceMembersMemberNotFound handles this case with default header values.

A workspace cannot be found, or a user cannot be found, or the user is not a a member of the workspace.

func NewGetWorkspacesWorkspaceMembersMemberNotFound

func NewGetWorkspacesWorkspaceMembersMemberNotFound() *GetWorkspacesWorkspaceMembersMemberNotFound

NewGetWorkspacesWorkspaceMembersMemberNotFound creates a GetWorkspacesWorkspaceMembersMemberNotFound with default headers values

func (*GetWorkspacesWorkspaceMembersMemberNotFound) Error

func (*GetWorkspacesWorkspaceMembersMemberNotFound) GetPayload

type GetWorkspacesWorkspaceMembersMemberOK

type GetWorkspacesWorkspaceMembersMemberOK struct {
	Payload *models.WorkspaceMembership
}

GetWorkspacesWorkspaceMembersMemberOK handles this case with default header values.

The user that is part of a workspace.

func NewGetWorkspacesWorkspaceMembersMemberOK

func NewGetWorkspacesWorkspaceMembersMemberOK() *GetWorkspacesWorkspaceMembersMemberOK

NewGetWorkspacesWorkspaceMembersMemberOK creates a GetWorkspacesWorkspaceMembersMemberOK with default headers values

func (*GetWorkspacesWorkspaceMembersMemberOK) Error

func (*GetWorkspacesWorkspaceMembersMemberOK) GetPayload

type GetWorkspacesWorkspaceMembersMemberParams

type GetWorkspacesWorkspaceMembersMemberParams struct {

	/*Member
	  Member's UUID or Atlassian ID.

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

GetWorkspacesWorkspaceMembersMemberParams contains all the parameters to send to the API endpoint for the get workspaces workspace members member operation typically these are written to a http.Request

func NewGetWorkspacesWorkspaceMembersMemberParams

func NewGetWorkspacesWorkspaceMembersMemberParams() *GetWorkspacesWorkspaceMembersMemberParams

NewGetWorkspacesWorkspaceMembersMemberParams creates a new GetWorkspacesWorkspaceMembersMemberParams object with the default values initialized.

func NewGetWorkspacesWorkspaceMembersMemberParamsWithContext

func NewGetWorkspacesWorkspaceMembersMemberParamsWithContext(ctx context.Context) *GetWorkspacesWorkspaceMembersMemberParams

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

func NewGetWorkspacesWorkspaceMembersMemberParamsWithHTTPClient

func NewGetWorkspacesWorkspaceMembersMemberParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceMembersMemberParams

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

func NewGetWorkspacesWorkspaceMembersMemberParamsWithTimeout

func NewGetWorkspacesWorkspaceMembersMemberParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceMembersMemberParams

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

func (*GetWorkspacesWorkspaceMembersMemberParams) SetContext

SetContext adds the context to the get workspaces workspace members member params

func (*GetWorkspacesWorkspaceMembersMemberParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workspaces workspace members member params

func (*GetWorkspacesWorkspaceMembersMemberParams) SetMember

SetMember adds the member to the get workspaces workspace members member params

func (*GetWorkspacesWorkspaceMembersMemberParams) SetTimeout

SetTimeout adds the timeout to the get workspaces workspace members member params

func (*GetWorkspacesWorkspaceMembersMemberParams) SetWorkspace

func (o *GetWorkspacesWorkspaceMembersMemberParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the get workspaces workspace members member params

func (*GetWorkspacesWorkspaceMembersMemberParams) WithContext

WithContext adds the context to the get workspaces workspace members member params

func (*GetWorkspacesWorkspaceMembersMemberParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get workspaces workspace members member params

func (*GetWorkspacesWorkspaceMembersMemberParams) WithMember

WithMember adds the member to the get workspaces workspace members member params

func (*GetWorkspacesWorkspaceMembersMemberParams) WithTimeout

WithTimeout adds the timeout to the get workspaces workspace members member params

func (*GetWorkspacesWorkspaceMembersMemberParams) WithWorkspace

WithWorkspace adds the workspace to the get workspaces workspace members member params

func (*GetWorkspacesWorkspaceMembersMemberParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetWorkspacesWorkspaceMembersMemberReader

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

GetWorkspacesWorkspaceMembersMemberReader is a Reader for the GetWorkspacesWorkspaceMembersMember structure.

func (*GetWorkspacesWorkspaceMembersMemberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWorkspacesWorkspaceMembersMemberUnauthorized

type GetWorkspacesWorkspaceMembersMemberUnauthorized struct {
	Payload *models.Error
}

GetWorkspacesWorkspaceMembersMemberUnauthorized handles this case with default header values.

The request wasn't authenticated.

func NewGetWorkspacesWorkspaceMembersMemberUnauthorized

func NewGetWorkspacesWorkspaceMembersMemberUnauthorized() *GetWorkspacesWorkspaceMembersMemberUnauthorized

NewGetWorkspacesWorkspaceMembersMemberUnauthorized creates a GetWorkspacesWorkspaceMembersMemberUnauthorized with default headers values

func (*GetWorkspacesWorkspaceMembersMemberUnauthorized) Error

func (*GetWorkspacesWorkspaceMembersMemberUnauthorized) GetPayload

type GetWorkspacesWorkspaceMembersOK

type GetWorkspacesWorkspaceMembersOK struct {
	Payload *models.PaginatedWorkspaceMemberships
}

GetWorkspacesWorkspaceMembersOK handles this case with default header values.

The list of users that are part of a workspace.

func NewGetWorkspacesWorkspaceMembersOK

func NewGetWorkspacesWorkspaceMembersOK() *GetWorkspacesWorkspaceMembersOK

NewGetWorkspacesWorkspaceMembersOK creates a GetWorkspacesWorkspaceMembersOK with default headers values

func (*GetWorkspacesWorkspaceMembersOK) Error

func (*GetWorkspacesWorkspaceMembersOK) GetPayload

type GetWorkspacesWorkspaceMembersParams

type GetWorkspacesWorkspaceMembersParams struct {

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

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

func NewGetWorkspacesWorkspaceMembersParams

func NewGetWorkspacesWorkspaceMembersParams() *GetWorkspacesWorkspaceMembersParams

NewGetWorkspacesWorkspaceMembersParams creates a new GetWorkspacesWorkspaceMembersParams object with the default values initialized.

func NewGetWorkspacesWorkspaceMembersParamsWithContext

func NewGetWorkspacesWorkspaceMembersParamsWithContext(ctx context.Context) *GetWorkspacesWorkspaceMembersParams

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

func NewGetWorkspacesWorkspaceMembersParamsWithHTTPClient

func NewGetWorkspacesWorkspaceMembersParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceMembersParams

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

func NewGetWorkspacesWorkspaceMembersParamsWithTimeout

func NewGetWorkspacesWorkspaceMembersParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceMembersParams

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

func (*GetWorkspacesWorkspaceMembersParams) SetContext

SetContext adds the context to the get workspaces workspace members params

func (*GetWorkspacesWorkspaceMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workspaces workspace members params

func (*GetWorkspacesWorkspaceMembersParams) SetTimeout

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

SetTimeout adds the timeout to the get workspaces workspace members params

func (*GetWorkspacesWorkspaceMembersParams) SetWorkspace

func (o *GetWorkspacesWorkspaceMembersParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the get workspaces workspace members params

func (*GetWorkspacesWorkspaceMembersParams) WithContext

WithContext adds the context to the get workspaces workspace members params

func (*GetWorkspacesWorkspaceMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get workspaces workspace members params

func (*GetWorkspacesWorkspaceMembersParams) WithTimeout

WithTimeout adds the timeout to the get workspaces workspace members params

func (*GetWorkspacesWorkspaceMembersParams) WithWorkspace

WithWorkspace adds the workspace to the get workspaces workspace members params

func (*GetWorkspacesWorkspaceMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetWorkspacesWorkspaceMembersReader

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

GetWorkspacesWorkspaceMembersReader is a Reader for the GetWorkspacesWorkspaceMembers structure.

func (*GetWorkspacesWorkspaceMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWorkspacesWorkspaceMembersUnauthorized

type GetWorkspacesWorkspaceMembersUnauthorized struct {
	Payload *models.Error
}

GetWorkspacesWorkspaceMembersUnauthorized handles this case with default header values.

The request wasn't authenticated.

func NewGetWorkspacesWorkspaceMembersUnauthorized

func NewGetWorkspacesWorkspaceMembersUnauthorized() *GetWorkspacesWorkspaceMembersUnauthorized

NewGetWorkspacesWorkspaceMembersUnauthorized creates a GetWorkspacesWorkspaceMembersUnauthorized with default headers values

func (*GetWorkspacesWorkspaceMembersUnauthorized) Error

func (*GetWorkspacesWorkspaceMembersUnauthorized) GetPayload

type GetWorkspacesWorkspaceNotFound

type GetWorkspacesWorkspaceNotFound struct {
	Payload *models.Error
}

GetWorkspacesWorkspaceNotFound handles this case with default header values.

If no workspace exists for the specified name or UUID.

func NewGetWorkspacesWorkspaceNotFound

func NewGetWorkspacesWorkspaceNotFound() *GetWorkspacesWorkspaceNotFound

NewGetWorkspacesWorkspaceNotFound creates a GetWorkspacesWorkspaceNotFound with default headers values

func (*GetWorkspacesWorkspaceNotFound) Error

func (*GetWorkspacesWorkspaceNotFound) GetPayload

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

type GetWorkspacesWorkspaceOK

type GetWorkspacesWorkspaceOK struct {
	Payload *models.Workspace
}

GetWorkspacesWorkspaceOK handles this case with default header values.

The workspace.

func NewGetWorkspacesWorkspaceOK

func NewGetWorkspacesWorkspaceOK() *GetWorkspacesWorkspaceOK

NewGetWorkspacesWorkspaceOK creates a GetWorkspacesWorkspaceOK with default headers values

func (*GetWorkspacesWorkspaceOK) Error

func (o *GetWorkspacesWorkspaceOK) Error() string

func (*GetWorkspacesWorkspaceOK) GetPayload

func (o *GetWorkspacesWorkspaceOK) GetPayload() *models.Workspace

type GetWorkspacesWorkspaceParams

type GetWorkspacesWorkspaceParams struct {

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

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

func NewGetWorkspacesWorkspaceParams

func NewGetWorkspacesWorkspaceParams() *GetWorkspacesWorkspaceParams

NewGetWorkspacesWorkspaceParams creates a new GetWorkspacesWorkspaceParams object with the default values initialized.

func NewGetWorkspacesWorkspaceParamsWithContext

func NewGetWorkspacesWorkspaceParamsWithContext(ctx context.Context) *GetWorkspacesWorkspaceParams

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

func NewGetWorkspacesWorkspaceParamsWithHTTPClient

func NewGetWorkspacesWorkspaceParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceParams

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

func NewGetWorkspacesWorkspaceParamsWithTimeout

func NewGetWorkspacesWorkspaceParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceParams

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

func (*GetWorkspacesWorkspaceParams) SetContext

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

SetContext adds the context to the get workspaces workspace params

func (*GetWorkspacesWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workspaces workspace params

func (*GetWorkspacesWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the get workspaces workspace params

func (*GetWorkspacesWorkspaceParams) SetWorkspace

func (o *GetWorkspacesWorkspaceParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the get workspaces workspace params

func (*GetWorkspacesWorkspaceParams) WithContext

WithContext adds the context to the get workspaces workspace params

func (*GetWorkspacesWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get workspaces workspace params

func (*GetWorkspacesWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get workspaces workspace params

func (*GetWorkspacesWorkspaceParams) WithWorkspace

WithWorkspace adds the workspace to the get workspaces workspace params

func (*GetWorkspacesWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetWorkspacesWorkspacePermissionsOK

type GetWorkspacesWorkspacePermissionsOK struct {
	Payload *models.PaginatedWorkspaceMemberships
}

GetWorkspacesWorkspacePermissionsOK handles this case with default header values.

The list of users that are part of a workspace, along with their permission.

func NewGetWorkspacesWorkspacePermissionsOK

func NewGetWorkspacesWorkspacePermissionsOK() *GetWorkspacesWorkspacePermissionsOK

NewGetWorkspacesWorkspacePermissionsOK creates a GetWorkspacesWorkspacePermissionsOK with default headers values

func (*GetWorkspacesWorkspacePermissionsOK) Error

func (*GetWorkspacesWorkspacePermissionsOK) GetPayload

type GetWorkspacesWorkspacePermissionsParams

type GetWorkspacesWorkspacePermissionsParams struct {

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

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

func NewGetWorkspacesWorkspacePermissionsParams

func NewGetWorkspacesWorkspacePermissionsParams() *GetWorkspacesWorkspacePermissionsParams

NewGetWorkspacesWorkspacePermissionsParams creates a new GetWorkspacesWorkspacePermissionsParams object with the default values initialized.

func NewGetWorkspacesWorkspacePermissionsParamsWithContext

func NewGetWorkspacesWorkspacePermissionsParamsWithContext(ctx context.Context) *GetWorkspacesWorkspacePermissionsParams

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

func NewGetWorkspacesWorkspacePermissionsParamsWithHTTPClient

func NewGetWorkspacesWorkspacePermissionsParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspacePermissionsParams

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

func NewGetWorkspacesWorkspacePermissionsParamsWithTimeout

func NewGetWorkspacesWorkspacePermissionsParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspacePermissionsParams

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

func (*GetWorkspacesWorkspacePermissionsParams) SetContext

SetContext adds the context to the get workspaces workspace permissions params

func (*GetWorkspacesWorkspacePermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workspaces workspace permissions params

func (*GetWorkspacesWorkspacePermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the get workspaces workspace permissions params

func (*GetWorkspacesWorkspacePermissionsParams) SetWorkspace

func (o *GetWorkspacesWorkspacePermissionsParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the get workspaces workspace permissions params

func (*GetWorkspacesWorkspacePermissionsParams) WithContext

WithContext adds the context to the get workspaces workspace permissions params

func (*GetWorkspacesWorkspacePermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get workspaces workspace permissions params

func (*GetWorkspacesWorkspacePermissionsParams) WithTimeout

WithTimeout adds the timeout to the get workspaces workspace permissions params

func (*GetWorkspacesWorkspacePermissionsParams) WithWorkspace

WithWorkspace adds the workspace to the get workspaces workspace permissions params

func (*GetWorkspacesWorkspacePermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetWorkspacesWorkspacePermissionsReader

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

GetWorkspacesWorkspacePermissionsReader is a Reader for the GetWorkspacesWorkspacePermissions structure.

func (*GetWorkspacesWorkspacePermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWorkspacesWorkspacePermissionsUnauthorized

type GetWorkspacesWorkspacePermissionsUnauthorized struct {
	Payload *models.Error
}

GetWorkspacesWorkspacePermissionsUnauthorized handles this case with default header values.

The request wasn't authenticated.

func NewGetWorkspacesWorkspacePermissionsUnauthorized

func NewGetWorkspacesWorkspacePermissionsUnauthorized() *GetWorkspacesWorkspacePermissionsUnauthorized

NewGetWorkspacesWorkspacePermissionsUnauthorized creates a GetWorkspacesWorkspacePermissionsUnauthorized with default headers values

func (*GetWorkspacesWorkspacePermissionsUnauthorized) Error

func (*GetWorkspacesWorkspacePermissionsUnauthorized) GetPayload

type GetWorkspacesWorkspaceProjectsNotFound

type GetWorkspacesWorkspaceProjectsNotFound struct {
	Payload *models.Error
}

GetWorkspacesWorkspaceProjectsNotFound handles this case with default header values.

A workspace doesn't exist at this location.

func NewGetWorkspacesWorkspaceProjectsNotFound

func NewGetWorkspacesWorkspaceProjectsNotFound() *GetWorkspacesWorkspaceProjectsNotFound

NewGetWorkspacesWorkspaceProjectsNotFound creates a GetWorkspacesWorkspaceProjectsNotFound with default headers values

func (*GetWorkspacesWorkspaceProjectsNotFound) Error

func (*GetWorkspacesWorkspaceProjectsNotFound) GetPayload

type GetWorkspacesWorkspaceProjectsOK

type GetWorkspacesWorkspaceProjectsOK struct {
	Payload *models.PaginatedProjects
}

GetWorkspacesWorkspaceProjectsOK handles this case with default header values.

The list of projects in a workspace.

func NewGetWorkspacesWorkspaceProjectsOK

func NewGetWorkspacesWorkspaceProjectsOK() *GetWorkspacesWorkspaceProjectsOK

NewGetWorkspacesWorkspaceProjectsOK creates a GetWorkspacesWorkspaceProjectsOK with default headers values

func (*GetWorkspacesWorkspaceProjectsOK) Error

func (*GetWorkspacesWorkspaceProjectsOK) GetPayload

type GetWorkspacesWorkspaceProjectsParams

type GetWorkspacesWorkspaceProjectsParams struct {

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

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

func NewGetWorkspacesWorkspaceProjectsParams

func NewGetWorkspacesWorkspaceProjectsParams() *GetWorkspacesWorkspaceProjectsParams

NewGetWorkspacesWorkspaceProjectsParams creates a new GetWorkspacesWorkspaceProjectsParams object with the default values initialized.

func NewGetWorkspacesWorkspaceProjectsParamsWithContext

func NewGetWorkspacesWorkspaceProjectsParamsWithContext(ctx context.Context) *GetWorkspacesWorkspaceProjectsParams

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

func NewGetWorkspacesWorkspaceProjectsParamsWithHTTPClient

func NewGetWorkspacesWorkspaceProjectsParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceProjectsParams

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

func NewGetWorkspacesWorkspaceProjectsParamsWithTimeout

func NewGetWorkspacesWorkspaceProjectsParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceProjectsParams

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

func (*GetWorkspacesWorkspaceProjectsParams) SetContext

SetContext adds the context to the get workspaces workspace projects params

func (*GetWorkspacesWorkspaceProjectsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workspaces workspace projects params

func (*GetWorkspacesWorkspaceProjectsParams) SetTimeout

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

SetTimeout adds the timeout to the get workspaces workspace projects params

func (*GetWorkspacesWorkspaceProjectsParams) SetWorkspace

func (o *GetWorkspacesWorkspaceProjectsParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the get workspaces workspace projects params

func (*GetWorkspacesWorkspaceProjectsParams) WithContext

WithContext adds the context to the get workspaces workspace projects params

func (*GetWorkspacesWorkspaceProjectsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get workspaces workspace projects params

func (*GetWorkspacesWorkspaceProjectsParams) WithTimeout

WithTimeout adds the timeout to the get workspaces workspace projects params

func (*GetWorkspacesWorkspaceProjectsParams) WithWorkspace

WithWorkspace adds the workspace to the get workspaces workspace projects params

func (*GetWorkspacesWorkspaceProjectsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetWorkspacesWorkspaceProjectsReader

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

GetWorkspacesWorkspaceProjectsReader is a Reader for the GetWorkspacesWorkspaceProjects structure.

func (*GetWorkspacesWorkspaceProjectsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWorkspacesWorkspaceReader

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

GetWorkspacesWorkspaceReader is a Reader for the GetWorkspacesWorkspace structure.

func (*GetWorkspacesWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostWorkspacesWorkspaceHooksCreated

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

	Payload *models.WebhookSubscription
}

PostWorkspacesWorkspaceHooksCreated handles this case with default header values.

The newly installed webhook.

func NewPostWorkspacesWorkspaceHooksCreated

func NewPostWorkspacesWorkspaceHooksCreated() *PostWorkspacesWorkspaceHooksCreated

NewPostWorkspacesWorkspaceHooksCreated creates a PostWorkspacesWorkspaceHooksCreated with default headers values

func (*PostWorkspacesWorkspaceHooksCreated) Error

func (*PostWorkspacesWorkspaceHooksCreated) GetPayload

type PostWorkspacesWorkspaceHooksForbidden

type PostWorkspacesWorkspaceHooksForbidden struct {
	Payload *models.Error
}

PostWorkspacesWorkspaceHooksForbidden handles this case with default header values.

If the authenticated user is not an owner on the specified workspace.

func NewPostWorkspacesWorkspaceHooksForbidden

func NewPostWorkspacesWorkspaceHooksForbidden() *PostWorkspacesWorkspaceHooksForbidden

NewPostWorkspacesWorkspaceHooksForbidden creates a PostWorkspacesWorkspaceHooksForbidden with default headers values

func (*PostWorkspacesWorkspaceHooksForbidden) Error

func (*PostWorkspacesWorkspaceHooksForbidden) GetPayload

type PostWorkspacesWorkspaceHooksNotFound

type PostWorkspacesWorkspaceHooksNotFound struct {
	Payload *models.Error
}

PostWorkspacesWorkspaceHooksNotFound handles this case with default header values.

If the specified workspace does not exist.

func NewPostWorkspacesWorkspaceHooksNotFound

func NewPostWorkspacesWorkspaceHooksNotFound() *PostWorkspacesWorkspaceHooksNotFound

NewPostWorkspacesWorkspaceHooksNotFound creates a PostWorkspacesWorkspaceHooksNotFound with default headers values

func (*PostWorkspacesWorkspaceHooksNotFound) Error

func (*PostWorkspacesWorkspaceHooksNotFound) GetPayload

type PostWorkspacesWorkspaceHooksParams

type PostWorkspacesWorkspaceHooksParams struct {

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

PostWorkspacesWorkspaceHooksParams contains all the parameters to send to the API endpoint for the post workspaces workspace hooks operation typically these are written to a http.Request

func NewPostWorkspacesWorkspaceHooksParams

func NewPostWorkspacesWorkspaceHooksParams() *PostWorkspacesWorkspaceHooksParams

NewPostWorkspacesWorkspaceHooksParams creates a new PostWorkspacesWorkspaceHooksParams object with the default values initialized.

func NewPostWorkspacesWorkspaceHooksParamsWithContext

func NewPostWorkspacesWorkspaceHooksParamsWithContext(ctx context.Context) *PostWorkspacesWorkspaceHooksParams

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

func NewPostWorkspacesWorkspaceHooksParamsWithHTTPClient

func NewPostWorkspacesWorkspaceHooksParamsWithHTTPClient(client *http.Client) *PostWorkspacesWorkspaceHooksParams

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

func NewPostWorkspacesWorkspaceHooksParamsWithTimeout

func NewPostWorkspacesWorkspaceHooksParamsWithTimeout(timeout time.Duration) *PostWorkspacesWorkspaceHooksParams

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

func (*PostWorkspacesWorkspaceHooksParams) SetContext

SetContext adds the context to the post workspaces workspace hooks params

func (*PostWorkspacesWorkspaceHooksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post workspaces workspace hooks params

func (*PostWorkspacesWorkspaceHooksParams) SetTimeout

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

SetTimeout adds the timeout to the post workspaces workspace hooks params

func (*PostWorkspacesWorkspaceHooksParams) SetWorkspace

func (o *PostWorkspacesWorkspaceHooksParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the post workspaces workspace hooks params

func (*PostWorkspacesWorkspaceHooksParams) WithContext

WithContext adds the context to the post workspaces workspace hooks params

func (*PostWorkspacesWorkspaceHooksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post workspaces workspace hooks params

func (*PostWorkspacesWorkspaceHooksParams) WithTimeout

WithTimeout adds the timeout to the post workspaces workspace hooks params

func (*PostWorkspacesWorkspaceHooksParams) WithWorkspace

WithWorkspace adds the workspace to the post workspaces workspace hooks params

func (*PostWorkspacesWorkspaceHooksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostWorkspacesWorkspaceHooksReader

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

PostWorkspacesWorkspaceHooksReader is a Reader for the PostWorkspacesWorkspaceHooks structure.

func (*PostWorkspacesWorkspaceHooksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutWorkspacesWorkspaceHooksUIDForbidden

type PutWorkspacesWorkspaceHooksUIDForbidden struct {
	Payload *models.Error
}

PutWorkspacesWorkspaceHooksUIDForbidden handles this case with default header values.

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

func NewPutWorkspacesWorkspaceHooksUIDForbidden

func NewPutWorkspacesWorkspaceHooksUIDForbidden() *PutWorkspacesWorkspaceHooksUIDForbidden

NewPutWorkspacesWorkspaceHooksUIDForbidden creates a PutWorkspacesWorkspaceHooksUIDForbidden with default headers values

func (*PutWorkspacesWorkspaceHooksUIDForbidden) Error

func (*PutWorkspacesWorkspaceHooksUIDForbidden) GetPayload

type PutWorkspacesWorkspaceHooksUIDNotFound

type PutWorkspacesWorkspaceHooksUIDNotFound struct {
	Payload *models.Error
}

PutWorkspacesWorkspaceHooksUIDNotFound handles this case with default header values.

If the webhook or workspace does not exist.

func NewPutWorkspacesWorkspaceHooksUIDNotFound

func NewPutWorkspacesWorkspaceHooksUIDNotFound() *PutWorkspacesWorkspaceHooksUIDNotFound

NewPutWorkspacesWorkspaceHooksUIDNotFound creates a PutWorkspacesWorkspaceHooksUIDNotFound with default headers values

func (*PutWorkspacesWorkspaceHooksUIDNotFound) Error

func (*PutWorkspacesWorkspaceHooksUIDNotFound) GetPayload

type PutWorkspacesWorkspaceHooksUIDOK

type PutWorkspacesWorkspaceHooksUIDOK struct {
	Payload *models.WebhookSubscription
}

PutWorkspacesWorkspaceHooksUIDOK handles this case with default header values.

The webhook subscription object.

func NewPutWorkspacesWorkspaceHooksUIDOK

func NewPutWorkspacesWorkspaceHooksUIDOK() *PutWorkspacesWorkspaceHooksUIDOK

NewPutWorkspacesWorkspaceHooksUIDOK creates a PutWorkspacesWorkspaceHooksUIDOK with default headers values

func (*PutWorkspacesWorkspaceHooksUIDOK) Error

func (*PutWorkspacesWorkspaceHooksUIDOK) GetPayload

type PutWorkspacesWorkspaceHooksUIDParams

type PutWorkspacesWorkspaceHooksUIDParams struct {

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

PutWorkspacesWorkspaceHooksUIDParams contains all the parameters to send to the API endpoint for the put workspaces workspace hooks UID operation typically these are written to a http.Request

func NewPutWorkspacesWorkspaceHooksUIDParams

func NewPutWorkspacesWorkspaceHooksUIDParams() *PutWorkspacesWorkspaceHooksUIDParams

NewPutWorkspacesWorkspaceHooksUIDParams creates a new PutWorkspacesWorkspaceHooksUIDParams object with the default values initialized.

func NewPutWorkspacesWorkspaceHooksUIDParamsWithContext

func NewPutWorkspacesWorkspaceHooksUIDParamsWithContext(ctx context.Context) *PutWorkspacesWorkspaceHooksUIDParams

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

func NewPutWorkspacesWorkspaceHooksUIDParamsWithHTTPClient

func NewPutWorkspacesWorkspaceHooksUIDParamsWithHTTPClient(client *http.Client) *PutWorkspacesWorkspaceHooksUIDParams

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

func NewPutWorkspacesWorkspaceHooksUIDParamsWithTimeout

func NewPutWorkspacesWorkspaceHooksUIDParamsWithTimeout(timeout time.Duration) *PutWorkspacesWorkspaceHooksUIDParams

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

func (*PutWorkspacesWorkspaceHooksUIDParams) SetContext

SetContext adds the context to the put workspaces workspace hooks UID params

func (*PutWorkspacesWorkspaceHooksUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put workspaces workspace hooks UID params

func (*PutWorkspacesWorkspaceHooksUIDParams) SetTimeout

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

SetTimeout adds the timeout to the put workspaces workspace hooks UID params

func (*PutWorkspacesWorkspaceHooksUIDParams) SetUID

SetUID adds the uid to the put workspaces workspace hooks UID params

func (*PutWorkspacesWorkspaceHooksUIDParams) SetWorkspace

func (o *PutWorkspacesWorkspaceHooksUIDParams) SetWorkspace(workspace string)

SetWorkspace adds the workspace to the put workspaces workspace hooks UID params

func (*PutWorkspacesWorkspaceHooksUIDParams) WithContext

WithContext adds the context to the put workspaces workspace hooks UID params

func (*PutWorkspacesWorkspaceHooksUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put workspaces workspace hooks UID params

func (*PutWorkspacesWorkspaceHooksUIDParams) WithTimeout

WithTimeout adds the timeout to the put workspaces workspace hooks UID params

func (*PutWorkspacesWorkspaceHooksUIDParams) WithUID

WithUID adds the uid to the put workspaces workspace hooks UID params

func (*PutWorkspacesWorkspaceHooksUIDParams) WithWorkspace

WithWorkspace adds the workspace to the put workspaces workspace hooks UID params

func (*PutWorkspacesWorkspaceHooksUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutWorkspacesWorkspaceHooksUIDReader

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

PutWorkspacesWorkspaceHooksUIDReader is a Reader for the PutWorkspacesWorkspaceHooksUID structure.

func (*PutWorkspacesWorkspaceHooksUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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