Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteWorkspacesWorkspaceHooksUID(params *DeleteWorkspacesWorkspaceHooksUIDParams, ...) (*DeleteWorkspacesWorkspaceHooksUIDNoContent, error)
- func (a *Client) GetUserPermissionsWorkspaces(params *GetUserPermissionsWorkspacesParams, ...) (*GetUserPermissionsWorkspacesOK, error)
- func (a *Client) GetWorkspaces(params *GetWorkspacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesOK, error)
- func (a *Client) GetWorkspacesWorkspace(params *GetWorkspacesWorkspaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceOK, error)
- func (a *Client) GetWorkspacesWorkspaceHooks(params *GetWorkspacesWorkspaceHooksParams, ...) (*GetWorkspacesWorkspaceHooksOK, error)
- func (a *Client) GetWorkspacesWorkspaceHooksUID(params *GetWorkspacesWorkspaceHooksUIDParams, ...) (*GetWorkspacesWorkspaceHooksUIDOK, error)
- func (a *Client) GetWorkspacesWorkspaceMembers(params *GetWorkspacesWorkspaceMembersParams, ...) (*GetWorkspacesWorkspaceMembersOK, error)
- func (a *Client) GetWorkspacesWorkspaceMembersMember(params *GetWorkspacesWorkspaceMembersMemberParams, ...) (*GetWorkspacesWorkspaceMembersMemberOK, error)
- func (a *Client) GetWorkspacesWorkspacePermissions(params *GetWorkspacesWorkspacePermissionsParams, ...) (*GetWorkspacesWorkspacePermissionsOK, error)
- func (a *Client) GetWorkspacesWorkspaceProjects(params *GetWorkspacesWorkspaceProjectsParams, ...) (*GetWorkspacesWorkspaceProjectsOK, error)
- func (a *Client) PostWorkspacesWorkspaceHooks(params *PostWorkspacesWorkspaceHooksParams, ...) (*PostWorkspacesWorkspaceHooksCreated, error)
- func (a *Client) PutWorkspacesWorkspaceHooksUID(params *PutWorkspacesWorkspaceHooksUIDParams, ...) (*PutWorkspacesWorkspaceHooksUIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteWorkspacesWorkspaceHooksUIDForbidden
- type DeleteWorkspacesWorkspaceHooksUIDNoContent
- type DeleteWorkspacesWorkspaceHooksUIDNotFound
- type DeleteWorkspacesWorkspaceHooksUIDParams
- func NewDeleteWorkspacesWorkspaceHooksUIDParams() *DeleteWorkspacesWorkspaceHooksUIDParams
- func NewDeleteWorkspacesWorkspaceHooksUIDParamsWithContext(ctx context.Context) *DeleteWorkspacesWorkspaceHooksUIDParams
- func NewDeleteWorkspacesWorkspaceHooksUIDParamsWithHTTPClient(client *http.Client) *DeleteWorkspacesWorkspaceHooksUIDParams
- func NewDeleteWorkspacesWorkspaceHooksUIDParamsWithTimeout(timeout time.Duration) *DeleteWorkspacesWorkspaceHooksUIDParams
- func (o *DeleteWorkspacesWorkspaceHooksUIDParams) SetContext(ctx context.Context)
- func (o *DeleteWorkspacesWorkspaceHooksUIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteWorkspacesWorkspaceHooksUIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteWorkspacesWorkspaceHooksUIDParams) SetUID(uid string)
- func (o *DeleteWorkspacesWorkspaceHooksUIDParams) SetWorkspace(workspace string)
- func (o *DeleteWorkspacesWorkspaceHooksUIDParams) WithContext(ctx context.Context) *DeleteWorkspacesWorkspaceHooksUIDParams
- func (o *DeleteWorkspacesWorkspaceHooksUIDParams) WithHTTPClient(client *http.Client) *DeleteWorkspacesWorkspaceHooksUIDParams
- func (o *DeleteWorkspacesWorkspaceHooksUIDParams) WithTimeout(timeout time.Duration) *DeleteWorkspacesWorkspaceHooksUIDParams
- func (o *DeleteWorkspacesWorkspaceHooksUIDParams) WithUID(uid string) *DeleteWorkspacesWorkspaceHooksUIDParams
- func (o *DeleteWorkspacesWorkspaceHooksUIDParams) WithWorkspace(workspace string) *DeleteWorkspacesWorkspaceHooksUIDParams
- func (o *DeleteWorkspacesWorkspaceHooksUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteWorkspacesWorkspaceHooksUIDReader
- type GetUserPermissionsWorkspacesOK
- type GetUserPermissionsWorkspacesParams
- func NewGetUserPermissionsWorkspacesParams() *GetUserPermissionsWorkspacesParams
- func NewGetUserPermissionsWorkspacesParamsWithContext(ctx context.Context) *GetUserPermissionsWorkspacesParams
- func NewGetUserPermissionsWorkspacesParamsWithHTTPClient(client *http.Client) *GetUserPermissionsWorkspacesParams
- func NewGetUserPermissionsWorkspacesParamsWithTimeout(timeout time.Duration) *GetUserPermissionsWorkspacesParams
- func (o *GetUserPermissionsWorkspacesParams) SetContext(ctx context.Context)
- func (o *GetUserPermissionsWorkspacesParams) SetHTTPClient(client *http.Client)
- func (o *GetUserPermissionsWorkspacesParams) SetTimeout(timeout time.Duration)
- func (o *GetUserPermissionsWorkspacesParams) WithContext(ctx context.Context) *GetUserPermissionsWorkspacesParams
- func (o *GetUserPermissionsWorkspacesParams) WithHTTPClient(client *http.Client) *GetUserPermissionsWorkspacesParams
- func (o *GetUserPermissionsWorkspacesParams) WithTimeout(timeout time.Duration) *GetUserPermissionsWorkspacesParams
- func (o *GetUserPermissionsWorkspacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserPermissionsWorkspacesReader
- type GetUserPermissionsWorkspacesUnauthorized
- type GetWorkspacesOK
- type GetWorkspacesParams
- func (o *GetWorkspacesParams) SetContext(ctx context.Context)
- func (o *GetWorkspacesParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspacesParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspacesParams) WithContext(ctx context.Context) *GetWorkspacesParams
- func (o *GetWorkspacesParams) WithHTTPClient(client *http.Client) *GetWorkspacesParams
- func (o *GetWorkspacesParams) WithTimeout(timeout time.Duration) *GetWorkspacesParams
- func (o *GetWorkspacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspacesReader
- type GetWorkspacesUnauthorized
- type GetWorkspacesWorkspaceHooksForbidden
- type GetWorkspacesWorkspaceHooksNotFound
- type GetWorkspacesWorkspaceHooksOK
- type GetWorkspacesWorkspaceHooksParams
- func NewGetWorkspacesWorkspaceHooksParams() *GetWorkspacesWorkspaceHooksParams
- func NewGetWorkspacesWorkspaceHooksParamsWithContext(ctx context.Context) *GetWorkspacesWorkspaceHooksParams
- func NewGetWorkspacesWorkspaceHooksParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceHooksParams
- func NewGetWorkspacesWorkspaceHooksParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceHooksParams
- func (o *GetWorkspacesWorkspaceHooksParams) SetContext(ctx context.Context)
- func (o *GetWorkspacesWorkspaceHooksParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspacesWorkspaceHooksParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspacesWorkspaceHooksParams) SetWorkspace(workspace string)
- func (o *GetWorkspacesWorkspaceHooksParams) WithContext(ctx context.Context) *GetWorkspacesWorkspaceHooksParams
- func (o *GetWorkspacesWorkspaceHooksParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceHooksParams
- func (o *GetWorkspacesWorkspaceHooksParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceHooksParams
- func (o *GetWorkspacesWorkspaceHooksParams) WithWorkspace(workspace string) *GetWorkspacesWorkspaceHooksParams
- func (o *GetWorkspacesWorkspaceHooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspacesWorkspaceHooksReader
- type GetWorkspacesWorkspaceHooksUIDNotFound
- type GetWorkspacesWorkspaceHooksUIDOK
- type GetWorkspacesWorkspaceHooksUIDParams
- func NewGetWorkspacesWorkspaceHooksUIDParams() *GetWorkspacesWorkspaceHooksUIDParams
- func NewGetWorkspacesWorkspaceHooksUIDParamsWithContext(ctx context.Context) *GetWorkspacesWorkspaceHooksUIDParams
- func NewGetWorkspacesWorkspaceHooksUIDParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceHooksUIDParams
- func NewGetWorkspacesWorkspaceHooksUIDParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceHooksUIDParams
- func (o *GetWorkspacesWorkspaceHooksUIDParams) SetContext(ctx context.Context)
- func (o *GetWorkspacesWorkspaceHooksUIDParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspacesWorkspaceHooksUIDParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspacesWorkspaceHooksUIDParams) SetUID(uid string)
- func (o *GetWorkspacesWorkspaceHooksUIDParams) SetWorkspace(workspace string)
- func (o *GetWorkspacesWorkspaceHooksUIDParams) WithContext(ctx context.Context) *GetWorkspacesWorkspaceHooksUIDParams
- func (o *GetWorkspacesWorkspaceHooksUIDParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceHooksUIDParams
- func (o *GetWorkspacesWorkspaceHooksUIDParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceHooksUIDParams
- func (o *GetWorkspacesWorkspaceHooksUIDParams) WithUID(uid string) *GetWorkspacesWorkspaceHooksUIDParams
- func (o *GetWorkspacesWorkspaceHooksUIDParams) WithWorkspace(workspace string) *GetWorkspacesWorkspaceHooksUIDParams
- func (o *GetWorkspacesWorkspaceHooksUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspacesWorkspaceHooksUIDReader
- type GetWorkspacesWorkspaceMembersMemberNotFound
- type GetWorkspacesWorkspaceMembersMemberOK
- type GetWorkspacesWorkspaceMembersMemberParams
- func NewGetWorkspacesWorkspaceMembersMemberParams() *GetWorkspacesWorkspaceMembersMemberParams
- func NewGetWorkspacesWorkspaceMembersMemberParamsWithContext(ctx context.Context) *GetWorkspacesWorkspaceMembersMemberParams
- func NewGetWorkspacesWorkspaceMembersMemberParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceMembersMemberParams
- func NewGetWorkspacesWorkspaceMembersMemberParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceMembersMemberParams
- func (o *GetWorkspacesWorkspaceMembersMemberParams) SetContext(ctx context.Context)
- func (o *GetWorkspacesWorkspaceMembersMemberParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspacesWorkspaceMembersMemberParams) SetMember(member string)
- func (o *GetWorkspacesWorkspaceMembersMemberParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspacesWorkspaceMembersMemberParams) SetWorkspace(workspace string)
- func (o *GetWorkspacesWorkspaceMembersMemberParams) WithContext(ctx context.Context) *GetWorkspacesWorkspaceMembersMemberParams
- func (o *GetWorkspacesWorkspaceMembersMemberParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceMembersMemberParams
- func (o *GetWorkspacesWorkspaceMembersMemberParams) WithMember(member string) *GetWorkspacesWorkspaceMembersMemberParams
- func (o *GetWorkspacesWorkspaceMembersMemberParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceMembersMemberParams
- func (o *GetWorkspacesWorkspaceMembersMemberParams) WithWorkspace(workspace string) *GetWorkspacesWorkspaceMembersMemberParams
- func (o *GetWorkspacesWorkspaceMembersMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspacesWorkspaceMembersMemberReader
- type GetWorkspacesWorkspaceMembersMemberUnauthorized
- type GetWorkspacesWorkspaceMembersOK
- type GetWorkspacesWorkspaceMembersParams
- func NewGetWorkspacesWorkspaceMembersParams() *GetWorkspacesWorkspaceMembersParams
- func NewGetWorkspacesWorkspaceMembersParamsWithContext(ctx context.Context) *GetWorkspacesWorkspaceMembersParams
- func NewGetWorkspacesWorkspaceMembersParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceMembersParams
- func NewGetWorkspacesWorkspaceMembersParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceMembersParams
- func (o *GetWorkspacesWorkspaceMembersParams) SetContext(ctx context.Context)
- func (o *GetWorkspacesWorkspaceMembersParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspacesWorkspaceMembersParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspacesWorkspaceMembersParams) SetWorkspace(workspace string)
- func (o *GetWorkspacesWorkspaceMembersParams) WithContext(ctx context.Context) *GetWorkspacesWorkspaceMembersParams
- func (o *GetWorkspacesWorkspaceMembersParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceMembersParams
- func (o *GetWorkspacesWorkspaceMembersParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceMembersParams
- func (o *GetWorkspacesWorkspaceMembersParams) WithWorkspace(workspace string) *GetWorkspacesWorkspaceMembersParams
- func (o *GetWorkspacesWorkspaceMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspacesWorkspaceMembersReader
- type GetWorkspacesWorkspaceMembersUnauthorized
- type GetWorkspacesWorkspaceNotFound
- type GetWorkspacesWorkspaceOK
- type GetWorkspacesWorkspaceParams
- func NewGetWorkspacesWorkspaceParams() *GetWorkspacesWorkspaceParams
- func NewGetWorkspacesWorkspaceParamsWithContext(ctx context.Context) *GetWorkspacesWorkspaceParams
- func NewGetWorkspacesWorkspaceParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceParams
- func NewGetWorkspacesWorkspaceParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceParams
- func (o *GetWorkspacesWorkspaceParams) SetContext(ctx context.Context)
- func (o *GetWorkspacesWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspacesWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspacesWorkspaceParams) SetWorkspace(workspace string)
- func (o *GetWorkspacesWorkspaceParams) WithContext(ctx context.Context) *GetWorkspacesWorkspaceParams
- func (o *GetWorkspacesWorkspaceParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceParams
- func (o *GetWorkspacesWorkspaceParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceParams
- func (o *GetWorkspacesWorkspaceParams) WithWorkspace(workspace string) *GetWorkspacesWorkspaceParams
- func (o *GetWorkspacesWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspacesWorkspacePermissionsOK
- type GetWorkspacesWorkspacePermissionsParams
- func NewGetWorkspacesWorkspacePermissionsParams() *GetWorkspacesWorkspacePermissionsParams
- func NewGetWorkspacesWorkspacePermissionsParamsWithContext(ctx context.Context) *GetWorkspacesWorkspacePermissionsParams
- func NewGetWorkspacesWorkspacePermissionsParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspacePermissionsParams
- func NewGetWorkspacesWorkspacePermissionsParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspacePermissionsParams
- func (o *GetWorkspacesWorkspacePermissionsParams) SetContext(ctx context.Context)
- func (o *GetWorkspacesWorkspacePermissionsParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspacesWorkspacePermissionsParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspacesWorkspacePermissionsParams) SetWorkspace(workspace string)
- func (o *GetWorkspacesWorkspacePermissionsParams) WithContext(ctx context.Context) *GetWorkspacesWorkspacePermissionsParams
- func (o *GetWorkspacesWorkspacePermissionsParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspacePermissionsParams
- func (o *GetWorkspacesWorkspacePermissionsParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspacePermissionsParams
- func (o *GetWorkspacesWorkspacePermissionsParams) WithWorkspace(workspace string) *GetWorkspacesWorkspacePermissionsParams
- func (o *GetWorkspacesWorkspacePermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspacesWorkspacePermissionsReader
- type GetWorkspacesWorkspacePermissionsUnauthorized
- type GetWorkspacesWorkspaceProjectsNotFound
- type GetWorkspacesWorkspaceProjectsOK
- type GetWorkspacesWorkspaceProjectsParams
- func NewGetWorkspacesWorkspaceProjectsParams() *GetWorkspacesWorkspaceProjectsParams
- func NewGetWorkspacesWorkspaceProjectsParamsWithContext(ctx context.Context) *GetWorkspacesWorkspaceProjectsParams
- func NewGetWorkspacesWorkspaceProjectsParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceProjectsParams
- func NewGetWorkspacesWorkspaceProjectsParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceProjectsParams
- func (o *GetWorkspacesWorkspaceProjectsParams) SetContext(ctx context.Context)
- func (o *GetWorkspacesWorkspaceProjectsParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspacesWorkspaceProjectsParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspacesWorkspaceProjectsParams) SetWorkspace(workspace string)
- func (o *GetWorkspacesWorkspaceProjectsParams) WithContext(ctx context.Context) *GetWorkspacesWorkspaceProjectsParams
- func (o *GetWorkspacesWorkspaceProjectsParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceProjectsParams
- func (o *GetWorkspacesWorkspaceProjectsParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceProjectsParams
- func (o *GetWorkspacesWorkspaceProjectsParams) WithWorkspace(workspace string) *GetWorkspacesWorkspaceProjectsParams
- func (o *GetWorkspacesWorkspaceProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspacesWorkspaceProjectsReader
- type GetWorkspacesWorkspaceReader
- type PostWorkspacesWorkspaceHooksCreated
- type PostWorkspacesWorkspaceHooksForbidden
- type PostWorkspacesWorkspaceHooksNotFound
- type PostWorkspacesWorkspaceHooksParams
- func NewPostWorkspacesWorkspaceHooksParams() *PostWorkspacesWorkspaceHooksParams
- func NewPostWorkspacesWorkspaceHooksParamsWithContext(ctx context.Context) *PostWorkspacesWorkspaceHooksParams
- func NewPostWorkspacesWorkspaceHooksParamsWithHTTPClient(client *http.Client) *PostWorkspacesWorkspaceHooksParams
- func NewPostWorkspacesWorkspaceHooksParamsWithTimeout(timeout time.Duration) *PostWorkspacesWorkspaceHooksParams
- func (o *PostWorkspacesWorkspaceHooksParams) SetContext(ctx context.Context)
- func (o *PostWorkspacesWorkspaceHooksParams) SetHTTPClient(client *http.Client)
- func (o *PostWorkspacesWorkspaceHooksParams) SetTimeout(timeout time.Duration)
- func (o *PostWorkspacesWorkspaceHooksParams) SetWorkspace(workspace string)
- func (o *PostWorkspacesWorkspaceHooksParams) WithContext(ctx context.Context) *PostWorkspacesWorkspaceHooksParams
- func (o *PostWorkspacesWorkspaceHooksParams) WithHTTPClient(client *http.Client) *PostWorkspacesWorkspaceHooksParams
- func (o *PostWorkspacesWorkspaceHooksParams) WithTimeout(timeout time.Duration) *PostWorkspacesWorkspaceHooksParams
- func (o *PostWorkspacesWorkspaceHooksParams) WithWorkspace(workspace string) *PostWorkspacesWorkspaceHooksParams
- func (o *PostWorkspacesWorkspaceHooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostWorkspacesWorkspaceHooksReader
- type PutWorkspacesWorkspaceHooksUIDForbidden
- type PutWorkspacesWorkspaceHooksUIDNotFound
- type PutWorkspacesWorkspaceHooksUIDOK
- type PutWorkspacesWorkspaceHooksUIDParams
- func NewPutWorkspacesWorkspaceHooksUIDParams() *PutWorkspacesWorkspaceHooksUIDParams
- func NewPutWorkspacesWorkspaceHooksUIDParamsWithContext(ctx context.Context) *PutWorkspacesWorkspaceHooksUIDParams
- func NewPutWorkspacesWorkspaceHooksUIDParamsWithHTTPClient(client *http.Client) *PutWorkspacesWorkspaceHooksUIDParams
- func NewPutWorkspacesWorkspaceHooksUIDParamsWithTimeout(timeout time.Duration) *PutWorkspacesWorkspaceHooksUIDParams
- func (o *PutWorkspacesWorkspaceHooksUIDParams) SetContext(ctx context.Context)
- func (o *PutWorkspacesWorkspaceHooksUIDParams) SetHTTPClient(client *http.Client)
- func (o *PutWorkspacesWorkspaceHooksUIDParams) SetTimeout(timeout time.Duration)
- func (o *PutWorkspacesWorkspaceHooksUIDParams) SetUID(uid string)
- func (o *PutWorkspacesWorkspaceHooksUIDParams) SetWorkspace(workspace string)
- func (o *PutWorkspacesWorkspaceHooksUIDParams) WithContext(ctx context.Context) *PutWorkspacesWorkspaceHooksUIDParams
- func (o *PutWorkspacesWorkspaceHooksUIDParams) WithHTTPClient(client *http.Client) *PutWorkspacesWorkspaceHooksUIDParams
- func (o *PutWorkspacesWorkspaceHooksUIDParams) WithTimeout(timeout time.Duration) *PutWorkspacesWorkspaceHooksUIDParams
- func (o *PutWorkspacesWorkspaceHooksUIDParams) WithUID(uid string) *PutWorkspacesWorkspaceHooksUIDParams
- func (o *PutWorkspacesWorkspaceHooksUIDParams) WithWorkspace(workspace string) *PutWorkspacesWorkspaceHooksUIDParams
- func (o *PutWorkspacesWorkspaceHooksUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutWorkspacesWorkspaceHooksUIDReader
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 ¶
func (a *Client) DeleteWorkspacesWorkspaceHooksUID(params *DeleteWorkspacesWorkspaceHooksUIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteWorkspacesWorkspaceHooksUIDNoContent, error)
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 ¶
func (a *Client) GetWorkspacesWorkspaceMembersMember(params *GetWorkspacesWorkspaceMembersMemberParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceMembersMemberOK, error)
GetWorkspacesWorkspaceMembersMember get workspaces workspace members member API
func (*Client) GetWorkspacesWorkspacePermissions ¶
func (a *Client) GetWorkspacesWorkspacePermissions(params *GetWorkspacesWorkspacePermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspacePermissionsOK, error)
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 ¶
func (a *Client) PostWorkspacesWorkspaceHooks(params *PostWorkspacesWorkspaceHooksParams, authInfo runtime.ClientAuthInfoWriter) (*PostWorkspacesWorkspaceHooksCreated, error)
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 ¶
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 (o *DeleteWorkspacesWorkspaceHooksUIDForbidden) Error() string
func (*DeleteWorkspacesWorkspaceHooksUIDForbidden) GetPayload ¶
func (o *DeleteWorkspacesWorkspaceHooksUIDForbidden) GetPayload() *models.Error
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 ¶
func (o *DeleteWorkspacesWorkspaceHooksUIDNoContent) Error() string
type DeleteWorkspacesWorkspaceHooksUIDNotFound ¶
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 (o *DeleteWorkspacesWorkspaceHooksUIDNotFound) Error() string
func (*DeleteWorkspacesWorkspaceHooksUIDNotFound) GetPayload ¶
func (o *DeleteWorkspacesWorkspaceHooksUIDNotFound) GetPayload() *models.Error
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 ¶
func (o *DeleteWorkspacesWorkspaceHooksUIDParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteWorkspacesWorkspaceHooksUIDParams) SetUID(uid string)
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 ¶
func (o *DeleteWorkspacesWorkspaceHooksUIDParams) WithContext(ctx context.Context) *DeleteWorkspacesWorkspaceHooksUIDParams
WithContext adds the context to the delete workspaces workspace hooks UID params
func (*DeleteWorkspacesWorkspaceHooksUIDParams) WithHTTPClient ¶
func (o *DeleteWorkspacesWorkspaceHooksUIDParams) WithHTTPClient(client *http.Client) *DeleteWorkspacesWorkspaceHooksUIDParams
WithHTTPClient adds the HTTPClient to the delete workspaces workspace hooks UID params
func (*DeleteWorkspacesWorkspaceHooksUIDParams) WithTimeout ¶
func (o *DeleteWorkspacesWorkspaceHooksUIDParams) WithTimeout(timeout time.Duration) *DeleteWorkspacesWorkspaceHooksUIDParams
WithTimeout adds the timeout to the delete workspaces workspace hooks UID params
func (*DeleteWorkspacesWorkspaceHooksUIDParams) WithUID ¶
func (o *DeleteWorkspacesWorkspaceHooksUIDParams) WithUID(uid string) *DeleteWorkspacesWorkspaceHooksUIDParams
WithUID adds the uid to the delete workspaces workspace hooks UID params
func (*DeleteWorkspacesWorkspaceHooksUIDParams) WithWorkspace ¶
func (o *DeleteWorkspacesWorkspaceHooksUIDParams) WithWorkspace(workspace string) *DeleteWorkspacesWorkspaceHooksUIDParams
WithWorkspace adds the workspace to the delete workspaces workspace hooks UID params
func (*DeleteWorkspacesWorkspaceHooksUIDParams) WriteToRequest ¶
func (o *DeleteWorkspacesWorkspaceHooksUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetUserPermissionsWorkspacesOK) Error() string
func (*GetUserPermissionsWorkspacesOK) GetPayload ¶
func (o *GetUserPermissionsWorkspacesOK) GetPayload() *models.PaginatedWorkspaceMemberships
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 ¶
func (o *GetUserPermissionsWorkspacesParams) SetContext(ctx context.Context)
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 ¶
func (o *GetUserPermissionsWorkspacesParams) WithContext(ctx context.Context) *GetUserPermissionsWorkspacesParams
WithContext adds the context to the get user permissions workspaces params
func (*GetUserPermissionsWorkspacesParams) WithHTTPClient ¶
func (o *GetUserPermissionsWorkspacesParams) WithHTTPClient(client *http.Client) *GetUserPermissionsWorkspacesParams
WithHTTPClient adds the HTTPClient to the get user permissions workspaces params
func (*GetUserPermissionsWorkspacesParams) WithTimeout ¶
func (o *GetUserPermissionsWorkspacesParams) WithTimeout(timeout time.Duration) *GetUserPermissionsWorkspacesParams
WithTimeout adds the timeout to the get user permissions workspaces params
func (*GetUserPermissionsWorkspacesParams) WriteToRequest ¶
func (o *GetUserPermissionsWorkspacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetUserPermissionsWorkspacesUnauthorized) Error() string
func (*GetUserPermissionsWorkspacesUnauthorized) GetPayload ¶
func (o *GetUserPermissionsWorkspacesUnauthorized) GetPayload() *models.Error
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 ¶
func (o *GetWorkspacesParams) WithContext(ctx context.Context) *GetWorkspacesParams
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 {
}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 ¶
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 (o *GetWorkspacesWorkspaceHooksForbidden) Error() string
func (*GetWorkspacesWorkspaceHooksForbidden) GetPayload ¶
func (o *GetWorkspacesWorkspaceHooksForbidden) GetPayload() *models.Error
type GetWorkspacesWorkspaceHooksNotFound ¶
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 (o *GetWorkspacesWorkspaceHooksNotFound) Error() string
func (*GetWorkspacesWorkspaceHooksNotFound) GetPayload ¶
func (o *GetWorkspacesWorkspaceHooksNotFound) GetPayload() *models.Error
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 (o *GetWorkspacesWorkspaceHooksOK) Error() string
func (*GetWorkspacesWorkspaceHooksOK) GetPayload ¶
func (o *GetWorkspacesWorkspaceHooksOK) GetPayload() *models.PaginatedWebhookSubscriptions
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 ¶
func (o *GetWorkspacesWorkspaceHooksParams) SetContext(ctx context.Context)
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 ¶
func (o *GetWorkspacesWorkspaceHooksParams) WithContext(ctx context.Context) *GetWorkspacesWorkspaceHooksParams
WithContext adds the context to the get workspaces workspace hooks params
func (*GetWorkspacesWorkspaceHooksParams) WithHTTPClient ¶
func (o *GetWorkspacesWorkspaceHooksParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceHooksParams
WithHTTPClient adds the HTTPClient to the get workspaces workspace hooks params
func (*GetWorkspacesWorkspaceHooksParams) WithTimeout ¶
func (o *GetWorkspacesWorkspaceHooksParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceHooksParams
WithTimeout adds the timeout to the get workspaces workspace hooks params
func (*GetWorkspacesWorkspaceHooksParams) WithWorkspace ¶
func (o *GetWorkspacesWorkspaceHooksParams) WithWorkspace(workspace string) *GetWorkspacesWorkspaceHooksParams
WithWorkspace adds the workspace to the get workspaces workspace hooks params
func (*GetWorkspacesWorkspaceHooksParams) WriteToRequest ¶
func (o *GetWorkspacesWorkspaceHooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetWorkspacesWorkspaceHooksUIDNotFound) Error() string
func (*GetWorkspacesWorkspaceHooksUIDNotFound) GetPayload ¶
func (o *GetWorkspacesWorkspaceHooksUIDNotFound) GetPayload() *models.Error
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 (o *GetWorkspacesWorkspaceHooksUIDOK) Error() string
func (*GetWorkspacesWorkspaceHooksUIDOK) GetPayload ¶
func (o *GetWorkspacesWorkspaceHooksUIDOK) GetPayload() *models.WebhookSubscription
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 ¶
func (o *GetWorkspacesWorkspaceHooksUIDParams) SetContext(ctx context.Context)
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 ¶
func (o *GetWorkspacesWorkspaceHooksUIDParams) SetUID(uid string)
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 ¶
func (o *GetWorkspacesWorkspaceHooksUIDParams) WithContext(ctx context.Context) *GetWorkspacesWorkspaceHooksUIDParams
WithContext adds the context to the get workspaces workspace hooks UID params
func (*GetWorkspacesWorkspaceHooksUIDParams) WithHTTPClient ¶
func (o *GetWorkspacesWorkspaceHooksUIDParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceHooksUIDParams
WithHTTPClient adds the HTTPClient to the get workspaces workspace hooks UID params
func (*GetWorkspacesWorkspaceHooksUIDParams) WithTimeout ¶
func (o *GetWorkspacesWorkspaceHooksUIDParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceHooksUIDParams
WithTimeout adds the timeout to the get workspaces workspace hooks UID params
func (*GetWorkspacesWorkspaceHooksUIDParams) WithUID ¶
func (o *GetWorkspacesWorkspaceHooksUIDParams) WithUID(uid string) *GetWorkspacesWorkspaceHooksUIDParams
WithUID adds the uid to the get workspaces workspace hooks UID params
func (*GetWorkspacesWorkspaceHooksUIDParams) WithWorkspace ¶
func (o *GetWorkspacesWorkspaceHooksUIDParams) WithWorkspace(workspace string) *GetWorkspacesWorkspaceHooksUIDParams
WithWorkspace adds the workspace to the get workspaces workspace hooks UID params
func (*GetWorkspacesWorkspaceHooksUIDParams) WriteToRequest ¶
func (o *GetWorkspacesWorkspaceHooksUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetWorkspacesWorkspaceMembersMemberNotFound) Error() string
func (*GetWorkspacesWorkspaceMembersMemberNotFound) GetPayload ¶
func (o *GetWorkspacesWorkspaceMembersMemberNotFound) GetPayload() *models.Error
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 (o *GetWorkspacesWorkspaceMembersMemberOK) Error() string
func (*GetWorkspacesWorkspaceMembersMemberOK) GetPayload ¶
func (o *GetWorkspacesWorkspaceMembersMemberOK) GetPayload() *models.WorkspaceMembership
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 ¶
func (o *GetWorkspacesWorkspaceMembersMemberParams) SetContext(ctx context.Context)
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 ¶
func (o *GetWorkspacesWorkspaceMembersMemberParams) SetMember(member string)
SetMember adds the member to the get workspaces workspace members member params
func (*GetWorkspacesWorkspaceMembersMemberParams) SetTimeout ¶
func (o *GetWorkspacesWorkspaceMembersMemberParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *GetWorkspacesWorkspaceMembersMemberParams) WithContext(ctx context.Context) *GetWorkspacesWorkspaceMembersMemberParams
WithContext adds the context to the get workspaces workspace members member params
func (*GetWorkspacesWorkspaceMembersMemberParams) WithHTTPClient ¶
func (o *GetWorkspacesWorkspaceMembersMemberParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceMembersMemberParams
WithHTTPClient adds the HTTPClient to the get workspaces workspace members member params
func (*GetWorkspacesWorkspaceMembersMemberParams) WithMember ¶
func (o *GetWorkspacesWorkspaceMembersMemberParams) WithMember(member string) *GetWorkspacesWorkspaceMembersMemberParams
WithMember adds the member to the get workspaces workspace members member params
func (*GetWorkspacesWorkspaceMembersMemberParams) WithTimeout ¶
func (o *GetWorkspacesWorkspaceMembersMemberParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceMembersMemberParams
WithTimeout adds the timeout to the get workspaces workspace members member params
func (*GetWorkspacesWorkspaceMembersMemberParams) WithWorkspace ¶
func (o *GetWorkspacesWorkspaceMembersMemberParams) WithWorkspace(workspace string) *GetWorkspacesWorkspaceMembersMemberParams
WithWorkspace adds the workspace to the get workspaces workspace members member params
func (*GetWorkspacesWorkspaceMembersMemberParams) WriteToRequest ¶
func (o *GetWorkspacesWorkspaceMembersMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetWorkspacesWorkspaceMembersMemberUnauthorized) Error() string
func (*GetWorkspacesWorkspaceMembersMemberUnauthorized) GetPayload ¶
func (o *GetWorkspacesWorkspaceMembersMemberUnauthorized) GetPayload() *models.Error
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 (o *GetWorkspacesWorkspaceMembersOK) Error() string
func (*GetWorkspacesWorkspaceMembersOK) GetPayload ¶
func (o *GetWorkspacesWorkspaceMembersOK) GetPayload() *models.PaginatedWorkspaceMemberships
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 ¶
func (o *GetWorkspacesWorkspaceMembersParams) SetContext(ctx context.Context)
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 ¶
func (o *GetWorkspacesWorkspaceMembersParams) WithContext(ctx context.Context) *GetWorkspacesWorkspaceMembersParams
WithContext adds the context to the get workspaces workspace members params
func (*GetWorkspacesWorkspaceMembersParams) WithHTTPClient ¶
func (o *GetWorkspacesWorkspaceMembersParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceMembersParams
WithHTTPClient adds the HTTPClient to the get workspaces workspace members params
func (*GetWorkspacesWorkspaceMembersParams) WithTimeout ¶
func (o *GetWorkspacesWorkspaceMembersParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceMembersParams
WithTimeout adds the timeout to the get workspaces workspace members params
func (*GetWorkspacesWorkspaceMembersParams) WithWorkspace ¶
func (o *GetWorkspacesWorkspaceMembersParams) WithWorkspace(workspace string) *GetWorkspacesWorkspaceMembersParams
WithWorkspace adds the workspace to the get workspaces workspace members params
func (*GetWorkspacesWorkspaceMembersParams) WriteToRequest ¶
func (o *GetWorkspacesWorkspaceMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetWorkspacesWorkspaceMembersUnauthorized) Error() string
func (*GetWorkspacesWorkspaceMembersUnauthorized) GetPayload ¶
func (o *GetWorkspacesWorkspaceMembersUnauthorized) GetPayload() *models.Error
type GetWorkspacesWorkspaceNotFound ¶
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 (o *GetWorkspacesWorkspaceNotFound) Error() string
func (*GetWorkspacesWorkspaceNotFound) GetPayload ¶
func (o *GetWorkspacesWorkspaceNotFound) GetPayload() *models.Error
type GetWorkspacesWorkspaceOK ¶
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 ¶
func (o *GetWorkspacesWorkspaceParams) WithContext(ctx context.Context) *GetWorkspacesWorkspaceParams
WithContext adds the context to the get workspaces workspace params
func (*GetWorkspacesWorkspaceParams) WithHTTPClient ¶
func (o *GetWorkspacesWorkspaceParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceParams
WithHTTPClient adds the HTTPClient to the get workspaces workspace params
func (*GetWorkspacesWorkspaceParams) WithTimeout ¶
func (o *GetWorkspacesWorkspaceParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceParams
WithTimeout adds the timeout to the get workspaces workspace params
func (*GetWorkspacesWorkspaceParams) WithWorkspace ¶
func (o *GetWorkspacesWorkspaceParams) WithWorkspace(workspace string) *GetWorkspacesWorkspaceParams
WithWorkspace adds the workspace to the get workspaces workspace params
func (*GetWorkspacesWorkspaceParams) WriteToRequest ¶
func (o *GetWorkspacesWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetWorkspacesWorkspacePermissionsOK) Error() string
func (*GetWorkspacesWorkspacePermissionsOK) GetPayload ¶
func (o *GetWorkspacesWorkspacePermissionsOK) GetPayload() *models.PaginatedWorkspaceMemberships
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 ¶
func (o *GetWorkspacesWorkspacePermissionsParams) SetContext(ctx context.Context)
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 ¶
func (o *GetWorkspacesWorkspacePermissionsParams) WithContext(ctx context.Context) *GetWorkspacesWorkspacePermissionsParams
WithContext adds the context to the get workspaces workspace permissions params
func (*GetWorkspacesWorkspacePermissionsParams) WithHTTPClient ¶
func (o *GetWorkspacesWorkspacePermissionsParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspacePermissionsParams
WithHTTPClient adds the HTTPClient to the get workspaces workspace permissions params
func (*GetWorkspacesWorkspacePermissionsParams) WithTimeout ¶
func (o *GetWorkspacesWorkspacePermissionsParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspacePermissionsParams
WithTimeout adds the timeout to the get workspaces workspace permissions params
func (*GetWorkspacesWorkspacePermissionsParams) WithWorkspace ¶
func (o *GetWorkspacesWorkspacePermissionsParams) WithWorkspace(workspace string) *GetWorkspacesWorkspacePermissionsParams
WithWorkspace adds the workspace to the get workspaces workspace permissions params
func (*GetWorkspacesWorkspacePermissionsParams) WriteToRequest ¶
func (o *GetWorkspacesWorkspacePermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetWorkspacesWorkspacePermissionsUnauthorized) Error() string
func (*GetWorkspacesWorkspacePermissionsUnauthorized) GetPayload ¶
func (o *GetWorkspacesWorkspacePermissionsUnauthorized) GetPayload() *models.Error
type GetWorkspacesWorkspaceProjectsNotFound ¶
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 (o *GetWorkspacesWorkspaceProjectsNotFound) Error() string
func (*GetWorkspacesWorkspaceProjectsNotFound) GetPayload ¶
func (o *GetWorkspacesWorkspaceProjectsNotFound) GetPayload() *models.Error
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 (o *GetWorkspacesWorkspaceProjectsOK) Error() string
func (*GetWorkspacesWorkspaceProjectsOK) GetPayload ¶
func (o *GetWorkspacesWorkspaceProjectsOK) GetPayload() *models.PaginatedProjects
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 ¶
func (o *GetWorkspacesWorkspaceProjectsParams) SetContext(ctx context.Context)
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 ¶
func (o *GetWorkspacesWorkspaceProjectsParams) WithContext(ctx context.Context) *GetWorkspacesWorkspaceProjectsParams
WithContext adds the context to the get workspaces workspace projects params
func (*GetWorkspacesWorkspaceProjectsParams) WithHTTPClient ¶
func (o *GetWorkspacesWorkspaceProjectsParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceProjectsParams
WithHTTPClient adds the HTTPClient to the get workspaces workspace projects params
func (*GetWorkspacesWorkspaceProjectsParams) WithTimeout ¶
func (o *GetWorkspacesWorkspaceProjectsParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceProjectsParams
WithTimeout adds the timeout to the get workspaces workspace projects params
func (*GetWorkspacesWorkspaceProjectsParams) WithWorkspace ¶
func (o *GetWorkspacesWorkspaceProjectsParams) WithWorkspace(workspace string) *GetWorkspacesWorkspaceProjectsParams
WithWorkspace adds the workspace to the get workspaces workspace projects params
func (*GetWorkspacesWorkspaceProjectsParams) WriteToRequest ¶
func (o *GetWorkspacesWorkspaceProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PostWorkspacesWorkspaceHooksCreated) Error() string
func (*PostWorkspacesWorkspaceHooksCreated) GetPayload ¶
func (o *PostWorkspacesWorkspaceHooksCreated) GetPayload() *models.WebhookSubscription
type PostWorkspacesWorkspaceHooksForbidden ¶
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 (o *PostWorkspacesWorkspaceHooksForbidden) Error() string
func (*PostWorkspacesWorkspaceHooksForbidden) GetPayload ¶
func (o *PostWorkspacesWorkspaceHooksForbidden) GetPayload() *models.Error
type PostWorkspacesWorkspaceHooksNotFound ¶
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 (o *PostWorkspacesWorkspaceHooksNotFound) Error() string
func (*PostWorkspacesWorkspaceHooksNotFound) GetPayload ¶
func (o *PostWorkspacesWorkspaceHooksNotFound) GetPayload() *models.Error
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 ¶
func (o *PostWorkspacesWorkspaceHooksParams) SetContext(ctx context.Context)
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 ¶
func (o *PostWorkspacesWorkspaceHooksParams) WithContext(ctx context.Context) *PostWorkspacesWorkspaceHooksParams
WithContext adds the context to the post workspaces workspace hooks params
func (*PostWorkspacesWorkspaceHooksParams) WithHTTPClient ¶
func (o *PostWorkspacesWorkspaceHooksParams) WithHTTPClient(client *http.Client) *PostWorkspacesWorkspaceHooksParams
WithHTTPClient adds the HTTPClient to the post workspaces workspace hooks params
func (*PostWorkspacesWorkspaceHooksParams) WithTimeout ¶
func (o *PostWorkspacesWorkspaceHooksParams) WithTimeout(timeout time.Duration) *PostWorkspacesWorkspaceHooksParams
WithTimeout adds the timeout to the post workspaces workspace hooks params
func (*PostWorkspacesWorkspaceHooksParams) WithWorkspace ¶
func (o *PostWorkspacesWorkspaceHooksParams) WithWorkspace(workspace string) *PostWorkspacesWorkspaceHooksParams
WithWorkspace adds the workspace to the post workspaces workspace hooks params
func (*PostWorkspacesWorkspaceHooksParams) WriteToRequest ¶
func (o *PostWorkspacesWorkspaceHooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *PutWorkspacesWorkspaceHooksUIDForbidden) Error() string
func (*PutWorkspacesWorkspaceHooksUIDForbidden) GetPayload ¶
func (o *PutWorkspacesWorkspaceHooksUIDForbidden) GetPayload() *models.Error
type PutWorkspacesWorkspaceHooksUIDNotFound ¶
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 (o *PutWorkspacesWorkspaceHooksUIDNotFound) Error() string
func (*PutWorkspacesWorkspaceHooksUIDNotFound) GetPayload ¶
func (o *PutWorkspacesWorkspaceHooksUIDNotFound) GetPayload() *models.Error
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 (o *PutWorkspacesWorkspaceHooksUIDOK) Error() string
func (*PutWorkspacesWorkspaceHooksUIDOK) GetPayload ¶
func (o *PutWorkspacesWorkspaceHooksUIDOK) GetPayload() *models.WebhookSubscription
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 ¶
func (o *PutWorkspacesWorkspaceHooksUIDParams) SetContext(ctx context.Context)
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 ¶
func (o *PutWorkspacesWorkspaceHooksUIDParams) SetUID(uid string)
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 ¶
func (o *PutWorkspacesWorkspaceHooksUIDParams) WithContext(ctx context.Context) *PutWorkspacesWorkspaceHooksUIDParams
WithContext adds the context to the put workspaces workspace hooks UID params
func (*PutWorkspacesWorkspaceHooksUIDParams) WithHTTPClient ¶
func (o *PutWorkspacesWorkspaceHooksUIDParams) WithHTTPClient(client *http.Client) *PutWorkspacesWorkspaceHooksUIDParams
WithHTTPClient adds the HTTPClient to the put workspaces workspace hooks UID params
func (*PutWorkspacesWorkspaceHooksUIDParams) WithTimeout ¶
func (o *PutWorkspacesWorkspaceHooksUIDParams) WithTimeout(timeout time.Duration) *PutWorkspacesWorkspaceHooksUIDParams
WithTimeout adds the timeout to the put workspaces workspace hooks UID params
func (*PutWorkspacesWorkspaceHooksUIDParams) WithUID ¶
func (o *PutWorkspacesWorkspaceHooksUIDParams) WithUID(uid string) *PutWorkspacesWorkspaceHooksUIDParams
WithUID adds the uid to the put workspaces workspace hooks UID params
func (*PutWorkspacesWorkspaceHooksUIDParams) WithWorkspace ¶
func (o *PutWorkspacesWorkspaceHooksUIDParams) WithWorkspace(workspace string) *PutWorkspacesWorkspaceHooksUIDParams
WithWorkspace adds the workspace to the put workspaces workspace hooks UID params
func (*PutWorkspacesWorkspaceHooksUIDParams) WriteToRequest ¶
func (o *PutWorkspacesWorkspaceHooksUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- delete_workspaces_workspace_hooks_uid_parameters.go
- delete_workspaces_workspace_hooks_uid_responses.go
- get_user_permissions_workspaces_parameters.go
- get_user_permissions_workspaces_responses.go
- get_workspaces_parameters.go
- get_workspaces_responses.go
- get_workspaces_workspace_hooks_parameters.go
- get_workspaces_workspace_hooks_responses.go
- get_workspaces_workspace_hooks_uid_parameters.go
- get_workspaces_workspace_hooks_uid_responses.go
- get_workspaces_workspace_members_member_parameters.go
- get_workspaces_workspace_members_member_responses.go
- get_workspaces_workspace_members_parameters.go
- get_workspaces_workspace_members_responses.go
- get_workspaces_workspace_parameters.go
- get_workspaces_workspace_permissions_parameters.go
- get_workspaces_workspace_permissions_responses.go
- get_workspaces_workspace_projects_parameters.go
- get_workspaces_workspace_projects_responses.go
- get_workspaces_workspace_responses.go
- post_workspaces_workspace_hooks_parameters.go
- post_workspaces_workspace_hooks_responses.go
- put_workspaces_workspace_hooks_uid_parameters.go
- put_workspaces_workspace_hooks_uid_responses.go
- workspaces_client.go