Documentation
¶
Index ¶
- type Client
- func (a *Client) GetWorkspace(params *GetWorkspaceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetWorkspaceOK, error)
- func (a *Client) ListUserWorkspaces(params *ListUserWorkspacesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListUserWorkspacesOK, error)
- func (a *Client) ListWorkspaces(params *ListWorkspacesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListWorkspacesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateWorkspaceMetadata(params *UpdateWorkspaceMetadataParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateWorkspaceMetadataOK, error)
- type ClientOption
- type ClientService
- type GetWorkspaceForbidden
- func (o *GetWorkspaceForbidden) Code() int
- func (o *GetWorkspaceForbidden) Error() string
- func (o *GetWorkspaceForbidden) GetPayload() *models.Error
- func (o *GetWorkspaceForbidden) IsClientError() bool
- func (o *GetWorkspaceForbidden) IsCode(code int) bool
- func (o *GetWorkspaceForbidden) IsRedirect() bool
- func (o *GetWorkspaceForbidden) IsServerError() bool
- func (o *GetWorkspaceForbidden) IsSuccess() bool
- func (o *GetWorkspaceForbidden) String() string
- type GetWorkspaceNotFound
- func (o *GetWorkspaceNotFound) Code() int
- func (o *GetWorkspaceNotFound) Error() string
- func (o *GetWorkspaceNotFound) GetPayload() *models.Error
- func (o *GetWorkspaceNotFound) IsClientError() bool
- func (o *GetWorkspaceNotFound) IsCode(code int) bool
- func (o *GetWorkspaceNotFound) IsRedirect() bool
- func (o *GetWorkspaceNotFound) IsServerError() bool
- func (o *GetWorkspaceNotFound) IsSuccess() bool
- func (o *GetWorkspaceNotFound) String() string
- type GetWorkspaceOK
- func (o *GetWorkspaceOK) Code() int
- func (o *GetWorkspaceOK) Error() string
- func (o *GetWorkspaceOK) GetPayload() *models.ServerResponse
- func (o *GetWorkspaceOK) IsClientError() bool
- func (o *GetWorkspaceOK) IsCode(code int) bool
- func (o *GetWorkspaceOK) IsRedirect() bool
- func (o *GetWorkspaceOK) IsServerError() bool
- func (o *GetWorkspaceOK) IsSuccess() bool
- func (o *GetWorkspaceOK) String() string
- type GetWorkspaceParams
- func (o *GetWorkspaceParams) SetContext(ctx context.Context)
- func (o *GetWorkspaceParams) SetDefaults()
- func (o *GetWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspaceParams) SetIfMatch(ifMatch *string)
- func (o *GetWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspaceParams) SetWid(wid string)
- func (o *GetWorkspaceParams) WithContext(ctx context.Context) *GetWorkspaceParams
- func (o *GetWorkspaceParams) WithDefaults() *GetWorkspaceParams
- func (o *GetWorkspaceParams) WithHTTPClient(client *http.Client) *GetWorkspaceParams
- func (o *GetWorkspaceParams) WithIfMatch(ifMatch *string) *GetWorkspaceParams
- func (o *GetWorkspaceParams) WithTimeout(timeout time.Duration) *GetWorkspaceParams
- func (o *GetWorkspaceParams) WithWid(wid string) *GetWorkspaceParams
- func (o *GetWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspaceReader
- type GetWorkspaceTooManyRequests
- func (o *GetWorkspaceTooManyRequests) Code() int
- func (o *GetWorkspaceTooManyRequests) Error() string
- func (o *GetWorkspaceTooManyRequests) GetPayload() *models.Error
- func (o *GetWorkspaceTooManyRequests) IsClientError() bool
- func (o *GetWorkspaceTooManyRequests) IsCode(code int) bool
- func (o *GetWorkspaceTooManyRequests) IsRedirect() bool
- func (o *GetWorkspaceTooManyRequests) IsServerError() bool
- func (o *GetWorkspaceTooManyRequests) IsSuccess() bool
- func (o *GetWorkspaceTooManyRequests) String() string
- type GetWorkspaceUnauthorized
- func (o *GetWorkspaceUnauthorized) Code() int
- func (o *GetWorkspaceUnauthorized) Error() string
- func (o *GetWorkspaceUnauthorized) GetPayload() *models.Error
- func (o *GetWorkspaceUnauthorized) IsClientError() bool
- func (o *GetWorkspaceUnauthorized) IsCode(code int) bool
- func (o *GetWorkspaceUnauthorized) IsRedirect() bool
- func (o *GetWorkspaceUnauthorized) IsServerError() bool
- func (o *GetWorkspaceUnauthorized) IsSuccess() bool
- func (o *GetWorkspaceUnauthorized) String() string
- type ListUserWorkspacesForbidden
- func (o *ListUserWorkspacesForbidden) Code() int
- func (o *ListUserWorkspacesForbidden) Error() string
- func (o *ListUserWorkspacesForbidden) GetPayload() *models.Error
- func (o *ListUserWorkspacesForbidden) IsClientError() bool
- func (o *ListUserWorkspacesForbidden) IsCode(code int) bool
- func (o *ListUserWorkspacesForbidden) IsRedirect() bool
- func (o *ListUserWorkspacesForbidden) IsServerError() bool
- func (o *ListUserWorkspacesForbidden) IsSuccess() bool
- func (o *ListUserWorkspacesForbidden) String() string
- type ListUserWorkspacesNotFound
- func (o *ListUserWorkspacesNotFound) Code() int
- func (o *ListUserWorkspacesNotFound) Error() string
- func (o *ListUserWorkspacesNotFound) GetPayload() *models.Error
- func (o *ListUserWorkspacesNotFound) IsClientError() bool
- func (o *ListUserWorkspacesNotFound) IsCode(code int) bool
- func (o *ListUserWorkspacesNotFound) IsRedirect() bool
- func (o *ListUserWorkspacesNotFound) IsServerError() bool
- func (o *ListUserWorkspacesNotFound) IsSuccess() bool
- func (o *ListUserWorkspacesNotFound) String() string
- type ListUserWorkspacesOK
- func (o *ListUserWorkspacesOK) Code() int
- func (o *ListUserWorkspacesOK) Error() string
- func (o *ListUserWorkspacesOK) GetPayload() *models.UserWorkspacesResponse
- func (o *ListUserWorkspacesOK) IsClientError() bool
- func (o *ListUserWorkspacesOK) IsCode(code int) bool
- func (o *ListUserWorkspacesOK) IsRedirect() bool
- func (o *ListUserWorkspacesOK) IsServerError() bool
- func (o *ListUserWorkspacesOK) IsSuccess() bool
- func (o *ListUserWorkspacesOK) String() string
- type ListUserWorkspacesParams
- func NewListUserWorkspacesParams() *ListUserWorkspacesParams
- func NewListUserWorkspacesParamsWithContext(ctx context.Context) *ListUserWorkspacesParams
- func NewListUserWorkspacesParamsWithHTTPClient(client *http.Client) *ListUserWorkspacesParams
- func NewListUserWorkspacesParamsWithTimeout(timeout time.Duration) *ListUserWorkspacesParams
- func (o *ListUserWorkspacesParams) SetContext(ctx context.Context)
- func (o *ListUserWorkspacesParams) SetCursor(cursor *string)
- func (o *ListUserWorkspacesParams) SetDefaults()
- func (o *ListUserWorkspacesParams) SetHTTPClient(client *http.Client)
- func (o *ListUserWorkspacesParams) SetIfMatch(ifMatch *string)
- func (o *ListUserWorkspacesParams) SetLimit(limit *int64)
- func (o *ListUserWorkspacesParams) SetTimeout(timeout time.Duration)
- func (o *ListUserWorkspacesParams) WithContext(ctx context.Context) *ListUserWorkspacesParams
- func (o *ListUserWorkspacesParams) WithCursor(cursor *string) *ListUserWorkspacesParams
- func (o *ListUserWorkspacesParams) WithDefaults() *ListUserWorkspacesParams
- func (o *ListUserWorkspacesParams) WithHTTPClient(client *http.Client) *ListUserWorkspacesParams
- func (o *ListUserWorkspacesParams) WithIfMatch(ifMatch *string) *ListUserWorkspacesParams
- func (o *ListUserWorkspacesParams) WithLimit(limit *int64) *ListUserWorkspacesParams
- func (o *ListUserWorkspacesParams) WithTimeout(timeout time.Duration) *ListUserWorkspacesParams
- func (o *ListUserWorkspacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserWorkspacesReader
- type ListUserWorkspacesTooManyRequests
- func (o *ListUserWorkspacesTooManyRequests) Code() int
- func (o *ListUserWorkspacesTooManyRequests) Error() string
- func (o *ListUserWorkspacesTooManyRequests) GetPayload() *models.Error
- func (o *ListUserWorkspacesTooManyRequests) IsClientError() bool
- func (o *ListUserWorkspacesTooManyRequests) IsCode(code int) bool
- func (o *ListUserWorkspacesTooManyRequests) IsRedirect() bool
- func (o *ListUserWorkspacesTooManyRequests) IsServerError() bool
- func (o *ListUserWorkspacesTooManyRequests) IsSuccess() bool
- func (o *ListUserWorkspacesTooManyRequests) String() string
- type ListUserWorkspacesUnauthorized
- func (o *ListUserWorkspacesUnauthorized) Code() int
- func (o *ListUserWorkspacesUnauthorized) Error() string
- func (o *ListUserWorkspacesUnauthorized) GetPayload() *models.Error
- func (o *ListUserWorkspacesUnauthorized) IsClientError() bool
- func (o *ListUserWorkspacesUnauthorized) IsCode(code int) bool
- func (o *ListUserWorkspacesUnauthorized) IsRedirect() bool
- func (o *ListUserWorkspacesUnauthorized) IsServerError() bool
- func (o *ListUserWorkspacesUnauthorized) IsSuccess() bool
- func (o *ListUserWorkspacesUnauthorized) String() string
- type ListWorkspacesForbidden
- func (o *ListWorkspacesForbidden) Code() int
- func (o *ListWorkspacesForbidden) Error() string
- func (o *ListWorkspacesForbidden) GetPayload() *models.Error
- func (o *ListWorkspacesForbidden) IsClientError() bool
- func (o *ListWorkspacesForbidden) IsCode(code int) bool
- func (o *ListWorkspacesForbidden) IsRedirect() bool
- func (o *ListWorkspacesForbidden) IsServerError() bool
- func (o *ListWorkspacesForbidden) IsSuccess() bool
- func (o *ListWorkspacesForbidden) String() string
- type ListWorkspacesNotFound
- func (o *ListWorkspacesNotFound) Code() int
- func (o *ListWorkspacesNotFound) Error() string
- func (o *ListWorkspacesNotFound) GetPayload() *models.Error
- func (o *ListWorkspacesNotFound) IsClientError() bool
- func (o *ListWorkspacesNotFound) IsCode(code int) bool
- func (o *ListWorkspacesNotFound) IsRedirect() bool
- func (o *ListWorkspacesNotFound) IsServerError() bool
- func (o *ListWorkspacesNotFound) IsSuccess() bool
- func (o *ListWorkspacesNotFound) String() string
- type ListWorkspacesOK
- func (o *ListWorkspacesOK) Code() int
- func (o *ListWorkspacesOK) Error() string
- func (o *ListWorkspacesOK) GetPayload() *models.WorkspacesResponse
- func (o *ListWorkspacesOK) IsClientError() bool
- func (o *ListWorkspacesOK) IsCode(code int) bool
- func (o *ListWorkspacesOK) IsRedirect() bool
- func (o *ListWorkspacesOK) IsServerError() bool
- func (o *ListWorkspacesOK) IsSuccess() bool
- func (o *ListWorkspacesOK) String() string
- type ListWorkspacesParams
- func NewListWorkspacesParams() *ListWorkspacesParams
- func NewListWorkspacesParamsWithContext(ctx context.Context) *ListWorkspacesParams
- func NewListWorkspacesParamsWithHTTPClient(client *http.Client) *ListWorkspacesParams
- func NewListWorkspacesParamsWithTimeout(timeout time.Duration) *ListWorkspacesParams
- func (o *ListWorkspacesParams) SetAfterWorkspaceID(afterWorkspaceID *string)
- func (o *ListWorkspacesParams) SetBeforeWorkspaceID(beforeWorkspaceID *string)
- func (o *ListWorkspacesParams) SetContext(ctx context.Context)
- func (o *ListWorkspacesParams) SetDefaults()
- func (o *ListWorkspacesParams) SetHTTPClient(client *http.Client)
- func (o *ListWorkspacesParams) SetIfMatch(ifMatch *string)
- func (o *ListWorkspacesParams) SetLimit(limit *int64)
- func (o *ListWorkspacesParams) SetOrder(order *string)
- func (o *ListWorkspacesParams) SetSearchPhrase(searchPhrase *string)
- func (o *ListWorkspacesParams) SetSort(sort *string)
- func (o *ListWorkspacesParams) SetTemplate(template *bool)
- func (o *ListWorkspacesParams) SetThemeID(themeID *string)
- func (o *ListWorkspacesParams) SetTimeout(timeout time.Duration)
- func (o *ListWorkspacesParams) SetWorkspaceTypes(workspaceTypes *string)
- func (o *ListWorkspacesParams) WithAfterWorkspaceID(afterWorkspaceID *string) *ListWorkspacesParams
- func (o *ListWorkspacesParams) WithBeforeWorkspaceID(beforeWorkspaceID *string) *ListWorkspacesParams
- func (o *ListWorkspacesParams) WithContext(ctx context.Context) *ListWorkspacesParams
- func (o *ListWorkspacesParams) WithDefaults() *ListWorkspacesParams
- func (o *ListWorkspacesParams) WithHTTPClient(client *http.Client) *ListWorkspacesParams
- func (o *ListWorkspacesParams) WithIfMatch(ifMatch *string) *ListWorkspacesParams
- func (o *ListWorkspacesParams) WithLimit(limit *int64) *ListWorkspacesParams
- func (o *ListWorkspacesParams) WithOrder(order *string) *ListWorkspacesParams
- func (o *ListWorkspacesParams) WithSearchPhrase(searchPhrase *string) *ListWorkspacesParams
- func (o *ListWorkspacesParams) WithSort(sort *string) *ListWorkspacesParams
- func (o *ListWorkspacesParams) WithTemplate(template *bool) *ListWorkspacesParams
- func (o *ListWorkspacesParams) WithThemeID(themeID *string) *ListWorkspacesParams
- func (o *ListWorkspacesParams) WithTimeout(timeout time.Duration) *ListWorkspacesParams
- func (o *ListWorkspacesParams) WithWorkspaceTypes(workspaceTypes *string) *ListWorkspacesParams
- func (o *ListWorkspacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListWorkspacesReader
- type ListWorkspacesTooManyRequests
- func (o *ListWorkspacesTooManyRequests) Code() int
- func (o *ListWorkspacesTooManyRequests) Error() string
- func (o *ListWorkspacesTooManyRequests) GetPayload() *models.Error
- func (o *ListWorkspacesTooManyRequests) IsClientError() bool
- func (o *ListWorkspacesTooManyRequests) IsCode(code int) bool
- func (o *ListWorkspacesTooManyRequests) IsRedirect() bool
- func (o *ListWorkspacesTooManyRequests) IsServerError() bool
- func (o *ListWorkspacesTooManyRequests) IsSuccess() bool
- func (o *ListWorkspacesTooManyRequests) String() string
- type ListWorkspacesUnauthorized
- func (o *ListWorkspacesUnauthorized) Code() int
- func (o *ListWorkspacesUnauthorized) Error() string
- func (o *ListWorkspacesUnauthorized) GetPayload() *models.Error
- func (o *ListWorkspacesUnauthorized) IsClientError() bool
- func (o *ListWorkspacesUnauthorized) IsCode(code int) bool
- func (o *ListWorkspacesUnauthorized) IsRedirect() bool
- func (o *ListWorkspacesUnauthorized) IsServerError() bool
- func (o *ListWorkspacesUnauthorized) IsSuccess() bool
- func (o *ListWorkspacesUnauthorized) String() string
- type UpdateWorkspaceMetadataForbidden
- func (o *UpdateWorkspaceMetadataForbidden) Code() int
- func (o *UpdateWorkspaceMetadataForbidden) Error() string
- func (o *UpdateWorkspaceMetadataForbidden) GetPayload() *models.Error
- func (o *UpdateWorkspaceMetadataForbidden) IsClientError() bool
- func (o *UpdateWorkspaceMetadataForbidden) IsCode(code int) bool
- func (o *UpdateWorkspaceMetadataForbidden) IsRedirect() bool
- func (o *UpdateWorkspaceMetadataForbidden) IsServerError() bool
- func (o *UpdateWorkspaceMetadataForbidden) IsSuccess() bool
- func (o *UpdateWorkspaceMetadataForbidden) String() string
- type UpdateWorkspaceMetadataNotFound
- func (o *UpdateWorkspaceMetadataNotFound) Code() int
- func (o *UpdateWorkspaceMetadataNotFound) Error() string
- func (o *UpdateWorkspaceMetadataNotFound) GetPayload() *models.Error
- func (o *UpdateWorkspaceMetadataNotFound) IsClientError() bool
- func (o *UpdateWorkspaceMetadataNotFound) IsCode(code int) bool
- func (o *UpdateWorkspaceMetadataNotFound) IsRedirect() bool
- func (o *UpdateWorkspaceMetadataNotFound) IsServerError() bool
- func (o *UpdateWorkspaceMetadataNotFound) IsSuccess() bool
- func (o *UpdateWorkspaceMetadataNotFound) String() string
- type UpdateWorkspaceMetadataOK
- func (o *UpdateWorkspaceMetadataOK) Code() int
- func (o *UpdateWorkspaceMetadataOK) Error() string
- func (o *UpdateWorkspaceMetadataOK) GetPayload() *models.WorkspaceMetadata
- func (o *UpdateWorkspaceMetadataOK) IsClientError() bool
- func (o *UpdateWorkspaceMetadataOK) IsCode(code int) bool
- func (o *UpdateWorkspaceMetadataOK) IsRedirect() bool
- func (o *UpdateWorkspaceMetadataOK) IsServerError() bool
- func (o *UpdateWorkspaceMetadataOK) IsSuccess() bool
- func (o *UpdateWorkspaceMetadataOK) String() string
- type UpdateWorkspaceMetadataParams
- func NewUpdateWorkspaceMetadataParams() *UpdateWorkspaceMetadataParams
- func NewUpdateWorkspaceMetadataParamsWithContext(ctx context.Context) *UpdateWorkspaceMetadataParams
- func NewUpdateWorkspaceMetadataParamsWithHTTPClient(client *http.Client) *UpdateWorkspaceMetadataParams
- func NewUpdateWorkspaceMetadataParamsWithTimeout(timeout time.Duration) *UpdateWorkspaceMetadataParams
- func (o *UpdateWorkspaceMetadataParams) SetContext(ctx context.Context)
- func (o *UpdateWorkspaceMetadataParams) SetDefaults()
- func (o *UpdateWorkspaceMetadataParams) SetHTTPClient(client *http.Client)
- func (o *UpdateWorkspaceMetadataParams) SetIfMatch(ifMatch *string)
- func (o *UpdateWorkspaceMetadataParams) SetTimeout(timeout time.Duration)
- func (o *UpdateWorkspaceMetadataParams) SetWid(wid string)
- func (o *UpdateWorkspaceMetadataParams) SetWorkspaceMetadata(workspaceMetadata *models.WorkspaceMetadata)
- func (o *UpdateWorkspaceMetadataParams) WithContext(ctx context.Context) *UpdateWorkspaceMetadataParams
- func (o *UpdateWorkspaceMetadataParams) WithDefaults() *UpdateWorkspaceMetadataParams
- func (o *UpdateWorkspaceMetadataParams) WithHTTPClient(client *http.Client) *UpdateWorkspaceMetadataParams
- func (o *UpdateWorkspaceMetadataParams) WithIfMatch(ifMatch *string) *UpdateWorkspaceMetadataParams
- func (o *UpdateWorkspaceMetadataParams) WithTimeout(timeout time.Duration) *UpdateWorkspaceMetadataParams
- func (o *UpdateWorkspaceMetadataParams) WithWid(wid string) *UpdateWorkspaceMetadataParams
- func (o *UpdateWorkspaceMetadataParams) WithWorkspaceMetadata(workspaceMetadata *models.WorkspaceMetadata) *UpdateWorkspaceMetadataParams
- func (o *UpdateWorkspaceMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateWorkspaceMetadataReader
- type UpdateWorkspaceMetadataTooManyRequests
- func (o *UpdateWorkspaceMetadataTooManyRequests) Code() int
- func (o *UpdateWorkspaceMetadataTooManyRequests) Error() string
- func (o *UpdateWorkspaceMetadataTooManyRequests) GetPayload() *models.Error
- func (o *UpdateWorkspaceMetadataTooManyRequests) IsClientError() bool
- func (o *UpdateWorkspaceMetadataTooManyRequests) IsCode(code int) bool
- func (o *UpdateWorkspaceMetadataTooManyRequests) IsRedirect() bool
- func (o *UpdateWorkspaceMetadataTooManyRequests) IsServerError() bool
- func (o *UpdateWorkspaceMetadataTooManyRequests) IsSuccess() bool
- func (o *UpdateWorkspaceMetadataTooManyRequests) String() string
- type UpdateWorkspaceMetadataUnauthorized
- func (o *UpdateWorkspaceMetadataUnauthorized) Code() int
- func (o *UpdateWorkspaceMetadataUnauthorized) Error() string
- func (o *UpdateWorkspaceMetadataUnauthorized) GetPayload() *models.Error
- func (o *UpdateWorkspaceMetadataUnauthorized) IsClientError() bool
- func (o *UpdateWorkspaceMetadataUnauthorized) IsCode(code int) bool
- func (o *UpdateWorkspaceMetadataUnauthorized) IsRedirect() bool
- func (o *UpdateWorkspaceMetadataUnauthorized) IsServerError() bool
- func (o *UpdateWorkspaceMetadataUnauthorized) IsSuccess() bool
- func (o *UpdateWorkspaceMetadataUnauthorized) String() string
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) GetWorkspace ¶
func (a *Client) GetWorkspace(params *GetWorkspaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWorkspaceOK, error)
GetWorkspace gets workspace
Get workspace.
func (*Client) ListUserWorkspaces ¶
func (a *Client) ListUserWorkspaces(params *ListUserWorkspacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserWorkspacesOK, error)
ListUserWorkspaces lists user workspaces
List workspaces that the current user has access to.
func (*Client) ListWorkspaces ¶
func (a *Client) ListWorkspaces(params *ListWorkspacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListWorkspacesOK, error)
ListWorkspaces lists workspaces
List workspaces
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateWorkspaceMetadata ¶
func (a *Client) UpdateWorkspaceMetadata(params *UpdateWorkspaceMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateWorkspaceMetadataOK, error)
UpdateWorkspaceMetadata updates workspace metadata
Update workspace metadata.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { GetWorkspace(params *GetWorkspaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWorkspaceOK, error) ListUserWorkspaces(params *ListUserWorkspacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserWorkspacesOK, error) ListWorkspaces(params *ListWorkspacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListWorkspacesOK, error) UpdateWorkspaceMetadata(params *UpdateWorkspaceMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateWorkspaceMetadataOK, 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.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new workspaces API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new workspaces API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetWorkspaceForbidden ¶
GetWorkspaceForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetWorkspaceForbidden ¶
func NewGetWorkspaceForbidden() *GetWorkspaceForbidden
NewGetWorkspaceForbidden creates a GetWorkspaceForbidden with default headers values
func (*GetWorkspaceForbidden) Code ¶
func (o *GetWorkspaceForbidden) Code() int
Code gets the status code for the get workspace forbidden response
func (*GetWorkspaceForbidden) Error ¶
func (o *GetWorkspaceForbidden) Error() string
func (*GetWorkspaceForbidden) GetPayload ¶
func (o *GetWorkspaceForbidden) GetPayload() *models.Error
func (*GetWorkspaceForbidden) IsClientError ¶
func (o *GetWorkspaceForbidden) IsClientError() bool
IsClientError returns true when this get workspace forbidden response has a 4xx status code
func (*GetWorkspaceForbidden) IsCode ¶
func (o *GetWorkspaceForbidden) IsCode(code int) bool
IsCode returns true when this get workspace forbidden response a status code equal to that given
func (*GetWorkspaceForbidden) IsRedirect ¶
func (o *GetWorkspaceForbidden) IsRedirect() bool
IsRedirect returns true when this get workspace forbidden response has a 3xx status code
func (*GetWorkspaceForbidden) IsServerError ¶
func (o *GetWorkspaceForbidden) IsServerError() bool
IsServerError returns true when this get workspace forbidden response has a 5xx status code
func (*GetWorkspaceForbidden) IsSuccess ¶
func (o *GetWorkspaceForbidden) IsSuccess() bool
IsSuccess returns true when this get workspace forbidden response has a 2xx status code
func (*GetWorkspaceForbidden) String ¶
func (o *GetWorkspaceForbidden) String() string
type GetWorkspaceNotFound ¶
GetWorkspaceNotFound describes a response with status code 404, with default header values.
Not found
func NewGetWorkspaceNotFound ¶
func NewGetWorkspaceNotFound() *GetWorkspaceNotFound
NewGetWorkspaceNotFound creates a GetWorkspaceNotFound with default headers values
func (*GetWorkspaceNotFound) Code ¶
func (o *GetWorkspaceNotFound) Code() int
Code gets the status code for the get workspace not found response
func (*GetWorkspaceNotFound) Error ¶
func (o *GetWorkspaceNotFound) Error() string
func (*GetWorkspaceNotFound) GetPayload ¶
func (o *GetWorkspaceNotFound) GetPayload() *models.Error
func (*GetWorkspaceNotFound) IsClientError ¶
func (o *GetWorkspaceNotFound) IsClientError() bool
IsClientError returns true when this get workspace not found response has a 4xx status code
func (*GetWorkspaceNotFound) IsCode ¶
func (o *GetWorkspaceNotFound) IsCode(code int) bool
IsCode returns true when this get workspace not found response a status code equal to that given
func (*GetWorkspaceNotFound) IsRedirect ¶
func (o *GetWorkspaceNotFound) IsRedirect() bool
IsRedirect returns true when this get workspace not found response has a 3xx status code
func (*GetWorkspaceNotFound) IsServerError ¶
func (o *GetWorkspaceNotFound) IsServerError() bool
IsServerError returns true when this get workspace not found response has a 5xx status code
func (*GetWorkspaceNotFound) IsSuccess ¶
func (o *GetWorkspaceNotFound) IsSuccess() bool
IsSuccess returns true when this get workspace not found response has a 2xx status code
func (*GetWorkspaceNotFound) String ¶
func (o *GetWorkspaceNotFound) String() string
type GetWorkspaceOK ¶
type GetWorkspaceOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ServerResponse }
GetWorkspaceOK describes a response with status code 200, with default header values.
Server
func NewGetWorkspaceOK ¶
func NewGetWorkspaceOK() *GetWorkspaceOK
NewGetWorkspaceOK creates a GetWorkspaceOK with default headers values
func (*GetWorkspaceOK) Code ¶
func (o *GetWorkspaceOK) Code() int
Code gets the status code for the get workspace o k response
func (*GetWorkspaceOK) Error ¶
func (o *GetWorkspaceOK) Error() string
func (*GetWorkspaceOK) GetPayload ¶
func (o *GetWorkspaceOK) GetPayload() *models.ServerResponse
func (*GetWorkspaceOK) IsClientError ¶
func (o *GetWorkspaceOK) IsClientError() bool
IsClientError returns true when this get workspace o k response has a 4xx status code
func (*GetWorkspaceOK) IsCode ¶
func (o *GetWorkspaceOK) IsCode(code int) bool
IsCode returns true when this get workspace o k response a status code equal to that given
func (*GetWorkspaceOK) IsRedirect ¶
func (o *GetWorkspaceOK) IsRedirect() bool
IsRedirect returns true when this get workspace o k response has a 3xx status code
func (*GetWorkspaceOK) IsServerError ¶
func (o *GetWorkspaceOK) IsServerError() bool
IsServerError returns true when this get workspace o k response has a 5xx status code
func (*GetWorkspaceOK) IsSuccess ¶
func (o *GetWorkspaceOK) IsSuccess() bool
IsSuccess returns true when this get workspace o k response has a 2xx status code
func (*GetWorkspaceOK) String ¶
func (o *GetWorkspaceOK) String() string
type GetWorkspaceParams ¶
type GetWorkspaceParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Wid. Workspace id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWorkspaceParams contains all the parameters to send to the API endpoint
for the get workspace operation. Typically these are written to a http.Request.
func NewGetWorkspaceParams ¶
func NewGetWorkspaceParams() *GetWorkspaceParams
NewGetWorkspaceParams creates a new GetWorkspaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetWorkspaceParamsWithContext ¶
func NewGetWorkspaceParamsWithContext(ctx context.Context) *GetWorkspaceParams
NewGetWorkspaceParamsWithContext creates a new GetWorkspaceParams object with the ability to set a context for a request.
func NewGetWorkspaceParamsWithHTTPClient ¶
func NewGetWorkspaceParamsWithHTTPClient(client *http.Client) *GetWorkspaceParams
NewGetWorkspaceParamsWithHTTPClient creates a new GetWorkspaceParams object with the ability to set a custom HTTPClient for a request.
func NewGetWorkspaceParamsWithTimeout ¶
func NewGetWorkspaceParamsWithTimeout(timeout time.Duration) *GetWorkspaceParams
NewGetWorkspaceParamsWithTimeout creates a new GetWorkspaceParams object with the ability to set a timeout on a request.
func (*GetWorkspaceParams) SetContext ¶
func (o *GetWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the get workspace params
func (*GetWorkspaceParams) SetDefaults ¶
func (o *GetWorkspaceParams) SetDefaults()
SetDefaults hydrates default values in the get workspace params (not the query body).
All values with no default are reset to their zero value.
func (*GetWorkspaceParams) SetHTTPClient ¶
func (o *GetWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workspace params
func (*GetWorkspaceParams) SetIfMatch ¶
func (o *GetWorkspaceParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get workspace params
func (*GetWorkspaceParams) SetTimeout ¶
func (o *GetWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workspace params
func (*GetWorkspaceParams) SetWid ¶
func (o *GetWorkspaceParams) SetWid(wid string)
SetWid adds the wid to the get workspace params
func (*GetWorkspaceParams) WithContext ¶
func (o *GetWorkspaceParams) WithContext(ctx context.Context) *GetWorkspaceParams
WithContext adds the context to the get workspace params
func (*GetWorkspaceParams) WithDefaults ¶
func (o *GetWorkspaceParams) WithDefaults() *GetWorkspaceParams
WithDefaults hydrates default values in the get workspace params (not the query body).
All values with no default are reset to their zero value.
func (*GetWorkspaceParams) WithHTTPClient ¶
func (o *GetWorkspaceParams) WithHTTPClient(client *http.Client) *GetWorkspaceParams
WithHTTPClient adds the HTTPClient to the get workspace params
func (*GetWorkspaceParams) WithIfMatch ¶
func (o *GetWorkspaceParams) WithIfMatch(ifMatch *string) *GetWorkspaceParams
WithIfMatch adds the ifMatch to the get workspace params
func (*GetWorkspaceParams) WithTimeout ¶
func (o *GetWorkspaceParams) WithTimeout(timeout time.Duration) *GetWorkspaceParams
WithTimeout adds the timeout to the get workspace params
func (*GetWorkspaceParams) WithWid ¶
func (o *GetWorkspaceParams) WithWid(wid string) *GetWorkspaceParams
WithWid adds the wid to the get workspace params
func (*GetWorkspaceParams) WriteToRequest ¶
func (o *GetWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkspaceReader ¶
type GetWorkspaceReader struct {
// contains filtered or unexported fields
}
GetWorkspaceReader is a Reader for the GetWorkspace structure.
func (*GetWorkspaceReader) ReadResponse ¶
func (o *GetWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWorkspaceTooManyRequests ¶
GetWorkspaceTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetWorkspaceTooManyRequests ¶
func NewGetWorkspaceTooManyRequests() *GetWorkspaceTooManyRequests
NewGetWorkspaceTooManyRequests creates a GetWorkspaceTooManyRequests with default headers values
func (*GetWorkspaceTooManyRequests) Code ¶
func (o *GetWorkspaceTooManyRequests) Code() int
Code gets the status code for the get workspace too many requests response
func (*GetWorkspaceTooManyRequests) Error ¶
func (o *GetWorkspaceTooManyRequests) Error() string
func (*GetWorkspaceTooManyRequests) GetPayload ¶
func (o *GetWorkspaceTooManyRequests) GetPayload() *models.Error
func (*GetWorkspaceTooManyRequests) IsClientError ¶
func (o *GetWorkspaceTooManyRequests) IsClientError() bool
IsClientError returns true when this get workspace too many requests response has a 4xx status code
func (*GetWorkspaceTooManyRequests) IsCode ¶
func (o *GetWorkspaceTooManyRequests) IsCode(code int) bool
IsCode returns true when this get workspace too many requests response a status code equal to that given
func (*GetWorkspaceTooManyRequests) IsRedirect ¶
func (o *GetWorkspaceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get workspace too many requests response has a 3xx status code
func (*GetWorkspaceTooManyRequests) IsServerError ¶
func (o *GetWorkspaceTooManyRequests) IsServerError() bool
IsServerError returns true when this get workspace too many requests response has a 5xx status code
func (*GetWorkspaceTooManyRequests) IsSuccess ¶
func (o *GetWorkspaceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get workspace too many requests response has a 2xx status code
func (*GetWorkspaceTooManyRequests) String ¶
func (o *GetWorkspaceTooManyRequests) String() string
type GetWorkspaceUnauthorized ¶
type GetWorkspaceUnauthorized struct {
}GetWorkspaceUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetWorkspaceUnauthorized ¶
func NewGetWorkspaceUnauthorized() *GetWorkspaceUnauthorized
NewGetWorkspaceUnauthorized creates a GetWorkspaceUnauthorized with default headers values
func (*GetWorkspaceUnauthorized) Code ¶
func (o *GetWorkspaceUnauthorized) Code() int
Code gets the status code for the get workspace unauthorized response
func (*GetWorkspaceUnauthorized) Error ¶
func (o *GetWorkspaceUnauthorized) Error() string
func (*GetWorkspaceUnauthorized) GetPayload ¶
func (o *GetWorkspaceUnauthorized) GetPayload() *models.Error
func (*GetWorkspaceUnauthorized) IsClientError ¶
func (o *GetWorkspaceUnauthorized) IsClientError() bool
IsClientError returns true when this get workspace unauthorized response has a 4xx status code
func (*GetWorkspaceUnauthorized) IsCode ¶
func (o *GetWorkspaceUnauthorized) IsCode(code int) bool
IsCode returns true when this get workspace unauthorized response a status code equal to that given
func (*GetWorkspaceUnauthorized) IsRedirect ¶
func (o *GetWorkspaceUnauthorized) IsRedirect() bool
IsRedirect returns true when this get workspace unauthorized response has a 3xx status code
func (*GetWorkspaceUnauthorized) IsServerError ¶
func (o *GetWorkspaceUnauthorized) IsServerError() bool
IsServerError returns true when this get workspace unauthorized response has a 5xx status code
func (*GetWorkspaceUnauthorized) IsSuccess ¶
func (o *GetWorkspaceUnauthorized) IsSuccess() bool
IsSuccess returns true when this get workspace unauthorized response has a 2xx status code
func (*GetWorkspaceUnauthorized) String ¶
func (o *GetWorkspaceUnauthorized) String() string
type ListUserWorkspacesForbidden ¶
ListUserWorkspacesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListUserWorkspacesForbidden ¶
func NewListUserWorkspacesForbidden() *ListUserWorkspacesForbidden
NewListUserWorkspacesForbidden creates a ListUserWorkspacesForbidden with default headers values
func (*ListUserWorkspacesForbidden) Code ¶
func (o *ListUserWorkspacesForbidden) Code() int
Code gets the status code for the list user workspaces forbidden response
func (*ListUserWorkspacesForbidden) Error ¶
func (o *ListUserWorkspacesForbidden) Error() string
func (*ListUserWorkspacesForbidden) GetPayload ¶
func (o *ListUserWorkspacesForbidden) GetPayload() *models.Error
func (*ListUserWorkspacesForbidden) IsClientError ¶
func (o *ListUserWorkspacesForbidden) IsClientError() bool
IsClientError returns true when this list user workspaces forbidden response has a 4xx status code
func (*ListUserWorkspacesForbidden) IsCode ¶
func (o *ListUserWorkspacesForbidden) IsCode(code int) bool
IsCode returns true when this list user workspaces forbidden response a status code equal to that given
func (*ListUserWorkspacesForbidden) IsRedirect ¶
func (o *ListUserWorkspacesForbidden) IsRedirect() bool
IsRedirect returns true when this list user workspaces forbidden response has a 3xx status code
func (*ListUserWorkspacesForbidden) IsServerError ¶
func (o *ListUserWorkspacesForbidden) IsServerError() bool
IsServerError returns true when this list user workspaces forbidden response has a 5xx status code
func (*ListUserWorkspacesForbidden) IsSuccess ¶
func (o *ListUserWorkspacesForbidden) IsSuccess() bool
IsSuccess returns true when this list user workspaces forbidden response has a 2xx status code
func (*ListUserWorkspacesForbidden) String ¶
func (o *ListUserWorkspacesForbidden) String() string
type ListUserWorkspacesNotFound ¶
ListUserWorkspacesNotFound describes a response with status code 404, with default header values.
Not found
func NewListUserWorkspacesNotFound ¶
func NewListUserWorkspacesNotFound() *ListUserWorkspacesNotFound
NewListUserWorkspacesNotFound creates a ListUserWorkspacesNotFound with default headers values
func (*ListUserWorkspacesNotFound) Code ¶
func (o *ListUserWorkspacesNotFound) Code() int
Code gets the status code for the list user workspaces not found response
func (*ListUserWorkspacesNotFound) Error ¶
func (o *ListUserWorkspacesNotFound) Error() string
func (*ListUserWorkspacesNotFound) GetPayload ¶
func (o *ListUserWorkspacesNotFound) GetPayload() *models.Error
func (*ListUserWorkspacesNotFound) IsClientError ¶
func (o *ListUserWorkspacesNotFound) IsClientError() bool
IsClientError returns true when this list user workspaces not found response has a 4xx status code
func (*ListUserWorkspacesNotFound) IsCode ¶
func (o *ListUserWorkspacesNotFound) IsCode(code int) bool
IsCode returns true when this list user workspaces not found response a status code equal to that given
func (*ListUserWorkspacesNotFound) IsRedirect ¶
func (o *ListUserWorkspacesNotFound) IsRedirect() bool
IsRedirect returns true when this list user workspaces not found response has a 3xx status code
func (*ListUserWorkspacesNotFound) IsServerError ¶
func (o *ListUserWorkspacesNotFound) IsServerError() bool
IsServerError returns true when this list user workspaces not found response has a 5xx status code
func (*ListUserWorkspacesNotFound) IsSuccess ¶
func (o *ListUserWorkspacesNotFound) IsSuccess() bool
IsSuccess returns true when this list user workspaces not found response has a 2xx status code
func (*ListUserWorkspacesNotFound) String ¶
func (o *ListUserWorkspacesNotFound) String() string
type ListUserWorkspacesOK ¶
type ListUserWorkspacesOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.UserWorkspacesResponse }
ListUserWorkspacesOK describes a response with status code 200, with default header values.
User Workspaces
func NewListUserWorkspacesOK ¶
func NewListUserWorkspacesOK() *ListUserWorkspacesOK
NewListUserWorkspacesOK creates a ListUserWorkspacesOK with default headers values
func (*ListUserWorkspacesOK) Code ¶
func (o *ListUserWorkspacesOK) Code() int
Code gets the status code for the list user workspaces o k response
func (*ListUserWorkspacesOK) Error ¶
func (o *ListUserWorkspacesOK) Error() string
func (*ListUserWorkspacesOK) GetPayload ¶
func (o *ListUserWorkspacesOK) GetPayload() *models.UserWorkspacesResponse
func (*ListUserWorkspacesOK) IsClientError ¶
func (o *ListUserWorkspacesOK) IsClientError() bool
IsClientError returns true when this list user workspaces o k response has a 4xx status code
func (*ListUserWorkspacesOK) IsCode ¶
func (o *ListUserWorkspacesOK) IsCode(code int) bool
IsCode returns true when this list user workspaces o k response a status code equal to that given
func (*ListUserWorkspacesOK) IsRedirect ¶
func (o *ListUserWorkspacesOK) IsRedirect() bool
IsRedirect returns true when this list user workspaces o k response has a 3xx status code
func (*ListUserWorkspacesOK) IsServerError ¶
func (o *ListUserWorkspacesOK) IsServerError() bool
IsServerError returns true when this list user workspaces o k response has a 5xx status code
func (*ListUserWorkspacesOK) IsSuccess ¶
func (o *ListUserWorkspacesOK) IsSuccess() bool
IsSuccess returns true when this list user workspaces o k response has a 2xx status code
func (*ListUserWorkspacesOK) String ¶
func (o *ListUserWorkspacesOK) String() string
type ListUserWorkspacesParams ¶
type ListUserWorkspacesParams struct { /* Cursor. Cursor */ Cursor *string /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Limit. optional limit results Limit Format: int64 Default: 20 */ Limit *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUserWorkspacesParams contains all the parameters to send to the API endpoint
for the list user workspaces operation. Typically these are written to a http.Request.
func NewListUserWorkspacesParams ¶
func NewListUserWorkspacesParams() *ListUserWorkspacesParams
NewListUserWorkspacesParams creates a new ListUserWorkspacesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListUserWorkspacesParamsWithContext ¶
func NewListUserWorkspacesParamsWithContext(ctx context.Context) *ListUserWorkspacesParams
NewListUserWorkspacesParamsWithContext creates a new ListUserWorkspacesParams object with the ability to set a context for a request.
func NewListUserWorkspacesParamsWithHTTPClient ¶
func NewListUserWorkspacesParamsWithHTTPClient(client *http.Client) *ListUserWorkspacesParams
NewListUserWorkspacesParamsWithHTTPClient creates a new ListUserWorkspacesParams object with the ability to set a custom HTTPClient for a request.
func NewListUserWorkspacesParamsWithTimeout ¶
func NewListUserWorkspacesParamsWithTimeout(timeout time.Duration) *ListUserWorkspacesParams
NewListUserWorkspacesParamsWithTimeout creates a new ListUserWorkspacesParams object with the ability to set a timeout on a request.
func (*ListUserWorkspacesParams) SetContext ¶
func (o *ListUserWorkspacesParams) SetContext(ctx context.Context)
SetContext adds the context to the list user workspaces params
func (*ListUserWorkspacesParams) SetCursor ¶
func (o *ListUserWorkspacesParams) SetCursor(cursor *string)
SetCursor adds the cursor to the list user workspaces params
func (*ListUserWorkspacesParams) SetDefaults ¶
func (o *ListUserWorkspacesParams) SetDefaults()
SetDefaults hydrates default values in the list user workspaces params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserWorkspacesParams) SetHTTPClient ¶
func (o *ListUserWorkspacesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list user workspaces params
func (*ListUserWorkspacesParams) SetIfMatch ¶
func (o *ListUserWorkspacesParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the list user workspaces params
func (*ListUserWorkspacesParams) SetLimit ¶
func (o *ListUserWorkspacesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list user workspaces params
func (*ListUserWorkspacesParams) SetTimeout ¶
func (o *ListUserWorkspacesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list user workspaces params
func (*ListUserWorkspacesParams) WithContext ¶
func (o *ListUserWorkspacesParams) WithContext(ctx context.Context) *ListUserWorkspacesParams
WithContext adds the context to the list user workspaces params
func (*ListUserWorkspacesParams) WithCursor ¶
func (o *ListUserWorkspacesParams) WithCursor(cursor *string) *ListUserWorkspacesParams
WithCursor adds the cursor to the list user workspaces params
func (*ListUserWorkspacesParams) WithDefaults ¶
func (o *ListUserWorkspacesParams) WithDefaults() *ListUserWorkspacesParams
WithDefaults hydrates default values in the list user workspaces params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserWorkspacesParams) WithHTTPClient ¶
func (o *ListUserWorkspacesParams) WithHTTPClient(client *http.Client) *ListUserWorkspacesParams
WithHTTPClient adds the HTTPClient to the list user workspaces params
func (*ListUserWorkspacesParams) WithIfMatch ¶
func (o *ListUserWorkspacesParams) WithIfMatch(ifMatch *string) *ListUserWorkspacesParams
WithIfMatch adds the ifMatch to the list user workspaces params
func (*ListUserWorkspacesParams) WithLimit ¶
func (o *ListUserWorkspacesParams) WithLimit(limit *int64) *ListUserWorkspacesParams
WithLimit adds the limit to the list user workspaces params
func (*ListUserWorkspacesParams) WithTimeout ¶
func (o *ListUserWorkspacesParams) WithTimeout(timeout time.Duration) *ListUserWorkspacesParams
WithTimeout adds the timeout to the list user workspaces params
func (*ListUserWorkspacesParams) WriteToRequest ¶
func (o *ListUserWorkspacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUserWorkspacesReader ¶
type ListUserWorkspacesReader struct {
// contains filtered or unexported fields
}
ListUserWorkspacesReader is a Reader for the ListUserWorkspaces structure.
func (*ListUserWorkspacesReader) ReadResponse ¶
func (o *ListUserWorkspacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserWorkspacesTooManyRequests ¶
ListUserWorkspacesTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListUserWorkspacesTooManyRequests ¶
func NewListUserWorkspacesTooManyRequests() *ListUserWorkspacesTooManyRequests
NewListUserWorkspacesTooManyRequests creates a ListUserWorkspacesTooManyRequests with default headers values
func (*ListUserWorkspacesTooManyRequests) Code ¶
func (o *ListUserWorkspacesTooManyRequests) Code() int
Code gets the status code for the list user workspaces too many requests response
func (*ListUserWorkspacesTooManyRequests) Error ¶
func (o *ListUserWorkspacesTooManyRequests) Error() string
func (*ListUserWorkspacesTooManyRequests) GetPayload ¶
func (o *ListUserWorkspacesTooManyRequests) GetPayload() *models.Error
func (*ListUserWorkspacesTooManyRequests) IsClientError ¶
func (o *ListUserWorkspacesTooManyRequests) IsClientError() bool
IsClientError returns true when this list user workspaces too many requests response has a 4xx status code
func (*ListUserWorkspacesTooManyRequests) IsCode ¶
func (o *ListUserWorkspacesTooManyRequests) IsCode(code int) bool
IsCode returns true when this list user workspaces too many requests response a status code equal to that given
func (*ListUserWorkspacesTooManyRequests) IsRedirect ¶
func (o *ListUserWorkspacesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list user workspaces too many requests response has a 3xx status code
func (*ListUserWorkspacesTooManyRequests) IsServerError ¶
func (o *ListUserWorkspacesTooManyRequests) IsServerError() bool
IsServerError returns true when this list user workspaces too many requests response has a 5xx status code
func (*ListUserWorkspacesTooManyRequests) IsSuccess ¶
func (o *ListUserWorkspacesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list user workspaces too many requests response has a 2xx status code
func (*ListUserWorkspacesTooManyRequests) String ¶
func (o *ListUserWorkspacesTooManyRequests) String() string
type ListUserWorkspacesUnauthorized ¶
type ListUserWorkspacesUnauthorized struct {
}ListUserWorkspacesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListUserWorkspacesUnauthorized ¶
func NewListUserWorkspacesUnauthorized() *ListUserWorkspacesUnauthorized
NewListUserWorkspacesUnauthorized creates a ListUserWorkspacesUnauthorized with default headers values
func (*ListUserWorkspacesUnauthorized) Code ¶
func (o *ListUserWorkspacesUnauthorized) Code() int
Code gets the status code for the list user workspaces unauthorized response
func (*ListUserWorkspacesUnauthorized) Error ¶
func (o *ListUserWorkspacesUnauthorized) Error() string
func (*ListUserWorkspacesUnauthorized) GetPayload ¶
func (o *ListUserWorkspacesUnauthorized) GetPayload() *models.Error
func (*ListUserWorkspacesUnauthorized) IsClientError ¶
func (o *ListUserWorkspacesUnauthorized) IsClientError() bool
IsClientError returns true when this list user workspaces unauthorized response has a 4xx status code
func (*ListUserWorkspacesUnauthorized) IsCode ¶
func (o *ListUserWorkspacesUnauthorized) IsCode(code int) bool
IsCode returns true when this list user workspaces unauthorized response a status code equal to that given
func (*ListUserWorkspacesUnauthorized) IsRedirect ¶
func (o *ListUserWorkspacesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list user workspaces unauthorized response has a 3xx status code
func (*ListUserWorkspacesUnauthorized) IsServerError ¶
func (o *ListUserWorkspacesUnauthorized) IsServerError() bool
IsServerError returns true when this list user workspaces unauthorized response has a 5xx status code
func (*ListUserWorkspacesUnauthorized) IsSuccess ¶
func (o *ListUserWorkspacesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list user workspaces unauthorized response has a 2xx status code
func (*ListUserWorkspacesUnauthorized) String ¶
func (o *ListUserWorkspacesUnauthorized) String() string
type ListWorkspacesForbidden ¶
ListWorkspacesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListWorkspacesForbidden ¶
func NewListWorkspacesForbidden() *ListWorkspacesForbidden
NewListWorkspacesForbidden creates a ListWorkspacesForbidden with default headers values
func (*ListWorkspacesForbidden) Code ¶
func (o *ListWorkspacesForbidden) Code() int
Code gets the status code for the list workspaces forbidden response
func (*ListWorkspacesForbidden) Error ¶
func (o *ListWorkspacesForbidden) Error() string
func (*ListWorkspacesForbidden) GetPayload ¶
func (o *ListWorkspacesForbidden) GetPayload() *models.Error
func (*ListWorkspacesForbidden) IsClientError ¶
func (o *ListWorkspacesForbidden) IsClientError() bool
IsClientError returns true when this list workspaces forbidden response has a 4xx status code
func (*ListWorkspacesForbidden) IsCode ¶
func (o *ListWorkspacesForbidden) IsCode(code int) bool
IsCode returns true when this list workspaces forbidden response a status code equal to that given
func (*ListWorkspacesForbidden) IsRedirect ¶
func (o *ListWorkspacesForbidden) IsRedirect() bool
IsRedirect returns true when this list workspaces forbidden response has a 3xx status code
func (*ListWorkspacesForbidden) IsServerError ¶
func (o *ListWorkspacesForbidden) IsServerError() bool
IsServerError returns true when this list workspaces forbidden response has a 5xx status code
func (*ListWorkspacesForbidden) IsSuccess ¶
func (o *ListWorkspacesForbidden) IsSuccess() bool
IsSuccess returns true when this list workspaces forbidden response has a 2xx status code
func (*ListWorkspacesForbidden) String ¶
func (o *ListWorkspacesForbidden) String() string
type ListWorkspacesNotFound ¶
ListWorkspacesNotFound describes a response with status code 404, with default header values.
Not found
func NewListWorkspacesNotFound ¶
func NewListWorkspacesNotFound() *ListWorkspacesNotFound
NewListWorkspacesNotFound creates a ListWorkspacesNotFound with default headers values
func (*ListWorkspacesNotFound) Code ¶
func (o *ListWorkspacesNotFound) Code() int
Code gets the status code for the list workspaces not found response
func (*ListWorkspacesNotFound) Error ¶
func (o *ListWorkspacesNotFound) Error() string
func (*ListWorkspacesNotFound) GetPayload ¶
func (o *ListWorkspacesNotFound) GetPayload() *models.Error
func (*ListWorkspacesNotFound) IsClientError ¶
func (o *ListWorkspacesNotFound) IsClientError() bool
IsClientError returns true when this list workspaces not found response has a 4xx status code
func (*ListWorkspacesNotFound) IsCode ¶
func (o *ListWorkspacesNotFound) IsCode(code int) bool
IsCode returns true when this list workspaces not found response a status code equal to that given
func (*ListWorkspacesNotFound) IsRedirect ¶
func (o *ListWorkspacesNotFound) IsRedirect() bool
IsRedirect returns true when this list workspaces not found response has a 3xx status code
func (*ListWorkspacesNotFound) IsServerError ¶
func (o *ListWorkspacesNotFound) IsServerError() bool
IsServerError returns true when this list workspaces not found response has a 5xx status code
func (*ListWorkspacesNotFound) IsSuccess ¶
func (o *ListWorkspacesNotFound) IsSuccess() bool
IsSuccess returns true when this list workspaces not found response has a 2xx status code
func (*ListWorkspacesNotFound) String ¶
func (o *ListWorkspacesNotFound) String() string
type ListWorkspacesOK ¶
type ListWorkspacesOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.WorkspacesResponse }
ListWorkspacesOK describes a response with status code 200, with default header values.
Workspaces
func NewListWorkspacesOK ¶
func NewListWorkspacesOK() *ListWorkspacesOK
NewListWorkspacesOK creates a ListWorkspacesOK with default headers values
func (*ListWorkspacesOK) Code ¶
func (o *ListWorkspacesOK) Code() int
Code gets the status code for the list workspaces o k response
func (*ListWorkspacesOK) Error ¶
func (o *ListWorkspacesOK) Error() string
func (*ListWorkspacesOK) GetPayload ¶
func (o *ListWorkspacesOK) GetPayload() *models.WorkspacesResponse
func (*ListWorkspacesOK) IsClientError ¶
func (o *ListWorkspacesOK) IsClientError() bool
IsClientError returns true when this list workspaces o k response has a 4xx status code
func (*ListWorkspacesOK) IsCode ¶
func (o *ListWorkspacesOK) IsCode(code int) bool
IsCode returns true when this list workspaces o k response a status code equal to that given
func (*ListWorkspacesOK) IsRedirect ¶
func (o *ListWorkspacesOK) IsRedirect() bool
IsRedirect returns true when this list workspaces o k response has a 3xx status code
func (*ListWorkspacesOK) IsServerError ¶
func (o *ListWorkspacesOK) IsServerError() bool
IsServerError returns true when this list workspaces o k response has a 5xx status code
func (*ListWorkspacesOK) IsSuccess ¶
func (o *ListWorkspacesOK) IsSuccess() bool
IsSuccess returns true when this list workspaces o k response has a 2xx status code
func (*ListWorkspacesOK) String ¶
func (o *ListWorkspacesOK) String() string
type ListWorkspacesParams ¶
type ListWorkspacesParams struct { /* AfterWorkspaceID. optional list workspaces after given id AfterWorkspaceID */ AfterWorkspaceID *string /* BeforeWorkspaceID. optional list workspaces before given id BeforeWorkspaceID */ BeforeWorkspaceID *string /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Limit. optional limit results Limit Format: int64 Default: 20 */ Limit *int64 /* Order. optional order workspaces by given direction Order */ Order *string /* SearchPhrase. Optional search phrase: workspace id OR workspace name substring (case insensitive) SearchPhrase */ SearchPhrase *string /* Sort. optional sort workspaces by given field Sort */ Sort *string /* Template. optional flag to filter by template */ Template *bool /* ThemeID. optional flag to filter by theme id */ ThemeID *string /* WorkspaceTypes. comma separated workspace types that are to be filtered out Default: "admin,developer,system,regular,organization" */ WorkspaceTypes *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListWorkspacesParams contains all the parameters to send to the API endpoint
for the list workspaces operation. Typically these are written to a http.Request.
func NewListWorkspacesParams ¶
func NewListWorkspacesParams() *ListWorkspacesParams
NewListWorkspacesParams creates a new ListWorkspacesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListWorkspacesParamsWithContext ¶
func NewListWorkspacesParamsWithContext(ctx context.Context) *ListWorkspacesParams
NewListWorkspacesParamsWithContext creates a new ListWorkspacesParams object with the ability to set a context for a request.
func NewListWorkspacesParamsWithHTTPClient ¶
func NewListWorkspacesParamsWithHTTPClient(client *http.Client) *ListWorkspacesParams
NewListWorkspacesParamsWithHTTPClient creates a new ListWorkspacesParams object with the ability to set a custom HTTPClient for a request.
func NewListWorkspacesParamsWithTimeout ¶
func NewListWorkspacesParamsWithTimeout(timeout time.Duration) *ListWorkspacesParams
NewListWorkspacesParamsWithTimeout creates a new ListWorkspacesParams object with the ability to set a timeout on a request.
func (*ListWorkspacesParams) SetAfterWorkspaceID ¶
func (o *ListWorkspacesParams) SetAfterWorkspaceID(afterWorkspaceID *string)
SetAfterWorkspaceID adds the afterWorkspaceId to the list workspaces params
func (*ListWorkspacesParams) SetBeforeWorkspaceID ¶
func (o *ListWorkspacesParams) SetBeforeWorkspaceID(beforeWorkspaceID *string)
SetBeforeWorkspaceID adds the beforeWorkspaceId to the list workspaces params
func (*ListWorkspacesParams) SetContext ¶
func (o *ListWorkspacesParams) SetContext(ctx context.Context)
SetContext adds the context to the list workspaces params
func (*ListWorkspacesParams) SetDefaults ¶
func (o *ListWorkspacesParams) SetDefaults()
SetDefaults hydrates default values in the list workspaces params (not the query body).
All values with no default are reset to their zero value.
func (*ListWorkspacesParams) SetHTTPClient ¶
func (o *ListWorkspacesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list workspaces params
func (*ListWorkspacesParams) SetIfMatch ¶
func (o *ListWorkspacesParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the list workspaces params
func (*ListWorkspacesParams) SetLimit ¶
func (o *ListWorkspacesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list workspaces params
func (*ListWorkspacesParams) SetOrder ¶
func (o *ListWorkspacesParams) SetOrder(order *string)
SetOrder adds the order to the list workspaces params
func (*ListWorkspacesParams) SetSearchPhrase ¶
func (o *ListWorkspacesParams) SetSearchPhrase(searchPhrase *string)
SetSearchPhrase adds the searchPhrase to the list workspaces params
func (*ListWorkspacesParams) SetSort ¶
func (o *ListWorkspacesParams) SetSort(sort *string)
SetSort adds the sort to the list workspaces params
func (*ListWorkspacesParams) SetTemplate ¶
func (o *ListWorkspacesParams) SetTemplate(template *bool)
SetTemplate adds the template to the list workspaces params
func (*ListWorkspacesParams) SetThemeID ¶
func (o *ListWorkspacesParams) SetThemeID(themeID *string)
SetThemeID adds the themeId to the list workspaces params
func (*ListWorkspacesParams) SetTimeout ¶
func (o *ListWorkspacesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list workspaces params
func (*ListWorkspacesParams) SetWorkspaceTypes ¶
func (o *ListWorkspacesParams) SetWorkspaceTypes(workspaceTypes *string)
SetWorkspaceTypes adds the workspaceTypes to the list workspaces params
func (*ListWorkspacesParams) WithAfterWorkspaceID ¶
func (o *ListWorkspacesParams) WithAfterWorkspaceID(afterWorkspaceID *string) *ListWorkspacesParams
WithAfterWorkspaceID adds the afterWorkspaceID to the list workspaces params
func (*ListWorkspacesParams) WithBeforeWorkspaceID ¶
func (o *ListWorkspacesParams) WithBeforeWorkspaceID(beforeWorkspaceID *string) *ListWorkspacesParams
WithBeforeWorkspaceID adds the beforeWorkspaceID to the list workspaces params
func (*ListWorkspacesParams) WithContext ¶
func (o *ListWorkspacesParams) WithContext(ctx context.Context) *ListWorkspacesParams
WithContext adds the context to the list workspaces params
func (*ListWorkspacesParams) WithDefaults ¶
func (o *ListWorkspacesParams) WithDefaults() *ListWorkspacesParams
WithDefaults hydrates default values in the list workspaces params (not the query body).
All values with no default are reset to their zero value.
func (*ListWorkspacesParams) WithHTTPClient ¶
func (o *ListWorkspacesParams) WithHTTPClient(client *http.Client) *ListWorkspacesParams
WithHTTPClient adds the HTTPClient to the list workspaces params
func (*ListWorkspacesParams) WithIfMatch ¶
func (o *ListWorkspacesParams) WithIfMatch(ifMatch *string) *ListWorkspacesParams
WithIfMatch adds the ifMatch to the list workspaces params
func (*ListWorkspacesParams) WithLimit ¶
func (o *ListWorkspacesParams) WithLimit(limit *int64) *ListWorkspacesParams
WithLimit adds the limit to the list workspaces params
func (*ListWorkspacesParams) WithOrder ¶
func (o *ListWorkspacesParams) WithOrder(order *string) *ListWorkspacesParams
WithOrder adds the order to the list workspaces params
func (*ListWorkspacesParams) WithSearchPhrase ¶
func (o *ListWorkspacesParams) WithSearchPhrase(searchPhrase *string) *ListWorkspacesParams
WithSearchPhrase adds the searchPhrase to the list workspaces params
func (*ListWorkspacesParams) WithSort ¶
func (o *ListWorkspacesParams) WithSort(sort *string) *ListWorkspacesParams
WithSort adds the sort to the list workspaces params
func (*ListWorkspacesParams) WithTemplate ¶
func (o *ListWorkspacesParams) WithTemplate(template *bool) *ListWorkspacesParams
WithTemplate adds the template to the list workspaces params
func (*ListWorkspacesParams) WithThemeID ¶
func (o *ListWorkspacesParams) WithThemeID(themeID *string) *ListWorkspacesParams
WithThemeID adds the themeID to the list workspaces params
func (*ListWorkspacesParams) WithTimeout ¶
func (o *ListWorkspacesParams) WithTimeout(timeout time.Duration) *ListWorkspacesParams
WithTimeout adds the timeout to the list workspaces params
func (*ListWorkspacesParams) WithWorkspaceTypes ¶
func (o *ListWorkspacesParams) WithWorkspaceTypes(workspaceTypes *string) *ListWorkspacesParams
WithWorkspaceTypes adds the workspaceTypes to the list workspaces params
func (*ListWorkspacesParams) WriteToRequest ¶
func (o *ListWorkspacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListWorkspacesReader ¶
type ListWorkspacesReader struct {
// contains filtered or unexported fields
}
ListWorkspacesReader is a Reader for the ListWorkspaces structure.
func (*ListWorkspacesReader) ReadResponse ¶
func (o *ListWorkspacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListWorkspacesTooManyRequests ¶
ListWorkspacesTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListWorkspacesTooManyRequests ¶
func NewListWorkspacesTooManyRequests() *ListWorkspacesTooManyRequests
NewListWorkspacesTooManyRequests creates a ListWorkspacesTooManyRequests with default headers values
func (*ListWorkspacesTooManyRequests) Code ¶
func (o *ListWorkspacesTooManyRequests) Code() int
Code gets the status code for the list workspaces too many requests response
func (*ListWorkspacesTooManyRequests) Error ¶
func (o *ListWorkspacesTooManyRequests) Error() string
func (*ListWorkspacesTooManyRequests) GetPayload ¶
func (o *ListWorkspacesTooManyRequests) GetPayload() *models.Error
func (*ListWorkspacesTooManyRequests) IsClientError ¶
func (o *ListWorkspacesTooManyRequests) IsClientError() bool
IsClientError returns true when this list workspaces too many requests response has a 4xx status code
func (*ListWorkspacesTooManyRequests) IsCode ¶
func (o *ListWorkspacesTooManyRequests) IsCode(code int) bool
IsCode returns true when this list workspaces too many requests response a status code equal to that given
func (*ListWorkspacesTooManyRequests) IsRedirect ¶
func (o *ListWorkspacesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list workspaces too many requests response has a 3xx status code
func (*ListWorkspacesTooManyRequests) IsServerError ¶
func (o *ListWorkspacesTooManyRequests) IsServerError() bool
IsServerError returns true when this list workspaces too many requests response has a 5xx status code
func (*ListWorkspacesTooManyRequests) IsSuccess ¶
func (o *ListWorkspacesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list workspaces too many requests response has a 2xx status code
func (*ListWorkspacesTooManyRequests) String ¶
func (o *ListWorkspacesTooManyRequests) String() string
type ListWorkspacesUnauthorized ¶
type ListWorkspacesUnauthorized struct {
}ListWorkspacesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListWorkspacesUnauthorized ¶
func NewListWorkspacesUnauthorized() *ListWorkspacesUnauthorized
NewListWorkspacesUnauthorized creates a ListWorkspacesUnauthorized with default headers values
func (*ListWorkspacesUnauthorized) Code ¶
func (o *ListWorkspacesUnauthorized) Code() int
Code gets the status code for the list workspaces unauthorized response
func (*ListWorkspacesUnauthorized) Error ¶
func (o *ListWorkspacesUnauthorized) Error() string
func (*ListWorkspacesUnauthorized) GetPayload ¶
func (o *ListWorkspacesUnauthorized) GetPayload() *models.Error
func (*ListWorkspacesUnauthorized) IsClientError ¶
func (o *ListWorkspacesUnauthorized) IsClientError() bool
IsClientError returns true when this list workspaces unauthorized response has a 4xx status code
func (*ListWorkspacesUnauthorized) IsCode ¶
func (o *ListWorkspacesUnauthorized) IsCode(code int) bool
IsCode returns true when this list workspaces unauthorized response a status code equal to that given
func (*ListWorkspacesUnauthorized) IsRedirect ¶
func (o *ListWorkspacesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list workspaces unauthorized response has a 3xx status code
func (*ListWorkspacesUnauthorized) IsServerError ¶
func (o *ListWorkspacesUnauthorized) IsServerError() bool
IsServerError returns true when this list workspaces unauthorized response has a 5xx status code
func (*ListWorkspacesUnauthorized) IsSuccess ¶
func (o *ListWorkspacesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list workspaces unauthorized response has a 2xx status code
func (*ListWorkspacesUnauthorized) String ¶
func (o *ListWorkspacesUnauthorized) String() string
type UpdateWorkspaceMetadataForbidden ¶
UpdateWorkspaceMetadataForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateWorkspaceMetadataForbidden ¶
func NewUpdateWorkspaceMetadataForbidden() *UpdateWorkspaceMetadataForbidden
NewUpdateWorkspaceMetadataForbidden creates a UpdateWorkspaceMetadataForbidden with default headers values
func (*UpdateWorkspaceMetadataForbidden) Code ¶
func (o *UpdateWorkspaceMetadataForbidden) Code() int
Code gets the status code for the update workspace metadata forbidden response
func (*UpdateWorkspaceMetadataForbidden) Error ¶
func (o *UpdateWorkspaceMetadataForbidden) Error() string
func (*UpdateWorkspaceMetadataForbidden) GetPayload ¶
func (o *UpdateWorkspaceMetadataForbidden) GetPayload() *models.Error
func (*UpdateWorkspaceMetadataForbidden) IsClientError ¶
func (o *UpdateWorkspaceMetadataForbidden) IsClientError() bool
IsClientError returns true when this update workspace metadata forbidden response has a 4xx status code
func (*UpdateWorkspaceMetadataForbidden) IsCode ¶
func (o *UpdateWorkspaceMetadataForbidden) IsCode(code int) bool
IsCode returns true when this update workspace metadata forbidden response a status code equal to that given
func (*UpdateWorkspaceMetadataForbidden) IsRedirect ¶
func (o *UpdateWorkspaceMetadataForbidden) IsRedirect() bool
IsRedirect returns true when this update workspace metadata forbidden response has a 3xx status code
func (*UpdateWorkspaceMetadataForbidden) IsServerError ¶
func (o *UpdateWorkspaceMetadataForbidden) IsServerError() bool
IsServerError returns true when this update workspace metadata forbidden response has a 5xx status code
func (*UpdateWorkspaceMetadataForbidden) IsSuccess ¶
func (o *UpdateWorkspaceMetadataForbidden) IsSuccess() bool
IsSuccess returns true when this update workspace metadata forbidden response has a 2xx status code
func (*UpdateWorkspaceMetadataForbidden) String ¶
func (o *UpdateWorkspaceMetadataForbidden) String() string
type UpdateWorkspaceMetadataNotFound ¶
UpdateWorkspaceMetadataNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateWorkspaceMetadataNotFound ¶
func NewUpdateWorkspaceMetadataNotFound() *UpdateWorkspaceMetadataNotFound
NewUpdateWorkspaceMetadataNotFound creates a UpdateWorkspaceMetadataNotFound with default headers values
func (*UpdateWorkspaceMetadataNotFound) Code ¶
func (o *UpdateWorkspaceMetadataNotFound) Code() int
Code gets the status code for the update workspace metadata not found response
func (*UpdateWorkspaceMetadataNotFound) Error ¶
func (o *UpdateWorkspaceMetadataNotFound) Error() string
func (*UpdateWorkspaceMetadataNotFound) GetPayload ¶
func (o *UpdateWorkspaceMetadataNotFound) GetPayload() *models.Error
func (*UpdateWorkspaceMetadataNotFound) IsClientError ¶
func (o *UpdateWorkspaceMetadataNotFound) IsClientError() bool
IsClientError returns true when this update workspace metadata not found response has a 4xx status code
func (*UpdateWorkspaceMetadataNotFound) IsCode ¶
func (o *UpdateWorkspaceMetadataNotFound) IsCode(code int) bool
IsCode returns true when this update workspace metadata not found response a status code equal to that given
func (*UpdateWorkspaceMetadataNotFound) IsRedirect ¶
func (o *UpdateWorkspaceMetadataNotFound) IsRedirect() bool
IsRedirect returns true when this update workspace metadata not found response has a 3xx status code
func (*UpdateWorkspaceMetadataNotFound) IsServerError ¶
func (o *UpdateWorkspaceMetadataNotFound) IsServerError() bool
IsServerError returns true when this update workspace metadata not found response has a 5xx status code
func (*UpdateWorkspaceMetadataNotFound) IsSuccess ¶
func (o *UpdateWorkspaceMetadataNotFound) IsSuccess() bool
IsSuccess returns true when this update workspace metadata not found response has a 2xx status code
func (*UpdateWorkspaceMetadataNotFound) String ¶
func (o *UpdateWorkspaceMetadataNotFound) String() string
type UpdateWorkspaceMetadataOK ¶
type UpdateWorkspaceMetadataOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.WorkspaceMetadata }
UpdateWorkspaceMetadataOK describes a response with status code 200, with default header values.
Workspace metadata
func NewUpdateWorkspaceMetadataOK ¶
func NewUpdateWorkspaceMetadataOK() *UpdateWorkspaceMetadataOK
NewUpdateWorkspaceMetadataOK creates a UpdateWorkspaceMetadataOK with default headers values
func (*UpdateWorkspaceMetadataOK) Code ¶
func (o *UpdateWorkspaceMetadataOK) Code() int
Code gets the status code for the update workspace metadata o k response
func (*UpdateWorkspaceMetadataOK) Error ¶
func (o *UpdateWorkspaceMetadataOK) Error() string
func (*UpdateWorkspaceMetadataOK) GetPayload ¶
func (o *UpdateWorkspaceMetadataOK) GetPayload() *models.WorkspaceMetadata
func (*UpdateWorkspaceMetadataOK) IsClientError ¶
func (o *UpdateWorkspaceMetadataOK) IsClientError() bool
IsClientError returns true when this update workspace metadata o k response has a 4xx status code
func (*UpdateWorkspaceMetadataOK) IsCode ¶
func (o *UpdateWorkspaceMetadataOK) IsCode(code int) bool
IsCode returns true when this update workspace metadata o k response a status code equal to that given
func (*UpdateWorkspaceMetadataOK) IsRedirect ¶
func (o *UpdateWorkspaceMetadataOK) IsRedirect() bool
IsRedirect returns true when this update workspace metadata o k response has a 3xx status code
func (*UpdateWorkspaceMetadataOK) IsServerError ¶
func (o *UpdateWorkspaceMetadataOK) IsServerError() bool
IsServerError returns true when this update workspace metadata o k response has a 5xx status code
func (*UpdateWorkspaceMetadataOK) IsSuccess ¶
func (o *UpdateWorkspaceMetadataOK) IsSuccess() bool
IsSuccess returns true when this update workspace metadata o k response has a 2xx status code
func (*UpdateWorkspaceMetadataOK) String ¶
func (o *UpdateWorkspaceMetadataOK) String() string
type UpdateWorkspaceMetadataParams ¶
type UpdateWorkspaceMetadataParams struct { // WorkspaceMetadata. WorkspaceMetadata *models.WorkspaceMetadata /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Wid. Workspace id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateWorkspaceMetadataParams contains all the parameters to send to the API endpoint
for the update workspace metadata operation. Typically these are written to a http.Request.
func NewUpdateWorkspaceMetadataParams ¶
func NewUpdateWorkspaceMetadataParams() *UpdateWorkspaceMetadataParams
NewUpdateWorkspaceMetadataParams creates a new UpdateWorkspaceMetadataParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateWorkspaceMetadataParamsWithContext ¶
func NewUpdateWorkspaceMetadataParamsWithContext(ctx context.Context) *UpdateWorkspaceMetadataParams
NewUpdateWorkspaceMetadataParamsWithContext creates a new UpdateWorkspaceMetadataParams object with the ability to set a context for a request.
func NewUpdateWorkspaceMetadataParamsWithHTTPClient ¶
func NewUpdateWorkspaceMetadataParamsWithHTTPClient(client *http.Client) *UpdateWorkspaceMetadataParams
NewUpdateWorkspaceMetadataParamsWithHTTPClient creates a new UpdateWorkspaceMetadataParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateWorkspaceMetadataParamsWithTimeout ¶
func NewUpdateWorkspaceMetadataParamsWithTimeout(timeout time.Duration) *UpdateWorkspaceMetadataParams
NewUpdateWorkspaceMetadataParamsWithTimeout creates a new UpdateWorkspaceMetadataParams object with the ability to set a timeout on a request.
func (*UpdateWorkspaceMetadataParams) SetContext ¶
func (o *UpdateWorkspaceMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the update workspace metadata params
func (*UpdateWorkspaceMetadataParams) SetDefaults ¶
func (o *UpdateWorkspaceMetadataParams) SetDefaults()
SetDefaults hydrates default values in the update workspace metadata params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateWorkspaceMetadataParams) SetHTTPClient ¶
func (o *UpdateWorkspaceMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update workspace metadata params
func (*UpdateWorkspaceMetadataParams) SetIfMatch ¶
func (o *UpdateWorkspaceMetadataParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the update workspace metadata params
func (*UpdateWorkspaceMetadataParams) SetTimeout ¶
func (o *UpdateWorkspaceMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update workspace metadata params
func (*UpdateWorkspaceMetadataParams) SetWid ¶
func (o *UpdateWorkspaceMetadataParams) SetWid(wid string)
SetWid adds the wid to the update workspace metadata params
func (*UpdateWorkspaceMetadataParams) SetWorkspaceMetadata ¶
func (o *UpdateWorkspaceMetadataParams) SetWorkspaceMetadata(workspaceMetadata *models.WorkspaceMetadata)
SetWorkspaceMetadata adds the workspaceMetadata to the update workspace metadata params
func (*UpdateWorkspaceMetadataParams) WithContext ¶
func (o *UpdateWorkspaceMetadataParams) WithContext(ctx context.Context) *UpdateWorkspaceMetadataParams
WithContext adds the context to the update workspace metadata params
func (*UpdateWorkspaceMetadataParams) WithDefaults ¶
func (o *UpdateWorkspaceMetadataParams) WithDefaults() *UpdateWorkspaceMetadataParams
WithDefaults hydrates default values in the update workspace metadata params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateWorkspaceMetadataParams) WithHTTPClient ¶
func (o *UpdateWorkspaceMetadataParams) WithHTTPClient(client *http.Client) *UpdateWorkspaceMetadataParams
WithHTTPClient adds the HTTPClient to the update workspace metadata params
func (*UpdateWorkspaceMetadataParams) WithIfMatch ¶
func (o *UpdateWorkspaceMetadataParams) WithIfMatch(ifMatch *string) *UpdateWorkspaceMetadataParams
WithIfMatch adds the ifMatch to the update workspace metadata params
func (*UpdateWorkspaceMetadataParams) WithTimeout ¶
func (o *UpdateWorkspaceMetadataParams) WithTimeout(timeout time.Duration) *UpdateWorkspaceMetadataParams
WithTimeout adds the timeout to the update workspace metadata params
func (*UpdateWorkspaceMetadataParams) WithWid ¶
func (o *UpdateWorkspaceMetadataParams) WithWid(wid string) *UpdateWorkspaceMetadataParams
WithWid adds the wid to the update workspace metadata params
func (*UpdateWorkspaceMetadataParams) WithWorkspaceMetadata ¶
func (o *UpdateWorkspaceMetadataParams) WithWorkspaceMetadata(workspaceMetadata *models.WorkspaceMetadata) *UpdateWorkspaceMetadataParams
WithWorkspaceMetadata adds the workspaceMetadata to the update workspace metadata params
func (*UpdateWorkspaceMetadataParams) WriteToRequest ¶
func (o *UpdateWorkspaceMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateWorkspaceMetadataReader ¶
type UpdateWorkspaceMetadataReader struct {
// contains filtered or unexported fields
}
UpdateWorkspaceMetadataReader is a Reader for the UpdateWorkspaceMetadata structure.
func (*UpdateWorkspaceMetadataReader) ReadResponse ¶
func (o *UpdateWorkspaceMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateWorkspaceMetadataTooManyRequests ¶
UpdateWorkspaceMetadataTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewUpdateWorkspaceMetadataTooManyRequests ¶
func NewUpdateWorkspaceMetadataTooManyRequests() *UpdateWorkspaceMetadataTooManyRequests
NewUpdateWorkspaceMetadataTooManyRequests creates a UpdateWorkspaceMetadataTooManyRequests with default headers values
func (*UpdateWorkspaceMetadataTooManyRequests) Code ¶
func (o *UpdateWorkspaceMetadataTooManyRequests) Code() int
Code gets the status code for the update workspace metadata too many requests response
func (*UpdateWorkspaceMetadataTooManyRequests) Error ¶
func (o *UpdateWorkspaceMetadataTooManyRequests) Error() string
func (*UpdateWorkspaceMetadataTooManyRequests) GetPayload ¶
func (o *UpdateWorkspaceMetadataTooManyRequests) GetPayload() *models.Error
func (*UpdateWorkspaceMetadataTooManyRequests) IsClientError ¶
func (o *UpdateWorkspaceMetadataTooManyRequests) IsClientError() bool
IsClientError returns true when this update workspace metadata too many requests response has a 4xx status code
func (*UpdateWorkspaceMetadataTooManyRequests) IsCode ¶
func (o *UpdateWorkspaceMetadataTooManyRequests) IsCode(code int) bool
IsCode returns true when this update workspace metadata too many requests response a status code equal to that given
func (*UpdateWorkspaceMetadataTooManyRequests) IsRedirect ¶
func (o *UpdateWorkspaceMetadataTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update workspace metadata too many requests response has a 3xx status code
func (*UpdateWorkspaceMetadataTooManyRequests) IsServerError ¶
func (o *UpdateWorkspaceMetadataTooManyRequests) IsServerError() bool
IsServerError returns true when this update workspace metadata too many requests response has a 5xx status code
func (*UpdateWorkspaceMetadataTooManyRequests) IsSuccess ¶
func (o *UpdateWorkspaceMetadataTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update workspace metadata too many requests response has a 2xx status code
func (*UpdateWorkspaceMetadataTooManyRequests) String ¶
func (o *UpdateWorkspaceMetadataTooManyRequests) String() string
type UpdateWorkspaceMetadataUnauthorized ¶
type UpdateWorkspaceMetadataUnauthorized struct {
}UpdateWorkspaceMetadataUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateWorkspaceMetadataUnauthorized ¶
func NewUpdateWorkspaceMetadataUnauthorized() *UpdateWorkspaceMetadataUnauthorized
NewUpdateWorkspaceMetadataUnauthorized creates a UpdateWorkspaceMetadataUnauthorized with default headers values
func (*UpdateWorkspaceMetadataUnauthorized) Code ¶
func (o *UpdateWorkspaceMetadataUnauthorized) Code() int
Code gets the status code for the update workspace metadata unauthorized response
func (*UpdateWorkspaceMetadataUnauthorized) Error ¶
func (o *UpdateWorkspaceMetadataUnauthorized) Error() string
func (*UpdateWorkspaceMetadataUnauthorized) GetPayload ¶
func (o *UpdateWorkspaceMetadataUnauthorized) GetPayload() *models.Error
func (*UpdateWorkspaceMetadataUnauthorized) IsClientError ¶
func (o *UpdateWorkspaceMetadataUnauthorized) IsClientError() bool
IsClientError returns true when this update workspace metadata unauthorized response has a 4xx status code
func (*UpdateWorkspaceMetadataUnauthorized) IsCode ¶
func (o *UpdateWorkspaceMetadataUnauthorized) IsCode(code int) bool
IsCode returns true when this update workspace metadata unauthorized response a status code equal to that given
func (*UpdateWorkspaceMetadataUnauthorized) IsRedirect ¶
func (o *UpdateWorkspaceMetadataUnauthorized) IsRedirect() bool
IsRedirect returns true when this update workspace metadata unauthorized response has a 3xx status code
func (*UpdateWorkspaceMetadataUnauthorized) IsServerError ¶
func (o *UpdateWorkspaceMetadataUnauthorized) IsServerError() bool
IsServerError returns true when this update workspace metadata unauthorized response has a 5xx status code
func (*UpdateWorkspaceMetadataUnauthorized) IsSuccess ¶
func (o *UpdateWorkspaceMetadataUnauthorized) IsSuccess() bool
IsSuccess returns true when this update workspace metadata unauthorized response has a 2xx status code
func (*UpdateWorkspaceMetadataUnauthorized) String ¶
func (o *UpdateWorkspaceMetadataUnauthorized) String() string