workspace_configuration

package
v0.0.0-...-7b99a6d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for workspace configuration API

func (*Client) CloneWorkspace

func (a *Client) CloneWorkspace(params *CloneWorkspaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloneWorkspaceNoContent, error)
CloneWorkspace clones workspace

Alpha API: Test use only. Subject to potential functionality limitations, breaking changes, future updates, and removal without notice.

Clones the workspace configuration.

Optionally Applies the [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396) JSON Merge Patch to the workspace configuration.

func (*Client) ExportWorkspaceConfig

func (a *Client) ExportWorkspaceConfig(params *ExportWorkspaceConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportWorkspaceConfigOK, error)
ExportWorkspaceConfig exports workspace configuration

Returns a JSON with the configuration of the specified workspace.

Alpha API: Test use only. Subject to potential functionality limitations, breaking changes, future updates, and removal without notice.

func (*Client) ImportWorkspaceConfig

func (a *Client) ImportWorkspaceConfig(params *ImportWorkspaceConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportWorkspaceConfigNoContent, error)
ImportWorkspaceConfig imports workspace configuration

Import workspace's configuration.

Alpha API: Test use only. Subject to potential functionality limitations, breaking changes, future updates, and removal without notice.

func (*Client) PatchWorkspaceConfigRfc6902

PatchWorkspaceConfigRfc6902 JSONs patch

Alpha API: Test use only. Subject to potential functionality limitations, breaking changes, future updates, and removal without notice.

