Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteWorkspace(params *DeleteWorkspaceParams, opts ...ClientOption) (*DeleteWorkspaceOK, error)
- func (a *Client) PutWorkspace(params *PutWorkspaceParams, opts ...ClientOption) (*PutWorkspaceOK, error)
- func (a *Client) SearchWorkspaces(params *SearchWorkspacesParams, opts ...ClientOption) (*SearchWorkspacesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteWorkspaceForbidden
- func (o *DeleteWorkspaceForbidden) Code() int
- func (o *DeleteWorkspaceForbidden) Error() string
- func (o *DeleteWorkspaceForbidden) GetPayload() *models.RestError
- func (o *DeleteWorkspaceForbidden) IsClientError() bool
- func (o *DeleteWorkspaceForbidden) IsCode(code int) bool
- func (o *DeleteWorkspaceForbidden) IsRedirect() bool
- func (o *DeleteWorkspaceForbidden) IsServerError() bool
- func (o *DeleteWorkspaceForbidden) IsSuccess() bool
- func (o *DeleteWorkspaceForbidden) String() string
- type DeleteWorkspaceInternalServerError
- func (o *DeleteWorkspaceInternalServerError) Code() int
- func (o *DeleteWorkspaceInternalServerError) Error() string
- func (o *DeleteWorkspaceInternalServerError) GetPayload() *models.RestError
- func (o *DeleteWorkspaceInternalServerError) IsClientError() bool
- func (o *DeleteWorkspaceInternalServerError) IsCode(code int) bool
- func (o *DeleteWorkspaceInternalServerError) IsRedirect() bool
- func (o *DeleteWorkspaceInternalServerError) IsServerError() bool
- func (o *DeleteWorkspaceInternalServerError) IsSuccess() bool
- func (o *DeleteWorkspaceInternalServerError) String() string
- type DeleteWorkspaceNotFound
- func (o *DeleteWorkspaceNotFound) Code() int
- func (o *DeleteWorkspaceNotFound) Error() string
- func (o *DeleteWorkspaceNotFound) GetPayload() *models.RestError
- func (o *DeleteWorkspaceNotFound) IsClientError() bool
- func (o *DeleteWorkspaceNotFound) IsCode(code int) bool
- func (o *DeleteWorkspaceNotFound) IsRedirect() bool
- func (o *DeleteWorkspaceNotFound) IsServerError() bool
- func (o *DeleteWorkspaceNotFound) IsSuccess() bool
- func (o *DeleteWorkspaceNotFound) String() string
- type DeleteWorkspaceOK
- func (o *DeleteWorkspaceOK) Code() int
- func (o *DeleteWorkspaceOK) Error() string
- func (o *DeleteWorkspaceOK) GetPayload() *models.RestDeleteResponse
- func (o *DeleteWorkspaceOK) IsClientError() bool
- func (o *DeleteWorkspaceOK) IsCode(code int) bool
- func (o *DeleteWorkspaceOK) IsRedirect() bool
- func (o *DeleteWorkspaceOK) IsServerError() bool
- func (o *DeleteWorkspaceOK) IsSuccess() bool
- func (o *DeleteWorkspaceOK) String() string
- type DeleteWorkspaceParams
- func NewDeleteWorkspaceParams() *DeleteWorkspaceParams
- func NewDeleteWorkspaceParamsWithContext(ctx context.Context) *DeleteWorkspaceParams
- func NewDeleteWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteWorkspaceParams
- func NewDeleteWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteWorkspaceParams
- func (o *DeleteWorkspaceParams) SetAttributes(attributes *string)
- func (o *DeleteWorkspaceParams) SetContext(ctx context.Context)
- func (o *DeleteWorkspaceParams) SetDefaults()
- func (o *DeleteWorkspaceParams) SetDescription(description *string)
- func (o *DeleteWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteWorkspaceParams) SetLabel(label *string)
- func (o *DeleteWorkspaceParams) SetLastUpdated(lastUpdated *int32)
- func (o *DeleteWorkspaceParams) SetPoliciesContextEditable(policiesContextEditable *bool)
- func (o *DeleteWorkspaceParams) SetRootUUIDs(rootUUIDs []string)
- func (o *DeleteWorkspaceParams) SetScope(scope *string)
- func (o *DeleteWorkspaceParams) SetSlug(slug string)
- func (o *DeleteWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteWorkspaceParams) SetUUID(uuid *string)
- func (o *DeleteWorkspaceParams) WithAttributes(attributes *string) *DeleteWorkspaceParams
- func (o *DeleteWorkspaceParams) WithContext(ctx context.Context) *DeleteWorkspaceParams
- func (o *DeleteWorkspaceParams) WithDefaults() *DeleteWorkspaceParams
- func (o *DeleteWorkspaceParams) WithDescription(description *string) *DeleteWorkspaceParams
- func (o *DeleteWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteWorkspaceParams
- func (o *DeleteWorkspaceParams) WithLabel(label *string) *DeleteWorkspaceParams
- func (o *DeleteWorkspaceParams) WithLastUpdated(lastUpdated *int32) *DeleteWorkspaceParams
- func (o *DeleteWorkspaceParams) WithPoliciesContextEditable(policiesContextEditable *bool) *DeleteWorkspaceParams
- func (o *DeleteWorkspaceParams) WithRootUUIDs(rootUUIDs []string) *DeleteWorkspaceParams
- func (o *DeleteWorkspaceParams) WithScope(scope *string) *DeleteWorkspaceParams
- func (o *DeleteWorkspaceParams) WithSlug(slug string) *DeleteWorkspaceParams
- func (o *DeleteWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteWorkspaceParams
- func (o *DeleteWorkspaceParams) WithUUID(uuid *string) *DeleteWorkspaceParams
- func (o *DeleteWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteWorkspaceReader
- type DeleteWorkspaceUnauthorized
- func (o *DeleteWorkspaceUnauthorized) Code() int
- func (o *DeleteWorkspaceUnauthorized) Error() string
- func (o *DeleteWorkspaceUnauthorized) IsClientError() bool
- func (o *DeleteWorkspaceUnauthorized) IsCode(code int) bool
- func (o *DeleteWorkspaceUnauthorized) IsRedirect() bool
- func (o *DeleteWorkspaceUnauthorized) IsServerError() bool
- func (o *DeleteWorkspaceUnauthorized) IsSuccess() bool
- func (o *DeleteWorkspaceUnauthorized) String() string
- type PutWorkspaceBody
- type PutWorkspaceForbidden
- func (o *PutWorkspaceForbidden) Code() int
- func (o *PutWorkspaceForbidden) Error() string
- func (o *PutWorkspaceForbidden) GetPayload() *models.RestError
- func (o *PutWorkspaceForbidden) IsClientError() bool
- func (o *PutWorkspaceForbidden) IsCode(code int) bool
- func (o *PutWorkspaceForbidden) IsRedirect() bool
- func (o *PutWorkspaceForbidden) IsServerError() bool
- func (o *PutWorkspaceForbidden) IsSuccess() bool
- func (o *PutWorkspaceForbidden) String() string
- type PutWorkspaceInternalServerError
- func (o *PutWorkspaceInternalServerError) Code() int
- func (o *PutWorkspaceInternalServerError) Error() string
- func (o *PutWorkspaceInternalServerError) GetPayload() *models.RestError
- func (o *PutWorkspaceInternalServerError) IsClientError() bool
- func (o *PutWorkspaceInternalServerError) IsCode(code int) bool
- func (o *PutWorkspaceInternalServerError) IsRedirect() bool
- func (o *PutWorkspaceInternalServerError) IsServerError() bool
- func (o *PutWorkspaceInternalServerError) IsSuccess() bool
- func (o *PutWorkspaceInternalServerError) String() string
- type PutWorkspaceNotFound
- func (o *PutWorkspaceNotFound) Code() int
- func (o *PutWorkspaceNotFound) Error() string
- func (o *PutWorkspaceNotFound) GetPayload() *models.RestError
- func (o *PutWorkspaceNotFound) IsClientError() bool
- func (o *PutWorkspaceNotFound) IsCode(code int) bool
- func (o *PutWorkspaceNotFound) IsRedirect() bool
- func (o *PutWorkspaceNotFound) IsServerError() bool
- func (o *PutWorkspaceNotFound) IsSuccess() bool
- func (o *PutWorkspaceNotFound) String() string
- type PutWorkspaceOK
- func (o *PutWorkspaceOK) Code() int
- func (o *PutWorkspaceOK) Error() string
- func (o *PutWorkspaceOK) GetPayload() *models.IdmWorkspace
- func (o *PutWorkspaceOK) IsClientError() bool
- func (o *PutWorkspaceOK) IsCode(code int) bool
- func (o *PutWorkspaceOK) IsRedirect() bool
- func (o *PutWorkspaceOK) IsServerError() bool
- func (o *PutWorkspaceOK) IsSuccess() bool
- func (o *PutWorkspaceOK) String() string
- type PutWorkspaceParams
- func (o *PutWorkspaceParams) SetBody(body PutWorkspaceBody)
- func (o *PutWorkspaceParams) SetContext(ctx context.Context)
- func (o *PutWorkspaceParams) SetDefaults()
- func (o *PutWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *PutWorkspaceParams) SetSlug(slug string)
- func (o *PutWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *PutWorkspaceParams) WithBody(body PutWorkspaceBody) *PutWorkspaceParams
- func (o *PutWorkspaceParams) WithContext(ctx context.Context) *PutWorkspaceParams
- func (o *PutWorkspaceParams) WithDefaults() *PutWorkspaceParams
- func (o *PutWorkspaceParams) WithHTTPClient(client *http.Client) *PutWorkspaceParams
- func (o *PutWorkspaceParams) WithSlug(slug string) *PutWorkspaceParams
- func (o *PutWorkspaceParams) WithTimeout(timeout time.Duration) *PutWorkspaceParams
- func (o *PutWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutWorkspaceReader
- type PutWorkspaceUnauthorized
- func (o *PutWorkspaceUnauthorized) Code() int
- func (o *PutWorkspaceUnauthorized) Error() string
- func (o *PutWorkspaceUnauthorized) IsClientError() bool
- func (o *PutWorkspaceUnauthorized) IsCode(code int) bool
- func (o *PutWorkspaceUnauthorized) IsRedirect() bool
- func (o *PutWorkspaceUnauthorized) IsServerError() bool
- func (o *PutWorkspaceUnauthorized) IsSuccess() bool
- func (o *PutWorkspaceUnauthorized) String() string
- type SearchWorkspacesForbidden
- func (o *SearchWorkspacesForbidden) Code() int
- func (o *SearchWorkspacesForbidden) Error() string
- func (o *SearchWorkspacesForbidden) GetPayload() *models.RestError
- func (o *SearchWorkspacesForbidden) IsClientError() bool
- func (o *SearchWorkspacesForbidden) IsCode(code int) bool
- func (o *SearchWorkspacesForbidden) IsRedirect() bool
- func (o *SearchWorkspacesForbidden) IsServerError() bool
- func (o *SearchWorkspacesForbidden) IsSuccess() bool
- func (o *SearchWorkspacesForbidden) String() string
- type SearchWorkspacesInternalServerError
- func (o *SearchWorkspacesInternalServerError) Code() int
- func (o *SearchWorkspacesInternalServerError) Error() string
- func (o *SearchWorkspacesInternalServerError) GetPayload() *models.RestError
- func (o *SearchWorkspacesInternalServerError) IsClientError() bool
- func (o *SearchWorkspacesInternalServerError) IsCode(code int) bool
- func (o *SearchWorkspacesInternalServerError) IsRedirect() bool
- func (o *SearchWorkspacesInternalServerError) IsServerError() bool
- func (o *SearchWorkspacesInternalServerError) IsSuccess() bool
- func (o *SearchWorkspacesInternalServerError) String() string
- type SearchWorkspacesNotFound
- func (o *SearchWorkspacesNotFound) Code() int
- func (o *SearchWorkspacesNotFound) Error() string
- func (o *SearchWorkspacesNotFound) GetPayload() *models.RestError
- func (o *SearchWorkspacesNotFound) IsClientError() bool
- func (o *SearchWorkspacesNotFound) IsCode(code int) bool
- func (o *SearchWorkspacesNotFound) IsRedirect() bool
- func (o *SearchWorkspacesNotFound) IsServerError() bool
- func (o *SearchWorkspacesNotFound) IsSuccess() bool
- func (o *SearchWorkspacesNotFound) String() string
- type SearchWorkspacesOK
- func (o *SearchWorkspacesOK) Code() int
- func (o *SearchWorkspacesOK) Error() string
- func (o *SearchWorkspacesOK) GetPayload() *models.RestWorkspaceCollection
- func (o *SearchWorkspacesOK) IsClientError() bool
- func (o *SearchWorkspacesOK) IsCode(code int) bool
- func (o *SearchWorkspacesOK) IsRedirect() bool
- func (o *SearchWorkspacesOK) IsServerError() bool
- func (o *SearchWorkspacesOK) IsSuccess() bool
- func (o *SearchWorkspacesOK) String() string
- type SearchWorkspacesParams
- func NewSearchWorkspacesParams() *SearchWorkspacesParams
- func NewSearchWorkspacesParamsWithContext(ctx context.Context) *SearchWorkspacesParams
- func NewSearchWorkspacesParamsWithHTTPClient(client *http.Client) *SearchWorkspacesParams
- func NewSearchWorkspacesParamsWithTimeout(timeout time.Duration) *SearchWorkspacesParams
- func (o *SearchWorkspacesParams) SetBody(body *models.RestSearchWorkspaceRequest)
- func (o *SearchWorkspacesParams) SetContext(ctx context.Context)
- func (o *SearchWorkspacesParams) SetDefaults()
- func (o *SearchWorkspacesParams) SetHTTPClient(client *http.Client)
- func (o *SearchWorkspacesParams) SetTimeout(timeout time.Duration)
- func (o *SearchWorkspacesParams) WithBody(body *models.RestSearchWorkspaceRequest) *SearchWorkspacesParams
- func (o *SearchWorkspacesParams) WithContext(ctx context.Context) *SearchWorkspacesParams
- func (o *SearchWorkspacesParams) WithDefaults() *SearchWorkspacesParams
- func (o *SearchWorkspacesParams) WithHTTPClient(client *http.Client) *SearchWorkspacesParams
- func (o *SearchWorkspacesParams) WithTimeout(timeout time.Duration) *SearchWorkspacesParams
- func (o *SearchWorkspacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchWorkspacesReader
- type SearchWorkspacesUnauthorized
- func (o *SearchWorkspacesUnauthorized) Code() int
- func (o *SearchWorkspacesUnauthorized) Error() string
- func (o *SearchWorkspacesUnauthorized) IsClientError() bool
- func (o *SearchWorkspacesUnauthorized) IsCode(code int) bool
- func (o *SearchWorkspacesUnauthorized) IsRedirect() bool
- func (o *SearchWorkspacesUnauthorized) IsServerError() bool
- func (o *SearchWorkspacesUnauthorized) IsSuccess() bool
- func (o *SearchWorkspacesUnauthorized) 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 workspace service API
func (*Client) DeleteWorkspace ¶
func (a *Client) DeleteWorkspace(params *DeleteWorkspaceParams, opts ...ClientOption) (*DeleteWorkspaceOK, error)
DeleteWorkspace deletes an existing workspace
func (*Client) PutWorkspace ¶
func (a *Client) PutWorkspace(params *PutWorkspaceParams, opts ...ClientOption) (*PutWorkspaceOK, error)
PutWorkspace creates or update a workspace
func (*Client) SearchWorkspaces ¶
func (a *Client) SearchWorkspaces(params *SearchWorkspacesParams, opts ...ClientOption) (*SearchWorkspacesOK, error)
SearchWorkspaces searches workspaces on certain keys
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteWorkspace(params *DeleteWorkspaceParams, opts ...ClientOption) (*DeleteWorkspaceOK, error) PutWorkspace(params *PutWorkspaceParams, opts ...ClientOption) (*PutWorkspaceOK, error) SearchWorkspaces(params *SearchWorkspacesParams, opts ...ClientOption) (*SearchWorkspacesOK, 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 workspace service API client.
type DeleteWorkspaceForbidden ¶
DeleteWorkspaceForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewDeleteWorkspaceForbidden ¶
func NewDeleteWorkspaceForbidden() *DeleteWorkspaceForbidden
NewDeleteWorkspaceForbidden creates a DeleteWorkspaceForbidden with default headers values
func (*DeleteWorkspaceForbidden) Code ¶
func (o *DeleteWorkspaceForbidden) Code() int
Code gets the status code for the delete workspace forbidden response
func (*DeleteWorkspaceForbidden) Error ¶
func (o *DeleteWorkspaceForbidden) Error() string
func (*DeleteWorkspaceForbidden) GetPayload ¶
func (o *DeleteWorkspaceForbidden) GetPayload() *models.RestError
func (*DeleteWorkspaceForbidden) IsClientError ¶
func (o *DeleteWorkspaceForbidden) IsClientError() bool
IsClientError returns true when this delete workspace forbidden response has a 4xx status code
func (*DeleteWorkspaceForbidden) IsCode ¶
func (o *DeleteWorkspaceForbidden) IsCode(code int) bool
IsCode returns true when this delete workspace forbidden response a status code equal to that given
func (*DeleteWorkspaceForbidden) IsRedirect ¶
func (o *DeleteWorkspaceForbidden) IsRedirect() bool
IsRedirect returns true when this delete workspace forbidden response has a 3xx status code
func (*DeleteWorkspaceForbidden) IsServerError ¶
func (o *DeleteWorkspaceForbidden) IsServerError() bool
IsServerError returns true when this delete workspace forbidden response has a 5xx status code
func (*DeleteWorkspaceForbidden) IsSuccess ¶
func (o *DeleteWorkspaceForbidden) IsSuccess() bool
IsSuccess returns true when this delete workspace forbidden response has a 2xx status code
func (*DeleteWorkspaceForbidden) String ¶
func (o *DeleteWorkspaceForbidden) String() string
type DeleteWorkspaceInternalServerError ¶
DeleteWorkspaceInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewDeleteWorkspaceInternalServerError ¶
func NewDeleteWorkspaceInternalServerError() *DeleteWorkspaceInternalServerError
NewDeleteWorkspaceInternalServerError creates a DeleteWorkspaceInternalServerError with default headers values
func (*DeleteWorkspaceInternalServerError) Code ¶
func (o *DeleteWorkspaceInternalServerError) Code() int
Code gets the status code for the delete workspace internal server error response
func (*DeleteWorkspaceInternalServerError) Error ¶
func (o *DeleteWorkspaceInternalServerError) Error() string
func (*DeleteWorkspaceInternalServerError) GetPayload ¶
func (o *DeleteWorkspaceInternalServerError) GetPayload() *models.RestError
func (*DeleteWorkspaceInternalServerError) IsClientError ¶
func (o *DeleteWorkspaceInternalServerError) IsClientError() bool
IsClientError returns true when this delete workspace internal server error response has a 4xx status code
func (*DeleteWorkspaceInternalServerError) IsCode ¶
func (o *DeleteWorkspaceInternalServerError) IsCode(code int) bool
IsCode returns true when this delete workspace internal server error response a status code equal to that given
func (*DeleteWorkspaceInternalServerError) IsRedirect ¶
func (o *DeleteWorkspaceInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete workspace internal server error response has a 3xx status code
func (*DeleteWorkspaceInternalServerError) IsServerError ¶
func (o *DeleteWorkspaceInternalServerError) IsServerError() bool
IsServerError returns true when this delete workspace internal server error response has a 5xx status code
func (*DeleteWorkspaceInternalServerError) IsSuccess ¶
func (o *DeleteWorkspaceInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete workspace internal server error response has a 2xx status code
func (*DeleteWorkspaceInternalServerError) String ¶
func (o *DeleteWorkspaceInternalServerError) String() string
type DeleteWorkspaceNotFound ¶
DeleteWorkspaceNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewDeleteWorkspaceNotFound ¶
func NewDeleteWorkspaceNotFound() *DeleteWorkspaceNotFound
NewDeleteWorkspaceNotFound creates a DeleteWorkspaceNotFound with default headers values
func (*DeleteWorkspaceNotFound) Code ¶
func (o *DeleteWorkspaceNotFound) Code() int
Code gets the status code for the delete workspace not found response
func (*DeleteWorkspaceNotFound) Error ¶
func (o *DeleteWorkspaceNotFound) Error() string
func (*DeleteWorkspaceNotFound) GetPayload ¶
func (o *DeleteWorkspaceNotFound) GetPayload() *models.RestError
func (*DeleteWorkspaceNotFound) IsClientError ¶
func (o *DeleteWorkspaceNotFound) IsClientError() bool
IsClientError returns true when this delete workspace not found response has a 4xx status code
func (*DeleteWorkspaceNotFound) IsCode ¶
func (o *DeleteWorkspaceNotFound) IsCode(code int) bool
IsCode returns true when this delete workspace not found response a status code equal to that given
func (*DeleteWorkspaceNotFound) IsRedirect ¶
func (o *DeleteWorkspaceNotFound) IsRedirect() bool
IsRedirect returns true when this delete workspace not found response has a 3xx status code
func (*DeleteWorkspaceNotFound) IsServerError ¶
func (o *DeleteWorkspaceNotFound) IsServerError() bool
IsServerError returns true when this delete workspace not found response has a 5xx status code
func (*DeleteWorkspaceNotFound) IsSuccess ¶
func (o *DeleteWorkspaceNotFound) IsSuccess() bool
IsSuccess returns true when this delete workspace not found response has a 2xx status code
func (*DeleteWorkspaceNotFound) String ¶
func (o *DeleteWorkspaceNotFound) String() string
type DeleteWorkspaceOK ¶
type DeleteWorkspaceOK struct {
Payload *models.RestDeleteResponse
}
DeleteWorkspaceOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteWorkspaceOK ¶
func NewDeleteWorkspaceOK() *DeleteWorkspaceOK
NewDeleteWorkspaceOK creates a DeleteWorkspaceOK with default headers values
func (*DeleteWorkspaceOK) Code ¶
func (o *DeleteWorkspaceOK) Code() int
Code gets the status code for the delete workspace o k response
func (*DeleteWorkspaceOK) Error ¶
func (o *DeleteWorkspaceOK) Error() string
func (*DeleteWorkspaceOK) GetPayload ¶
func (o *DeleteWorkspaceOK) GetPayload() *models.RestDeleteResponse
func (*DeleteWorkspaceOK) IsClientError ¶
func (o *DeleteWorkspaceOK) IsClientError() bool
IsClientError returns true when this delete workspace o k response has a 4xx status code
func (*DeleteWorkspaceOK) IsCode ¶
func (o *DeleteWorkspaceOK) IsCode(code int) bool
IsCode returns true when this delete workspace o k response a status code equal to that given
func (*DeleteWorkspaceOK) IsRedirect ¶
func (o *DeleteWorkspaceOK) IsRedirect() bool
IsRedirect returns true when this delete workspace o k response has a 3xx status code
func (*DeleteWorkspaceOK) IsServerError ¶
func (o *DeleteWorkspaceOK) IsServerError() bool
IsServerError returns true when this delete workspace o k response has a 5xx status code
func (*DeleteWorkspaceOK) IsSuccess ¶
func (o *DeleteWorkspaceOK) IsSuccess() bool
IsSuccess returns true when this delete workspace o k response has a 2xx status code
func (*DeleteWorkspaceOK) String ¶
func (o *DeleteWorkspaceOK) String() string
type DeleteWorkspaceParams ¶
type DeleteWorkspaceParams struct { /* Attributes. JSON-encoded list of attributes */ Attributes *string /* Description. Description of the workspace (max length 1000) */ Description *string /* Label. Label of the workspace (max length 500) */ Label *string /* LastUpdated. Last modification time Format: int32 */ LastUpdated *int32 /* PoliciesContextEditable. Context-resolved to quickly check if workspace is editable or not */ PoliciesContextEditable *bool /* RootUUIDs. Quick list of the RootNodes uuids */ RootUUIDs []string /* Scope. Scope can be ADMIN, ROOM (=CELL) or LINK Default: "ANY" */ Scope *string /* Slug. Slug is an url-compatible form of the workspace label, or can be freely modified (max length 500) */ Slug string /* UUID. Unique identifier of the workspace */ UUID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteWorkspaceParams contains all the parameters to send to the API endpoint
for the delete workspace operation. Typically these are written to a http.Request.
func NewDeleteWorkspaceParams ¶
func NewDeleteWorkspaceParams() *DeleteWorkspaceParams
NewDeleteWorkspaceParams creates a new DeleteWorkspaceParams 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 NewDeleteWorkspaceParamsWithContext ¶
func NewDeleteWorkspaceParamsWithContext(ctx context.Context) *DeleteWorkspaceParams
NewDeleteWorkspaceParamsWithContext creates a new DeleteWorkspaceParams object with the ability to set a context for a request.
func NewDeleteWorkspaceParamsWithHTTPClient ¶
func NewDeleteWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteWorkspaceParams
NewDeleteWorkspaceParamsWithHTTPClient creates a new DeleteWorkspaceParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteWorkspaceParamsWithTimeout ¶
func NewDeleteWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteWorkspaceParams
NewDeleteWorkspaceParamsWithTimeout creates a new DeleteWorkspaceParams object with the ability to set a timeout on a request.
func (*DeleteWorkspaceParams) SetAttributes ¶
func (o *DeleteWorkspaceParams) SetAttributes(attributes *string)
SetAttributes adds the attributes to the delete workspace params
func (*DeleteWorkspaceParams) SetContext ¶
func (o *DeleteWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete workspace params
func (*DeleteWorkspaceParams) SetDefaults ¶
func (o *DeleteWorkspaceParams) SetDefaults()
SetDefaults hydrates default values in the delete workspace params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteWorkspaceParams) SetDescription ¶
func (o *DeleteWorkspaceParams) SetDescription(description *string)
SetDescription adds the description to the delete workspace params
func (*DeleteWorkspaceParams) SetHTTPClient ¶
func (o *DeleteWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete workspace params
func (*DeleteWorkspaceParams) SetLabel ¶
func (o *DeleteWorkspaceParams) SetLabel(label *string)
SetLabel adds the label to the delete workspace params
func (*DeleteWorkspaceParams) SetLastUpdated ¶
func (o *DeleteWorkspaceParams) SetLastUpdated(lastUpdated *int32)
SetLastUpdated adds the lastUpdated to the delete workspace params
func (*DeleteWorkspaceParams) SetPoliciesContextEditable ¶
func (o *DeleteWorkspaceParams) SetPoliciesContextEditable(policiesContextEditable *bool)
SetPoliciesContextEditable adds the policiesContextEditable to the delete workspace params
func (*DeleteWorkspaceParams) SetRootUUIDs ¶
func (o *DeleteWorkspaceParams) SetRootUUIDs(rootUUIDs []string)
SetRootUUIDs adds the rootUUiDs to the delete workspace params
func (*DeleteWorkspaceParams) SetScope ¶
func (o *DeleteWorkspaceParams) SetScope(scope *string)
SetScope adds the scope to the delete workspace params
func (*DeleteWorkspaceParams) SetSlug ¶
func (o *DeleteWorkspaceParams) SetSlug(slug string)
SetSlug adds the slug to the delete workspace params
func (*DeleteWorkspaceParams) SetTimeout ¶
func (o *DeleteWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete workspace params
func (*DeleteWorkspaceParams) SetUUID ¶
func (o *DeleteWorkspaceParams) SetUUID(uuid *string)
SetUUID adds the uuid to the delete workspace params
func (*DeleteWorkspaceParams) WithAttributes ¶
func (o *DeleteWorkspaceParams) WithAttributes(attributes *string) *DeleteWorkspaceParams
WithAttributes adds the attributes to the delete workspace params
func (*DeleteWorkspaceParams) WithContext ¶
func (o *DeleteWorkspaceParams) WithContext(ctx context.Context) *DeleteWorkspaceParams
WithContext adds the context to the delete workspace params
func (*DeleteWorkspaceParams) WithDefaults ¶
func (o *DeleteWorkspaceParams) WithDefaults() *DeleteWorkspaceParams
WithDefaults hydrates default values in the delete workspace params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteWorkspaceParams) WithDescription ¶
func (o *DeleteWorkspaceParams) WithDescription(description *string) *DeleteWorkspaceParams
WithDescription adds the description to the delete workspace params
func (*DeleteWorkspaceParams) WithHTTPClient ¶
func (o *DeleteWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteWorkspaceParams
WithHTTPClient adds the HTTPClient to the delete workspace params
func (*DeleteWorkspaceParams) WithLabel ¶
func (o *DeleteWorkspaceParams) WithLabel(label *string) *DeleteWorkspaceParams
WithLabel adds the label to the delete workspace params
func (*DeleteWorkspaceParams) WithLastUpdated ¶
func (o *DeleteWorkspaceParams) WithLastUpdated(lastUpdated *int32) *DeleteWorkspaceParams
WithLastUpdated adds the lastUpdated to the delete workspace params
func (*DeleteWorkspaceParams) WithPoliciesContextEditable ¶
func (o *DeleteWorkspaceParams) WithPoliciesContextEditable(policiesContextEditable *bool) *DeleteWorkspaceParams
WithPoliciesContextEditable adds the policiesContextEditable to the delete workspace params
func (*DeleteWorkspaceParams) WithRootUUIDs ¶
func (o *DeleteWorkspaceParams) WithRootUUIDs(rootUUIDs []string) *DeleteWorkspaceParams
WithRootUUIDs adds the rootUUIDs to the delete workspace params
func (*DeleteWorkspaceParams) WithScope ¶
func (o *DeleteWorkspaceParams) WithScope(scope *string) *DeleteWorkspaceParams
WithScope adds the scope to the delete workspace params
func (*DeleteWorkspaceParams) WithSlug ¶
func (o *DeleteWorkspaceParams) WithSlug(slug string) *DeleteWorkspaceParams
WithSlug adds the slug to the delete workspace params
func (*DeleteWorkspaceParams) WithTimeout ¶
func (o *DeleteWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteWorkspaceParams
WithTimeout adds the timeout to the delete workspace params
func (*DeleteWorkspaceParams) WithUUID ¶
func (o *DeleteWorkspaceParams) WithUUID(uuid *string) *DeleteWorkspaceParams
WithUUID adds the uuid to the delete workspace params
func (*DeleteWorkspaceParams) WriteToRequest ¶
func (o *DeleteWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteWorkspaceReader ¶
type DeleteWorkspaceReader struct {
// contains filtered or unexported fields
}
DeleteWorkspaceReader is a Reader for the DeleteWorkspace structure.
func (*DeleteWorkspaceReader) ReadResponse ¶
func (o *DeleteWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteWorkspaceUnauthorized ¶
type DeleteWorkspaceUnauthorized struct { }
DeleteWorkspaceUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewDeleteWorkspaceUnauthorized ¶
func NewDeleteWorkspaceUnauthorized() *DeleteWorkspaceUnauthorized
NewDeleteWorkspaceUnauthorized creates a DeleteWorkspaceUnauthorized with default headers values
func (*DeleteWorkspaceUnauthorized) Code ¶
func (o *DeleteWorkspaceUnauthorized) Code() int
Code gets the status code for the delete workspace unauthorized response
func (*DeleteWorkspaceUnauthorized) Error ¶
func (o *DeleteWorkspaceUnauthorized) Error() string
func (*DeleteWorkspaceUnauthorized) IsClientError ¶
func (o *DeleteWorkspaceUnauthorized) IsClientError() bool
IsClientError returns true when this delete workspace unauthorized response has a 4xx status code
func (*DeleteWorkspaceUnauthorized) IsCode ¶
func (o *DeleteWorkspaceUnauthorized) IsCode(code int) bool
IsCode returns true when this delete workspace unauthorized response a status code equal to that given
func (*DeleteWorkspaceUnauthorized) IsRedirect ¶
func (o *DeleteWorkspaceUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete workspace unauthorized response has a 3xx status code
func (*DeleteWorkspaceUnauthorized) IsServerError ¶
func (o *DeleteWorkspaceUnauthorized) IsServerError() bool
IsServerError returns true when this delete workspace unauthorized response has a 5xx status code
func (*DeleteWorkspaceUnauthorized) IsSuccess ¶
func (o *DeleteWorkspaceUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete workspace unauthorized response has a 2xx status code
func (*DeleteWorkspaceUnauthorized) String ¶
func (o *DeleteWorkspaceUnauthorized) String() string
type PutWorkspaceBody ¶
type PutWorkspaceBody struct { // JSON-encoded list of attributes Attributes string `json:"Attributes,omitempty"` // Description of the workspace (max length 1000) Description string `json:"Description,omitempty"` // Label of the workspace (max length 500) Label string `json:"Label,omitempty"` // Last modification time LastUpdated int32 `json:"LastUpdated,omitempty"` // Policies for securing access Policies []*models.ServiceResourcePolicy `json:"Policies"` // Context-resolved to quickly check if workspace is editable or not PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"` // List of the Root Nodes in the tree that compose this workspace RootNodes map[string]models.TreeNode `json:"RootNodes,omitempty"` // Quick list of the RootNodes uuids RootUUIDs []string `json:"RootUUIDs"` // Scope can be ADMIN, ROOM (=CELL) or LINK Scope *models.IdmWorkspaceScope `json:"Scope,omitempty"` // Unique identifier of the workspace UUID string `json:"UUID,omitempty"` }
PutWorkspaceBody A Workspace is composed of a set of nodes UUIDs and is used to provide accesses to the tree via ACLs. swagger:model PutWorkspaceBody
func (*PutWorkspaceBody) ContextValidate ¶
ContextValidate validate this put workspace body based on the context it is used
func (*PutWorkspaceBody) MarshalBinary ¶
func (o *PutWorkspaceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutWorkspaceBody) UnmarshalBinary ¶
func (o *PutWorkspaceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutWorkspaceForbidden ¶
PutWorkspaceForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewPutWorkspaceForbidden ¶
func NewPutWorkspaceForbidden() *PutWorkspaceForbidden
NewPutWorkspaceForbidden creates a PutWorkspaceForbidden with default headers values
func (*PutWorkspaceForbidden) Code ¶
func (o *PutWorkspaceForbidden) Code() int
Code gets the status code for the put workspace forbidden response
func (*PutWorkspaceForbidden) Error ¶
func (o *PutWorkspaceForbidden) Error() string
func (*PutWorkspaceForbidden) GetPayload ¶
func (o *PutWorkspaceForbidden) GetPayload() *models.RestError
func (*PutWorkspaceForbidden) IsClientError ¶
func (o *PutWorkspaceForbidden) IsClientError() bool
IsClientError returns true when this put workspace forbidden response has a 4xx status code
func (*PutWorkspaceForbidden) IsCode ¶
func (o *PutWorkspaceForbidden) IsCode(code int) bool
IsCode returns true when this put workspace forbidden response a status code equal to that given
func (*PutWorkspaceForbidden) IsRedirect ¶
func (o *PutWorkspaceForbidden) IsRedirect() bool
IsRedirect returns true when this put workspace forbidden response has a 3xx status code
func (*PutWorkspaceForbidden) IsServerError ¶
func (o *PutWorkspaceForbidden) IsServerError() bool
IsServerError returns true when this put workspace forbidden response has a 5xx status code
func (*PutWorkspaceForbidden) IsSuccess ¶
func (o *PutWorkspaceForbidden) IsSuccess() bool
IsSuccess returns true when this put workspace forbidden response has a 2xx status code
func (*PutWorkspaceForbidden) String ¶
func (o *PutWorkspaceForbidden) String() string
type PutWorkspaceInternalServerError ¶
PutWorkspaceInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewPutWorkspaceInternalServerError ¶
func NewPutWorkspaceInternalServerError() *PutWorkspaceInternalServerError
NewPutWorkspaceInternalServerError creates a PutWorkspaceInternalServerError with default headers values
func (*PutWorkspaceInternalServerError) Code ¶
func (o *PutWorkspaceInternalServerError) Code() int
Code gets the status code for the put workspace internal server error response
func (*PutWorkspaceInternalServerError) Error ¶
func (o *PutWorkspaceInternalServerError) Error() string
func (*PutWorkspaceInternalServerError) GetPayload ¶
func (o *PutWorkspaceInternalServerError) GetPayload() *models.RestError
func (*PutWorkspaceInternalServerError) IsClientError ¶
func (o *PutWorkspaceInternalServerError) IsClientError() bool
IsClientError returns true when this put workspace internal server error response has a 4xx status code
func (*PutWorkspaceInternalServerError) IsCode ¶
func (o *PutWorkspaceInternalServerError) IsCode(code int) bool
IsCode returns true when this put workspace internal server error response a status code equal to that given
func (*PutWorkspaceInternalServerError) IsRedirect ¶
func (o *PutWorkspaceInternalServerError) IsRedirect() bool
IsRedirect returns true when this put workspace internal server error response has a 3xx status code
func (*PutWorkspaceInternalServerError) IsServerError ¶
func (o *PutWorkspaceInternalServerError) IsServerError() bool
IsServerError returns true when this put workspace internal server error response has a 5xx status code
func (*PutWorkspaceInternalServerError) IsSuccess ¶
func (o *PutWorkspaceInternalServerError) IsSuccess() bool
IsSuccess returns true when this put workspace internal server error response has a 2xx status code
func (*PutWorkspaceInternalServerError) String ¶
func (o *PutWorkspaceInternalServerError) String() string
type PutWorkspaceNotFound ¶
PutWorkspaceNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewPutWorkspaceNotFound ¶
func NewPutWorkspaceNotFound() *PutWorkspaceNotFound
NewPutWorkspaceNotFound creates a PutWorkspaceNotFound with default headers values
func (*PutWorkspaceNotFound) Code ¶
func (o *PutWorkspaceNotFound) Code() int
Code gets the status code for the put workspace not found response
func (*PutWorkspaceNotFound) Error ¶
func (o *PutWorkspaceNotFound) Error() string
func (*PutWorkspaceNotFound) GetPayload ¶
func (o *PutWorkspaceNotFound) GetPayload() *models.RestError
func (*PutWorkspaceNotFound) IsClientError ¶
func (o *PutWorkspaceNotFound) IsClientError() bool
IsClientError returns true when this put workspace not found response has a 4xx status code
func (*PutWorkspaceNotFound) IsCode ¶
func (o *PutWorkspaceNotFound) IsCode(code int) bool
IsCode returns true when this put workspace not found response a status code equal to that given
func (*PutWorkspaceNotFound) IsRedirect ¶
func (o *PutWorkspaceNotFound) IsRedirect() bool
IsRedirect returns true when this put workspace not found response has a 3xx status code
func (*PutWorkspaceNotFound) IsServerError ¶
func (o *PutWorkspaceNotFound) IsServerError() bool
IsServerError returns true when this put workspace not found response has a 5xx status code
func (*PutWorkspaceNotFound) IsSuccess ¶
func (o *PutWorkspaceNotFound) IsSuccess() bool
IsSuccess returns true when this put workspace not found response has a 2xx status code
func (*PutWorkspaceNotFound) String ¶
func (o *PutWorkspaceNotFound) String() string
type PutWorkspaceOK ¶
type PutWorkspaceOK struct {
Payload *models.IdmWorkspace
}
PutWorkspaceOK describes a response with status code 200, with default header values.
A successful response.
func NewPutWorkspaceOK ¶
func NewPutWorkspaceOK() *PutWorkspaceOK
NewPutWorkspaceOK creates a PutWorkspaceOK with default headers values
func (*PutWorkspaceOK) Code ¶
func (o *PutWorkspaceOK) Code() int
Code gets the status code for the put workspace o k response
func (*PutWorkspaceOK) Error ¶
func (o *PutWorkspaceOK) Error() string
func (*PutWorkspaceOK) GetPayload ¶
func (o *PutWorkspaceOK) GetPayload() *models.IdmWorkspace
func (*PutWorkspaceOK) IsClientError ¶
func (o *PutWorkspaceOK) IsClientError() bool
IsClientError returns true when this put workspace o k response has a 4xx status code
func (*PutWorkspaceOK) IsCode ¶
func (o *PutWorkspaceOK) IsCode(code int) bool
IsCode returns true when this put workspace o k response a status code equal to that given
func (*PutWorkspaceOK) IsRedirect ¶
func (o *PutWorkspaceOK) IsRedirect() bool
IsRedirect returns true when this put workspace o k response has a 3xx status code
func (*PutWorkspaceOK) IsServerError ¶
func (o *PutWorkspaceOK) IsServerError() bool
IsServerError returns true when this put workspace o k response has a 5xx status code
func (*PutWorkspaceOK) IsSuccess ¶
func (o *PutWorkspaceOK) IsSuccess() bool
IsSuccess returns true when this put workspace o k response has a 2xx status code
func (*PutWorkspaceOK) String ¶
func (o *PutWorkspaceOK) String() string
type PutWorkspaceParams ¶
type PutWorkspaceParams struct { /* Slug. Slug is an url-compatible form of the workspace label, or can be freely modified (max length 500) */ Slug string // Body. Body PutWorkspaceBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutWorkspaceParams contains all the parameters to send to the API endpoint
for the put workspace operation. Typically these are written to a http.Request.
func NewPutWorkspaceParams ¶
func NewPutWorkspaceParams() *PutWorkspaceParams
NewPutWorkspaceParams creates a new PutWorkspaceParams 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 NewPutWorkspaceParamsWithContext ¶
func NewPutWorkspaceParamsWithContext(ctx context.Context) *PutWorkspaceParams
NewPutWorkspaceParamsWithContext creates a new PutWorkspaceParams object with the ability to set a context for a request.
func NewPutWorkspaceParamsWithHTTPClient ¶
func NewPutWorkspaceParamsWithHTTPClient(client *http.Client) *PutWorkspaceParams
NewPutWorkspaceParamsWithHTTPClient creates a new PutWorkspaceParams object with the ability to set a custom HTTPClient for a request.
func NewPutWorkspaceParamsWithTimeout ¶
func NewPutWorkspaceParamsWithTimeout(timeout time.Duration) *PutWorkspaceParams
NewPutWorkspaceParamsWithTimeout creates a new PutWorkspaceParams object with the ability to set a timeout on a request.
func (*PutWorkspaceParams) SetBody ¶
func (o *PutWorkspaceParams) SetBody(body PutWorkspaceBody)
SetBody adds the body to the put workspace params
func (*PutWorkspaceParams) SetContext ¶
func (o *PutWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the put workspace params
func (*PutWorkspaceParams) SetDefaults ¶
func (o *PutWorkspaceParams) SetDefaults()
SetDefaults hydrates default values in the put workspace params (not the query body).
All values with no default are reset to their zero value.
func (*PutWorkspaceParams) SetHTTPClient ¶
func (o *PutWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put workspace params
func (*PutWorkspaceParams) SetSlug ¶
func (o *PutWorkspaceParams) SetSlug(slug string)
SetSlug adds the slug to the put workspace params
func (*PutWorkspaceParams) SetTimeout ¶
func (o *PutWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put workspace params
func (*PutWorkspaceParams) WithBody ¶
func (o *PutWorkspaceParams) WithBody(body PutWorkspaceBody) *PutWorkspaceParams
WithBody adds the body to the put workspace params
func (*PutWorkspaceParams) WithContext ¶
func (o *PutWorkspaceParams) WithContext(ctx context.Context) *PutWorkspaceParams
WithContext adds the context to the put workspace params
func (*PutWorkspaceParams) WithDefaults ¶
func (o *PutWorkspaceParams) WithDefaults() *PutWorkspaceParams
WithDefaults hydrates default values in the put workspace params (not the query body).
All values with no default are reset to their zero value.
func (*PutWorkspaceParams) WithHTTPClient ¶
func (o *PutWorkspaceParams) WithHTTPClient(client *http.Client) *PutWorkspaceParams
WithHTTPClient adds the HTTPClient to the put workspace params
func (*PutWorkspaceParams) WithSlug ¶
func (o *PutWorkspaceParams) WithSlug(slug string) *PutWorkspaceParams
WithSlug adds the slug to the put workspace params
func (*PutWorkspaceParams) WithTimeout ¶
func (o *PutWorkspaceParams) WithTimeout(timeout time.Duration) *PutWorkspaceParams
WithTimeout adds the timeout to the put workspace params
func (*PutWorkspaceParams) WriteToRequest ¶
func (o *PutWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutWorkspaceReader ¶
type PutWorkspaceReader struct {
// contains filtered or unexported fields
}
PutWorkspaceReader is a Reader for the PutWorkspace structure.
func (*PutWorkspaceReader) ReadResponse ¶
func (o *PutWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutWorkspaceUnauthorized ¶
type PutWorkspaceUnauthorized struct { }
PutWorkspaceUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewPutWorkspaceUnauthorized ¶
func NewPutWorkspaceUnauthorized() *PutWorkspaceUnauthorized
NewPutWorkspaceUnauthorized creates a PutWorkspaceUnauthorized with default headers values
func (*PutWorkspaceUnauthorized) Code ¶
func (o *PutWorkspaceUnauthorized) Code() int
Code gets the status code for the put workspace unauthorized response
func (*PutWorkspaceUnauthorized) Error ¶
func (o *PutWorkspaceUnauthorized) Error() string
func (*PutWorkspaceUnauthorized) IsClientError ¶
func (o *PutWorkspaceUnauthorized) IsClientError() bool
IsClientError returns true when this put workspace unauthorized response has a 4xx status code
func (*PutWorkspaceUnauthorized) IsCode ¶
func (o *PutWorkspaceUnauthorized) IsCode(code int) bool
IsCode returns true when this put workspace unauthorized response a status code equal to that given
func (*PutWorkspaceUnauthorized) IsRedirect ¶
func (o *PutWorkspaceUnauthorized) IsRedirect() bool
IsRedirect returns true when this put workspace unauthorized response has a 3xx status code
func (*PutWorkspaceUnauthorized) IsServerError ¶
func (o *PutWorkspaceUnauthorized) IsServerError() bool
IsServerError returns true when this put workspace unauthorized response has a 5xx status code
func (*PutWorkspaceUnauthorized) IsSuccess ¶
func (o *PutWorkspaceUnauthorized) IsSuccess() bool
IsSuccess returns true when this put workspace unauthorized response has a 2xx status code
func (*PutWorkspaceUnauthorized) String ¶
func (o *PutWorkspaceUnauthorized) String() string
type SearchWorkspacesForbidden ¶
SearchWorkspacesForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewSearchWorkspacesForbidden ¶
func NewSearchWorkspacesForbidden() *SearchWorkspacesForbidden
NewSearchWorkspacesForbidden creates a SearchWorkspacesForbidden with default headers values
func (*SearchWorkspacesForbidden) Code ¶
func (o *SearchWorkspacesForbidden) Code() int
Code gets the status code for the search workspaces forbidden response
func (*SearchWorkspacesForbidden) Error ¶
func (o *SearchWorkspacesForbidden) Error() string
func (*SearchWorkspacesForbidden) GetPayload ¶
func (o *SearchWorkspacesForbidden) GetPayload() *models.RestError
func (*SearchWorkspacesForbidden) IsClientError ¶
func (o *SearchWorkspacesForbidden) IsClientError() bool
IsClientError returns true when this search workspaces forbidden response has a 4xx status code
func (*SearchWorkspacesForbidden) IsCode ¶
func (o *SearchWorkspacesForbidden) IsCode(code int) bool
IsCode returns true when this search workspaces forbidden response a status code equal to that given
func (*SearchWorkspacesForbidden) IsRedirect ¶
func (o *SearchWorkspacesForbidden) IsRedirect() bool
IsRedirect returns true when this search workspaces forbidden response has a 3xx status code
func (*SearchWorkspacesForbidden) IsServerError ¶
func (o *SearchWorkspacesForbidden) IsServerError() bool
IsServerError returns true when this search workspaces forbidden response has a 5xx status code
func (*SearchWorkspacesForbidden) IsSuccess ¶
func (o *SearchWorkspacesForbidden) IsSuccess() bool
IsSuccess returns true when this search workspaces forbidden response has a 2xx status code
func (*SearchWorkspacesForbidden) String ¶
func (o *SearchWorkspacesForbidden) String() string
type SearchWorkspacesInternalServerError ¶
SearchWorkspacesInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewSearchWorkspacesInternalServerError ¶
func NewSearchWorkspacesInternalServerError() *SearchWorkspacesInternalServerError
NewSearchWorkspacesInternalServerError creates a SearchWorkspacesInternalServerError with default headers values
func (*SearchWorkspacesInternalServerError) Code ¶
func (o *SearchWorkspacesInternalServerError) Code() int
Code gets the status code for the search workspaces internal server error response
func (*SearchWorkspacesInternalServerError) Error ¶
func (o *SearchWorkspacesInternalServerError) Error() string
func (*SearchWorkspacesInternalServerError) GetPayload ¶
func (o *SearchWorkspacesInternalServerError) GetPayload() *models.RestError
func (*SearchWorkspacesInternalServerError) IsClientError ¶
func (o *SearchWorkspacesInternalServerError) IsClientError() bool
IsClientError returns true when this search workspaces internal server error response has a 4xx status code
func (*SearchWorkspacesInternalServerError) IsCode ¶
func (o *SearchWorkspacesInternalServerError) IsCode(code int) bool
IsCode returns true when this search workspaces internal server error response a status code equal to that given
func (*SearchWorkspacesInternalServerError) IsRedirect ¶
func (o *SearchWorkspacesInternalServerError) IsRedirect() bool
IsRedirect returns true when this search workspaces internal server error response has a 3xx status code
func (*SearchWorkspacesInternalServerError) IsServerError ¶
func (o *SearchWorkspacesInternalServerError) IsServerError() bool
IsServerError returns true when this search workspaces internal server error response has a 5xx status code
func (*SearchWorkspacesInternalServerError) IsSuccess ¶
func (o *SearchWorkspacesInternalServerError) IsSuccess() bool
IsSuccess returns true when this search workspaces internal server error response has a 2xx status code
func (*SearchWorkspacesInternalServerError) String ¶
func (o *SearchWorkspacesInternalServerError) String() string
type SearchWorkspacesNotFound ¶
SearchWorkspacesNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewSearchWorkspacesNotFound ¶
func NewSearchWorkspacesNotFound() *SearchWorkspacesNotFound
NewSearchWorkspacesNotFound creates a SearchWorkspacesNotFound with default headers values
func (*SearchWorkspacesNotFound) Code ¶
func (o *SearchWorkspacesNotFound) Code() int
Code gets the status code for the search workspaces not found response
func (*SearchWorkspacesNotFound) Error ¶
func (o *SearchWorkspacesNotFound) Error() string
func (*SearchWorkspacesNotFound) GetPayload ¶
func (o *SearchWorkspacesNotFound) GetPayload() *models.RestError
func (*SearchWorkspacesNotFound) IsClientError ¶
func (o *SearchWorkspacesNotFound) IsClientError() bool
IsClientError returns true when this search workspaces not found response has a 4xx status code
func (*SearchWorkspacesNotFound) IsCode ¶
func (o *SearchWorkspacesNotFound) IsCode(code int) bool
IsCode returns true when this search workspaces not found response a status code equal to that given
func (*SearchWorkspacesNotFound) IsRedirect ¶
func (o *SearchWorkspacesNotFound) IsRedirect() bool
IsRedirect returns true when this search workspaces not found response has a 3xx status code
func (*SearchWorkspacesNotFound) IsServerError ¶
func (o *SearchWorkspacesNotFound) IsServerError() bool
IsServerError returns true when this search workspaces not found response has a 5xx status code
func (*SearchWorkspacesNotFound) IsSuccess ¶
func (o *SearchWorkspacesNotFound) IsSuccess() bool
IsSuccess returns true when this search workspaces not found response has a 2xx status code
func (*SearchWorkspacesNotFound) String ¶
func (o *SearchWorkspacesNotFound) String() string
type SearchWorkspacesOK ¶
type SearchWorkspacesOK struct {
Payload *models.RestWorkspaceCollection
}
SearchWorkspacesOK describes a response with status code 200, with default header values.
A successful response.
func NewSearchWorkspacesOK ¶
func NewSearchWorkspacesOK() *SearchWorkspacesOK
NewSearchWorkspacesOK creates a SearchWorkspacesOK with default headers values
func (*SearchWorkspacesOK) Code ¶
func (o *SearchWorkspacesOK) Code() int
Code gets the status code for the search workspaces o k response
func (*SearchWorkspacesOK) Error ¶
func (o *SearchWorkspacesOK) Error() string
func (*SearchWorkspacesOK) GetPayload ¶
func (o *SearchWorkspacesOK) GetPayload() *models.RestWorkspaceCollection
func (*SearchWorkspacesOK) IsClientError ¶
func (o *SearchWorkspacesOK) IsClientError() bool
IsClientError returns true when this search workspaces o k response has a 4xx status code
func (*SearchWorkspacesOK) IsCode ¶
func (o *SearchWorkspacesOK) IsCode(code int) bool
IsCode returns true when this search workspaces o k response a status code equal to that given
func (*SearchWorkspacesOK) IsRedirect ¶
func (o *SearchWorkspacesOK) IsRedirect() bool
IsRedirect returns true when this search workspaces o k response has a 3xx status code
func (*SearchWorkspacesOK) IsServerError ¶
func (o *SearchWorkspacesOK) IsServerError() bool
IsServerError returns true when this search workspaces o k response has a 5xx status code
func (*SearchWorkspacesOK) IsSuccess ¶
func (o *SearchWorkspacesOK) IsSuccess() bool
IsSuccess returns true when this search workspaces o k response has a 2xx status code
func (*SearchWorkspacesOK) String ¶
func (o *SearchWorkspacesOK) String() string
type SearchWorkspacesParams ¶
type SearchWorkspacesParams struct { // Body. Body *models.RestSearchWorkspaceRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchWorkspacesParams contains all the parameters to send to the API endpoint
for the search workspaces operation. Typically these are written to a http.Request.
func NewSearchWorkspacesParams ¶
func NewSearchWorkspacesParams() *SearchWorkspacesParams
NewSearchWorkspacesParams creates a new SearchWorkspacesParams 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 NewSearchWorkspacesParamsWithContext ¶
func NewSearchWorkspacesParamsWithContext(ctx context.Context) *SearchWorkspacesParams
NewSearchWorkspacesParamsWithContext creates a new SearchWorkspacesParams object with the ability to set a context for a request.
func NewSearchWorkspacesParamsWithHTTPClient ¶
func NewSearchWorkspacesParamsWithHTTPClient(client *http.Client) *SearchWorkspacesParams
NewSearchWorkspacesParamsWithHTTPClient creates a new SearchWorkspacesParams object with the ability to set a custom HTTPClient for a request.
func NewSearchWorkspacesParamsWithTimeout ¶
func NewSearchWorkspacesParamsWithTimeout(timeout time.Duration) *SearchWorkspacesParams
NewSearchWorkspacesParamsWithTimeout creates a new SearchWorkspacesParams object with the ability to set a timeout on a request.
func (*SearchWorkspacesParams) SetBody ¶
func (o *SearchWorkspacesParams) SetBody(body *models.RestSearchWorkspaceRequest)
SetBody adds the body to the search workspaces params
func (*SearchWorkspacesParams) SetContext ¶
func (o *SearchWorkspacesParams) SetContext(ctx context.Context)
SetContext adds the context to the search workspaces params
func (*SearchWorkspacesParams) SetDefaults ¶
func (o *SearchWorkspacesParams) SetDefaults()
SetDefaults hydrates default values in the search workspaces params (not the query body).
All values with no default are reset to their zero value.
func (*SearchWorkspacesParams) SetHTTPClient ¶
func (o *SearchWorkspacesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search workspaces params
func (*SearchWorkspacesParams) SetTimeout ¶
func (o *SearchWorkspacesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search workspaces params
func (*SearchWorkspacesParams) WithBody ¶
func (o *SearchWorkspacesParams) WithBody(body *models.RestSearchWorkspaceRequest) *SearchWorkspacesParams
WithBody adds the body to the search workspaces params
func (*SearchWorkspacesParams) WithContext ¶
func (o *SearchWorkspacesParams) WithContext(ctx context.Context) *SearchWorkspacesParams
WithContext adds the context to the search workspaces params
func (*SearchWorkspacesParams) WithDefaults ¶
func (o *SearchWorkspacesParams) WithDefaults() *SearchWorkspacesParams
WithDefaults hydrates default values in the search workspaces params (not the query body).
All values with no default are reset to their zero value.
func (*SearchWorkspacesParams) WithHTTPClient ¶
func (o *SearchWorkspacesParams) WithHTTPClient(client *http.Client) *SearchWorkspacesParams
WithHTTPClient adds the HTTPClient to the search workspaces params
func (*SearchWorkspacesParams) WithTimeout ¶
func (o *SearchWorkspacesParams) WithTimeout(timeout time.Duration) *SearchWorkspacesParams
WithTimeout adds the timeout to the search workspaces params
func (*SearchWorkspacesParams) WriteToRequest ¶
func (o *SearchWorkspacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchWorkspacesReader ¶
type SearchWorkspacesReader struct {
// contains filtered or unexported fields
}
SearchWorkspacesReader is a Reader for the SearchWorkspaces structure.
func (*SearchWorkspacesReader) ReadResponse ¶
func (o *SearchWorkspacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchWorkspacesUnauthorized ¶
type SearchWorkspacesUnauthorized struct { }
SearchWorkspacesUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewSearchWorkspacesUnauthorized ¶
func NewSearchWorkspacesUnauthorized() *SearchWorkspacesUnauthorized
NewSearchWorkspacesUnauthorized creates a SearchWorkspacesUnauthorized with default headers values
func (*SearchWorkspacesUnauthorized) Code ¶
func (o *SearchWorkspacesUnauthorized) Code() int
Code gets the status code for the search workspaces unauthorized response
func (*SearchWorkspacesUnauthorized) Error ¶
func (o *SearchWorkspacesUnauthorized) Error() string
func (*SearchWorkspacesUnauthorized) IsClientError ¶
func (o *SearchWorkspacesUnauthorized) IsClientError() bool
IsClientError returns true when this search workspaces unauthorized response has a 4xx status code
func (*SearchWorkspacesUnauthorized) IsCode ¶
func (o *SearchWorkspacesUnauthorized) IsCode(code int) bool
IsCode returns true when this search workspaces unauthorized response a status code equal to that given
func (*SearchWorkspacesUnauthorized) IsRedirect ¶
func (o *SearchWorkspacesUnauthorized) IsRedirect() bool
IsRedirect returns true when this search workspaces unauthorized response has a 3xx status code
func (*SearchWorkspacesUnauthorized) IsServerError ¶
func (o *SearchWorkspacesUnauthorized) IsServerError() bool
IsServerError returns true when this search workspaces unauthorized response has a 5xx status code
func (*SearchWorkspacesUnauthorized) IsSuccess ¶
func (o *SearchWorkspacesUnauthorized) IsSuccess() bool
IsSuccess returns true when this search workspaces unauthorized response has a 2xx status code
func (*SearchWorkspacesUnauthorized) String ¶
func (o *SearchWorkspacesUnauthorized) String() string