Documentation ¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptTextCsv(r *runtime.ClientOperation)
- type Client
- func (a *Client) CloneWorkspace(params *CloneWorkspaceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CloneWorkspaceNoContent, error)
- func (a *Client) ExportWorkspaceConfig(params *ExportWorkspaceConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportWorkspaceConfigOK, error)
- func (a *Client) ImportWorkspaceConfig(params *ImportWorkspaceConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ImportWorkspaceConfigNoContent, error)
- func (a *Client) PatchWorkspaceConfigRfc6902(params *PatchWorkspaceConfigRfc6902Params, ...) (*PatchWorkspaceConfigRfc6902NoContent, error)
- func (a *Client) PatchWorkspaceConfigRfc7396(params *PatchWorkspaceConfigRfc7396Params, ...) (*PatchWorkspaceConfigRfc7396NoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CloneWorkspaceBadRequest
- func (o *CloneWorkspaceBadRequest) Code() int
- func (o *CloneWorkspaceBadRequest) Error() string
- func (o *CloneWorkspaceBadRequest) GetPayload() *models.Error
- func (o *CloneWorkspaceBadRequest) IsClientError() bool
- func (o *CloneWorkspaceBadRequest) IsCode(code int) bool
- func (o *CloneWorkspaceBadRequest) IsRedirect() bool
- func (o *CloneWorkspaceBadRequest) IsServerError() bool
- func (o *CloneWorkspaceBadRequest) IsSuccess() bool
- func (o *CloneWorkspaceBadRequest) String() string
- type CloneWorkspaceForbidden
- func (o *CloneWorkspaceForbidden) Code() int
- func (o *CloneWorkspaceForbidden) Error() string
- func (o *CloneWorkspaceForbidden) GetPayload() *models.Error
- func (o *CloneWorkspaceForbidden) IsClientError() bool
- func (o *CloneWorkspaceForbidden) IsCode(code int) bool
- func (o *CloneWorkspaceForbidden) IsRedirect() bool
- func (o *CloneWorkspaceForbidden) IsServerError() bool
- func (o *CloneWorkspaceForbidden) IsSuccess() bool
- func (o *CloneWorkspaceForbidden) String() string
- type CloneWorkspaceNoContent
- func (o *CloneWorkspaceNoContent) Code() int
- func (o *CloneWorkspaceNoContent) Error() string
- func (o *CloneWorkspaceNoContent) IsClientError() bool
- func (o *CloneWorkspaceNoContent) IsCode(code int) bool
- func (o *CloneWorkspaceNoContent) IsRedirect() bool
- func (o *CloneWorkspaceNoContent) IsServerError() bool
- func (o *CloneWorkspaceNoContent) IsSuccess() bool
- func (o *CloneWorkspaceNoContent) String() string
- type CloneWorkspaceNotFound
- func (o *CloneWorkspaceNotFound) Code() int
- func (o *CloneWorkspaceNotFound) Error() string
- func (o *CloneWorkspaceNotFound) GetPayload() *models.Error
- func (o *CloneWorkspaceNotFound) IsClientError() bool
- func (o *CloneWorkspaceNotFound) IsCode(code int) bool
- func (o *CloneWorkspaceNotFound) IsRedirect() bool
- func (o *CloneWorkspaceNotFound) IsServerError() bool
- func (o *CloneWorkspaceNotFound) IsSuccess() bool
- func (o *CloneWorkspaceNotFound) String() string
- type CloneWorkspaceParams
- func NewCloneWorkspaceParams() *CloneWorkspaceParams
- func NewCloneWorkspaceParamsWithContext(ctx context.Context) *CloneWorkspaceParams
- func NewCloneWorkspaceParamsWithHTTPClient(client *http.Client) *CloneWorkspaceParams
- func NewCloneWorkspaceParamsWithTimeout(timeout time.Duration) *CloneWorkspaceParams
- func (o *CloneWorkspaceParams) SetCloneWorkspaceRequest(cloneWorkspaceRequest *models.CloneWorkspaceRequest)
- func (o *CloneWorkspaceParams) SetContext(ctx context.Context)
- func (o *CloneWorkspaceParams) SetDefaults()
- func (o *CloneWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *CloneWorkspaceParams) SetTid(tid string)
- func (o *CloneWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *CloneWorkspaceParams) SetWid(wid string)
- func (o *CloneWorkspaceParams) WithCloneWorkspaceRequest(cloneWorkspaceRequest *models.CloneWorkspaceRequest) *CloneWorkspaceParams
- func (o *CloneWorkspaceParams) WithContext(ctx context.Context) *CloneWorkspaceParams
- func (o *CloneWorkspaceParams) WithDefaults() *CloneWorkspaceParams
- func (o *CloneWorkspaceParams) WithHTTPClient(client *http.Client) *CloneWorkspaceParams
- func (o *CloneWorkspaceParams) WithTid(tid string) *CloneWorkspaceParams
- func (o *CloneWorkspaceParams) WithTimeout(timeout time.Duration) *CloneWorkspaceParams
- func (o *CloneWorkspaceParams) WithWid(wid string) *CloneWorkspaceParams
- func (o *CloneWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloneWorkspaceReader
- type CloneWorkspaceTooManyRequests
- func (o *CloneWorkspaceTooManyRequests) Code() int
- func (o *CloneWorkspaceTooManyRequests) Error() string
- func (o *CloneWorkspaceTooManyRequests) GetPayload() *models.Error
- func (o *CloneWorkspaceTooManyRequests) IsClientError() bool
- func (o *CloneWorkspaceTooManyRequests) IsCode(code int) bool
- func (o *CloneWorkspaceTooManyRequests) IsRedirect() bool
- func (o *CloneWorkspaceTooManyRequests) IsServerError() bool
- func (o *CloneWorkspaceTooManyRequests) IsSuccess() bool
- func (o *CloneWorkspaceTooManyRequests) String() string
- type CloneWorkspaceUnauthorized
- func (o *CloneWorkspaceUnauthorized) Code() int
- func (o *CloneWorkspaceUnauthorized) Error() string
- func (o *CloneWorkspaceUnauthorized) GetPayload() *models.Error
- func (o *CloneWorkspaceUnauthorized) IsClientError() bool
- func (o *CloneWorkspaceUnauthorized) IsCode(code int) bool
- func (o *CloneWorkspaceUnauthorized) IsRedirect() bool
- func (o *CloneWorkspaceUnauthorized) IsServerError() bool
- func (o *CloneWorkspaceUnauthorized) IsSuccess() bool
- func (o *CloneWorkspaceUnauthorized) String() string
- type CloneWorkspaceUnprocessableEntity
- func (o *CloneWorkspaceUnprocessableEntity) Code() int
- func (o *CloneWorkspaceUnprocessableEntity) Error() string
- func (o *CloneWorkspaceUnprocessableEntity) GetPayload() *models.Error
- func (o *CloneWorkspaceUnprocessableEntity) IsClientError() bool
- func (o *CloneWorkspaceUnprocessableEntity) IsCode(code int) bool
- func (o *CloneWorkspaceUnprocessableEntity) IsRedirect() bool
- func (o *CloneWorkspaceUnprocessableEntity) IsServerError() bool
- func (o *CloneWorkspaceUnprocessableEntity) IsSuccess() bool
- func (o *CloneWorkspaceUnprocessableEntity) String() string
- type ExportWorkspaceConfigBadRequest
- func (o *ExportWorkspaceConfigBadRequest) Code() int
- func (o *ExportWorkspaceConfigBadRequest) Error() string
- func (o *ExportWorkspaceConfigBadRequest) GetPayload() *models.Error
- func (o *ExportWorkspaceConfigBadRequest) IsClientError() bool
- func (o *ExportWorkspaceConfigBadRequest) IsCode(code int) bool
- func (o *ExportWorkspaceConfigBadRequest) IsRedirect() bool
- func (o *ExportWorkspaceConfigBadRequest) IsServerError() bool
- func (o *ExportWorkspaceConfigBadRequest) IsSuccess() bool
- func (o *ExportWorkspaceConfigBadRequest) String() string
- type ExportWorkspaceConfigForbidden
- func (o *ExportWorkspaceConfigForbidden) Code() int
- func (o *ExportWorkspaceConfigForbidden) Error() string
- func (o *ExportWorkspaceConfigForbidden) GetPayload() *models.Error
- func (o *ExportWorkspaceConfigForbidden) IsClientError() bool
- func (o *ExportWorkspaceConfigForbidden) IsCode(code int) bool
- func (o *ExportWorkspaceConfigForbidden) IsRedirect() bool
- func (o *ExportWorkspaceConfigForbidden) IsServerError() bool
- func (o *ExportWorkspaceConfigForbidden) IsSuccess() bool
- func (o *ExportWorkspaceConfigForbidden) String() string
- type ExportWorkspaceConfigNotFound
- func (o *ExportWorkspaceConfigNotFound) Code() int
- func (o *ExportWorkspaceConfigNotFound) Error() string
- func (o *ExportWorkspaceConfigNotFound) GetPayload() *models.Error
- func (o *ExportWorkspaceConfigNotFound) IsClientError() bool
- func (o *ExportWorkspaceConfigNotFound) IsCode(code int) bool
- func (o *ExportWorkspaceConfigNotFound) IsRedirect() bool
- func (o *ExportWorkspaceConfigNotFound) IsServerError() bool
- func (o *ExportWorkspaceConfigNotFound) IsSuccess() bool
- func (o *ExportWorkspaceConfigNotFound) String() string
- type ExportWorkspaceConfigOK
- func (o *ExportWorkspaceConfigOK) Code() int
- func (o *ExportWorkspaceConfigOK) Error() string
- func (o *ExportWorkspaceConfigOK) GetPayload() *models.TreeServer
- func (o *ExportWorkspaceConfigOK) IsClientError() bool
- func (o *ExportWorkspaceConfigOK) IsCode(code int) bool
- func (o *ExportWorkspaceConfigOK) IsRedirect() bool
- func (o *ExportWorkspaceConfigOK) IsServerError() bool
- func (o *ExportWorkspaceConfigOK) IsSuccess() bool
- func (o *ExportWorkspaceConfigOK) String() string
- type ExportWorkspaceConfigParams
- func NewExportWorkspaceConfigParams() *ExportWorkspaceConfigParams
- func NewExportWorkspaceConfigParamsWithContext(ctx context.Context) *ExportWorkspaceConfigParams
- func NewExportWorkspaceConfigParamsWithHTTPClient(client *http.Client) *ExportWorkspaceConfigParams
- func NewExportWorkspaceConfigParamsWithTimeout(timeout time.Duration) *ExportWorkspaceConfigParams
- func (o *ExportWorkspaceConfigParams) SetContext(ctx context.Context)
- func (o *ExportWorkspaceConfigParams) SetDefaults()
- func (o *ExportWorkspaceConfigParams) SetHTTPClient(client *http.Client)
- func (o *ExportWorkspaceConfigParams) SetTid(tid string)
- func (o *ExportWorkspaceConfigParams) SetTimeout(timeout time.Duration)
- func (o *ExportWorkspaceConfigParams) SetWid(wid string)
- func (o *ExportWorkspaceConfigParams) SetWithCredentials(withCredentials *bool)
- func (o *ExportWorkspaceConfigParams) WithContext(ctx context.Context) *ExportWorkspaceConfigParams
- func (o *ExportWorkspaceConfigParams) WithDefaults() *ExportWorkspaceConfigParams
- func (o *ExportWorkspaceConfigParams) WithHTTPClient(client *http.Client) *ExportWorkspaceConfigParams
- func (o *ExportWorkspaceConfigParams) WithTid(tid string) *ExportWorkspaceConfigParams
- func (o *ExportWorkspaceConfigParams) WithTimeout(timeout time.Duration) *ExportWorkspaceConfigParams
- func (o *ExportWorkspaceConfigParams) WithWid(wid string) *ExportWorkspaceConfigParams
- func (o *ExportWorkspaceConfigParams) WithWithCredentials(withCredentials *bool) *ExportWorkspaceConfigParams
- func (o *ExportWorkspaceConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportWorkspaceConfigReader
- type ExportWorkspaceConfigTooManyRequests
- func (o *ExportWorkspaceConfigTooManyRequests) Code() int
- func (o *ExportWorkspaceConfigTooManyRequests) Error() string
- func (o *ExportWorkspaceConfigTooManyRequests) GetPayload() *models.Error
- func (o *ExportWorkspaceConfigTooManyRequests) IsClientError() bool
- func (o *ExportWorkspaceConfigTooManyRequests) IsCode(code int) bool
- func (o *ExportWorkspaceConfigTooManyRequests) IsRedirect() bool
- func (o *ExportWorkspaceConfigTooManyRequests) IsServerError() bool
- func (o *ExportWorkspaceConfigTooManyRequests) IsSuccess() bool
- func (o *ExportWorkspaceConfigTooManyRequests) String() string
- type ExportWorkspaceConfigUnauthorized
- func (o *ExportWorkspaceConfigUnauthorized) Code() int
- func (o *ExportWorkspaceConfigUnauthorized) Error() string
- func (o *ExportWorkspaceConfigUnauthorized) GetPayload() *models.Error
- func (o *ExportWorkspaceConfigUnauthorized) IsClientError() bool
- func (o *ExportWorkspaceConfigUnauthorized) IsCode(code int) bool
- func (o *ExportWorkspaceConfigUnauthorized) IsRedirect() bool
- func (o *ExportWorkspaceConfigUnauthorized) IsServerError() bool
- func (o *ExportWorkspaceConfigUnauthorized) IsSuccess() bool
- func (o *ExportWorkspaceConfigUnauthorized) String() string
- type ExportWorkspaceConfigUnprocessableEntity
- func (o *ExportWorkspaceConfigUnprocessableEntity) Code() int
- func (o *ExportWorkspaceConfigUnprocessableEntity) Error() string
- func (o *ExportWorkspaceConfigUnprocessableEntity) GetPayload() *models.Error
- func (o *ExportWorkspaceConfigUnprocessableEntity) IsClientError() bool
- func (o *ExportWorkspaceConfigUnprocessableEntity) IsCode(code int) bool
- func (o *ExportWorkspaceConfigUnprocessableEntity) IsRedirect() bool
- func (o *ExportWorkspaceConfigUnprocessableEntity) IsServerError() bool
- func (o *ExportWorkspaceConfigUnprocessableEntity) IsSuccess() bool
- func (o *ExportWorkspaceConfigUnprocessableEntity) String() string
- type ImportWorkspaceConfigBadRequest
- func (o *ImportWorkspaceConfigBadRequest) Code() int
- func (o *ImportWorkspaceConfigBadRequest) Error() string
- func (o *ImportWorkspaceConfigBadRequest) GetPayload() *models.Error
- func (o *ImportWorkspaceConfigBadRequest) IsClientError() bool
- func (o *ImportWorkspaceConfigBadRequest) IsCode(code int) bool
- func (o *ImportWorkspaceConfigBadRequest) IsRedirect() bool
- func (o *ImportWorkspaceConfigBadRequest) IsServerError() bool
- func (o *ImportWorkspaceConfigBadRequest) IsSuccess() bool
- func (o *ImportWorkspaceConfigBadRequest) String() string
- type ImportWorkspaceConfigForbidden
- func (o *ImportWorkspaceConfigForbidden) Code() int
- func (o *ImportWorkspaceConfigForbidden) Error() string
- func (o *ImportWorkspaceConfigForbidden) GetPayload() *models.Error
- func (o *ImportWorkspaceConfigForbidden) IsClientError() bool
- func (o *ImportWorkspaceConfigForbidden) IsCode(code int) bool
- func (o *ImportWorkspaceConfigForbidden) IsRedirect() bool
- func (o *ImportWorkspaceConfigForbidden) IsServerError() bool
- func (o *ImportWorkspaceConfigForbidden) IsSuccess() bool
- func (o *ImportWorkspaceConfigForbidden) String() string
- type ImportWorkspaceConfigNoContent
- func (o *ImportWorkspaceConfigNoContent) Code() int
- func (o *ImportWorkspaceConfigNoContent) Error() string
- func (o *ImportWorkspaceConfigNoContent) IsClientError() bool
- func (o *ImportWorkspaceConfigNoContent) IsCode(code int) bool
- func (o *ImportWorkspaceConfigNoContent) IsRedirect() bool
- func (o *ImportWorkspaceConfigNoContent) IsServerError() bool
- func (o *ImportWorkspaceConfigNoContent) IsSuccess() bool
- func (o *ImportWorkspaceConfigNoContent) String() string
- type ImportWorkspaceConfigNotFound
- func (o *ImportWorkspaceConfigNotFound) Code() int
- func (o *ImportWorkspaceConfigNotFound) Error() string
- func (o *ImportWorkspaceConfigNotFound) GetPayload() *models.Error
- func (o *ImportWorkspaceConfigNotFound) IsClientError() bool
- func (o *ImportWorkspaceConfigNotFound) IsCode(code int) bool
- func (o *ImportWorkspaceConfigNotFound) IsRedirect() bool
- func (o *ImportWorkspaceConfigNotFound) IsServerError() bool
- func (o *ImportWorkspaceConfigNotFound) IsSuccess() bool
- func (o *ImportWorkspaceConfigNotFound) String() string
- type ImportWorkspaceConfigParams
- func NewImportWorkspaceConfigParams() *ImportWorkspaceConfigParams
- func NewImportWorkspaceConfigParamsWithContext(ctx context.Context) *ImportWorkspaceConfigParams
- func NewImportWorkspaceConfigParamsWithHTTPClient(client *http.Client) *ImportWorkspaceConfigParams
- func NewImportWorkspaceConfigParamsWithTimeout(timeout time.Duration) *ImportWorkspaceConfigParams
- func (o *ImportWorkspaceConfigParams) SetConfig(config *models.TreeServer)
- func (o *ImportWorkspaceConfigParams) SetContext(ctx context.Context)
- func (o *ImportWorkspaceConfigParams) SetDefaults()
- func (o *ImportWorkspaceConfigParams) SetDryRun(dryRun *string)
- func (o *ImportWorkspaceConfigParams) SetHTTPClient(client *http.Client)
- func (o *ImportWorkspaceConfigParams) SetMode(mode *string)
- func (o *ImportWorkspaceConfigParams) SetTid(tid string)
- func (o *ImportWorkspaceConfigParams) SetTimeout(timeout time.Duration)
- func (o *ImportWorkspaceConfigParams) SetWid(wid string)
- func (o *ImportWorkspaceConfigParams) WithConfig(config *models.TreeServer) *ImportWorkspaceConfigParams
- func (o *ImportWorkspaceConfigParams) WithContext(ctx context.Context) *ImportWorkspaceConfigParams
- func (o *ImportWorkspaceConfigParams) WithDefaults() *ImportWorkspaceConfigParams
- func (o *ImportWorkspaceConfigParams) WithDryRun(dryRun *string) *ImportWorkspaceConfigParams
- func (o *ImportWorkspaceConfigParams) WithHTTPClient(client *http.Client) *ImportWorkspaceConfigParams
- func (o *ImportWorkspaceConfigParams) WithMode(mode *string) *ImportWorkspaceConfigParams
- func (o *ImportWorkspaceConfigParams) WithTid(tid string) *ImportWorkspaceConfigParams
- func (o *ImportWorkspaceConfigParams) WithTimeout(timeout time.Duration) *ImportWorkspaceConfigParams
- func (o *ImportWorkspaceConfigParams) WithWid(wid string) *ImportWorkspaceConfigParams
- func (o *ImportWorkspaceConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportWorkspaceConfigReader
- type ImportWorkspaceConfigTooManyRequests
- func (o *ImportWorkspaceConfigTooManyRequests) Code() int
- func (o *ImportWorkspaceConfigTooManyRequests) Error() string
- func (o *ImportWorkspaceConfigTooManyRequests) GetPayload() *models.Error
- func (o *ImportWorkspaceConfigTooManyRequests) IsClientError() bool
- func (o *ImportWorkspaceConfigTooManyRequests) IsCode(code int) bool
- func (o *ImportWorkspaceConfigTooManyRequests) IsRedirect() bool
- func (o *ImportWorkspaceConfigTooManyRequests) IsServerError() bool
- func (o *ImportWorkspaceConfigTooManyRequests) IsSuccess() bool
- func (o *ImportWorkspaceConfigTooManyRequests) String() string
- type ImportWorkspaceConfigUnauthorized
- func (o *ImportWorkspaceConfigUnauthorized) Code() int
- func (o *ImportWorkspaceConfigUnauthorized) Error() string
- func (o *ImportWorkspaceConfigUnauthorized) GetPayload() *models.Error
- func (o *ImportWorkspaceConfigUnauthorized) IsClientError() bool
- func (o *ImportWorkspaceConfigUnauthorized) IsCode(code int) bool
- func (o *ImportWorkspaceConfigUnauthorized) IsRedirect() bool
- func (o *ImportWorkspaceConfigUnauthorized) IsServerError() bool
- func (o *ImportWorkspaceConfigUnauthorized) IsSuccess() bool
- func (o *ImportWorkspaceConfigUnauthorized) String() string
- type ImportWorkspaceConfigUnprocessableEntity
- func (o *ImportWorkspaceConfigUnprocessableEntity) Code() int
- func (o *ImportWorkspaceConfigUnprocessableEntity) Error() string
- func (o *ImportWorkspaceConfigUnprocessableEntity) GetPayload() *models.Error
- func (o *ImportWorkspaceConfigUnprocessableEntity) IsClientError() bool
- func (o *ImportWorkspaceConfigUnprocessableEntity) IsCode(code int) bool
- func (o *ImportWorkspaceConfigUnprocessableEntity) IsRedirect() bool
- func (o *ImportWorkspaceConfigUnprocessableEntity) IsServerError() bool
- func (o *ImportWorkspaceConfigUnprocessableEntity) IsSuccess() bool
- func (o *ImportWorkspaceConfigUnprocessableEntity) String() string
- type PatchWorkspaceConfigRfc6902BadRequest
- func (o *PatchWorkspaceConfigRfc6902BadRequest) Code() int
- func (o *PatchWorkspaceConfigRfc6902BadRequest) Error() string
- func (o *PatchWorkspaceConfigRfc6902BadRequest) GetPayload() *models.Error
- func (o *PatchWorkspaceConfigRfc6902BadRequest) IsClientError() bool
- func (o *PatchWorkspaceConfigRfc6902BadRequest) IsCode(code int) bool
- func (o *PatchWorkspaceConfigRfc6902BadRequest) IsRedirect() bool
- func (o *PatchWorkspaceConfigRfc6902BadRequest) IsServerError() bool
- func (o *PatchWorkspaceConfigRfc6902BadRequest) IsSuccess() bool
- func (o *PatchWorkspaceConfigRfc6902BadRequest) String() string
- type PatchWorkspaceConfigRfc6902Forbidden
- func (o *PatchWorkspaceConfigRfc6902Forbidden) Code() int
- func (o *PatchWorkspaceConfigRfc6902Forbidden) Error() string
- func (o *PatchWorkspaceConfigRfc6902Forbidden) GetPayload() *models.Error
- func (o *PatchWorkspaceConfigRfc6902Forbidden) IsClientError() bool
- func (o *PatchWorkspaceConfigRfc6902Forbidden) IsCode(code int) bool
- func (o *PatchWorkspaceConfigRfc6902Forbidden) IsRedirect() bool
- func (o *PatchWorkspaceConfigRfc6902Forbidden) IsServerError() bool
- func (o *PatchWorkspaceConfigRfc6902Forbidden) IsSuccess() bool
- func (o *PatchWorkspaceConfigRfc6902Forbidden) String() string
- type PatchWorkspaceConfigRfc6902NoContent
- func (o *PatchWorkspaceConfigRfc6902NoContent) Code() int
- func (o *PatchWorkspaceConfigRfc6902NoContent) Error() string
- func (o *PatchWorkspaceConfigRfc6902NoContent) IsClientError() bool
- func (o *PatchWorkspaceConfigRfc6902NoContent) IsCode(code int) bool
- func (o *PatchWorkspaceConfigRfc6902NoContent) IsRedirect() bool
- func (o *PatchWorkspaceConfigRfc6902NoContent) IsServerError() bool
- func (o *PatchWorkspaceConfigRfc6902NoContent) IsSuccess() bool
- func (o *PatchWorkspaceConfigRfc6902NoContent) String() string
- type PatchWorkspaceConfigRfc6902NotFound
- func (o *PatchWorkspaceConfigRfc6902NotFound) Code() int
- func (o *PatchWorkspaceConfigRfc6902NotFound) Error() string
- func (o *PatchWorkspaceConfigRfc6902NotFound) GetPayload() *models.Error
- func (o *PatchWorkspaceConfigRfc6902NotFound) IsClientError() bool
- func (o *PatchWorkspaceConfigRfc6902NotFound) IsCode(code int) bool
- func (o *PatchWorkspaceConfigRfc6902NotFound) IsRedirect() bool
- func (o *PatchWorkspaceConfigRfc6902NotFound) IsServerError() bool
- func (o *PatchWorkspaceConfigRfc6902NotFound) IsSuccess() bool
- func (o *PatchWorkspaceConfigRfc6902NotFound) String() string
- type PatchWorkspaceConfigRfc6902Params
- func NewPatchWorkspaceConfigRfc6902Params() *PatchWorkspaceConfigRfc6902Params
- func NewPatchWorkspaceConfigRfc6902ParamsWithContext(ctx context.Context) *PatchWorkspaceConfigRfc6902Params
- func NewPatchWorkspaceConfigRfc6902ParamsWithHTTPClient(client *http.Client) *PatchWorkspaceConfigRfc6902Params
- func NewPatchWorkspaceConfigRfc6902ParamsWithTimeout(timeout time.Duration) *PatchWorkspaceConfigRfc6902Params
- func (o *PatchWorkspaceConfigRfc6902Params) SetContext(ctx context.Context)
- func (o *PatchWorkspaceConfigRfc6902Params) SetDefaults()
- func (o *PatchWorkspaceConfigRfc6902Params) SetDryRun(dryRun *string)
- func (o *PatchWorkspaceConfigRfc6902Params) SetHTTPClient(client *http.Client)
- func (o *PatchWorkspaceConfigRfc6902Params) SetMode(mode *string)
- func (o *PatchWorkspaceConfigRfc6902Params) SetPatch(patch models.Rfc6902PatchOperations)
- func (o *PatchWorkspaceConfigRfc6902Params) SetTid(tid string)
- func (o *PatchWorkspaceConfigRfc6902Params) SetTimeout(timeout time.Duration)
- func (o *PatchWorkspaceConfigRfc6902Params) SetWid(wid string)
- func (o *PatchWorkspaceConfigRfc6902Params) WithContext(ctx context.Context) *PatchWorkspaceConfigRfc6902Params
- func (o *PatchWorkspaceConfigRfc6902Params) WithDefaults() *PatchWorkspaceConfigRfc6902Params
- func (o *PatchWorkspaceConfigRfc6902Params) WithDryRun(dryRun *string) *PatchWorkspaceConfigRfc6902Params
- func (o *PatchWorkspaceConfigRfc6902Params) WithHTTPClient(client *http.Client) *PatchWorkspaceConfigRfc6902Params
- func (o *PatchWorkspaceConfigRfc6902Params) WithMode(mode *string) *PatchWorkspaceConfigRfc6902Params
- func (o *PatchWorkspaceConfigRfc6902Params) WithPatch(patch models.Rfc6902PatchOperations) *PatchWorkspaceConfigRfc6902Params
- func (o *PatchWorkspaceConfigRfc6902Params) WithTid(tid string) *PatchWorkspaceConfigRfc6902Params
- func (o *PatchWorkspaceConfigRfc6902Params) WithTimeout(timeout time.Duration) *PatchWorkspaceConfigRfc6902Params
- func (o *PatchWorkspaceConfigRfc6902Params) WithWid(wid string) *PatchWorkspaceConfigRfc6902Params
- func (o *PatchWorkspaceConfigRfc6902Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchWorkspaceConfigRfc6902Reader
- type PatchWorkspaceConfigRfc6902TooManyRequests
- func (o *PatchWorkspaceConfigRfc6902TooManyRequests) Code() int
- func (o *PatchWorkspaceConfigRfc6902TooManyRequests) Error() string
- func (o *PatchWorkspaceConfigRfc6902TooManyRequests) GetPayload() *models.Error
- func (o *PatchWorkspaceConfigRfc6902TooManyRequests) IsClientError() bool
- func (o *PatchWorkspaceConfigRfc6902TooManyRequests) IsCode(code int) bool
- func (o *PatchWorkspaceConfigRfc6902TooManyRequests) IsRedirect() bool
- func (o *PatchWorkspaceConfigRfc6902TooManyRequests) IsServerError() bool
- func (o *PatchWorkspaceConfigRfc6902TooManyRequests) IsSuccess() bool
- func (o *PatchWorkspaceConfigRfc6902TooManyRequests) String() string
- type PatchWorkspaceConfigRfc6902Unauthorized
- func (o *PatchWorkspaceConfigRfc6902Unauthorized) Code() int
- func (o *PatchWorkspaceConfigRfc6902Unauthorized) Error() string
- func (o *PatchWorkspaceConfigRfc6902Unauthorized) GetPayload() *models.Error
- func (o *PatchWorkspaceConfigRfc6902Unauthorized) IsClientError() bool
- func (o *PatchWorkspaceConfigRfc6902Unauthorized) IsCode(code int) bool
- func (o *PatchWorkspaceConfigRfc6902Unauthorized) IsRedirect() bool
- func (o *PatchWorkspaceConfigRfc6902Unauthorized) IsServerError() bool
- func (o *PatchWorkspaceConfigRfc6902Unauthorized) IsSuccess() bool
- func (o *PatchWorkspaceConfigRfc6902Unauthorized) String() string
- type PatchWorkspaceConfigRfc6902UnprocessableEntity
- func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) Code() int
- func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) Error() string
- func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) GetPayload() *models.Error
- func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) IsClientError() bool
- func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) IsCode(code int) bool
- func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) IsRedirect() bool
- func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) IsServerError() bool
- func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) IsSuccess() bool
- func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) String() string
- type PatchWorkspaceConfigRfc7396BadRequest
- func (o *PatchWorkspaceConfigRfc7396BadRequest) Code() int
- func (o *PatchWorkspaceConfigRfc7396BadRequest) Error() string
- func (o *PatchWorkspaceConfigRfc7396BadRequest) GetPayload() *models.Error
- func (o *PatchWorkspaceConfigRfc7396BadRequest) IsClientError() bool
- func (o *PatchWorkspaceConfigRfc7396BadRequest) IsCode(code int) bool
- func (o *PatchWorkspaceConfigRfc7396BadRequest) IsRedirect() bool
- func (o *PatchWorkspaceConfigRfc7396BadRequest) IsServerError() bool
- func (o *PatchWorkspaceConfigRfc7396BadRequest) IsSuccess() bool
- func (o *PatchWorkspaceConfigRfc7396BadRequest) String() string
- type PatchWorkspaceConfigRfc7396Forbidden
- func (o *PatchWorkspaceConfigRfc7396Forbidden) Code() int
- func (o *PatchWorkspaceConfigRfc7396Forbidden) Error() string
- func (o *PatchWorkspaceConfigRfc7396Forbidden) GetPayload() *models.Error
- func (o *PatchWorkspaceConfigRfc7396Forbidden) IsClientError() bool
- func (o *PatchWorkspaceConfigRfc7396Forbidden) IsCode(code int) bool
- func (o *PatchWorkspaceConfigRfc7396Forbidden) IsRedirect() bool
- func (o *PatchWorkspaceConfigRfc7396Forbidden) IsServerError() bool
- func (o *PatchWorkspaceConfigRfc7396Forbidden) IsSuccess() bool
- func (o *PatchWorkspaceConfigRfc7396Forbidden) String() string
- type PatchWorkspaceConfigRfc7396NoContent
- func (o *PatchWorkspaceConfigRfc7396NoContent) Code() int
- func (o *PatchWorkspaceConfigRfc7396NoContent) Error() string
- func (o *PatchWorkspaceConfigRfc7396NoContent) IsClientError() bool
- func (o *PatchWorkspaceConfigRfc7396NoContent) IsCode(code int) bool
- func (o *PatchWorkspaceConfigRfc7396NoContent) IsRedirect() bool
- func (o *PatchWorkspaceConfigRfc7396NoContent) IsServerError() bool
- func (o *PatchWorkspaceConfigRfc7396NoContent) IsSuccess() bool
- func (o *PatchWorkspaceConfigRfc7396NoContent) String() string
- type PatchWorkspaceConfigRfc7396NotFound
- func (o *PatchWorkspaceConfigRfc7396NotFound) Code() int
- func (o *PatchWorkspaceConfigRfc7396NotFound) Error() string
- func (o *PatchWorkspaceConfigRfc7396NotFound) GetPayload() *models.Error
- func (o *PatchWorkspaceConfigRfc7396NotFound) IsClientError() bool
- func (o *PatchWorkspaceConfigRfc7396NotFound) IsCode(code int) bool
- func (o *PatchWorkspaceConfigRfc7396NotFound) IsRedirect() bool
- func (o *PatchWorkspaceConfigRfc7396NotFound) IsServerError() bool
- func (o *PatchWorkspaceConfigRfc7396NotFound) IsSuccess() bool
- func (o *PatchWorkspaceConfigRfc7396NotFound) String() string
- type PatchWorkspaceConfigRfc7396Params
- func NewPatchWorkspaceConfigRfc7396Params() *PatchWorkspaceConfigRfc7396Params
- func NewPatchWorkspaceConfigRfc7396ParamsWithContext(ctx context.Context) *PatchWorkspaceConfigRfc7396Params
- func NewPatchWorkspaceConfigRfc7396ParamsWithHTTPClient(client *http.Client) *PatchWorkspaceConfigRfc7396Params
- func NewPatchWorkspaceConfigRfc7396ParamsWithTimeout(timeout time.Duration) *PatchWorkspaceConfigRfc7396Params
- func (o *PatchWorkspaceConfigRfc7396Params) SetContext(ctx context.Context)
- func (o *PatchWorkspaceConfigRfc7396Params) SetDefaults()
- func (o *PatchWorkspaceConfigRfc7396Params) SetDryRun(dryRun *string)
- func (o *PatchWorkspaceConfigRfc7396Params) SetHTTPClient(client *http.Client)
- func (o *PatchWorkspaceConfigRfc7396Params) SetMode(mode *string)
- func (o *PatchWorkspaceConfigRfc7396Params) SetPatch(patch models.Rfc7396PatchOperation)
- func (o *PatchWorkspaceConfigRfc7396Params) SetTid(tid string)
- func (o *PatchWorkspaceConfigRfc7396Params) SetTimeout(timeout time.Duration)
- func (o *PatchWorkspaceConfigRfc7396Params) SetWid(wid string)
- func (o *PatchWorkspaceConfigRfc7396Params) WithContext(ctx context.Context) *PatchWorkspaceConfigRfc7396Params
- func (o *PatchWorkspaceConfigRfc7396Params) WithDefaults() *PatchWorkspaceConfigRfc7396Params
- func (o *PatchWorkspaceConfigRfc7396Params) WithDryRun(dryRun *string) *PatchWorkspaceConfigRfc7396Params
- func (o *PatchWorkspaceConfigRfc7396Params) WithHTTPClient(client *http.Client) *PatchWorkspaceConfigRfc7396Params
- func (o *PatchWorkspaceConfigRfc7396Params) WithMode(mode *string) *PatchWorkspaceConfigRfc7396Params
- func (o *PatchWorkspaceConfigRfc7396Params) WithPatch(patch models.Rfc7396PatchOperation) *PatchWorkspaceConfigRfc7396Params
- func (o *PatchWorkspaceConfigRfc7396Params) WithTid(tid string) *PatchWorkspaceConfigRfc7396Params
- func (o *PatchWorkspaceConfigRfc7396Params) WithTimeout(timeout time.Duration) *PatchWorkspaceConfigRfc7396Params
- func (o *PatchWorkspaceConfigRfc7396Params) WithWid(wid string) *PatchWorkspaceConfigRfc7396Params
- func (o *PatchWorkspaceConfigRfc7396Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchWorkspaceConfigRfc7396Reader
- type PatchWorkspaceConfigRfc7396TooManyRequests
- func (o *PatchWorkspaceConfigRfc7396TooManyRequests) Code() int
- func (o *PatchWorkspaceConfigRfc7396TooManyRequests) Error() string
- func (o *PatchWorkspaceConfigRfc7396TooManyRequests) GetPayload() *models.Error
- func (o *PatchWorkspaceConfigRfc7396TooManyRequests) IsClientError() bool
- func (o *PatchWorkspaceConfigRfc7396TooManyRequests) IsCode(code int) bool
- func (o *PatchWorkspaceConfigRfc7396TooManyRequests) IsRedirect() bool
- func (o *PatchWorkspaceConfigRfc7396TooManyRequests) IsServerError() bool
- func (o *PatchWorkspaceConfigRfc7396TooManyRequests) IsSuccess() bool
- func (o *PatchWorkspaceConfigRfc7396TooManyRequests) String() string
- type PatchWorkspaceConfigRfc7396Unauthorized
- func (o *PatchWorkspaceConfigRfc7396Unauthorized) Code() int
- func (o *PatchWorkspaceConfigRfc7396Unauthorized) Error() string
- func (o *PatchWorkspaceConfigRfc7396Unauthorized) GetPayload() *models.Error
- func (o *PatchWorkspaceConfigRfc7396Unauthorized) IsClientError() bool
- func (o *PatchWorkspaceConfigRfc7396Unauthorized) IsCode(code int) bool
- func (o *PatchWorkspaceConfigRfc7396Unauthorized) IsRedirect() bool
- func (o *PatchWorkspaceConfigRfc7396Unauthorized) IsServerError() bool
- func (o *PatchWorkspaceConfigRfc7396Unauthorized) IsSuccess() bool
- func (o *PatchWorkspaceConfigRfc7396Unauthorized) String() string
- type PatchWorkspaceConfigRfc7396UnprocessableEntity
- func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) Code() int
- func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) Error() string
- func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) GetPayload() *models.Error
- func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) IsClientError() bool
- func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) IsCode(code int) bool
- func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) IsRedirect() bool
- func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) IsServerError() bool
- func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) IsSuccess() bool
- func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptTextCsv ¶
func WithAcceptTextCsv(r *runtime.ClientOperation)
WithAcceptTextCsv sets the Accept header to "text/csv".
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 ¶
func (a *Client) PatchWorkspaceConfigRfc6902(params *PatchWorkspaceConfigRfc6902Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchWorkspaceConfigRfc6902NoContent, error)
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 ¶
func (a *Client) PatchWorkspaceConfigRfc7396(params *PatchWorkspaceConfigRfc7396Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchWorkspaceConfigRfc7396NoContent, error)
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 may be used to customize the behavior of Client methods.
func WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
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.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new workspace configuration API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new workspace configuration API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CloneWorkspaceBadRequest ¶
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 ¶
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 ¶
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 ¶
func (o *CloneWorkspaceParams) WithContext(ctx context.Context) *CloneWorkspaceParams
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 ¶
func (o *CloneWorkspaceParams) WithTid(tid string) *CloneWorkspaceParams
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 ¶
func (o *CloneWorkspaceParams) WithWid(wid string) *CloneWorkspaceParams
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 ¶
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 ¶
func (o *CloneWorkspaceTooManyRequests) Code() int
Code gets the status code for the clone workspace too many requests response
func (*CloneWorkspaceTooManyRequests) Error ¶
func (o *CloneWorkspaceTooManyRequests) Error() string
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 ¶
func (o *CloneWorkspaceTooManyRequests) String() string
type CloneWorkspaceUnauthorized ¶
type CloneWorkspaceUnauthorized struct {
}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 (o *CloneWorkspaceUnauthorized) Error() string
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 ¶
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 ¶
func (o *CloneWorkspaceUnprocessableEntity) Code() int
Code gets the status code for the clone workspace unprocessable entity response
func (*CloneWorkspaceUnprocessableEntity) Error ¶
func (o *CloneWorkspaceUnprocessableEntity) Error() string
func (*CloneWorkspaceUnprocessableEntity) GetPayload ¶
func (o *CloneWorkspaceUnprocessableEntity) GetPayload() *models.Error
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 ¶
func (o *CloneWorkspaceUnprocessableEntity) String() string
type ExportWorkspaceConfigBadRequest ¶
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 ¶
func (o *ExportWorkspaceConfigBadRequest) Code() int
Code gets the status code for the export workspace config bad request response
func (*ExportWorkspaceConfigBadRequest) Error ¶
func (o *ExportWorkspaceConfigBadRequest) Error() string
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 ¶
func (o *ExportWorkspaceConfigBadRequest) String() string
type ExportWorkspaceConfigForbidden ¶
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 ¶
func (o *ExportWorkspaceConfigForbidden) Code() int
Code gets the status code for the export workspace config forbidden response
func (*ExportWorkspaceConfigForbidden) Error ¶
func (o *ExportWorkspaceConfigForbidden) Error() string
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 ¶
func (o *ExportWorkspaceConfigForbidden) String() string
type ExportWorkspaceConfigNotFound ¶
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 ¶
func (o *ExportWorkspaceConfigNotFound) Code() int
Code gets the status code for the export workspace config not found response
func (*ExportWorkspaceConfigNotFound) Error ¶
func (o *ExportWorkspaceConfigNotFound) Error() string
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 ¶
func (o *ExportWorkspaceConfigNotFound) String() 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 ¶
func (o *ExportWorkspaceConfigParams) WithContext(ctx context.Context) *ExportWorkspaceConfigParams
WithContext adds the context to the export workspace config params
func (*ExportWorkspaceConfigParams) WithDefaults ¶
func (o *ExportWorkspaceConfigParams) WithDefaults() *ExportWorkspaceConfigParams
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 ¶
func (o *ExportWorkspaceConfigParams) WithHTTPClient(client *http.Client) *ExportWorkspaceConfigParams
WithHTTPClient adds the HTTPClient to the export workspace config params
func (*ExportWorkspaceConfigParams) WithTid ¶
func (o *ExportWorkspaceConfigParams) WithTid(tid string) *ExportWorkspaceConfigParams
WithTid adds the tid to the export workspace config params
func (*ExportWorkspaceConfigParams) WithTimeout ¶
func (o *ExportWorkspaceConfigParams) WithTimeout(timeout time.Duration) *ExportWorkspaceConfigParams
WithTimeout adds the timeout to the export workspace config params
func (*ExportWorkspaceConfigParams) WithWid ¶
func (o *ExportWorkspaceConfigParams) WithWid(wid string) *ExportWorkspaceConfigParams
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 ¶
func (o *ExportWorkspaceConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *ExportWorkspaceConfigTooManyRequests) Code() int
Code gets the status code for the export workspace config too many requests response
func (*ExportWorkspaceConfigTooManyRequests) Error ¶
func (o *ExportWorkspaceConfigTooManyRequests) Error() string
func (*ExportWorkspaceConfigTooManyRequests) GetPayload ¶
func (o *ExportWorkspaceConfigTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *ExportWorkspaceConfigTooManyRequests) IsCode(code int) bool
IsCode returns true when this export workspace config too many requests response a status code equal to that given
func (*ExportWorkspaceConfigTooManyRequests) IsRedirect ¶
func (o *ExportWorkspaceConfigTooManyRequests) IsRedirect() bool
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 ¶
func (o *ExportWorkspaceConfigTooManyRequests) IsSuccess() bool
IsSuccess returns true when this export workspace config too many requests response has a 2xx status code
func (*ExportWorkspaceConfigTooManyRequests) String ¶
func (o *ExportWorkspaceConfigTooManyRequests) String() string
type ExportWorkspaceConfigUnauthorized ¶
type ExportWorkspaceConfigUnauthorized struct {
}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 ¶
func (o *ExportWorkspaceConfigUnauthorized) Code() int
Code gets the status code for the export workspace config unauthorized response
func (*ExportWorkspaceConfigUnauthorized) Error ¶
func (o *ExportWorkspaceConfigUnauthorized) Error() string
func (*ExportWorkspaceConfigUnauthorized) GetPayload ¶
func (o *ExportWorkspaceConfigUnauthorized) GetPayload() *models.Error
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 ¶
func (o *ExportWorkspaceConfigUnauthorized) String() string
type ExportWorkspaceConfigUnprocessableEntity ¶
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 ¶
func (o *ExportWorkspaceConfigUnprocessableEntity) Code() int
Code gets the status code for the export workspace config unprocessable entity response
func (*ExportWorkspaceConfigUnprocessableEntity) Error ¶
func (o *ExportWorkspaceConfigUnprocessableEntity) Error() string
func (*ExportWorkspaceConfigUnprocessableEntity) GetPayload ¶
func (o *ExportWorkspaceConfigUnprocessableEntity) GetPayload() *models.Error
func (*ExportWorkspaceConfigUnprocessableEntity) IsClientError ¶
func (o *ExportWorkspaceConfigUnprocessableEntity) IsClientError() bool
IsClientError returns true when this export workspace config unprocessable entity response has a 4xx status code
func (*ExportWorkspaceConfigUnprocessableEntity) IsCode ¶
func (o *ExportWorkspaceConfigUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this export workspace config unprocessable entity response a status code equal to that given
func (*ExportWorkspaceConfigUnprocessableEntity) IsRedirect ¶
func (o *ExportWorkspaceConfigUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this export workspace config unprocessable entity response has a 3xx status code
func (*ExportWorkspaceConfigUnprocessableEntity) IsServerError ¶
func (o *ExportWorkspaceConfigUnprocessableEntity) IsServerError() bool
IsServerError returns true when this export workspace config unprocessable entity response has a 5xx status code
func (*ExportWorkspaceConfigUnprocessableEntity) IsSuccess ¶
func (o *ExportWorkspaceConfigUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this export workspace config unprocessable entity response has a 2xx status code
func (*ExportWorkspaceConfigUnprocessableEntity) String ¶
func (o *ExportWorkspaceConfigUnprocessableEntity) String() string
type ImportWorkspaceConfigBadRequest ¶
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 ¶
func (o *ImportWorkspaceConfigBadRequest) Code() int
Code gets the status code for the import workspace config bad request response
func (*ImportWorkspaceConfigBadRequest) Error ¶
func (o *ImportWorkspaceConfigBadRequest) Error() string
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 ¶
func (o *ImportWorkspaceConfigBadRequest) String() string
type ImportWorkspaceConfigForbidden ¶
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 ¶
func (o *ImportWorkspaceConfigForbidden) Code() int
Code gets the status code for the import workspace config forbidden response
func (*ImportWorkspaceConfigForbidden) Error ¶
func (o *ImportWorkspaceConfigForbidden) Error() string
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 ¶
func (o *ImportWorkspaceConfigForbidden) String() 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 ¶
func (o *ImportWorkspaceConfigNoContent) Code() int
Code gets the status code for the import workspace config no content response
func (*ImportWorkspaceConfigNoContent) Error ¶
func (o *ImportWorkspaceConfigNoContent) Error() string
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 ¶
func (o *ImportWorkspaceConfigNoContent) String() string
type ImportWorkspaceConfigNotFound ¶
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 ¶
func (o *ImportWorkspaceConfigNotFound) Code() int
Code gets the status code for the import workspace config not found response
func (*ImportWorkspaceConfigNotFound) Error ¶
func (o *ImportWorkspaceConfigNotFound) Error() string
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 ¶
func (o *ImportWorkspaceConfigNotFound) String() string
type ImportWorkspaceConfigParams ¶
type ImportWorkspaceConfigParams struct { // Config. Config *models.TreeServer /* DryRun. Dry Run Default: "false" */ DryRun *string /* 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) SetDryRun ¶
func (o *ImportWorkspaceConfigParams) SetDryRun(dryRun *string)
SetDryRun adds the dryRun to the import workspace config params
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 ¶
func (o *ImportWorkspaceConfigParams) WithConfig(config *models.TreeServer) *ImportWorkspaceConfigParams
WithConfig adds the config to the import workspace config params
func (*ImportWorkspaceConfigParams) WithContext ¶
func (o *ImportWorkspaceConfigParams) WithContext(ctx context.Context) *ImportWorkspaceConfigParams
WithContext adds the context to the import workspace config params
func (*ImportWorkspaceConfigParams) WithDefaults ¶
func (o *ImportWorkspaceConfigParams) WithDefaults() *ImportWorkspaceConfigParams
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) WithDryRun ¶
func (o *ImportWorkspaceConfigParams) WithDryRun(dryRun *string) *ImportWorkspaceConfigParams
WithDryRun adds the dryRun to the import workspace config params
func (*ImportWorkspaceConfigParams) WithHTTPClient ¶
func (o *ImportWorkspaceConfigParams) WithHTTPClient(client *http.Client) *ImportWorkspaceConfigParams
WithHTTPClient adds the HTTPClient to the import workspace config params
func (*ImportWorkspaceConfigParams) WithMode ¶
func (o *ImportWorkspaceConfigParams) WithMode(mode *string) *ImportWorkspaceConfigParams
WithMode adds the mode to the import workspace config params
func (*ImportWorkspaceConfigParams) WithTid ¶
func (o *ImportWorkspaceConfigParams) WithTid(tid string) *ImportWorkspaceConfigParams
WithTid adds the tid to the import workspace config params
func (*ImportWorkspaceConfigParams) WithTimeout ¶
func (o *ImportWorkspaceConfigParams) WithTimeout(timeout time.Duration) *ImportWorkspaceConfigParams
WithTimeout adds the timeout to the import workspace config params
func (*ImportWorkspaceConfigParams) WithWid ¶
func (o *ImportWorkspaceConfigParams) WithWid(wid string) *ImportWorkspaceConfigParams
WithWid adds the wid to the import workspace config params
func (*ImportWorkspaceConfigParams) WriteToRequest ¶
func (o *ImportWorkspaceConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *ImportWorkspaceConfigTooManyRequests) Code() int
Code gets the status code for the import workspace config too many requests response
func (*ImportWorkspaceConfigTooManyRequests) Error ¶
func (o *ImportWorkspaceConfigTooManyRequests) Error() string
func (*ImportWorkspaceConfigTooManyRequests) GetPayload ¶
func (o *ImportWorkspaceConfigTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *ImportWorkspaceConfigTooManyRequests) IsCode(code int) bool
IsCode returns true when this import workspace config too many requests response a status code equal to that given
func (*ImportWorkspaceConfigTooManyRequests) IsRedirect ¶
func (o *ImportWorkspaceConfigTooManyRequests) IsRedirect() bool
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 ¶
func (o *ImportWorkspaceConfigTooManyRequests) IsSuccess() bool
IsSuccess returns true when this import workspace config too many requests response has a 2xx status code
func (*ImportWorkspaceConfigTooManyRequests) String ¶
func (o *ImportWorkspaceConfigTooManyRequests) String() string
type ImportWorkspaceConfigUnauthorized ¶
type ImportWorkspaceConfigUnauthorized struct {
}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 ¶
func (o *ImportWorkspaceConfigUnauthorized) Code() int
Code gets the status code for the import workspace config unauthorized response
func (*ImportWorkspaceConfigUnauthorized) Error ¶
func (o *ImportWorkspaceConfigUnauthorized) Error() string
func (*ImportWorkspaceConfigUnauthorized) GetPayload ¶
func (o *ImportWorkspaceConfigUnauthorized) GetPayload() *models.Error
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 ¶
func (o *ImportWorkspaceConfigUnauthorized) String() string
type ImportWorkspaceConfigUnprocessableEntity ¶
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 ¶
func (o *ImportWorkspaceConfigUnprocessableEntity) Code() int
Code gets the status code for the import workspace config unprocessable entity response
func (*ImportWorkspaceConfigUnprocessableEntity) Error ¶
func (o *ImportWorkspaceConfigUnprocessableEntity) Error() string
func (*ImportWorkspaceConfigUnprocessableEntity) GetPayload ¶
func (o *ImportWorkspaceConfigUnprocessableEntity) GetPayload() *models.Error
func (*ImportWorkspaceConfigUnprocessableEntity) IsClientError ¶
func (o *ImportWorkspaceConfigUnprocessableEntity) IsClientError() bool
IsClientError returns true when this import workspace config unprocessable entity response has a 4xx status code
func (*ImportWorkspaceConfigUnprocessableEntity) IsCode ¶
func (o *ImportWorkspaceConfigUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this import workspace config unprocessable entity response a status code equal to that given
func (*ImportWorkspaceConfigUnprocessableEntity) IsRedirect ¶
func (o *ImportWorkspaceConfigUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this import workspace config unprocessable entity response has a 3xx status code
func (*ImportWorkspaceConfigUnprocessableEntity) IsServerError ¶
func (o *ImportWorkspaceConfigUnprocessableEntity) IsServerError() bool
IsServerError returns true when this import workspace config unprocessable entity response has a 5xx status code
func (*ImportWorkspaceConfigUnprocessableEntity) IsSuccess ¶
func (o *ImportWorkspaceConfigUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this import workspace config unprocessable entity response has a 2xx status code
func (*ImportWorkspaceConfigUnprocessableEntity) String ¶
func (o *ImportWorkspaceConfigUnprocessableEntity) String() string
type PatchWorkspaceConfigRfc6902BadRequest ¶
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 ¶
func (o *PatchWorkspaceConfigRfc6902BadRequest) Code() int
Code gets the status code for the patch workspace config rfc6902 bad request response
func (*PatchWorkspaceConfigRfc6902BadRequest) Error ¶
func (o *PatchWorkspaceConfigRfc6902BadRequest) Error() string
func (*PatchWorkspaceConfigRfc6902BadRequest) GetPayload ¶
func (o *PatchWorkspaceConfigRfc6902BadRequest) GetPayload() *models.Error
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 ¶
func (o *PatchWorkspaceConfigRfc6902BadRequest) IsCode(code int) bool
IsCode returns true when this patch workspace config rfc6902 bad request response a status code equal to that given
func (*PatchWorkspaceConfigRfc6902BadRequest) IsRedirect ¶
func (o *PatchWorkspaceConfigRfc6902BadRequest) IsRedirect() bool
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 ¶
func (o *PatchWorkspaceConfigRfc6902BadRequest) IsSuccess() bool
IsSuccess returns true when this patch workspace config rfc6902 bad request response has a 2xx status code
func (*PatchWorkspaceConfigRfc6902BadRequest) String ¶
func (o *PatchWorkspaceConfigRfc6902BadRequest) String() string
type PatchWorkspaceConfigRfc6902Forbidden ¶
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 ¶
func (o *PatchWorkspaceConfigRfc6902Forbidden) Code() int
Code gets the status code for the patch workspace config rfc6902 forbidden response
func (*PatchWorkspaceConfigRfc6902Forbidden) Error ¶
func (o *PatchWorkspaceConfigRfc6902Forbidden) Error() string
func (*PatchWorkspaceConfigRfc6902Forbidden) GetPayload ¶
func (o *PatchWorkspaceConfigRfc6902Forbidden) GetPayload() *models.Error
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 ¶
func (o *PatchWorkspaceConfigRfc6902Forbidden) IsCode(code int) bool
IsCode returns true when this patch workspace config rfc6902 forbidden response a status code equal to that given
func (*PatchWorkspaceConfigRfc6902Forbidden) IsRedirect ¶
func (o *PatchWorkspaceConfigRfc6902Forbidden) IsRedirect() bool
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 ¶
func (o *PatchWorkspaceConfigRfc6902Forbidden) IsSuccess() bool
IsSuccess returns true when this patch workspace config rfc6902 forbidden response has a 2xx status code
func (*PatchWorkspaceConfigRfc6902Forbidden) String ¶
func (o *PatchWorkspaceConfigRfc6902Forbidden) String() 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 ¶
func (o *PatchWorkspaceConfigRfc6902NoContent) Code() int
Code gets the status code for the patch workspace config rfc6902 no content response
func (*PatchWorkspaceConfigRfc6902NoContent) Error ¶
func (o *PatchWorkspaceConfigRfc6902NoContent) Error() string
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 ¶
func (o *PatchWorkspaceConfigRfc6902NoContent) IsCode(code int) bool
IsCode returns true when this patch workspace config rfc6902 no content response a status code equal to that given
func (*PatchWorkspaceConfigRfc6902NoContent) IsRedirect ¶
func (o *PatchWorkspaceConfigRfc6902NoContent) IsRedirect() bool
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 ¶
func (o *PatchWorkspaceConfigRfc6902NoContent) IsSuccess() bool
IsSuccess returns true when this patch workspace config rfc6902 no content response has a 2xx status code
func (*PatchWorkspaceConfigRfc6902NoContent) String ¶
func (o *PatchWorkspaceConfigRfc6902NoContent) String() string
type PatchWorkspaceConfigRfc6902NotFound ¶
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 ¶
func (o *PatchWorkspaceConfigRfc6902NotFound) Code() int
Code gets the status code for the patch workspace config rfc6902 not found response
func (*PatchWorkspaceConfigRfc6902NotFound) Error ¶
func (o *PatchWorkspaceConfigRfc6902NotFound) Error() string
func (*PatchWorkspaceConfigRfc6902NotFound) GetPayload ¶
func (o *PatchWorkspaceConfigRfc6902NotFound) GetPayload() *models.Error
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 ¶
func (o *PatchWorkspaceConfigRfc6902NotFound) IsCode(code int) bool
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 ¶
func (o *PatchWorkspaceConfigRfc6902NotFound) IsSuccess() bool
IsSuccess returns true when this patch workspace config rfc6902 not found response has a 2xx status code
func (*PatchWorkspaceConfigRfc6902NotFound) String ¶
func (o *PatchWorkspaceConfigRfc6902NotFound) String() string
type PatchWorkspaceConfigRfc6902Params ¶
type PatchWorkspaceConfigRfc6902Params struct { /* DryRun. Dry Run Default: "false" */ DryRun *string /* 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 ¶
func (o *PatchWorkspaceConfigRfc6902Params) SetContext(ctx context.Context)
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) SetDryRun ¶
func (o *PatchWorkspaceConfigRfc6902Params) SetDryRun(dryRun *string)
SetDryRun adds the dryRun to the patch workspace config rfc6902 params
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 ¶
func (o *PatchWorkspaceConfigRfc6902Params) SetPatch(patch models.Rfc6902PatchOperations)
SetPatch adds the patch to the patch workspace config rfc6902 params
func (*PatchWorkspaceConfigRfc6902Params) SetTid ¶
func (o *PatchWorkspaceConfigRfc6902Params) SetTid(tid string)
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 ¶
func (o *PatchWorkspaceConfigRfc6902Params) SetWid(wid string)
SetWid adds the wid to the patch workspace config rfc6902 params
func (*PatchWorkspaceConfigRfc6902Params) WithContext ¶
func (o *PatchWorkspaceConfigRfc6902Params) WithContext(ctx context.Context) *PatchWorkspaceConfigRfc6902Params
WithContext adds the context to the patch workspace config rfc6902 params
func (*PatchWorkspaceConfigRfc6902Params) WithDefaults ¶
func (o *PatchWorkspaceConfigRfc6902Params) WithDefaults() *PatchWorkspaceConfigRfc6902Params
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) WithDryRun ¶
func (o *PatchWorkspaceConfigRfc6902Params) WithDryRun(dryRun *string) *PatchWorkspaceConfigRfc6902Params
WithDryRun adds the dryRun to the patch workspace config rfc6902 params
func (*PatchWorkspaceConfigRfc6902Params) WithHTTPClient ¶
func (o *PatchWorkspaceConfigRfc6902Params) WithHTTPClient(client *http.Client) *PatchWorkspaceConfigRfc6902Params
WithHTTPClient adds the HTTPClient to the patch workspace config rfc6902 params
func (*PatchWorkspaceConfigRfc6902Params) WithMode ¶
func (o *PatchWorkspaceConfigRfc6902Params) WithMode(mode *string) *PatchWorkspaceConfigRfc6902Params
WithMode adds the mode to the patch workspace config rfc6902 params
func (*PatchWorkspaceConfigRfc6902Params) WithPatch ¶
func (o *PatchWorkspaceConfigRfc6902Params) WithPatch(patch models.Rfc6902PatchOperations) *PatchWorkspaceConfigRfc6902Params
WithPatch adds the patch to the patch workspace config rfc6902 params
func (*PatchWorkspaceConfigRfc6902Params) WithTid ¶
func (o *PatchWorkspaceConfigRfc6902Params) WithTid(tid string) *PatchWorkspaceConfigRfc6902Params
WithTid adds the tid to the patch workspace config rfc6902 params
func (*PatchWorkspaceConfigRfc6902Params) WithTimeout ¶
func (o *PatchWorkspaceConfigRfc6902Params) WithTimeout(timeout time.Duration) *PatchWorkspaceConfigRfc6902Params
WithTimeout adds the timeout to the patch workspace config rfc6902 params
func (*PatchWorkspaceConfigRfc6902Params) WithWid ¶
func (o *PatchWorkspaceConfigRfc6902Params) WithWid(wid string) *PatchWorkspaceConfigRfc6902Params
WithWid adds the wid to the patch workspace config rfc6902 params
func (*PatchWorkspaceConfigRfc6902Params) WriteToRequest ¶
func (o *PatchWorkspaceConfigRfc6902Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *PatchWorkspaceConfigRfc6902TooManyRequests) Code() int
Code gets the status code for the patch workspace config rfc6902 too many requests response
func (*PatchWorkspaceConfigRfc6902TooManyRequests) Error ¶
func (o *PatchWorkspaceConfigRfc6902TooManyRequests) Error() string
func (*PatchWorkspaceConfigRfc6902TooManyRequests) GetPayload ¶
func (o *PatchWorkspaceConfigRfc6902TooManyRequests) GetPayload() *models.Error
func (*PatchWorkspaceConfigRfc6902TooManyRequests) IsClientError ¶
func (o *PatchWorkspaceConfigRfc6902TooManyRequests) IsClientError() bool
IsClientError returns true when this patch workspace config rfc6902 too many requests response has a 4xx status code
func (*PatchWorkspaceConfigRfc6902TooManyRequests) IsCode ¶
func (o *PatchWorkspaceConfigRfc6902TooManyRequests) IsCode(code int) bool
IsCode returns true when this patch workspace config rfc6902 too many requests response a status code equal to that given
func (*PatchWorkspaceConfigRfc6902TooManyRequests) IsRedirect ¶
func (o *PatchWorkspaceConfigRfc6902TooManyRequests) IsRedirect() bool
IsRedirect returns true when this patch workspace config rfc6902 too many requests response has a 3xx status code
func (*PatchWorkspaceConfigRfc6902TooManyRequests) IsServerError ¶
func (o *PatchWorkspaceConfigRfc6902TooManyRequests) IsServerError() bool
IsServerError returns true when this patch workspace config rfc6902 too many requests response has a 5xx status code
func (*PatchWorkspaceConfigRfc6902TooManyRequests) IsSuccess ¶
func (o *PatchWorkspaceConfigRfc6902TooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch workspace config rfc6902 too many requests response has a 2xx status code
func (*PatchWorkspaceConfigRfc6902TooManyRequests) String ¶
func (o *PatchWorkspaceConfigRfc6902TooManyRequests) String() string
type PatchWorkspaceConfigRfc6902Unauthorized ¶
type PatchWorkspaceConfigRfc6902Unauthorized struct {
}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 ¶
func (o *PatchWorkspaceConfigRfc6902Unauthorized) Code() int
Code gets the status code for the patch workspace config rfc6902 unauthorized response
func (*PatchWorkspaceConfigRfc6902Unauthorized) Error ¶
func (o *PatchWorkspaceConfigRfc6902Unauthorized) Error() string
func (*PatchWorkspaceConfigRfc6902Unauthorized) GetPayload ¶
func (o *PatchWorkspaceConfigRfc6902Unauthorized) GetPayload() *models.Error
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 ¶
func (o *PatchWorkspaceConfigRfc6902Unauthorized) IsCode(code int) bool
IsCode returns true when this patch workspace config rfc6902 unauthorized response a status code equal to that given
func (*PatchWorkspaceConfigRfc6902Unauthorized) IsRedirect ¶
func (o *PatchWorkspaceConfigRfc6902Unauthorized) IsRedirect() bool
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 ¶
func (o *PatchWorkspaceConfigRfc6902Unauthorized) IsSuccess() bool
IsSuccess returns true when this patch workspace config rfc6902 unauthorized response has a 2xx status code
func (*PatchWorkspaceConfigRfc6902Unauthorized) String ¶
func (o *PatchWorkspaceConfigRfc6902Unauthorized) String() string
type PatchWorkspaceConfigRfc6902UnprocessableEntity ¶
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 ¶
func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) Code() int
Code gets the status code for the patch workspace config rfc6902 unprocessable entity response
func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) Error ¶
func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) Error() string
func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) GetPayload ¶
func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) GetPayload() *models.Error
func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) IsClientError ¶
func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) IsClientError() bool
IsClientError returns true when this patch workspace config rfc6902 unprocessable entity response has a 4xx status code
func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) IsCode ¶
func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) IsCode(code int) bool
IsCode returns true when this patch workspace config rfc6902 unprocessable entity response a status code equal to that given
func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) IsRedirect ¶
func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this patch workspace config rfc6902 unprocessable entity response has a 3xx status code
func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) IsServerError ¶
func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) IsServerError() bool
IsServerError returns true when this patch workspace config rfc6902 unprocessable entity response has a 5xx status code
func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) IsSuccess ¶
func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this patch workspace config rfc6902 unprocessable entity response has a 2xx status code
func (*PatchWorkspaceConfigRfc6902UnprocessableEntity) String ¶
func (o *PatchWorkspaceConfigRfc6902UnprocessableEntity) String() string
type PatchWorkspaceConfigRfc7396BadRequest ¶
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 ¶
func (o *PatchWorkspaceConfigRfc7396BadRequest) Code() int
Code gets the status code for the patch workspace config rfc7396 bad request response
func (*PatchWorkspaceConfigRfc7396BadRequest) Error ¶
func (o *PatchWorkspaceConfigRfc7396BadRequest) Error() string
func (*PatchWorkspaceConfigRfc7396BadRequest) GetPayload ¶
func (o *PatchWorkspaceConfigRfc7396BadRequest) GetPayload() *models.Error
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 ¶
func (o *PatchWorkspaceConfigRfc7396BadRequest) IsCode(code int) bool
IsCode returns true when this patch workspace config rfc7396 bad request response a status code equal to that given
func (*PatchWorkspaceConfigRfc7396BadRequest) IsRedirect ¶
func (o *PatchWorkspaceConfigRfc7396BadRequest) IsRedirect() bool
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 ¶
func (o *PatchWorkspaceConfigRfc7396BadRequest) IsSuccess() bool
IsSuccess returns true when this patch workspace config rfc7396 bad request response has a 2xx status code
func (*PatchWorkspaceConfigRfc7396BadRequest) String ¶
func (o *PatchWorkspaceConfigRfc7396BadRequest) String() string
type PatchWorkspaceConfigRfc7396Forbidden ¶
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 ¶
func (o *PatchWorkspaceConfigRfc7396Forbidden) Code() int
Code gets the status code for the patch workspace config rfc7396 forbidden response
func (*PatchWorkspaceConfigRfc7396Forbidden) Error ¶
func (o *PatchWorkspaceConfigRfc7396Forbidden) Error() string
func (*PatchWorkspaceConfigRfc7396Forbidden) GetPayload ¶
func (o *PatchWorkspaceConfigRfc7396Forbidden) GetPayload() *models.Error
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 ¶
func (o *PatchWorkspaceConfigRfc7396Forbidden) IsCode(code int) bool
IsCode returns true when this patch workspace config rfc7396 forbidden response a status code equal to that given
func (*PatchWorkspaceConfigRfc7396Forbidden) IsRedirect ¶
func (o *PatchWorkspaceConfigRfc7396Forbidden) IsRedirect() bool
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 ¶
func (o *PatchWorkspaceConfigRfc7396Forbidden) IsSuccess() bool
IsSuccess returns true when this patch workspace config rfc7396 forbidden response has a 2xx status code
func (*PatchWorkspaceConfigRfc7396Forbidden) String ¶
func (o *PatchWorkspaceConfigRfc7396Forbidden) String() 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 ¶
func (o *PatchWorkspaceConfigRfc7396NoContent) Code() int
Code gets the status code for the patch workspace config rfc7396 no content response
func (*PatchWorkspaceConfigRfc7396NoContent) Error ¶
func (o *PatchWorkspaceConfigRfc7396NoContent) Error() string
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 ¶
func (o *PatchWorkspaceConfigRfc7396NoContent) IsCode(code int) bool
IsCode returns true when this patch workspace config rfc7396 no content response a status code equal to that given
func (*PatchWorkspaceConfigRfc7396NoContent) IsRedirect ¶
func (o *PatchWorkspaceConfigRfc7396NoContent) IsRedirect() bool
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 ¶
func (o *PatchWorkspaceConfigRfc7396NoContent) IsSuccess() bool
IsSuccess returns true when this patch workspace config rfc7396 no content response has a 2xx status code
func (*PatchWorkspaceConfigRfc7396NoContent) String ¶
func (o *PatchWorkspaceConfigRfc7396NoContent) String() string
type PatchWorkspaceConfigRfc7396NotFound ¶
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 ¶
func (o *PatchWorkspaceConfigRfc7396NotFound) Code() int
Code gets the status code for the patch workspace config rfc7396 not found response
func (*PatchWorkspaceConfigRfc7396NotFound) Error ¶
func (o *PatchWorkspaceConfigRfc7396NotFound) Error() string
func (*PatchWorkspaceConfigRfc7396NotFound) GetPayload ¶
func (o *PatchWorkspaceConfigRfc7396NotFound) GetPayload() *models.Error
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 ¶
func (o *PatchWorkspaceConfigRfc7396NotFound) IsCode(code int) bool
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 ¶
func (o *PatchWorkspaceConfigRfc7396NotFound) IsSuccess() bool
IsSuccess returns true when this patch workspace config rfc7396 not found response has a 2xx status code
func (*PatchWorkspaceConfigRfc7396NotFound) String ¶
func (o *PatchWorkspaceConfigRfc7396NotFound) String() string
type PatchWorkspaceConfigRfc7396Params ¶
type PatchWorkspaceConfigRfc7396Params struct { /* DryRun. Dry Run Default: "false" */ DryRun *string /* 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 ¶
func (o *PatchWorkspaceConfigRfc7396Params) SetContext(ctx context.Context)
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) SetDryRun ¶
func (o *PatchWorkspaceConfigRfc7396Params) SetDryRun(dryRun *string)
SetDryRun adds the dryRun to the patch workspace config rfc7396 params
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 ¶
func (o *PatchWorkspaceConfigRfc7396Params) SetPatch(patch models.Rfc7396PatchOperation)
SetPatch adds the patch to the patch workspace config rfc7396 params
func (*PatchWorkspaceConfigRfc7396Params) SetTid ¶
func (o *PatchWorkspaceConfigRfc7396Params) SetTid(tid string)
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 ¶
func (o *PatchWorkspaceConfigRfc7396Params) SetWid(wid string)
SetWid adds the wid to the patch workspace config rfc7396 params
func (*PatchWorkspaceConfigRfc7396Params) WithContext ¶
func (o *PatchWorkspaceConfigRfc7396Params) WithContext(ctx context.Context) *PatchWorkspaceConfigRfc7396Params
WithContext adds the context to the patch workspace config rfc7396 params
func (*PatchWorkspaceConfigRfc7396Params) WithDefaults ¶
func (o *PatchWorkspaceConfigRfc7396Params) WithDefaults() *PatchWorkspaceConfigRfc7396Params
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) WithDryRun ¶
func (o *PatchWorkspaceConfigRfc7396Params) WithDryRun(dryRun *string) *PatchWorkspaceConfigRfc7396Params
WithDryRun adds the dryRun to the patch workspace config rfc7396 params
func (*PatchWorkspaceConfigRfc7396Params) WithHTTPClient ¶
func (o *PatchWorkspaceConfigRfc7396Params) WithHTTPClient(client *http.Client) *PatchWorkspaceConfigRfc7396Params
WithHTTPClient adds the HTTPClient to the patch workspace config rfc7396 params
func (*PatchWorkspaceConfigRfc7396Params) WithMode ¶
func (o *PatchWorkspaceConfigRfc7396Params) WithMode(mode *string) *PatchWorkspaceConfigRfc7396Params
WithMode adds the mode to the patch workspace config rfc7396 params
func (*PatchWorkspaceConfigRfc7396Params) WithPatch ¶
func (o *PatchWorkspaceConfigRfc7396Params) WithPatch(patch models.Rfc7396PatchOperation) *PatchWorkspaceConfigRfc7396Params
WithPatch adds the patch to the patch workspace config rfc7396 params
func (*PatchWorkspaceConfigRfc7396Params) WithTid ¶
func (o *PatchWorkspaceConfigRfc7396Params) WithTid(tid string) *PatchWorkspaceConfigRfc7396Params
WithTid adds the tid to the patch workspace config rfc7396 params
func (*PatchWorkspaceConfigRfc7396Params) WithTimeout ¶
func (o *PatchWorkspaceConfigRfc7396Params) WithTimeout(timeout time.Duration) *PatchWorkspaceConfigRfc7396Params
WithTimeout adds the timeout to the patch workspace config rfc7396 params
func (*PatchWorkspaceConfigRfc7396Params) WithWid ¶
func (o *PatchWorkspaceConfigRfc7396Params) WithWid(wid string) *PatchWorkspaceConfigRfc7396Params
WithWid adds the wid to the patch workspace config rfc7396 params
func (*PatchWorkspaceConfigRfc7396Params) WriteToRequest ¶
func (o *PatchWorkspaceConfigRfc7396Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *PatchWorkspaceConfigRfc7396TooManyRequests) Code() int
Code gets the status code for the patch workspace config rfc7396 too many requests response
func (*PatchWorkspaceConfigRfc7396TooManyRequests) Error ¶
func (o *PatchWorkspaceConfigRfc7396TooManyRequests) Error() string
func (*PatchWorkspaceConfigRfc7396TooManyRequests) GetPayload ¶
func (o *PatchWorkspaceConfigRfc7396TooManyRequests) GetPayload() *models.Error
func (*PatchWorkspaceConfigRfc7396TooManyRequests) IsClientError ¶
func (o *PatchWorkspaceConfigRfc7396TooManyRequests) IsClientError() bool
IsClientError returns true when this patch workspace config rfc7396 too many requests response has a 4xx status code
func (*PatchWorkspaceConfigRfc7396TooManyRequests) IsCode ¶
func (o *PatchWorkspaceConfigRfc7396TooManyRequests) IsCode(code int) bool
IsCode returns true when this patch workspace config rfc7396 too many requests response a status code equal to that given
func (*PatchWorkspaceConfigRfc7396TooManyRequests) IsRedirect ¶
func (o *PatchWorkspaceConfigRfc7396TooManyRequests) IsRedirect() bool
IsRedirect returns true when this patch workspace config rfc7396 too many requests response has a 3xx status code
func (*PatchWorkspaceConfigRfc7396TooManyRequests) IsServerError ¶
func (o *PatchWorkspaceConfigRfc7396TooManyRequests) IsServerError() bool
IsServerError returns true when this patch workspace config rfc7396 too many requests response has a 5xx status code
func (*PatchWorkspaceConfigRfc7396TooManyRequests) IsSuccess ¶
func (o *PatchWorkspaceConfigRfc7396TooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch workspace config rfc7396 too many requests response has a 2xx status code
func (*PatchWorkspaceConfigRfc7396TooManyRequests) String ¶
func (o *PatchWorkspaceConfigRfc7396TooManyRequests) String() string
type PatchWorkspaceConfigRfc7396Unauthorized ¶
type PatchWorkspaceConfigRfc7396Unauthorized struct {
}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 ¶
func (o *PatchWorkspaceConfigRfc7396Unauthorized) Code() int
Code gets the status code for the patch workspace config rfc7396 unauthorized response
func (*PatchWorkspaceConfigRfc7396Unauthorized) Error ¶
func (o *PatchWorkspaceConfigRfc7396Unauthorized) Error() string
func (*PatchWorkspaceConfigRfc7396Unauthorized) GetPayload ¶
func (o *PatchWorkspaceConfigRfc7396Unauthorized) GetPayload() *models.Error
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 ¶
func (o *PatchWorkspaceConfigRfc7396Unauthorized) IsCode(code int) bool
IsCode returns true when this patch workspace config rfc7396 unauthorized response a status code equal to that given
func (*PatchWorkspaceConfigRfc7396Unauthorized) IsRedirect ¶
func (o *PatchWorkspaceConfigRfc7396Unauthorized) IsRedirect() bool
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 ¶
func (o *PatchWorkspaceConfigRfc7396Unauthorized) IsSuccess() bool
IsSuccess returns true when this patch workspace config rfc7396 unauthorized response has a 2xx status code
func (*PatchWorkspaceConfigRfc7396Unauthorized) String ¶
func (o *PatchWorkspaceConfigRfc7396Unauthorized) String() string
type PatchWorkspaceConfigRfc7396UnprocessableEntity ¶
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 ¶
func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) Code() int
Code gets the status code for the patch workspace config rfc7396 unprocessable entity response
func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) Error ¶
func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) Error() string
func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) GetPayload ¶
func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) GetPayload() *models.Error
func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) IsClientError ¶
func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) IsClientError() bool
IsClientError returns true when this patch workspace config rfc7396 unprocessable entity response has a 4xx status code
func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) IsCode ¶
func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) IsCode(code int) bool
IsCode returns true when this patch workspace config rfc7396 unprocessable entity response a status code equal to that given
func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) IsRedirect ¶
func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this patch workspace config rfc7396 unprocessable entity response has a 3xx status code
func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) IsServerError ¶
func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) IsServerError() bool
IsServerError returns true when this patch workspace config rfc7396 unprocessable entity response has a 5xx status code
func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) IsSuccess ¶
func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this patch workspace config rfc7396 unprocessable entity response has a 2xx status code
func (*PatchWorkspaceConfigRfc7396UnprocessableEntity) String ¶
func (o *PatchWorkspaceConfigRfc7396UnprocessableEntity) String() string
Source Files ¶
- clone_workspace_parameters.go
- clone_workspace_responses.go
- export_workspace_config_parameters.go
- export_workspace_config_responses.go
- import_workspace_config_parameters.go
- import_workspace_config_responses.go
- patch_workspace_config_rfc6902_parameters.go
- patch_workspace_config_rfc6902_responses.go
- patch_workspace_config_rfc7396_parameters.go
- patch_workspace_config_rfc7396_responses.go
- workspace_configuration_client.go