Applies the [RFC 6902](https://datatracker.ietf.org/doc/html/rfc6902) JSON Patch to the workspace configuration.

The Patch JSON API is intended for easy configuration changes when there are a small number of known workspace modifications and the user applying the patch is familiar with them.

The Patch JSON API accepts a JSON Array which objects represent a single operation applied to the target JSON (workspace configuration). Evaluation continues until all operations are successfully applied or until an error condition is encountered.

func (*Client) PatchWorkspaceConfigRfc7396

PatchWorkspaceConfigRfc7396 JSONs merge patch

Alpha API: Test use only. Subject to potential functionality limitations, breaking changes, future updates, and removal without notice.

Applies the [RFC 7396](https://www.rfc-editor.org/rfc/rfc7396) JSON Merge Patch to the workspace configuration.

The JSON Merge Patch API facilitates the automated promotion of larger configuration changes. It provides a straightforward and efficient way to apply extensive modifications, such as through scripts or automated methods. This API streamlines the process of implementing significant configuration updates, improving efficiency and accuracy.

The JSON Merge Patch API accepts a JSON that describes changes to be made to a target workspace configuration using a syntax that closely mimics the configuration being modified.

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 {
	ExportWorkspaceConfig(params *ExportWorkspaceConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportWorkspaceConfigOK, error)

	ImportWorkspaceConfig(params *ImportWorkspaceConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportWorkspaceConfigNoContent, error)

	CloneWorkspace(params *CloneWorkspaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloneWorkspaceNoContent, error)

	PatchWorkspaceConfigRfc6902(params *PatchWorkspaceConfigRfc6902Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchWorkspaceConfigRfc6902NoContent, error)

	PatchWorkspaceConfigRfc7396(params *PatchWorkspaceConfigRfc7396Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchWorkspaceConfigRfc7396NoContent, 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 configuration API client.

type CloneWorkspaceBadRequest

type CloneWorkspaceBadRequest struct {
	Payload *models.Error
}

CloneWorkspaceBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCloneWorkspaceBadRequest

func NewCloneWorkspaceBadRequest() *CloneWorkspaceBadRequest

NewCloneWorkspaceBadRequest creates a CloneWorkspaceBadRequest with default headers values

func (*CloneWorkspaceBadRequest) Code

func (o *CloneWorkspaceBadRequest) Code() int

Code gets the status code for the clone workspace bad request response

func (*CloneWorkspaceBadRequest) Error

func (o *CloneWorkspaceBadRequest) Error() string

func (*CloneWorkspaceBadRequest) GetPayload

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

func (*CloneWorkspaceBadRequest) IsClientError

func (o *CloneWorkspaceBadRequest) IsClientError() bool

IsClientError returns true when this clone workspace bad request response has a 4xx status code

func (*CloneWorkspaceBadRequest) IsCode

func (o *CloneWorkspaceBadRequest) IsCode(code int) bool

IsCode returns true when this clone workspace bad request response a status code equal to that given

func (*CloneWorkspaceBadRequest) IsRedirect

func (o *CloneWorkspaceBadRequest) IsRedirect() bool

IsRedirect returns true when this clone workspace bad request response has a 3xx status code

func (*CloneWorkspaceBadRequest) IsServerError

func (o *CloneWorkspaceBadRequest) IsServerError() bool

IsServerError returns true when this clone workspace bad request response has a 5xx status code

func (*CloneWorkspaceBadRequest) IsSuccess

func (o *CloneWorkspaceBadRequest) IsSuccess() bool

IsSuccess returns true when this clone workspace bad request response has a 2xx status code

func (*CloneWorkspaceBadRequest) String

func (o *CloneWorkspaceBadRequest) String() string

type CloneWorkspaceForbidden

type CloneWorkspaceForbidden struct {
	Payload *models.Error
}

CloneWorkspaceForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCloneWorkspaceForbidden

func NewCloneWorkspaceForbidden() *CloneWorkspaceForbidden

NewCloneWorkspaceForbidden creates a CloneWorkspaceForbidden with default headers values

func (*CloneWorkspaceForbidden) Code

func (o *CloneWorkspaceForbidden) Code() int

Code gets the status code for the clone workspace forbidden response

func (*CloneWorkspaceForbidden) Error

func (o *CloneWorkspaceForbidden) Error() string

func (*CloneWorkspaceForbidden) GetPayload

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

func (*CloneWorkspaceForbidden) IsClientError

func (o *CloneWorkspaceForbidden) IsClientError() bool

IsClientError returns true when this clone workspace forbidden response has a 4xx status code

func (*CloneWorkspaceForbidden) IsCode

func (o *CloneWorkspaceForbidden) IsCode(code int) bool

IsCode returns true when this clone workspace forbidden response a status code equal to that given

func (*CloneWorkspaceForbidden) IsRedirect

func (o *CloneWorkspaceForbidden) IsRedirect() bool

IsRedirect returns true when this clone workspace forbidden response has a 3xx status code

func (*CloneWorkspaceForbidden) IsServerError

func (o *CloneWorkspaceForbidden) IsServerError() bool

IsServerError returns true when this clone workspace forbidden response has a 5xx status code

func (*CloneWorkspaceForbidden) IsSuccess

func (o *CloneWorkspaceForbidden) IsSuccess() bool

IsSuccess returns true when this clone workspace forbidden response has a 2xx status code

func (*CloneWorkspaceForbidden) String

func (o *CloneWorkspaceForbidden) String() string

type CloneWorkspaceNoContent

type CloneWorkspaceNoContent struct {
}

CloneWorkspaceNoContent describes a response with status code 204, with default header values.

patch applied

func NewCloneWorkspaceNoContent

func NewCloneWorkspaceNoContent() *CloneWorkspaceNoContent

NewCloneWorkspaceNoContent creates a CloneWorkspaceNoContent with default headers values

func (*CloneWorkspaceNoContent) Code

func (o *CloneWorkspaceNoContent) Code() int

Code gets the status code for the clone workspace no content response

func (*CloneWorkspaceNoContent) Error

func (o *CloneWorkspaceNoContent) Error() string

func (*CloneWorkspaceNoContent) IsClientError

func (o *CloneWorkspaceNoContent) IsClientError() bool

IsClientError returns true when this clone workspace no content response has a 4xx status code

func (*CloneWorkspaceNoContent) IsCode

func (o *CloneWorkspaceNoContent) IsCode(code int) bool

IsCode returns true when this clone workspace no content response a status code equal to that given

func (*CloneWorkspaceNoContent) IsRedirect

func (o *CloneWorkspaceNoContent) IsRedirect() bool

IsRedirect returns true when this clone workspace no content response has a 3xx status code

func (*CloneWorkspaceNoContent) IsServerError

func (o *CloneWorkspaceNoContent) IsServerError() bool

IsServerError returns true when this clone workspace no content response has a 5xx status code

func (*CloneWorkspaceNoContent) IsSuccess

func (o *CloneWorkspaceNoContent) IsSuccess() bool

IsSuccess returns true when this clone workspace no content response has a 2xx status code

func (*CloneWorkspaceNoContent) String

func (o *CloneWorkspaceNoContent) String() string

type CloneWorkspaceNotFound

type CloneWorkspaceNotFound struct {
	Payload *models.Error
}

CloneWorkspaceNotFound describes a response with status code 404, with default header values.

Not found

func NewCloneWorkspaceNotFound

func NewCloneWorkspaceNotFound() *CloneWorkspaceNotFound

NewCloneWorkspaceNotFound creates a CloneWorkspaceNotFound with default headers values

func (*CloneWorkspaceNotFound) Code

func (o *CloneWorkspaceNotFound) Code() int

Code gets the status code for the clone workspace not found response

func (*CloneWorkspaceNotFound) Error

func (o *CloneWorkspaceNotFound) Error() string

func (*CloneWorkspaceNotFound) GetPayload

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

func (*CloneWorkspaceNotFound) IsClientError

func (o *CloneWorkspaceNotFound) IsClientError() bool

IsClientError returns true when this clone workspace not found response has a 4xx status code

func (*CloneWorkspaceNotFound) IsCode

func (o *CloneWorkspaceNotFound) IsCode(code int) bool

IsCode returns true when this clone workspace not found response a status code equal to that given

func (*CloneWorkspaceNotFound) IsRedirect

func (o *CloneWorkspaceNotFound) IsRedirect() bool

IsRedirect returns true when this clone workspace not found response has a 3xx status code

func (*CloneWorkspaceNotFound) IsServerError

func (o *CloneWorkspaceNotFound) IsServerError() bool

IsServerError returns true when this clone workspace not found response has a 5xx status code

func (*CloneWorkspaceNotFound) IsSuccess

func (o *CloneWorkspaceNotFound) IsSuccess() bool

IsSuccess returns true when this clone workspace not found response has a 2xx status code

func (*CloneWorkspaceNotFound) String

func (o *CloneWorkspaceNotFound) String() string

type CloneWorkspaceParams

type CloneWorkspaceParams struct {

	/* CloneWorkspaceRequest.

	   Parameters
	*/
	CloneWorkspaceRequest *models.CloneWorkspaceRequest

	/* Tid.

	   Tenant ID

	   Default: "default"
	*/
	Tid string

	/* Wid.

	   Workspace ID

	   Default: "default"
	*/
	Wid string

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

CloneWorkspaceParams contains all the parameters to send to the API endpoint

for the clone workspace operation.

Typically these are written to a http.Request.

func NewCloneWorkspaceParams

func NewCloneWorkspaceParams() *CloneWorkspaceParams

NewCloneWorkspaceParams creates a new CloneWorkspaceParams 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 NewCloneWorkspaceParamsWithContext

func NewCloneWorkspaceParamsWithContext(ctx context.Context) *CloneWorkspaceParams

NewCloneWorkspaceParamsWithContext creates a new CloneWorkspaceParams object with the ability to set a context for a request.

func NewCloneWorkspaceParamsWithHTTPClient

func NewCloneWorkspaceParamsWithHTTPClient(client *http.Client) *CloneWorkspaceParams

NewCloneWorkspaceParamsWithHTTPClient creates a new CloneWorkspaceParams object with the ability to set a custom HTTPClient for a request.

func NewCloneWorkspaceParamsWithTimeout

func NewCloneWorkspaceParamsWithTimeout(timeout time.Duration) *CloneWorkspaceParams

NewCloneWorkspaceParamsWithTimeout creates a new CloneWorkspaceParams object with the ability to set a timeout on a request.

func (*CloneWorkspaceParams) SetCloneWorkspaceRequest

func (o *CloneWorkspaceParams) SetCloneWorkspaceRequest(cloneWorkspaceRequest *models.CloneWorkspaceRequest)

SetCloneWorkspaceRequest adds the cloneWorkspaceRequest to the clone workspace params

func (*CloneWorkspaceParams) SetContext

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

SetContext adds the context to the clone workspace params

func (*CloneWorkspaceParams) SetDefaults

func (o *CloneWorkspaceParams) SetDefaults()

SetDefaults hydrates default values in the clone workspace params (not the query body).

All values with no default are reset to their zero value.

func (*CloneWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the clone workspace params

func (*CloneWorkspaceParams) SetTid

func (o *CloneWorkspaceParams) SetTid(tid string)

SetTid adds the tid to the clone workspace params

func (*CloneWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the clone workspace params

func (*CloneWorkspaceParams) SetWid

func (o *CloneWorkspaceParams) SetWid(wid string)

SetWid adds the wid to the clone workspace params

func (*CloneWorkspaceParams) WithCloneWorkspaceRequest

func (o *CloneWorkspaceParams) WithCloneWorkspaceRequest(cloneWorkspaceRequest *models.CloneWorkspaceRequest) *CloneWorkspaceParams

WithCloneWorkspaceRequest adds the cloneWorkspaceRequest to the clone workspace params

func (*CloneWorkspaceParams) WithContext

WithContext adds the context to the clone workspace params

func (*CloneWorkspaceParams) WithDefaults

func (o *CloneWorkspaceParams) WithDefaults() *CloneWorkspaceParams

WithDefaults hydrates default values in the clone workspace params (not the query body).

All values with no default are reset to their zero value.

func (*CloneWorkspaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the clone workspace params

func (*CloneWorkspaceParams) WithTid

WithTid adds the tid to the clone workspace params

func (*CloneWorkspaceParams) WithTimeout

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

WithTimeout adds the timeout to the clone workspace params

func (*CloneWorkspaceParams) WithWid

WithWid adds the wid to the clone workspace params

func (*CloneWorkspaceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CloneWorkspaceReader

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

CloneWorkspaceReader is a Reader for the CloneWorkspace structure.

func (*CloneWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CloneWorkspaceTooManyRequests

type CloneWorkspaceTooManyRequests struct {
	Payload *models.Error
}

CloneWorkspaceTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewCloneWorkspaceTooManyRequests

func NewCloneWorkspaceTooManyRequests() *CloneWorkspaceTooManyRequests

NewCloneWorkspaceTooManyRequests creates a CloneWorkspaceTooManyRequests with default headers values

func (*CloneWorkspaceTooManyRequests) Code

Code gets the status code for the clone workspace too many requests response

func (*CloneWorkspaceTooManyRequests) Error

func (*CloneWorkspaceTooManyRequests) GetPayload

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

func (*CloneWorkspaceTooManyRequests) IsClientError

func (o *CloneWorkspaceTooManyRequests) IsClientError() bool

IsClientError returns true when this clone workspace too many requests response has a 4xx status code

func (*CloneWorkspaceTooManyRequests) IsCode

func (o *CloneWorkspaceTooManyRequests) IsCode(code int) bool

IsCode returns true when this clone workspace too many requests response a status code equal to that given

func (*CloneWorkspaceTooManyRequests) IsRedirect

func (o *CloneWorkspaceTooManyRequests) IsRedirect() bool

IsRedirect returns true when this clone workspace too many requests response has a 3xx status code

func (*CloneWorkspaceTooManyRequests) IsServerError

func (o *CloneWorkspaceTooManyRequests) IsServerError() bool

IsServerError returns true when this clone workspace too many requests response has a 5xx status code

func (*CloneWorkspaceTooManyRequests) IsSuccess

func (o *CloneWorkspaceTooManyRequests) IsSuccess() bool

IsSuccess returns true when this clone workspace too many requests response has a 2xx status code

func (*CloneWorkspaceTooManyRequests) String

type CloneWorkspaceUnauthorized

type CloneWorkspaceUnauthorized struct {
	Payload *models.Error
}

CloneWorkspaceUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCloneWorkspaceUnauthorized

func NewCloneWorkspaceUnauthorized() *CloneWorkspaceUnauthorized

NewCloneWorkspaceUnauthorized creates a CloneWorkspaceUnauthorized with default headers values

func (*CloneWorkspaceUnauthorized) Code

func (o *CloneWorkspaceUnauthorized) Code() int

Code gets the status code for the clone workspace unauthorized response

func (*CloneWorkspaceUnauthorized) Error

func (*CloneWorkspaceUnauthorized) GetPayload

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

func (*CloneWorkspaceUnauthorized) IsClientError

func (o *CloneWorkspaceUnauthorized) IsClientError() bool

IsClientError returns true when this clone workspace unauthorized response has a 4xx status code

func (*CloneWorkspaceUnauthorized) IsCode

func (o *CloneWorkspaceUnauthorized) IsCode(code int) bool

IsCode returns true when this clone workspace unauthorized response a status code equal to that given

func (*CloneWorkspaceUnauthorized) IsRedirect

func (o *CloneWorkspaceUnauthorized) IsRedirect() bool

IsRedirect returns true when this clone workspace unauthorized response has a 3xx status code

func (*CloneWorkspaceUnauthorized) IsServerError

func (o *CloneWorkspaceUnauthorized) IsServerError() bool

IsServerError returns true when this clone workspace unauthorized response has a 5xx status code

func (*CloneWorkspaceUnauthorized) IsSuccess

func (o *CloneWorkspaceUnauthorized) IsSuccess() bool

IsSuccess returns true when this clone workspace unauthorized response has a 2xx status code

func (*CloneWorkspaceUnauthorized) String

func (o *CloneWorkspaceUnauthorized) String() string

type CloneWorkspaceUnprocessableEntity

type CloneWorkspaceUnprocessableEntity struct {
	Payload *models.Error
}

CloneWorkspaceUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewCloneWorkspaceUnprocessableEntity

func NewCloneWorkspaceUnprocessableEntity() *CloneWorkspaceUnprocessableEntity

NewCloneWorkspaceUnprocessableEntity creates a CloneWorkspaceUnprocessableEntity with default headers values

func (*CloneWorkspaceUnprocessableEntity) Code

Code gets the status code for the clone workspace unprocessable entity response

func (*CloneWorkspaceUnprocessableEntity) Error

func (*CloneWorkspaceUnprocessableEntity) GetPayload

func (*CloneWorkspaceUnprocessableEntity) IsClientError

func (o *CloneWorkspaceUnprocessableEntity) IsClientError() bool

IsClientError returns true when this clone workspace unprocessable entity response has a 4xx status code

func (*CloneWorkspaceUnprocessableEntity) IsCode

func (o *CloneWorkspaceUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this clone workspace unprocessable entity response a status code equal to that given

func (*CloneWorkspaceUnprocessableEntity) IsRedirect

func (o *CloneWorkspaceUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this clone workspace unprocessable entity response has a 3xx status code

func (*CloneWorkspaceUnprocessableEntity) IsServerError

func (o *CloneWorkspaceUnprocessableEntity) IsServerError() bool

IsServerError returns true when this clone workspace unprocessable entity response has a 5xx status code

func (*CloneWorkspaceUnprocessableEntity) IsSuccess

func (o *CloneWorkspaceUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this clone workspace unprocessable entity response has a 2xx status code

func (*CloneWorkspaceUnprocessableEntity) String

type ExportWorkspaceConfigBadRequest

type ExportWorkspaceConfigBadRequest struct {
	Payload *models.Error
}

ExportWorkspaceConfigBadRequest describes a response with status code 400, with default header values.

Bad request

func NewExportWorkspaceConfigBadRequest

func NewExportWorkspaceConfigBadRequest() *ExportWorkspaceConfigBadRequest

NewExportWorkspaceConfigBadRequest creates a ExportWorkspaceConfigBadRequest with default headers values

func (*ExportWorkspaceConfigBadRequest) Code

Code gets the status code for the export workspace config bad request response

func (*ExportWorkspaceConfigBadRequest) Error

func (*ExportWorkspaceConfigBadRequest) GetPayload

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

func (*ExportWorkspaceConfigBadRequest) IsClientError

func (o *ExportWorkspaceConfigBadRequest) IsClientError() bool

IsClientError returns true when this export workspace config bad request response has a 4xx status code

func (*ExportWorkspaceConfigBadRequest) IsCode

func (o *ExportWorkspaceConfigBadRequest) IsCode(code int) bool

IsCode returns true when this export workspace config bad request response a status code equal to that given

func (*ExportWorkspaceConfigBadRequest) IsRedirect

func (o *ExportWorkspaceConfigBadRequest) IsRedirect() bool

IsRedirect returns true when this export workspace config bad request response has a 3xx status code

func (*ExportWorkspaceConfigBadRequest) IsServerError

func (o *ExportWorkspaceConfigBadRequest) IsServerError() bool

IsServerError returns true when this export workspace config bad request response has a 5xx status code

func (*ExportWorkspaceConfigBadRequest) IsSuccess

func (o *ExportWorkspaceConfigBadRequest) IsSuccess() bool

IsSuccess returns true when this export workspace config bad request response has a 2xx status code

func (*ExportWorkspaceConfigBadRequest) String

type ExportWorkspaceConfigForbidden

type ExportWorkspaceConfigForbidden struct {
	Payload *models.Error
}

ExportWorkspaceConfigForbidden describes a response with status code 403, with default header values.

Forbidden

func NewExportWorkspaceConfigForbidden

func NewExportWorkspaceConfigForbidden() *ExportWorkspaceConfigForbidden

NewExportWorkspaceConfigForbidden creates a ExportWorkspaceConfigForbidden with default headers values

func (*ExportWorkspaceConfigForbidden) Code

Code gets the status code for the export workspace config forbidden response

func (*ExportWorkspaceConfigForbidden) Error

func (*ExportWorkspaceConfigForbidden) GetPayload

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

func (*ExportWorkspaceConfigForbidden) IsClientError

func (o *ExportWorkspaceConfigForbidden) IsClientError() bool

IsClientError returns true when this export workspace config forbidden response has a 4xx status code

func (*ExportWorkspaceConfigForbidden) IsCode

func (o *ExportWorkspaceConfigForbidden) IsCode(code int) bool

IsCode returns true when this export workspace config forbidden response a status code equal to that given

func (*ExportWorkspaceConfigForbidden) IsRedirect

func (o *ExportWorkspaceConfigForbidden) IsRedirect() bool

IsRedirect returns true when this export workspace config forbidden response has a 3xx status code

func (*ExportWorkspaceConfigForbidden) IsServerError

func (o *ExportWorkspaceConfigForbidden) IsServerError() bool

IsServerError returns true when this export workspace config forbidden response has a 5xx status code

func (*ExportWorkspaceConfigForbidden) IsSuccess

func (o *ExportWorkspaceConfigForbidden) IsSuccess() bool

IsSuccess returns true when this export workspace config forbidden response has a 2xx status code

func (*ExportWorkspaceConfigForbidden) String

type ExportWorkspaceConfigNotFound

type ExportWorkspaceConfigNotFound struct {
	Payload *models.Error
}

ExportWorkspaceConfigNotFound describes a response with status code 404, with default header values.

Not found

func NewExportWorkspaceConfigNotFound

func NewExportWorkspaceConfigNotFound() *ExportWorkspaceConfigNotFound

NewExportWorkspaceConfigNotFound creates a ExportWorkspaceConfigNotFound with default headers values

func (*ExportWorkspaceConfigNotFound) Code

Code gets the status code for the export workspace config not found response

func (*ExportWorkspaceConfigNotFound) Error

func (*ExportWorkspaceConfigNotFound) GetPayload

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

func (*ExportWorkspaceConfigNotFound) IsClientError

func (o *ExportWorkspaceConfigNotFound) IsClientError() bool

IsClientError returns true when this export workspace config not found response has a 4xx status code

func (*ExportWorkspaceConfigNotFound) IsCode

func (o *ExportWorkspaceConfigNotFound) IsCode(code int) bool

IsCode returns true when this export workspace config not found response a status code equal to that given

func (*ExportWorkspaceConfigNotFound) IsRedirect

func (o *ExportWorkspaceConfigNotFound) IsRedirect() bool

IsRedirect returns true when this export workspace config not found response has a 3xx status code

func (*ExportWorkspaceConfigNotFound) IsServerError

func (o *ExportWorkspaceConfigNotFound) IsServerError() bool

IsServerError returns true when this export workspace config not found response has a 5xx status code

func (*ExportWorkspaceConfigNotFound) IsSuccess

func (o *ExportWorkspaceConfigNotFound) IsSuccess() bool

IsSuccess returns true when this export workspace config not found response has a 2xx status code

func (*ExportWorkspaceConfigNotFound) String

type ExportWorkspaceConfigOK

type ExportWorkspaceConfigOK struct {
	Payload *models.TreeServer
}

ExportWorkspaceConfigOK describes a response with status code 200, with default header values.

Workspace configuration JSON

func NewExportWorkspaceConfigOK

func NewExportWorkspaceConfigOK() *ExportWorkspaceConfigOK

NewExportWorkspaceConfigOK creates a ExportWorkspaceConfigOK with default headers values

func (*ExportWorkspaceConfigOK) Code

func (o *ExportWorkspaceConfigOK) Code() int

Code gets the status code for the export workspace config o k response

func (*ExportWorkspaceConfigOK) Error

func (o *ExportWorkspaceConfigOK) Error() string

func (*ExportWorkspaceConfigOK) GetPayload

func (o *ExportWorkspaceConfigOK) GetPayload() *models.TreeServer

func (*ExportWorkspaceConfigOK) IsClientError

func (o *ExportWorkspaceConfigOK) IsClientError() bool

IsClientError returns true when this export workspace config o k response has a 4xx status code

func (*ExportWorkspaceConfigOK) IsCode

func (o *ExportWorkspaceConfigOK) IsCode(code int) bool

IsCode returns true when this export workspace config o k response a status code equal to that given

func (*ExportWorkspaceConfigOK) IsRedirect

func (o *ExportWorkspaceConfigOK) IsRedirect() bool

IsRedirect returns true when this export workspace config o k response has a 3xx status code

func (*ExportWorkspaceConfigOK) IsServerError

func (o *ExportWorkspaceConfigOK) IsServerError() bool

IsServerError returns true when this export workspace config o k response has a 5xx status code

func (*ExportWorkspaceConfigOK) IsSuccess

func (o *ExportWorkspaceConfigOK) IsSuccess() bool

IsSuccess returns true when this export workspace config o k response has a 2xx status code

func (*ExportWorkspaceConfigOK) String

func (o *ExportWorkspaceConfigOK) String() string

type ExportWorkspaceConfigParams

type ExportWorkspaceConfigParams struct {

	/* Tid.

	   Tenant ID

	   Default: "default"
	*/
	Tid string

	/* Wid.

	   Workspace ID

	   Default: "default"
	*/
	Wid string

	/* WithCredentials.

	   With credentials - if true, credentials are included in the workspace export response
	*/
	WithCredentials *bool

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

ExportWorkspaceConfigParams contains all the parameters to send to the API endpoint

for the export workspace config operation.

Typically these are written to a http.Request.

func NewExportWorkspaceConfigParams

func NewExportWorkspaceConfigParams() *ExportWorkspaceConfigParams

NewExportWorkspaceConfigParams creates a new ExportWorkspaceConfigParams 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 NewExportWorkspaceConfigParamsWithContext

func NewExportWorkspaceConfigParamsWithContext(ctx context.Context) *ExportWorkspaceConfigParams

NewExportWorkspaceConfigParamsWithContext creates a new ExportWorkspaceConfigParams object with the ability to set a context for a request.

func NewExportWorkspaceConfigParamsWithHTTPClient

func NewExportWorkspaceConfigParamsWithHTTPClient(client *http.Client) *ExportWorkspaceConfigParams

NewExportWorkspaceConfigParamsWithHTTPClient creates a new ExportWorkspaceConfigParams object with the ability to set a custom HTTPClient for a request.

func NewExportWorkspaceConfigParamsWithTimeout

func NewExportWorkspaceConfigParamsWithTimeout(timeout time.Duration) *ExportWorkspaceConfigParams

NewExportWorkspaceConfigParamsWithTimeout creates a new ExportWorkspaceConfigParams object with the ability to set a timeout on a request.

func (*ExportWorkspaceConfigParams) SetContext

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

SetContext adds the context to the export workspace config params

func (*ExportWorkspaceConfigParams) SetDefaults

func (o *ExportWorkspaceConfigParams) SetDefaults()

SetDefaults hydrates default values in the export workspace config params (not the query body).

All values with no default are reset to their zero value.

func (*ExportWorkspaceConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export workspace config params

func (*ExportWorkspaceConfigParams) SetTid

func (o *ExportWorkspaceConfigParams) SetTid(tid string)

SetTid adds the tid to the export workspace config params

func (*ExportWorkspaceConfigParams) SetTimeout

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

SetTimeout adds the timeout to the export workspace config params

func (*ExportWorkspaceConfigParams) SetWid

func (o *ExportWorkspaceConfigParams) SetWid(wid string)

SetWid adds the wid to the export workspace config params

func (*ExportWorkspaceConfigParams) SetWithCredentials

func (o *ExportWorkspaceConfigParams) SetWithCredentials(withCredentials *bool)

SetWithCredentials adds the withCredentials to the export workspace config params

func (*ExportWorkspaceConfigParams) WithContext

WithContext adds the context to the export workspace config params

func (*ExportWorkspaceConfigParams) WithDefaults

WithDefaults hydrates default values in the export workspace config params (not the query body).

All values with no default are reset to their zero value.

func (*ExportWorkspaceConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the export workspace config params

func (*ExportWorkspaceConfigParams) WithTid

WithTid adds the tid to the export workspace config params

func (*ExportWorkspaceConfigParams) WithTimeout

WithTimeout adds the timeout to the export workspace config params

func (*ExportWorkspaceConfigParams) WithWid

WithWid adds the wid to the export workspace config params

func (*ExportWorkspaceConfigParams) WithWithCredentials

func (o *ExportWorkspaceConfigParams) WithWithCredentials(withCredentials *bool) *ExportWorkspaceConfigParams

WithWithCredentials adds the withCredentials to the export workspace config params

func (*ExportWorkspaceConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExportWorkspaceConfigReader

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

ExportWorkspaceConfigReader is a Reader for the ExportWorkspaceConfig structure.

func (*ExportWorkspaceConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportWorkspaceConfigTooManyRequests

type ExportWorkspaceConfigTooManyRequests struct {
	Payload *models.Error
}

ExportWorkspaceConfigTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewExportWorkspaceConfigTooManyRequests

func NewExportWorkspaceConfigTooManyRequests() *ExportWorkspaceConfigTooManyRequests

NewExportWorkspaceConfigTooManyRequests creates a ExportWorkspaceConfigTooManyRequests with default headers values

func (*ExportWorkspaceConfigTooManyRequests) Code

Code gets the status code for the export workspace config too many requests response

func (*ExportWorkspaceConfigTooManyRequests) Error

func (*ExportWorkspaceConfigTooManyRequests) GetPayload

func (*ExportWorkspaceConfigTooManyRequests) IsClientError

func (o *ExportWorkspaceConfigTooManyRequests) IsClientError() bool

IsClientError returns true when this export workspace config too many requests response has a 4xx status code

func (*ExportWorkspaceConfigTooManyRequests) IsCode

IsCode returns true when this export workspace config too many requests response a status code equal to that given

func (*ExportWorkspaceConfigTooManyRequests) IsRedirect

IsRedirect returns true when this export workspace config too many requests response has a 3xx status code

func (*ExportWorkspaceConfigTooManyRequests) IsServerError

func (o *ExportWorkspaceConfigTooManyRequests) IsServerError() bool

IsServerError returns true when this export workspace config too many requests response has a 5xx status code

func (*ExportWorkspaceConfigTooManyRequests) IsSuccess

IsSuccess returns true when this export workspace config too many requests response has a 2xx status code

func (*ExportWorkspaceConfigTooManyRequests) String

type ExportWorkspaceConfigUnauthorized

type ExportWorkspaceConfigUnauthorized struct {
	Payload *models.Error
}

ExportWorkspaceConfigUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewExportWorkspaceConfigUnauthorized

func NewExportWorkspaceConfigUnauthorized() *ExportWorkspaceConfigUnauthorized

NewExportWorkspaceConfigUnauthorized creates a ExportWorkspaceConfigUnauthorized with default headers values

func (*ExportWorkspaceConfigUnauthorized) Code

Code gets the status code for the export workspace config unauthorized response

func (*ExportWorkspaceConfigUnauthorized) Error

func (*ExportWorkspaceConfigUnauthorized) GetPayload

func (*ExportWorkspaceConfigUnauthorized) IsClientError

func (o *ExportWorkspaceConfigUnauthorized) IsClientError() bool

IsClientError returns true when this export workspace config unauthorized response has a 4xx status code

func (*ExportWorkspaceConfigUnauthorized) IsCode

func (o *ExportWorkspaceConfigUnauthorized) IsCode(code int) bool

IsCode returns true when this export workspace config unauthorized response a status code equal to that given

func (*ExportWorkspaceConfigUnauthorized) IsRedirect

func (o *ExportWorkspaceConfigUnauthorized) IsRedirect() bool

IsRedirect returns true when this export workspace config unauthorized response has a 3xx status code

func (*ExportWorkspaceConfigUnauthorized) IsServerError

func (o *ExportWorkspaceConfigUnauthorized) IsServerError() bool

IsServerError returns true when this export workspace config unauthorized response has a 5xx status code

func (*ExportWorkspaceConfigUnauthorized) IsSuccess

func (o *ExportWorkspaceConfigUnauthorized) IsSuccess() bool

IsSuccess returns true when this export workspace config unauthorized response has a 2xx status code

func (*ExportWorkspaceConfigUnauthorized) String

type ExportWorkspaceConfigUnprocessableEntity

type ExportWorkspaceConfigUnprocessableEntity struct {
	Payload *models.Error
}

ExportWorkspaceConfigUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewExportWorkspaceConfigUnprocessableEntity

func NewExportWorkspaceConfigUnprocessableEntity() *ExportWorkspaceConfigUnprocessableEntity

NewExportWorkspaceConfigUnprocessableEntity creates a ExportWorkspaceConfigUnprocessableEntity with default headers values

func (*ExportWorkspaceConfigUnprocessableEntity) Code

Code gets the status code for the export workspace config unprocessable entity response

func (*ExportWorkspaceConfigUnprocessableEntity) Error

func (*ExportWorkspaceConfigUnprocessableEntity) GetPayload

func (*ExportWorkspaceConfigUnprocessableEntity) IsClientError

IsClientError returns true when this export workspace config unprocessable entity response has a 4xx status code

func (*ExportWorkspaceConfigUnprocessableEntity) IsCode

IsCode returns true when this export workspace config unprocessable entity response a status code equal to that given

func (*ExportWorkspaceConfigUnprocessableEntity) IsRedirect

IsRedirect returns true when this export workspace config unprocessable entity response has a 3xx status code

func (*ExportWorkspaceConfigUnprocessableEntity) IsServerError

IsServerError returns true when this export workspace config unprocessable entity response has a 5xx status code

func (*ExportWorkspaceConfigUnprocessableEntity) IsSuccess

IsSuccess returns true when this export workspace config unprocessable entity response has a 2xx status code

func (*ExportWorkspaceConfigUnprocessableEntity) String

type ImportWorkspaceConfigBadRequest

type ImportWorkspaceConfigBadRequest struct {
	Payload *models.Error
}

ImportWorkspaceConfigBadRequest describes a response with status code 400, with default header values.

Bad request

func NewImportWorkspaceConfigBadRequest

func NewImportWorkspaceConfigBadRequest() *ImportWorkspaceConfigBadRequest

NewImportWorkspaceConfigBadRequest creates a ImportWorkspaceConfigBadRequest with default headers values

func (*ImportWorkspaceConfigBadRequest) Code

Code gets the status code for the import workspace config bad request response

func (*ImportWorkspaceConfigBadRequest) Error

func (*ImportWorkspaceConfigBadRequest) GetPayload

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

func (*ImportWorkspaceConfigBadRequest) IsClientError

func (o *ImportWorkspaceConfigBadRequest) IsClientError() bool

IsClientError returns true when this import workspace config bad request response has a 4xx status code

func (*ImportWorkspaceConfigBadRequest) IsCode

func (o *ImportWorkspaceConfigBadRequest) IsCode(code int) bool

IsCode returns true when this import workspace config bad request response a status code equal to that given

func (*ImportWorkspaceConfigBadRequest) IsRedirect

func (o *ImportWorkspaceConfigBadRequest) IsRedirect() bool

IsRedirect returns true when this import workspace config bad request response has a 3xx status code

func (*ImportWorkspaceConfigBadRequest) IsServerError

func (o *ImportWorkspaceConfigBadRequest) IsServerError() bool

IsServerError returns true when this import workspace config bad request response has a 5xx status code

func (*ImportWorkspaceConfigBadRequest) IsSuccess

func (o *ImportWorkspaceConfigBadRequest) IsSuccess() bool

IsSuccess returns true when this import workspace config bad request response has a 2xx status code

func (*ImportWorkspaceConfigBadRequest) String

type ImportWorkspaceConfigForbidden

type ImportWorkspaceConfigForbidden struct {
	Payload *models.Error
}

ImportWorkspaceConfigForbidden describes a response with status code 403, with default header values.

Forbidden

func NewImportWorkspaceConfigForbidden

func NewImportWorkspaceConfigForbidden() *ImportWorkspaceConfigForbidden

NewImportWorkspaceConfigForbidden creates a ImportWorkspaceConfigForbidden with default headers values

func (*ImportWorkspaceConfigForbidden) Code

Code gets the status code for the import workspace config forbidden response

func (*ImportWorkspaceConfigForbidden) Error

func (*ImportWorkspaceConfigForbidden) GetPayload

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

func (*ImportWorkspaceConfigForbidden) IsClientError

func (o *ImportWorkspaceConfigForbidden) IsClientError() bool

IsClientError returns true when this import workspace config forbidden response has a 4xx status code

func (*ImportWorkspaceConfigForbidden) IsCode

func (o *ImportWorkspaceConfigForbidden) IsCode(code int) bool

IsCode returns true when this import workspace config forbidden response a status code equal to that given

func (*ImportWorkspaceConfigForbidden) IsRedirect

func (o *ImportWorkspaceConfigForbidden) IsRedirect() bool

IsRedirect returns true when this import workspace config forbidden response has a 3xx status code

func (*ImportWorkspaceConfigForbidden) IsServerError

func (o *ImportWorkspaceConfigForbidden) IsServerError() bool

IsServerError returns true when this import workspace config forbidden response has a 5xx status code

func (*ImportWorkspaceConfigForbidden) IsSuccess

func (o *ImportWorkspaceConfigForbidden) IsSuccess() bool

IsSuccess returns true when this import workspace config forbidden response has a 2xx status code

func (*ImportWorkspaceConfigForbidden) String

type ImportWorkspaceConfigNoContent

type ImportWorkspaceConfigNoContent struct {
}

ImportWorkspaceConfigNoContent describes a response with status code 204, with default header values.

configuration has been imported

func NewImportWorkspaceConfigNoContent

func NewImportWorkspaceConfigNoContent() *ImportWorkspaceConfigNoContent

NewImportWorkspaceConfigNoContent creates a ImportWorkspaceConfigNoContent with default headers values

func (*ImportWorkspaceConfigNoContent) Code

Code gets the status code for the import workspace config no content response

func (*ImportWorkspaceConfigNoContent) Error

func (*ImportWorkspaceConfigNoContent) IsClientError

func (o *ImportWorkspaceConfigNoContent) IsClientError() bool

IsClientError returns true when this import workspace config no content response has a 4xx status code

func (*ImportWorkspaceConfigNoContent) IsCode

func (o *ImportWorkspaceConfigNoContent) IsCode(code int) bool

IsCode returns true when this import workspace config no content response a status code equal to that given

func (*ImportWorkspaceConfigNoContent) IsRedirect

func (o *ImportWorkspaceConfigNoContent) IsRedirect() bool

IsRedirect returns true when this import workspace config no content response has a 3xx status code

func (*ImportWorkspaceConfigNoContent) IsServerError

func (o *ImportWorkspaceConfigNoContent) IsServerError() bool

IsServerError returns true when this import workspace config no content response has a 5xx status code

func (*ImportWorkspaceConfigNoContent) IsSuccess

func (o *ImportWorkspaceConfigNoContent) IsSuccess() bool

IsSuccess returns true when this import workspace config no content response has a 2xx status code

func (*ImportWorkspaceConfigNoContent) String

type ImportWorkspaceConfigNotFound

type ImportWorkspaceConfigNotFound struct {
	Payload *models.Error
}

ImportWorkspaceConfigNotFound describes a response with status code 404, with default header values.

Not found

func NewImportWorkspaceConfigNotFound

func NewImportWorkspaceConfigNotFound() *ImportWorkspaceConfigNotFound

NewImportWorkspaceConfigNotFound creates a ImportWorkspaceConfigNotFound with default headers values

func (*ImportWorkspaceConfigNotFound) Code

Code gets the status code for the import workspace config not found response

func (*ImportWorkspaceConfigNotFound) Error

func (*ImportWorkspaceConfigNotFound) GetPayload

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

func (*ImportWorkspaceConfigNotFound) IsClientError

func (o *ImportWorkspaceConfigNotFound) IsClientError() bool

IsClientError returns true when this import workspace config not found response has a 4xx status code

func (*ImportWorkspaceConfigNotFound) IsCode

func (o *ImportWorkspaceConfigNotFound) IsCode(code int) bool

IsCode returns true when this import workspace config not found response a status code equal to that given

func (*ImportWorkspaceConfigNotFound) IsRedirect

func (o *ImportWorkspaceConfigNotFound) IsRedirect() bool

IsRedirect returns true when this import workspace config not found response has a 3xx status code

func (*ImportWorkspaceConfigNotFound) IsServerError

func (o *ImportWorkspaceConfigNotFound) IsServerError() bool

IsServerError returns true when this import workspace config not found response has a 5xx status code

func (*ImportWorkspaceConfigNotFound) IsSuccess

func (o *ImportWorkspaceConfigNotFound) IsSuccess() bool

IsSuccess returns true when this import workspace config not found response has a 2xx status code

func (*ImportWorkspaceConfigNotFound) String

type ImportWorkspaceConfigParams

type ImportWorkspaceConfigParams struct {

	// Config.
	Config *models.TreeServer

	/* Mode.

	     Insert mode

	Defines what happens in case of patched configuration import conflicts.

	The `mode` parameter defines
	what happens if there are any conflicts when importing your configuration. For example, if a
	client already exists within Cloudentity and you are trying to import a
	configuration that also has a client with this ID, there are the following ways
	Cloudentity can handle the request:

	`mode` set to `ignore`, Cloudentity ignores the changes that come from your configuration import.

	`mode` set to `fail`, Cloudentity stops processing the import and returns an error.

	`mode` set to `update`, Cloudentity updates the value from the previous configuration with the value
	provided in the request.

	     Format: insertMode
	*/
	Mode *string

	/* Tid.

	   Tenant ID

	   Default: "default"
	*/
	Tid string

	/* Wid.

	   Workspace ID

	   Default: "default"
	*/
	Wid string

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

ImportWorkspaceConfigParams contains all the parameters to send to the API endpoint

for the import workspace config operation.

Typically these are written to a http.Request.

func NewImportWorkspaceConfigParams

func NewImportWorkspaceConfigParams() *ImportWorkspaceConfigParams

NewImportWorkspaceConfigParams creates a new ImportWorkspaceConfigParams 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 NewImportWorkspaceConfigParamsWithContext

func NewImportWorkspaceConfigParamsWithContext(ctx context.Context) *ImportWorkspaceConfigParams

NewImportWorkspaceConfigParamsWithContext creates a new ImportWorkspaceConfigParams object with the ability to set a context for a request.

func NewImportWorkspaceConfigParamsWithHTTPClient

func NewImportWorkspaceConfigParamsWithHTTPClient(client *http.Client) *ImportWorkspaceConfigParams

NewImportWorkspaceConfigParamsWithHTTPClient creates a new ImportWorkspaceConfigParams object with the ability to set a custom HTTPClient for a request.

func NewImportWorkspaceConfigParamsWithTimeout

func NewImportWorkspaceConfigParamsWithTimeout(timeout time.Duration) *ImportWorkspaceConfigParams

NewImportWorkspaceConfigParamsWithTimeout creates a new ImportWorkspaceConfigParams object with the ability to set a timeout on a request.

func (*ImportWorkspaceConfigParams) SetConfig

func (o *ImportWorkspaceConfigParams) SetConfig(config *models.TreeServer)

SetConfig adds the config to the import workspace config params

func (*ImportWorkspaceConfigParams) SetContext

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

SetContext adds the context to the import workspace config params

func (*ImportWorkspaceConfigParams) SetDefaults

func (o *ImportWorkspaceConfigParams) SetDefaults()

SetDefaults hydrates default values in the import workspace config params (not the query body).

All values with no default are reset to their zero value.

func (*ImportWorkspaceConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import workspace config params

func (*ImportWorkspaceConfigParams) SetMode

func (o *ImportWorkspaceConfigParams) SetMode(mode *string)

SetMode adds the mode to the import workspace config params

func (*ImportWorkspaceConfigParams) SetTid

func (o *ImportWorkspaceConfigParams) SetTid(tid string)

SetTid adds the tid to the import workspace config params

func (*ImportWorkspaceConfigParams) SetTimeout

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

SetTimeout adds the timeout to the import workspace config params

func (*ImportWorkspaceConfigParams) SetWid

func (o *ImportWorkspaceConfigParams) SetWid(wid string)

SetWid adds the wid to the import workspace config params

func (*ImportWorkspaceConfigParams) WithConfig

WithConfig adds the config to the import workspace config params

func (*ImportWorkspaceConfigParams) WithContext

WithContext adds the context to the import workspace config params

func (*ImportWorkspaceConfigParams) WithDefaults

WithDefaults hydrates default values in the import workspace config params (not the query body).

All values with no default are reset to their zero value.

func (*ImportWorkspaceConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the import workspace config params

func (*ImportWorkspaceConfigParams) WithMode

WithMode adds the mode to the import workspace config params

func (*ImportWorkspaceConfigParams) WithTid

WithTid adds the tid to the import workspace config params

func (*ImportWorkspaceConfigParams) WithTimeout

WithTimeout adds the timeout to the import workspace config params

func (*ImportWorkspaceConfigParams) WithWid

WithWid adds the wid to the import workspace config params

func (*ImportWorkspaceConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportWorkspaceConfigReader

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

ImportWorkspaceConfigReader is a Reader for the ImportWorkspaceConfig structure.

func (*ImportWorkspaceConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportWorkspaceConfigTooManyRequests

type ImportWorkspaceConfigTooManyRequests struct {
	Payload *models.Error
}

ImportWorkspaceConfigTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewImportWorkspaceConfigTooManyRequests

func NewImportWorkspaceConfigTooManyRequests() *ImportWorkspaceConfigTooManyRequests

NewImportWorkspaceConfigTooManyRequests creates a ImportWorkspaceConfigTooManyRequests with default headers values

func (*ImportWorkspaceConfigTooManyRequests) Code

Code gets the status code for the import workspace config too many requests response

func (*ImportWorkspaceConfigTooManyRequests) Error

func (*ImportWorkspaceConfigTooManyRequests) GetPayload

func (*ImportWorkspaceConfigTooManyRequests) IsClientError

func (o *ImportWorkspaceConfigTooManyRequests) IsClientError() bool

IsClientError returns true when this import workspace config too many requests response has a 4xx status code

func (*ImportWorkspaceConfigTooManyRequests) IsCode

IsCode returns true when this import workspace config too many requests response a status code equal to that given

func (*ImportWorkspaceConfigTooManyRequests) IsRedirect

IsRedirect returns true when this import workspace config too many requests response has a 3xx status code

func (*ImportWorkspaceConfigTooManyRequests) IsServerError

func (o *ImportWorkspaceConfigTooManyRequests) IsServerError() bool

IsServerError returns true when this import workspace config too many requests response has a 5xx status code

func (*ImportWorkspaceConfigTooManyRequests) IsSuccess

IsSuccess returns true when this import workspace config too many requests response has a 2xx status code

func (*ImportWorkspaceConfigTooManyRequests) String

type ImportWorkspaceConfigUnauthorized

type ImportWorkspaceConfigUnauthorized struct {
	Payload *models.Error
}

ImportWorkspaceConfigUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewImportWorkspaceConfigUnauthorized

func NewImportWorkspaceConfigUnauthorized() *ImportWorkspaceConfigUnauthorized

NewImportWorkspaceConfigUnauthorized creates a ImportWorkspaceConfigUnauthorized with default headers values

func (*ImportWorkspaceConfigUnauthorized) Code

Code gets the status code for the import workspace config unauthorized response

func (*ImportWorkspaceConfigUnauthorized) Error

func (*ImportWorkspaceConfigUnauthorized) GetPayload

func (*ImportWorkspaceConfigUnauthorized) IsClientError

func (o *ImportWorkspaceConfigUnauthorized) IsClientError() bool

IsClientError returns true when this import workspace config unauthorized response has a 4xx status code

func (*ImportWorkspaceConfigUnauthorized) IsCode

func (o *ImportWorkspaceConfigUnauthorized) IsCode(code int) bool

IsCode returns true when this import workspace config unauthorized response a status code equal to that given

func (*ImportWorkspaceConfigUnauthorized) IsRedirect

func (o *ImportWorkspaceConfigUnauthorized) IsRedirect() bool

IsRedirect returns true when this import workspace config unauthorized response has a 3xx status code

func (*ImportWorkspaceConfigUnauthorized) IsServerError

func (o *ImportWorkspaceConfigUnauthorized) IsServerError() bool

IsServerError returns true when this import workspace config unauthorized response has a 5xx status code

func (*ImportWorkspaceConfigUnauthorized) IsSuccess

func (o *ImportWorkspaceConfigUnauthorized) IsSuccess() bool

IsSuccess returns true when this import workspace config unauthorized response has a 2xx status code

func (*ImportWorkspaceConfigUnauthorized) String

type ImportWorkspaceConfigUnprocessableEntity

type ImportWorkspaceConfigUnprocessableEntity struct {
	Payload *models.Error
}

ImportWorkspaceConfigUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewImportWorkspaceConfigUnprocessableEntity

func NewImportWorkspaceConfigUnprocessableEntity() *ImportWorkspaceConfigUnprocessableEntity

NewImportWorkspaceConfigUnprocessableEntity creates a ImportWorkspaceConfigUnprocessableEntity with default headers values

func (*ImportWorkspaceConfigUnprocessableEntity) Code

Code gets the status code for the import workspace config unprocessable entity response

func (*ImportWorkspaceConfigUnprocessableEntity) Error

func (*ImportWorkspaceConfigUnprocessableEntity) GetPayload

func (*ImportWorkspaceConfigUnprocessableEntity) IsClientError

IsClientError returns true when this import workspace config unprocessable entity response has a 4xx status code

func (*ImportWorkspaceConfigUnprocessableEntity) IsCode

IsCode returns true when this import workspace config unprocessable entity response a status code equal to that given

func (*ImportWorkspaceConfigUnprocessableEntity) IsRedirect

IsRedirect returns true when this import workspace config unprocessable entity response has a 3xx status code

func (*ImportWorkspaceConfigUnprocessableEntity) IsServerError

IsServerError returns true when this import workspace config unprocessable entity response has a 5xx status code

func (*ImportWorkspaceConfigUnprocessableEntity) IsSuccess

IsSuccess returns true when this import workspace config unprocessable entity response has a 2xx status code

func (*ImportWorkspaceConfigUnprocessableEntity) String

type PatchWorkspaceConfigRfc6902BadRequest

type PatchWorkspaceConfigRfc6902BadRequest struct {
	Payload *models.Error
}

PatchWorkspaceConfigRfc6902BadRequest describes a response with status code 400, with default header values.

Bad request

func NewPatchWorkspaceConfigRfc6902BadRequest

func NewPatchWorkspaceConfigRfc6902BadRequest() *PatchWorkspaceConfigRfc6902BadRequest

NewPatchWorkspaceConfigRfc6902BadRequest creates a PatchWorkspaceConfigRfc6902BadRequest with default headers values

func (*PatchWorkspaceConfigRfc6902BadRequest) Code

Code gets the status code for the patch workspace config rfc6902 bad request response

func (*PatchWorkspaceConfigRfc6902BadRequest) Error

func (*PatchWorkspaceConfigRfc6902BadRequest) GetPayload

func (*PatchWorkspaceConfigRfc6902BadRequest) IsClientError

func (o *PatchWorkspaceConfigRfc6902BadRequest) IsClientError() bool

IsClientError returns true when this patch workspace config rfc6902 bad request response has a 4xx status code

func (*PatchWorkspaceConfigRfc6902BadRequest) IsCode

IsCode returns true when this patch workspace config rfc6902 bad request response a status code equal to that given

func (*PatchWorkspaceConfigRfc6902BadRequest) IsRedirect

IsRedirect returns true when this patch workspace config rfc6902 bad request response has a 3xx status code

func (*PatchWorkspaceConfigRfc6902BadRequest) IsServerError

func (o *PatchWorkspaceConfigRfc6902BadRequest) IsServerError() bool

IsServerError returns true when this patch workspace config rfc6902 bad request response has a 5xx status code

func (*PatchWorkspaceConfigRfc6902BadRequest) IsSuccess

IsSuccess returns true when this patch workspace config rfc6902 bad request response has a 2xx status code

func (*PatchWorkspaceConfigRfc6902BadRequest) String

type PatchWorkspaceConfigRfc6902Forbidden

type PatchWorkspaceConfigRfc6902Forbidden struct {
	Payload *models.Error
}

PatchWorkspaceConfigRfc6902Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewPatchWorkspaceConfigRfc6902Forbidden

func NewPatchWorkspaceConfigRfc6902Forbidden() *PatchWorkspaceConfigRfc6902Forbidden

NewPatchWorkspaceConfigRfc6902Forbidden creates a PatchWorkspaceConfigRfc6902Forbidden with default headers values

func (*PatchWorkspaceConfigRfc6902Forbidden) Code

Code gets the status code for the patch workspace config rfc6902 forbidden response

func (*PatchWorkspaceConfigRfc6902Forbidden) Error

func (*PatchWorkspaceConfigRfc6902Forbidden) GetPayload

func (*PatchWorkspaceConfigRfc6902Forbidden) IsClientError

func (o *PatchWorkspaceConfigRfc6902Forbidden) IsClientError() bool

IsClientError returns true when this patch workspace config rfc6902 forbidden response has a 4xx status code

func (*PatchWorkspaceConfigRfc6902Forbidden) IsCode

IsCode returns true when this patch workspace config rfc6902 forbidden response a status code equal to that given

func (*PatchWorkspaceConfigRfc6902Forbidden) IsRedirect

IsRedirect returns true when this patch workspace config rfc6902 forbidden response has a 3xx status code

func (*PatchWorkspaceConfigRfc6902Forbidden) IsServerError

func (o *PatchWorkspaceConfigRfc6902Forbidden) IsServerError() bool

IsServerError returns true when this patch workspace config rfc6902 forbidden response has a 5xx status code

func (*PatchWorkspaceConfigRfc6902Forbidden) IsSuccess

IsSuccess returns true when this patch workspace config rfc6902 forbidden response has a 2xx status code

func (*PatchWorkspaceConfigRfc6902Forbidden) String

type PatchWorkspaceConfigRfc6902NoContent

type PatchWorkspaceConfigRfc6902NoContent struct {
}

PatchWorkspaceConfigRfc6902NoContent describes a response with status code 204, with default header values.

patch applied

func NewPatchWorkspaceConfigRfc6902NoContent

func NewPatchWorkspaceConfigRfc6902NoContent() *PatchWorkspaceConfigRfc6902NoContent

NewPatchWorkspaceConfigRfc6902NoContent creates a PatchWorkspaceConfigRfc6902NoContent with default headers values

func (*PatchWorkspaceConfigRfc6902NoContent) Code

Code gets the status code for the patch workspace config rfc6902 no content response

func (*PatchWorkspaceConfigRfc6902NoContent) Error

func (*PatchWorkspaceConfigRfc6902NoContent) IsClientError

func (o *PatchWorkspaceConfigRfc6902NoContent) IsClientError() bool

IsClientError returns true when this patch workspace config rfc6902 no content response has a 4xx status code

func (*PatchWorkspaceConfigRfc6902NoContent) IsCode

IsCode returns true when this patch workspace config rfc6902 no content response a status code equal to that given

func (*PatchWorkspaceConfigRfc6902NoContent) IsRedirect

IsRedirect returns true when this patch workspace config rfc6902 no content response has a 3xx status code

func (*PatchWorkspaceConfigRfc6902NoContent) IsServerError

func (o *PatchWorkspaceConfigRfc6902NoContent) IsServerError() bool

IsServerError returns true when this patch workspace config rfc6902 no content response has a 5xx status code

func (*PatchWorkspaceConfigRfc6902NoContent) IsSuccess

IsSuccess returns true when this patch workspace config rfc6902 no content response has a 2xx status code

func (*PatchWorkspaceConfigRfc6902NoContent) String

type PatchWorkspaceConfigRfc6902NotFound

type PatchWorkspaceConfigRfc6902NotFound struct {
	Payload *models.Error
}

PatchWorkspaceConfigRfc6902NotFound describes a response with status code 404, with default header values.

Not found

func NewPatchWorkspaceConfigRfc6902NotFound

func NewPatchWorkspaceConfigRfc6902NotFound() *PatchWorkspaceConfigRfc6902NotFound

NewPatchWorkspaceConfigRfc6902NotFound creates a PatchWorkspaceConfigRfc6902NotFound with default headers values

func (*PatchWorkspaceConfigRfc6902NotFound) Code

Code gets the status code for the patch workspace config rfc6902 not found response

func (*PatchWorkspaceConfigRfc6902NotFound) Error

func (*PatchWorkspaceConfigRfc6902NotFound) GetPayload

func (*PatchWorkspaceConfigRfc6902NotFound) IsClientError

func (o *PatchWorkspaceConfigRfc6902NotFound) IsClientError() bool

IsClientError returns true when this patch workspace config rfc6902 not found response has a 4xx status code

func (*PatchWorkspaceConfigRfc6902NotFound) IsCode

IsCode returns true when this patch workspace config rfc6902 not found response a status code equal to that given

func (*PatchWorkspaceConfigRfc6902NotFound) IsRedirect

func (o *PatchWorkspaceConfigRfc6902NotFound) IsRedirect() bool

IsRedirect returns true when this patch workspace config rfc6902 not found response has a 3xx status code

func (*PatchWorkspaceConfigRfc6902NotFound) IsServerError

func (o *PatchWorkspaceConfigRfc6902NotFound) IsServerError() bool

IsServerError returns true when this patch workspace config rfc6902 not found response has a 5xx status code

func (*PatchWorkspaceConfigRfc6902NotFound) IsSuccess

IsSuccess returns true when this patch workspace config rfc6902 not found response has a 2xx status code

func (*PatchWorkspaceConfigRfc6902NotFound) String

type PatchWorkspaceConfigRfc6902Params

type PatchWorkspaceConfigRfc6902Params struct {

	/* Mode.

	     Insert mode

	Defines what happens in case of patched configuration import conflicts.

	The `mode` parameter defines
	what happens if there are any conflicts when importing your configuration. For example, if a
	client already exists within Cloudentity and you are trying to import a
	configuration that also has a client with this ID, there are the following ways
	Cloudentity can handle the request:

	`mode` set to `ignore`, Cloudentity ignores the changes that come from your configuration import.

	`mode` set to `fail`, Cloudentity stops processing the import and returns an error.

	`mode` set to `update`, Cloudentity updates the value from the previous configuration with the value
	provided in the request.

	     Format: insertMode
	*/
	Mode *string

	/* Patch.

	     RFC6902Patch

	The `patch` parameter is a JSON object that contains an array of RFC-6902 patch operations.
	*/
	Patch models.Rfc6902PatchOperations

	/* Tid.

	   Tenant ID

	   Default: "default"
	*/
	Tid string

	/* Wid.

	   Workspace ID

	   Default: "default"
	*/
	Wid string

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

PatchWorkspaceConfigRfc6902Params contains all the parameters to send to the API endpoint

for the patch workspace config rfc6902 operation.

Typically these are written to a http.Request.

func NewPatchWorkspaceConfigRfc6902Params

func NewPatchWorkspaceConfigRfc6902Params() *PatchWorkspaceConfigRfc6902Params

NewPatchWorkspaceConfigRfc6902Params creates a new PatchWorkspaceConfigRfc6902Params 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 NewPatchWorkspaceConfigRfc6902ParamsWithContext

func NewPatchWorkspaceConfigRfc6902ParamsWithContext(ctx context.Context) *PatchWorkspaceConfigRfc6902Params

NewPatchWorkspaceConfigRfc6902ParamsWithContext creates a new PatchWorkspaceConfigRfc6902Params object with the ability to set a context for a request.

func NewPatchWorkspaceConfigRfc6902ParamsWithHTTPClient

func NewPatchWorkspaceConfigRfc6902ParamsWithHTTPClient(client *http.Client) *PatchWorkspaceConfigRfc6902Params

NewPatchWorkspaceConfigRfc6902ParamsWithHTTPClient creates a new PatchWorkspaceConfigRfc6902Params object with the ability to set a custom HTTPClient for a request.

func NewPatchWorkspaceConfigRfc6902ParamsWithTimeout

func NewPatchWorkspaceConfigRfc6902ParamsWithTimeout(timeout time.Duration) *PatchWorkspaceConfigRfc6902Params

NewPatchWorkspaceConfigRfc6902ParamsWithTimeout creates a new PatchWorkspaceConfigRfc6902Params object with the ability to set a timeout on a request.

func (*PatchWorkspaceConfigRfc6902Params) SetContext

SetContext adds the context to the patch workspace config rfc6902 params

func (*PatchWorkspaceConfigRfc6902Params) SetDefaults

func (o *PatchWorkspaceConfigRfc6902Params) SetDefaults()

SetDefaults hydrates default values in the patch workspace config rfc6902 params (not the query body).

All values with no default are reset to their zero value.

func (*PatchWorkspaceConfigRfc6902Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch workspace config rfc6902 params

func (*PatchWorkspaceConfigRfc6902Params) SetMode

func (o *PatchWorkspaceConfigRfc6902Params) SetMode(mode *string)

SetMode adds the mode to the patch workspace config rfc6902 params

func (*PatchWorkspaceConfigRfc6902Params) SetPatch

SetPatch adds the patch to the patch workspace config rfc6902 params

func (*PatchWorkspaceConfigRfc6902Params) SetTid

SetTid adds the tid to the patch workspace config rfc6902 params

func (*PatchWorkspaceConfigRfc6902Params) SetTimeout

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

SetTimeout adds the timeout to the patch workspace config rfc6902 params

func (*PatchWorkspaceConfigRfc6902Params) SetWid

SetWid adds the wid to the patch workspace config rfc6902 params

func (*PatchWorkspaceConfigRfc6902Params) WithContext

WithContext adds the context to the patch workspace config rfc6902 params

func (*PatchWorkspaceConfigRfc6902Params) WithDefaults

WithDefaults hydrates default values in the patch workspace config rfc6902 params (not the query body).

All values with no default are reset to their zero value.

func (*PatchWorkspaceConfigRfc6902Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch workspace config rfc6902 params

func (*PatchWorkspaceConfigRfc6902Params) WithMode

WithMode adds the mode to the patch workspace config rfc6902 params

func (*PatchWorkspaceConfigRfc6902Params) WithPatch

WithPatch adds the patch to the patch workspace config rfc6902 params

func (*PatchWorkspaceConfigRfc6902Params) WithTid

WithTid adds the tid to the patch workspace config rfc6902 params

func (*PatchWorkspaceConfigRfc6902Params) WithTimeout

WithTimeout adds the timeout to the patch workspace config rfc6902 params

func (*PatchWorkspaceConfigRfc6902Params) WithWid

WithWid adds the wid to the patch workspace config rfc6902 params

func (*PatchWorkspaceConfigRfc6902Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchWorkspaceConfigRfc6902Reader

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

PatchWorkspaceConfigRfc6902Reader is a Reader for the PatchWorkspaceConfigRfc6902 structure.

func (*PatchWorkspaceConfigRfc6902Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchWorkspaceConfigRfc6902TooManyRequests

type PatchWorkspaceConfigRfc6902TooManyRequests struct {
	Payload *models.Error
}

PatchWorkspaceConfigRfc6902TooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewPatchWorkspaceConfigRfc6902TooManyRequests

func NewPatchWorkspaceConfigRfc6902TooManyRequests() *PatchWorkspaceConfigRfc6902TooManyRequests

NewPatchWorkspaceConfigRfc6902TooManyRequests creates a PatchWorkspaceConfigRfc6902TooManyRequests with default headers values

func (*PatchWorkspaceConfigRfc6902TooManyRequests) Code

Code gets the status code for the patch workspace config rfc6902 too many requests response

func (*PatchWorkspaceConfigRfc6902TooManyRequests) Error

func (*PatchWorkspaceConfigRfc6902TooManyRequests) GetPayload

func (*PatchWorkspaceConfigRfc6902TooManyRequests) IsClientError

IsClientError returns true when this patch workspace config rfc6902 too many requests response has a 4xx status code

func (*PatchWorkspaceConfigRfc6902TooManyRequests) IsCode

IsCode returns true when this patch workspace config rfc6902 too many requests response a status code equal to that given

func (*PatchWorkspaceConfigRfc6902TooManyRequests) IsRedirect

IsRedirect returns true when this patch workspace config rfc6902 too many requests response has a 3xx status code

func (*PatchWorkspaceConfigRfc6902TooManyRequests) IsServerError

IsServerError returns true when this patch workspace config rfc6902 too many requests response has a 5xx status code

func (*PatchWorkspaceConfigRfc6902TooManyRequests) IsSuccess

IsSuccess returns true when this patch workspace config rfc6902 too many requests response has a 2xx status code

func (*PatchWorkspaceConfigRfc6902TooManyRequests) String

type PatchWorkspaceConfigRfc6902Unauthorized

type PatchWorkspaceConfigRfc6902Unauthorized struct {
	Payload *models.Error
}

PatchWorkspaceConfigRfc6902Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPatchWorkspaceConfigRfc6902Unauthorized

func NewPatchWorkspaceConfigRfc6902Unauthorized() *PatchWorkspaceConfigRfc6902Unauthorized

NewPatchWorkspaceConfigRfc6902Unauthorized creates a PatchWorkspaceConfigRfc6902Unauthorized with default headers values

func (*PatchWorkspaceConfigRfc6902Unauthorized) Code

Code gets the status code for the patch workspace config rfc6902 unauthorized response

func (*PatchWorkspaceConfigRfc6902Unauthorized) Error

func (*PatchWorkspaceConfigRfc6902Unauthorized) GetPayload

func (*PatchWorkspaceConfigRfc6902Unauthorized) IsClientError

func (o *PatchWorkspaceConfigRfc6902Unauthorized) IsClientError() bool

IsClientError returns true when this patch workspace config rfc6902 unauthorized response has a 4xx status code

func (*PatchWorkspaceConfigRfc6902Unauthorized) IsCode

IsCode returns true when this patch workspace config rfc6902 unauthorized response a status code equal to that given

func (*PatchWorkspaceConfigRfc6902Unauthorized) IsRedirect

IsRedirect returns true when this patch workspace config rfc6902 unauthorized response has a 3xx status code

func (*PatchWorkspaceConfigRfc6902Unauthorized) IsServerError

func (o *PatchWorkspaceConfigRfc6902Unauthorized) IsServerError() bool

IsServerError returns true when this patch workspace config rfc6902 unauthorized response has a 5xx status code

func (*PatchWorkspaceConfigRfc6902Unauthorized) IsSuccess

IsSuccess returns true when this patch workspace config rfc6902 unauthorized response has a 2xx status code

func (*PatchWorkspaceConfigRfc6902Unauthorized) String

type PatchWorkspaceConfigRfc6902UnprocessableEntity

type PatchWorkspaceConfigRfc6902UnprocessableEntity struct {
	Payload *models.Error
}

PatchWorkspaceConfigRfc6902UnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewPatchWorkspaceConfigRfc6902UnprocessableEntity

func NewPatchWorkspaceConfigRfc6902UnprocessableEntity() *PatchWorkspaceConfigRfc6902UnprocessableEntity

NewPatchWorkspaceConfigRfc6902UnprocessableEntity creates a PatchWorkspaceConfigRfc6902UnprocessableEntity with default headers values

func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) Code

Code gets the status code for the patch workspace config rfc6902 unprocessable entity response

func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) Error

func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) GetPayload

func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) IsClientError

IsClientError returns true when this patch workspace config rfc6902 unprocessable entity response has a 4xx status code

func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) IsCode

IsCode returns true when this patch workspace config rfc6902 unprocessable entity response a status code equal to that given

func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) IsRedirect

IsRedirect returns true when this patch workspace config rfc6902 unprocessable entity response has a 3xx status code

func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) IsServerError

IsServerError returns true when this patch workspace config rfc6902 unprocessable entity response has a 5xx status code

func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) IsSuccess

IsSuccess returns true when this patch workspace config rfc6902 unprocessable entity response has a 2xx status code

func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) String

type PatchWorkspaceConfigRfc7396BadRequest

type PatchWorkspaceConfigRfc7396BadRequest struct {
	Payload *models.Error
}

PatchWorkspaceConfigRfc7396BadRequest describes a response with status code 400, with default header values.

Bad request

func NewPatchWorkspaceConfigRfc7396BadRequest

func NewPatchWorkspaceConfigRfc7396BadRequest() *PatchWorkspaceConfigRfc7396BadRequest

NewPatchWorkspaceConfigRfc7396BadRequest creates a PatchWorkspaceConfigRfc7396BadRequest with default headers values

func (*PatchWorkspaceConfigRfc7396BadRequest) Code

Code gets the status code for the patch workspace config rfc7396 bad request response

func (*PatchWorkspaceConfigRfc7396BadRequest) Error

func (*PatchWorkspaceConfigRfc7396BadRequest) GetPayload

func (*PatchWorkspaceConfigRfc7396BadRequest) IsClientError

func (o *PatchWorkspaceConfigRfc7396BadRequest) IsClientError() bool

IsClientError returns true when this patch workspace config rfc7396 bad request response has a 4xx status code

func (*PatchWorkspaceConfigRfc7396BadRequest) IsCode

IsCode returns true when this patch workspace config rfc7396 bad request response a status code equal to that given

func (*PatchWorkspaceConfigRfc7396BadRequest) IsRedirect

IsRedirect returns true when this patch workspace config rfc7396 bad request response has a 3xx status code

func (*PatchWorkspaceConfigRfc7396BadRequest) IsServerError

func (o *PatchWorkspaceConfigRfc7396BadRequest) IsServerError() bool

IsServerError returns true when this patch workspace config rfc7396 bad request response has a 5xx status code

func (*PatchWorkspaceConfigRfc7396BadRequest) IsSuccess

IsSuccess returns true when this patch workspace config rfc7396 bad request response has a 2xx status code

func (*PatchWorkspaceConfigRfc7396BadRequest) String

type PatchWorkspaceConfigRfc7396Forbidden

type PatchWorkspaceConfigRfc7396Forbidden struct {
	Payload *models.Error
}

PatchWorkspaceConfigRfc7396Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewPatchWorkspaceConfigRfc7396Forbidden

func NewPatchWorkspaceConfigRfc7396Forbidden() *PatchWorkspaceConfigRfc7396Forbidden

NewPatchWorkspaceConfigRfc7396Forbidden creates a PatchWorkspaceConfigRfc7396Forbidden with default headers values

func (*PatchWorkspaceConfigRfc7396Forbidden) Code

Code gets the status code for the patch workspace config rfc7396 forbidden response

func (*PatchWorkspaceConfigRfc7396Forbidden) Error

func (*PatchWorkspaceConfigRfc7396Forbidden) GetPayload

func (*PatchWorkspaceConfigRfc7396Forbidden) IsClientError

func (o *PatchWorkspaceConfigRfc7396Forbidden) IsClientError() bool

IsClientError returns true when this patch workspace config rfc7396 forbidden response has a 4xx status code

func (*PatchWorkspaceConfigRfc7396Forbidden) IsCode

IsCode returns true when this patch workspace config rfc7396 forbidden response a status code equal to that given

func (*PatchWorkspaceConfigRfc7396Forbidden) IsRedirect

IsRedirect returns true when this patch workspace config rfc7396 forbidden response has a 3xx status code

func (*PatchWorkspaceConfigRfc7396Forbidden) IsServerError

func (o *PatchWorkspaceConfigRfc7396Forbidden) IsServerError() bool

IsServerError returns true when this patch workspace config rfc7396 forbidden response has a 5xx status code

func (*PatchWorkspaceConfigRfc7396Forbidden) IsSuccess

IsSuccess returns true when this patch workspace config rfc7396 forbidden response has a 2xx status code

func (*PatchWorkspaceConfigRfc7396Forbidden) String

type PatchWorkspaceConfigRfc7396NoContent

type PatchWorkspaceConfigRfc7396NoContent struct {
}

PatchWorkspaceConfigRfc7396NoContent describes a response with status code 204, with default header values.

patch applied

func NewPatchWorkspaceConfigRfc7396NoContent

func NewPatchWorkspaceConfigRfc7396NoContent() *PatchWorkspaceConfigRfc7396NoContent

NewPatchWorkspaceConfigRfc7396NoContent creates a PatchWorkspaceConfigRfc7396NoContent with default headers values

func (*PatchWorkspaceConfigRfc7396NoContent) Code

Code gets the status code for the patch workspace config rfc7396 no content response

func (*PatchWorkspaceConfigRfc7396NoContent) Error

func (*PatchWorkspaceConfigRfc7396NoContent) IsClientError

func (o *PatchWorkspaceConfigRfc7396NoContent) IsClientError() bool

IsClientError returns true when this patch workspace config rfc7396 no content response has a 4xx status code

func (*PatchWorkspaceConfigRfc7396NoContent) IsCode

IsCode returns true when this patch workspace config rfc7396 no content response a status code equal to that given

func (*PatchWorkspaceConfigRfc7396NoContent) IsRedirect

IsRedirect returns true when this patch workspace config rfc7396 no content response has a 3xx status code

func (*PatchWorkspaceConfigRfc7396NoContent) IsServerError

func (o *PatchWorkspaceConfigRfc7396NoContent) IsServerError() bool

IsServerError returns true when this patch workspace config rfc7396 no content response has a 5xx status code

func (*PatchWorkspaceConfigRfc7396NoContent) IsSuccess

IsSuccess returns true when this patch workspace config rfc7396 no content response has a 2xx status code

func (*PatchWorkspaceConfigRfc7396NoContent) String

type PatchWorkspaceConfigRfc7396NotFound

type PatchWorkspaceConfigRfc7396NotFound struct {
	Payload *models.Error
}

PatchWorkspaceConfigRfc7396NotFound describes a response with status code 404, with default header values.

Not found

func NewPatchWorkspaceConfigRfc7396NotFound

func NewPatchWorkspaceConfigRfc7396NotFound() *PatchWorkspaceConfigRfc7396NotFound

NewPatchWorkspaceConfigRfc7396NotFound creates a PatchWorkspaceConfigRfc7396NotFound with default headers values

func (*PatchWorkspaceConfigRfc7396NotFound) Code

Code gets the status code for the patch workspace config rfc7396 not found response

func (*PatchWorkspaceConfigRfc7396NotFound) Error

func (*PatchWorkspaceConfigRfc7396NotFound) GetPayload

func (*PatchWorkspaceConfigRfc7396NotFound) IsClientError

func (o *PatchWorkspaceConfigRfc7396NotFound) IsClientError() bool

IsClientError returns true when this patch workspace config rfc7396 not found response has a 4xx status code

func (*PatchWorkspaceConfigRfc7396NotFound) IsCode

IsCode returns true when this patch workspace config rfc7396 not found response a status code equal to that given

func (*PatchWorkspaceConfigRfc7396NotFound) IsRedirect

func (o *PatchWorkspaceConfigRfc7396NotFound) IsRedirect() bool

IsRedirect returns true when this patch workspace config rfc7396 not found response has a 3xx status code

func (*PatchWorkspaceConfigRfc7396NotFound) IsServerError

func (o *PatchWorkspaceConfigRfc7396NotFound) IsServerError() bool

IsServerError returns true when this patch workspace config rfc7396 not found response has a 5xx status code

func (*PatchWorkspaceConfigRfc7396NotFound) IsSuccess

IsSuccess returns true when this patch workspace config rfc7396 not found response has a 2xx status code

func (*PatchWorkspaceConfigRfc7396NotFound) String

type PatchWorkspaceConfigRfc7396Params

type PatchWorkspaceConfigRfc7396Params struct {

	/* Mode.

	     Insert mode

	Defines what happens in case of patched configuration import conflicts.

	The `mode` parameter defines
	what happens if there are any conflicts when importing your configuration. For example, if a
	client already exists within Cloudentity and you are trying to import a
	configuration that also has a client with this ID, there are the following ways
	Cloudentity can handle the request:

	`mode` set to `ignore`, Cloudentity ignores the changes that come from your configuration import.

	`mode` set to `fail`, Cloudentity stops processing the import and returns an error.

	`mode` set to `update`, Cloudentity updates the value from the previous configuration with the value
	provided in the request.

	     Format: insertMode
	*/
	Mode *string

	// Patch.
	Patch models.Rfc7396PatchOperation

	/* Tid.

	   Tenant ID

	   Default: "default"
	*/
	Tid string

	/* Wid.

	   Workspace ID

	   Default: "default"
	*/
	Wid string

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

PatchWorkspaceConfigRfc7396Params contains all the parameters to send to the API endpoint

for the patch workspace config rfc7396 operation.

Typically these are written to a http.Request.

func NewPatchWorkspaceConfigRfc7396Params

func NewPatchWorkspaceConfigRfc7396Params() *PatchWorkspaceConfigRfc7396Params

NewPatchWorkspaceConfigRfc7396Params creates a new PatchWorkspaceConfigRfc7396Params 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 NewPatchWorkspaceConfigRfc7396ParamsWithContext

func NewPatchWorkspaceConfigRfc7396ParamsWithContext(ctx context.Context) *PatchWorkspaceConfigRfc7396Params

NewPatchWorkspaceConfigRfc7396ParamsWithContext creates a new PatchWorkspaceConfigRfc7396Params object with the ability to set a context for a request.

func NewPatchWorkspaceConfigRfc7396ParamsWithHTTPClient

func NewPatchWorkspaceConfigRfc7396ParamsWithHTTPClient(client *http.Client) *PatchWorkspaceConfigRfc7396Params

NewPatchWorkspaceConfigRfc7396ParamsWithHTTPClient creates a new PatchWorkspaceConfigRfc7396Params object with the ability to set a custom HTTPClient for a request.

func NewPatchWorkspaceConfigRfc7396ParamsWithTimeout

func NewPatchWorkspaceConfigRfc7396ParamsWithTimeout(timeout time.Duration) *PatchWorkspaceConfigRfc7396Params

NewPatchWorkspaceConfigRfc7396ParamsWithTimeout creates a new PatchWorkspaceConfigRfc7396Params object with the ability to set a timeout on a request.

func (*PatchWorkspaceConfigRfc7396Params) SetContext

SetContext adds the context to the patch workspace config rfc7396 params

func (*PatchWorkspaceConfigRfc7396Params) SetDefaults

func (o *PatchWorkspaceConfigRfc7396Params) SetDefaults()

SetDefaults hydrates default values in the patch workspace config rfc7396 params (not the query body).

All values with no default are reset to their zero value.

func (*PatchWorkspaceConfigRfc7396Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch workspace config rfc7396 params

func (*PatchWorkspaceConfigRfc7396Params) SetMode

func (o *PatchWorkspaceConfigRfc7396Params) SetMode(mode *string)

SetMode adds the mode to the patch workspace config rfc7396 params

func (*PatchWorkspaceConfigRfc7396Params) SetPatch

SetPatch adds the patch to the patch workspace config rfc7396 params

func (*PatchWorkspaceConfigRfc7396Params) SetTid

SetTid adds the tid to the patch workspace config rfc7396 params

func (*PatchWorkspaceConfigRfc7396Params) SetTimeout

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

SetTimeout adds the timeout to the patch workspace config rfc7396 params

func (*PatchWorkspaceConfigRfc7396Params) SetWid

SetWid adds the wid to the patch workspace config rfc7396 params

func (*PatchWorkspaceConfigRfc7396Params) WithContext

WithContext adds the context to the patch workspace config rfc7396 params

func (*PatchWorkspaceConfigRfc7396Params) WithDefaults

WithDefaults hydrates default values in the patch workspace config rfc7396 params (not the query body).

All values with no default are reset to their zero value.

func (*PatchWorkspaceConfigRfc7396Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch workspace config rfc7396 params

func (*PatchWorkspaceConfigRfc7396Params) WithMode

WithMode adds the mode to the patch workspace config rfc7396 params

func (*PatchWorkspaceConfigRfc7396Params) WithPatch

WithPatch adds the patch to the patch workspace config rfc7396 params

func (*PatchWorkspaceConfigRfc7396Params) WithTid

WithTid adds the tid to the patch workspace config rfc7396 params

func (*PatchWorkspaceConfigRfc7396Params) WithTimeout

WithTimeout adds the timeout to the patch workspace config rfc7396 params

func (*PatchWorkspaceConfigRfc7396Params) WithWid

WithWid adds the wid to the patch workspace config rfc7396 params

func (*PatchWorkspaceConfigRfc7396Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchWorkspaceConfigRfc7396Reader

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

PatchWorkspaceConfigRfc7396Reader is a Reader for the PatchWorkspaceConfigRfc7396 structure.

func (*PatchWorkspaceConfigRfc7396Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchWorkspaceConfigRfc7396TooManyRequests

type PatchWorkspaceConfigRfc7396TooManyRequests struct {
	Payload *models.Error
}

PatchWorkspaceConfigRfc7396TooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewPatchWorkspaceConfigRfc7396TooManyRequests

func NewPatchWorkspaceConfigRfc7396TooManyRequests() *PatchWorkspaceConfigRfc7396TooManyRequests

NewPatchWorkspaceConfigRfc7396TooManyRequests creates a PatchWorkspaceConfigRfc7396TooManyRequests with default headers values

func (*PatchWorkspaceConfigRfc7396TooManyRequests) Code

Code gets the status code for the patch workspace config rfc7396 too many requests response

func (*PatchWorkspaceConfigRfc7396TooManyRequests) Error

func (*PatchWorkspaceConfigRfc7396TooManyRequests) GetPayload

func (*PatchWorkspaceConfigRfc7396TooManyRequests) IsClientError

IsClientError returns true when this patch workspace config rfc7396 too many requests response has a 4xx status code

func (*PatchWorkspaceConfigRfc7396TooManyRequests) IsCode

IsCode returns true when this patch workspace config rfc7396 too many requests response a status code equal to that given

func (*PatchWorkspaceConfigRfc7396TooManyRequests) IsRedirect

IsRedirect returns true when this patch workspace config rfc7396 too many requests response has a 3xx status code

func (*PatchWorkspaceConfigRfc7396TooManyRequests) IsServerError

IsServerError returns true when this patch workspace config rfc7396 too many requests response has a 5xx status code

func (*PatchWorkspaceConfigRfc7396TooManyRequests) IsSuccess

IsSuccess returns true when this patch workspace config rfc7396 too many requests response has a 2xx status code

func (*PatchWorkspaceConfigRfc7396TooManyRequests) String

type PatchWorkspaceConfigRfc7396Unauthorized

type PatchWorkspaceConfigRfc7396Unauthorized struct {
	Payload *models.Error
}

PatchWorkspaceConfigRfc7396Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPatchWorkspaceConfigRfc7396Unauthorized

func NewPatchWorkspaceConfigRfc7396Unauthorized() *PatchWorkspaceConfigRfc7396Unauthorized

NewPatchWorkspaceConfigRfc7396Unauthorized creates a PatchWorkspaceConfigRfc7396Unauthorized with default headers values

func (*PatchWorkspaceConfigRfc7396Unauthorized) Code

Code gets the status code for the patch workspace config rfc7396 unauthorized response

func (*PatchWorkspaceConfigRfc7396Unauthorized) Error

func (*PatchWorkspaceConfigRfc7396Unauthorized) GetPayload

func (*PatchWorkspaceConfigRfc7396Unauthorized) IsClientError

func (o *PatchWorkspaceConfigRfc7396Unauthorized) IsClientError() bool

IsClientError returns true when this patch workspace config rfc7396 unauthorized response has a 4xx status code

func (*PatchWorkspaceConfigRfc7396Unauthorized) IsCode

IsCode returns true when this patch workspace config rfc7396 unauthorized response a status code equal to that given

func (*PatchWorkspaceConfigRfc7396Unauthorized) IsRedirect

IsRedirect returns true when this patch workspace config rfc7396 unauthorized response has a 3xx status code

func (*PatchWorkspaceConfigRfc7396Unauthorized) IsServerError

func (o *PatchWorkspaceConfigRfc7396Unauthorized) IsServerError() bool

IsServerError returns true when this patch workspace config rfc7396 unauthorized response has a 5xx status code

func (*PatchWorkspaceConfigRfc7396Unauthorized) IsSuccess

IsSuccess returns true when this patch workspace config rfc7396 unauthorized response has a 2xx status code

func (*PatchWorkspaceConfigRfc7396Unauthorized) String

type PatchWorkspaceConfigRfc7396UnprocessableEntity

type PatchWorkspaceConfigRfc7396UnprocessableEntity struct {
	Payload *models.Error
}

PatchWorkspaceConfigRfc7396UnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewPatchWorkspaceConfigRfc7396UnprocessableEntity

func NewPatchWorkspaceConfigRfc7396UnprocessableEntity() *PatchWorkspaceConfigRfc7396UnprocessableEntity

NewPatchWorkspaceConfigRfc7396UnprocessableEntity creates a PatchWorkspaceConfigRfc7396UnprocessableEntity with default headers values

func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) Code

Code gets the status code for the patch workspace config rfc7396 unprocessable entity response

func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) Error

func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) GetPayload

func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) IsClientError

IsClientError returns true when this patch workspace config rfc7396 unprocessable entity response has a 4xx status code

func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) IsCode

IsCode returns true when this patch workspace config rfc7396 unprocessable entity response a status code equal to that given

func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) IsRedirect

IsRedirect returns true when this patch workspace config rfc7396 unprocessable entity response has a 3xx status code

func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) IsServerError

IsServerError returns true when this patch workspace config rfc7396 unprocessable entity response has a 5xx status code

func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) IsSuccess

IsSuccess returns true when this patch workspace config rfc7396 unprocessable entity response has a 2xx status code

func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) String

Jump to

Keyboard shortcuts

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