operations

package
v0.1.1-pre Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupWorkspaceDefault

type BackupWorkspaceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

BackupWorkspaceDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewBackupWorkspaceDefault

func NewBackupWorkspaceDefault(code int) *BackupWorkspaceDefault

NewBackupWorkspaceDefault creates a BackupWorkspaceDefault with default headers values

func (*BackupWorkspaceDefault) Code

func (o *BackupWorkspaceDefault) Code() int

Code gets the status code for the backup workspace default response

func (*BackupWorkspaceDefault) Error

func (o *BackupWorkspaceDefault) Error() string

func (*BackupWorkspaceDefault) GetPayload

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

func (*BackupWorkspaceDefault) IsClientError

func (o *BackupWorkspaceDefault) IsClientError() bool

IsClientError returns true when this backup workspace default response has a 4xx status code

func (*BackupWorkspaceDefault) IsCode

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

IsCode returns true when this backup workspace default response a status code equal to that given

func (*BackupWorkspaceDefault) IsRedirect

func (o *BackupWorkspaceDefault) IsRedirect() bool

IsRedirect returns true when this backup workspace default response has a 3xx status code

func (*BackupWorkspaceDefault) IsServerError

func (o *BackupWorkspaceDefault) IsServerError() bool

IsServerError returns true when this backup workspace default response has a 5xx status code

func (*BackupWorkspaceDefault) IsSuccess

func (o *BackupWorkspaceDefault) IsSuccess() bool

IsSuccess returns true when this backup workspace default response has a 2xx status code

func (*BackupWorkspaceDefault) String

func (o *BackupWorkspaceDefault) String() string

type BackupWorkspaceOK

type BackupWorkspaceOK struct {
	Payload *models.BackupWorkspaceResponse
}

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

Expected response to a valid request.

func NewBackupWorkspaceOK

func NewBackupWorkspaceOK() *BackupWorkspaceOK

NewBackupWorkspaceOK creates a BackupWorkspaceOK with default headers values

func (*BackupWorkspaceOK) Code

func (o *BackupWorkspaceOK) Code() int

Code gets the status code for the backup workspace o k response

func (*BackupWorkspaceOK) Error

func (o *BackupWorkspaceOK) Error() string

func (*BackupWorkspaceOK) GetPayload

func (*BackupWorkspaceOK) IsClientError

func (o *BackupWorkspaceOK) IsClientError() bool

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

func (*BackupWorkspaceOK) IsCode

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

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

func (*BackupWorkspaceOK) IsRedirect

func (o *BackupWorkspaceOK) IsRedirect() bool

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

func (*BackupWorkspaceOK) IsServerError

func (o *BackupWorkspaceOK) IsServerError() bool

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

func (*BackupWorkspaceOK) IsSuccess

func (o *BackupWorkspaceOK) IsSuccess() bool

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

func (*BackupWorkspaceOK) String

func (o *BackupWorkspaceOK) String() string

type BackupWorkspaceParams

type BackupWorkspaceParams struct {

	// Input.
	Input *models.BackupWorkspaceRequest

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

BackupWorkspaceParams contains all the parameters to send to the API endpoint

for the backup workspace operation.

Typically these are written to a http.Request.

func NewBackupWorkspaceParams

func NewBackupWorkspaceParams() *BackupWorkspaceParams

NewBackupWorkspaceParams creates a new BackupWorkspaceParams 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 NewBackupWorkspaceParamsWithContext

func NewBackupWorkspaceParamsWithContext(ctx context.Context) *BackupWorkspaceParams

NewBackupWorkspaceParamsWithContext creates a new BackupWorkspaceParams object with the ability to set a context for a request.

func NewBackupWorkspaceParamsWithHTTPClient

func NewBackupWorkspaceParamsWithHTTPClient(client *http.Client) *BackupWorkspaceParams

NewBackupWorkspaceParamsWithHTTPClient creates a new BackupWorkspaceParams object with the ability to set a custom HTTPClient for a request.

func NewBackupWorkspaceParamsWithTimeout

func NewBackupWorkspaceParamsWithTimeout(timeout time.Duration) *BackupWorkspaceParams

NewBackupWorkspaceParamsWithTimeout creates a new BackupWorkspaceParams object with the ability to set a timeout on a request.

func (*BackupWorkspaceParams) SetContext

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

SetContext adds the context to the backup workspace params

func (*BackupWorkspaceParams) SetDefaults

func (o *BackupWorkspaceParams) SetDefaults()

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

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

func (*BackupWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the backup workspace params

func (*BackupWorkspaceParams) SetInput

SetInput adds the input to the backup workspace params

func (*BackupWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the backup workspace params

func (*BackupWorkspaceParams) WithContext

WithContext adds the context to the backup workspace params

func (*BackupWorkspaceParams) WithDefaults

func (o *BackupWorkspaceParams) WithDefaults() *BackupWorkspaceParams

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

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

func (*BackupWorkspaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the backup workspace params

func (*BackupWorkspaceParams) WithInput

WithInput adds the input to the backup workspace params

func (*BackupWorkspaceParams) WithTimeout

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

WithTimeout adds the timeout to the backup workspace params

func (*BackupWorkspaceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type BackupWorkspaceReader

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

BackupWorkspaceReader is a Reader for the BackupWorkspace structure.

func (*BackupWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for operations API

func (*Client) BackupWorkspace

func (a *Client) BackupWorkspace(params *BackupWorkspaceParams, opts ...ClientOption) (*BackupWorkspaceOK, error)

BackupWorkspace backups a workspace

Backup a workspace.

func (*Client) CreateWorkspace

func (a *Client) CreateWorkspace(params *CreateWorkspaceParams, opts ...ClientOption) (*CreateWorkspaceOK, error)

CreateWorkspace creates a cloudera machine learning workspace

Provision a Kubernetes cluster and install the Cloudera Machine Learning application in it.

func (*Client) DeleteBackup

func (a *Client) DeleteBackup(params *DeleteBackupParams, opts ...ClientOption) (*DeleteBackupOK, error)

DeleteBackup deletes a backup snapshot

Deletes a Cloudera Machine Learning workspace backup.

func (*Client) DeleteInstanceGroup

func (a *Client) DeleteInstanceGroup(params *DeleteInstanceGroupParams, opts ...ClientOption) (*DeleteInstanceGroupOK, error)

DeleteInstanceGroup deletes an instance group from the cluster

Deletes an instance group from a Cloudera Machine Learning workspace.

func (*Client) DeleteWorkspace

func (a *Client) DeleteWorkspace(params *DeleteWorkspaceParams, opts ...ClientOption) (*DeleteWorkspaceOK, error)

DeleteWorkspace deletes cloudera machine learning workspace

Deletes a Cloudera Machine Learning workspace.

func (*Client) DescribeWorkspace

func (a *Client) DescribeWorkspace(params *DescribeWorkspaceParams, opts ...ClientOption) (*DescribeWorkspaceOK, error)

DescribeWorkspace describes cloudera machine learning workspace

Describes a Cloudera Machine Learning workspace.

func (*Client) GetAuditEvents

func (a *Client) GetAuditEvents(params *GetAuditEventsParams, opts ...ClientOption) (*GetAuditEventsOK, error)

GetAuditEvents gets all the events belong to a workspace crn

Gets all the events belong to a workspace crn.

func (*Client) GetKubeconfig

func (a *Client) GetKubeconfig(params *GetKubeconfigParams, opts ...ClientOption) (*GetKubeconfigOK, error)

GetKubeconfig lists workspace access cloudera machine learning workspace

Lists users that can perform Kubernetes operations on a Cloudera Machine Learning workspace via EKS.

func (*Client) GetLatestWorkspaceVersion

func (a *Client) GetLatestWorkspaceVersion(params *GetLatestWorkspaceVersionParams, opts ...ClientOption) (*GetLatestWorkspaceVersionOK, error)

GetLatestWorkspaceVersion gets latest workspace version cloudera machine learning workspace

Retrieves the latest version that Cloudera Machine Learning deploys to workspaces.

func (*Client) GetLogs

func (a *Client) GetLogs(params *GetLogsParams, opts ...ClientOption) (*GetLogsOK, error)

GetLogs gets all the logs belong to a request id

Gets all the logs belong to a request id.

func (*Client) GrantWorkspaceAccess

func (a *Client) GrantWorkspaceAccess(params *GrantWorkspaceAccessParams, opts ...ClientOption) (*GrantWorkspaceAccessOK, error)

GrantWorkspaceAccess grants workspace access cloudera machine learning workspace

Grants an AWS user to perform Kubernetes operations on a Cloudera Machine Learning workspace via EKS.

func (*Client) ListWorkspaceAccess

func (a *Client) ListWorkspaceAccess(params *ListWorkspaceAccessParams, opts ...ClientOption) (*ListWorkspaceAccessOK, error)

ListWorkspaceAccess lists workspace access cloudera machine learning workspace

Lists users that can perform Kubernetes operations on a Cloudera Machine Learning workspace via EKS.

func (*Client) ListWorkspaceBackups

func (a *Client) ListWorkspaceBackups(params *ListWorkspaceBackupsParams, opts ...ClientOption) (*ListWorkspaceBackupsOK, error)

ListWorkspaceBackups lists backup snapshots of a workspace

List backup snapshots of a workspace.

func (*Client) ListWorkspaces

func (a *Client) ListWorkspaces(params *ListWorkspacesParams, opts ...ClientOption) (*ListWorkspacesOK, error)

ListWorkspaces lists cloudera machine learning workspaces

List Cloudera Machine Learning workspaces.

func (*Client) ModifyClusterInstanceGroup

func (a *Client) ModifyClusterInstanceGroup(params *ModifyClusterInstanceGroupParams, opts ...ClientOption) (*ModifyClusterInstanceGroupOK, error)

ModifyClusterInstanceGroup modifies cloudera machine learning workspace cluster instance group

Modify a Cloudera Machine Learning workspace cluster instance group.

func (*Client) ModifyClusterSecurity

func (a *Client) ModifyClusterSecurity(params *ModifyClusterSecurityParams, opts ...ClientOption) (*ModifyClusterSecurityOK, error)

ModifyClusterSecurity modifies cloudera machine learning workspace cluster security

Modify a Cloudera Machine Learning workspace cluster security.

func (*Client) ModifyWorkspaceLoadBalancer

func (a *Client) ModifyWorkspaceLoadBalancer(params *ModifyWorkspaceLoadBalancerParams, opts ...ClientOption) (*ModifyWorkspaceLoadBalancerOK, error)

ModifyWorkspaceLoadBalancer modifies cloudera machine learning workspace loadbalancer

Modify a Cloudera Machine Learning workspace loadbalancer.

func (*Client) RequestWorkflowCancellation

func (a *Client) RequestWorkflowCancellation(params *RequestWorkflowCancellationParams, opts ...ClientOption) (*RequestWorkflowCancellationOK, error)

RequestWorkflowCancellation requests a workflow cancellation

Request a long running workflow cancellation by resource ID and workflow type.

func (*Client) RestoreWorkspace

func (a *Client) RestoreWorkspace(params *RestoreWorkspaceParams, opts ...ClientOption) (*RestoreWorkspaceOK, error)

RestoreWorkspace restores a cloudera machine learning workspace

Create a new workspace based on an existing workspace backup snapshot.

func (*Client) ResumeWorkspace

func (a *Client) ResumeWorkspace(params *ResumeWorkspaceParams, opts ...ClientOption) (*ResumeWorkspaceOK, error)

ResumeWorkspace resumes cloudera machine learning workspace

Resume a Cloudera Machine Learnings workspace.

func (*Client) RevokeWorkspaceAccess

func (a *Client) RevokeWorkspaceAccess(params *RevokeWorkspaceAccessParams, opts ...ClientOption) (*RevokeWorkspaceAccessOK, error)

RevokeWorkspaceAccess revokes workspace access cloudera machine learning workspace

Revokes an AWS user to perform Kubernetes operations on a Cloudera Machine Learning workspace via EKS.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SuspendWorkspace

func (a *Client) SuspendWorkspace(params *SuspendWorkspaceParams, opts ...ClientOption) (*SuspendWorkspaceOK, error)

SuspendWorkspace suspends cloudera machine learning workspace

Suspend a Cloudera Machine Learning workspace.

func (*Client) UpgradeWorkspace

func (a *Client) UpgradeWorkspace(params *UpgradeWorkspaceParams, opts ...ClientOption) (*UpgradeWorkspaceOK, error)

UpgradeWorkspace upgrades cloudera machine learning workspace

Upgrades a Cloudera Machine Learning workspace to the latest available version.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	BackupWorkspace(params *BackupWorkspaceParams, opts ...ClientOption) (*BackupWorkspaceOK, error)

	CreateWorkspace(params *CreateWorkspaceParams, opts ...ClientOption) (*CreateWorkspaceOK, error)

	DeleteBackup(params *DeleteBackupParams, opts ...ClientOption) (*DeleteBackupOK, error)

	DeleteInstanceGroup(params *DeleteInstanceGroupParams, opts ...ClientOption) (*DeleteInstanceGroupOK, error)

	DeleteWorkspace(params *DeleteWorkspaceParams, opts ...ClientOption) (*DeleteWorkspaceOK, error)

	DescribeWorkspace(params *DescribeWorkspaceParams, opts ...ClientOption) (*DescribeWorkspaceOK, error)

	GetAuditEvents(params *GetAuditEventsParams, opts ...ClientOption) (*GetAuditEventsOK, error)

	GetKubeconfig(params *GetKubeconfigParams, opts ...ClientOption) (*GetKubeconfigOK, error)

	GetLatestWorkspaceVersion(params *GetLatestWorkspaceVersionParams, opts ...ClientOption) (*GetLatestWorkspaceVersionOK, error)

	GetLogs(params *GetLogsParams, opts ...ClientOption) (*GetLogsOK, error)

	GrantWorkspaceAccess(params *GrantWorkspaceAccessParams, opts ...ClientOption) (*GrantWorkspaceAccessOK, error)

	ListWorkspaceAccess(params *ListWorkspaceAccessParams, opts ...ClientOption) (*ListWorkspaceAccessOK, error)

	ListWorkspaceBackups(params *ListWorkspaceBackupsParams, opts ...ClientOption) (*ListWorkspaceBackupsOK, error)

	ListWorkspaces(params *ListWorkspacesParams, opts ...ClientOption) (*ListWorkspacesOK, error)

	ModifyClusterInstanceGroup(params *ModifyClusterInstanceGroupParams, opts ...ClientOption) (*ModifyClusterInstanceGroupOK, error)

	ModifyClusterSecurity(params *ModifyClusterSecurityParams, opts ...ClientOption) (*ModifyClusterSecurityOK, error)

	ModifyWorkspaceLoadBalancer(params *ModifyWorkspaceLoadBalancerParams, opts ...ClientOption) (*ModifyWorkspaceLoadBalancerOK, error)

	RequestWorkflowCancellation(params *RequestWorkflowCancellationParams, opts ...ClientOption) (*RequestWorkflowCancellationOK, error)

	RestoreWorkspace(params *RestoreWorkspaceParams, opts ...ClientOption) (*RestoreWorkspaceOK, error)

	ResumeWorkspace(params *ResumeWorkspaceParams, opts ...ClientOption) (*ResumeWorkspaceOK, error)

	RevokeWorkspaceAccess(params *RevokeWorkspaceAccessParams, opts ...ClientOption) (*RevokeWorkspaceAccessOK, error)

	SuspendWorkspace(params *SuspendWorkspaceParams, opts ...ClientOption) (*SuspendWorkspaceOK, error)

	UpgradeWorkspace(params *UpgradeWorkspaceParams, opts ...ClientOption) (*UpgradeWorkspaceOK, 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 operations API client.

type CreateWorkspaceDefault

type CreateWorkspaceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

CreateWorkspaceDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewCreateWorkspaceDefault

func NewCreateWorkspaceDefault(code int) *CreateWorkspaceDefault

NewCreateWorkspaceDefault creates a CreateWorkspaceDefault with default headers values

func (*CreateWorkspaceDefault) Code

func (o *CreateWorkspaceDefault) Code() int

Code gets the status code for the create workspace default response

func (*CreateWorkspaceDefault) Error

func (o *CreateWorkspaceDefault) Error() string

func (*CreateWorkspaceDefault) GetPayload

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

func (*CreateWorkspaceDefault) IsClientError

func (o *CreateWorkspaceDefault) IsClientError() bool

IsClientError returns true when this create workspace default response has a 4xx status code

func (*CreateWorkspaceDefault) IsCode

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

IsCode returns true when this create workspace default response a status code equal to that given

func (*CreateWorkspaceDefault) IsRedirect

func (o *CreateWorkspaceDefault) IsRedirect() bool

IsRedirect returns true when this create workspace default response has a 3xx status code

func (*CreateWorkspaceDefault) IsServerError

func (o *CreateWorkspaceDefault) IsServerError() bool

IsServerError returns true when this create workspace default response has a 5xx status code

func (*CreateWorkspaceDefault) IsSuccess

func (o *CreateWorkspaceDefault) IsSuccess() bool

IsSuccess returns true when this create workspace default response has a 2xx status code

func (*CreateWorkspaceDefault) String

func (o *CreateWorkspaceDefault) String() string

type CreateWorkspaceOK

type CreateWorkspaceOK struct {
	Payload models.CreateWorkspaceResponse
}

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

Expected response to a valid request.

func NewCreateWorkspaceOK

func NewCreateWorkspaceOK() *CreateWorkspaceOK

NewCreateWorkspaceOK creates a CreateWorkspaceOK with default headers values

func (*CreateWorkspaceOK) Code

func (o *CreateWorkspaceOK) Code() int

Code gets the status code for the create workspace o k response

func (*CreateWorkspaceOK) Error

func (o *CreateWorkspaceOK) Error() string

func (*CreateWorkspaceOK) GetPayload

func (*CreateWorkspaceOK) IsClientError

func (o *CreateWorkspaceOK) IsClientError() bool

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

func (*CreateWorkspaceOK) IsCode

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

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

func (*CreateWorkspaceOK) IsRedirect

func (o *CreateWorkspaceOK) IsRedirect() bool

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

func (*CreateWorkspaceOK) IsServerError

func (o *CreateWorkspaceOK) IsServerError() bool

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

func (*CreateWorkspaceOK) IsSuccess

func (o *CreateWorkspaceOK) IsSuccess() bool

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

func (*CreateWorkspaceOK) String

func (o *CreateWorkspaceOK) String() string

type CreateWorkspaceParams

type CreateWorkspaceParams struct {

	// Input.
	Input *models.CreateWorkspaceRequest

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

CreateWorkspaceParams contains all the parameters to send to the API endpoint

for the create workspace operation.

Typically these are written to a http.Request.

func NewCreateWorkspaceParams

func NewCreateWorkspaceParams() *CreateWorkspaceParams

NewCreateWorkspaceParams creates a new CreateWorkspaceParams 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 NewCreateWorkspaceParamsWithContext

func NewCreateWorkspaceParamsWithContext(ctx context.Context) *CreateWorkspaceParams

NewCreateWorkspaceParamsWithContext creates a new CreateWorkspaceParams object with the ability to set a context for a request.

func NewCreateWorkspaceParamsWithHTTPClient

func NewCreateWorkspaceParamsWithHTTPClient(client *http.Client) *CreateWorkspaceParams

NewCreateWorkspaceParamsWithHTTPClient creates a new CreateWorkspaceParams object with the ability to set a custom HTTPClient for a request.

func NewCreateWorkspaceParamsWithTimeout

func NewCreateWorkspaceParamsWithTimeout(timeout time.Duration) *CreateWorkspaceParams

NewCreateWorkspaceParamsWithTimeout creates a new CreateWorkspaceParams object with the ability to set a timeout on a request.

func (*CreateWorkspaceParams) SetContext

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

SetContext adds the context to the create workspace params

func (*CreateWorkspaceParams) SetDefaults

func (o *CreateWorkspaceParams) SetDefaults()

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

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

func (*CreateWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create workspace params

func (*CreateWorkspaceParams) SetInput

SetInput adds the input to the create workspace params

func (*CreateWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the create workspace params

func (*CreateWorkspaceParams) WithContext

WithContext adds the context to the create workspace params

func (*CreateWorkspaceParams) WithDefaults

func (o *CreateWorkspaceParams) WithDefaults() *CreateWorkspaceParams

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

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

func (*CreateWorkspaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create workspace params

func (*CreateWorkspaceParams) WithInput

WithInput adds the input to the create workspace params

func (*CreateWorkspaceParams) WithTimeout

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

WithTimeout adds the timeout to the create workspace params

func (*CreateWorkspaceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateWorkspaceReader

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

CreateWorkspaceReader is a Reader for the CreateWorkspace structure.

func (*CreateWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBackupDefault

type DeleteBackupDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteBackupDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewDeleteBackupDefault

func NewDeleteBackupDefault(code int) *DeleteBackupDefault

NewDeleteBackupDefault creates a DeleteBackupDefault with default headers values

func (*DeleteBackupDefault) Code

func (o *DeleteBackupDefault) Code() int

Code gets the status code for the delete backup default response

func (*DeleteBackupDefault) Error

func (o *DeleteBackupDefault) Error() string

func (*DeleteBackupDefault) GetPayload

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

func (*DeleteBackupDefault) IsClientError

func (o *DeleteBackupDefault) IsClientError() bool

IsClientError returns true when this delete backup default response has a 4xx status code

func (*DeleteBackupDefault) IsCode

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

IsCode returns true when this delete backup default response a status code equal to that given

func (*DeleteBackupDefault) IsRedirect

func (o *DeleteBackupDefault) IsRedirect() bool

IsRedirect returns true when this delete backup default response has a 3xx status code

func (*DeleteBackupDefault) IsServerError

func (o *DeleteBackupDefault) IsServerError() bool

IsServerError returns true when this delete backup default response has a 5xx status code

func (*DeleteBackupDefault) IsSuccess

func (o *DeleteBackupDefault) IsSuccess() bool

IsSuccess returns true when this delete backup default response has a 2xx status code

func (*DeleteBackupDefault) String

func (o *DeleteBackupDefault) String() string

type DeleteBackupOK

type DeleteBackupOK struct {
	Payload *models.DeleteBackupResponse
}

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

Expected response to a valid request.

func NewDeleteBackupOK

func NewDeleteBackupOK() *DeleteBackupOK

NewDeleteBackupOK creates a DeleteBackupOK with default headers values

func (*DeleteBackupOK) Code

func (o *DeleteBackupOK) Code() int

Code gets the status code for the delete backup o k response

func (*DeleteBackupOK) Error

func (o *DeleteBackupOK) Error() string

func (*DeleteBackupOK) GetPayload

func (o *DeleteBackupOK) GetPayload() *models.DeleteBackupResponse

func (*DeleteBackupOK) IsClientError

func (o *DeleteBackupOK) IsClientError() bool

IsClientError returns true when this delete backup o k response has a 4xx status code

func (*DeleteBackupOK) IsCode

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

IsCode returns true when this delete backup o k response a status code equal to that given

func (*DeleteBackupOK) IsRedirect

func (o *DeleteBackupOK) IsRedirect() bool

IsRedirect returns true when this delete backup o k response has a 3xx status code

func (*DeleteBackupOK) IsServerError

func (o *DeleteBackupOK) IsServerError() bool

IsServerError returns true when this delete backup o k response has a 5xx status code

func (*DeleteBackupOK) IsSuccess

func (o *DeleteBackupOK) IsSuccess() bool

IsSuccess returns true when this delete backup o k response has a 2xx status code

func (*DeleteBackupOK) String

func (o *DeleteBackupOK) String() string

type DeleteBackupParams

type DeleteBackupParams struct {

	// Input.
	Input *models.DeleteBackupRequest

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

DeleteBackupParams contains all the parameters to send to the API endpoint

for the delete backup operation.

Typically these are written to a http.Request.

func NewDeleteBackupParams

func NewDeleteBackupParams() *DeleteBackupParams

NewDeleteBackupParams creates a new DeleteBackupParams 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 NewDeleteBackupParamsWithContext

func NewDeleteBackupParamsWithContext(ctx context.Context) *DeleteBackupParams

NewDeleteBackupParamsWithContext creates a new DeleteBackupParams object with the ability to set a context for a request.

func NewDeleteBackupParamsWithHTTPClient

func NewDeleteBackupParamsWithHTTPClient(client *http.Client) *DeleteBackupParams

NewDeleteBackupParamsWithHTTPClient creates a new DeleteBackupParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteBackupParamsWithTimeout

func NewDeleteBackupParamsWithTimeout(timeout time.Duration) *DeleteBackupParams

NewDeleteBackupParamsWithTimeout creates a new DeleteBackupParams object with the ability to set a timeout on a request.

func (*DeleteBackupParams) SetContext

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

SetContext adds the context to the delete backup params

func (*DeleteBackupParams) SetDefaults

func (o *DeleteBackupParams) SetDefaults()

SetDefaults hydrates default values in the delete backup params (not the query body).

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

func (*DeleteBackupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete backup params

func (*DeleteBackupParams) SetInput

func (o *DeleteBackupParams) SetInput(input *models.DeleteBackupRequest)

SetInput adds the input to the delete backup params

func (*DeleteBackupParams) SetTimeout

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

SetTimeout adds the timeout to the delete backup params

func (*DeleteBackupParams) WithContext

WithContext adds the context to the delete backup params

func (*DeleteBackupParams) WithDefaults

func (o *DeleteBackupParams) WithDefaults() *DeleteBackupParams

WithDefaults hydrates default values in the delete backup params (not the query body).

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

func (*DeleteBackupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete backup params

func (*DeleteBackupParams) WithInput

WithInput adds the input to the delete backup params

func (*DeleteBackupParams) WithTimeout

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

WithTimeout adds the timeout to the delete backup params

func (*DeleteBackupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteBackupReader

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

DeleteBackupReader is a Reader for the DeleteBackup structure.

func (*DeleteBackupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteInstanceGroupDefault

type DeleteInstanceGroupDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteInstanceGroupDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewDeleteInstanceGroupDefault

func NewDeleteInstanceGroupDefault(code int) *DeleteInstanceGroupDefault

NewDeleteInstanceGroupDefault creates a DeleteInstanceGroupDefault with default headers values

func (*DeleteInstanceGroupDefault) Code

func (o *DeleteInstanceGroupDefault) Code() int

Code gets the status code for the delete instance group default response

func (*DeleteInstanceGroupDefault) Error

func (*DeleteInstanceGroupDefault) GetPayload

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

func (*DeleteInstanceGroupDefault) IsClientError

func (o *DeleteInstanceGroupDefault) IsClientError() bool

IsClientError returns true when this delete instance group default response has a 4xx status code

func (*DeleteInstanceGroupDefault) IsCode

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

IsCode returns true when this delete instance group default response a status code equal to that given

func (*DeleteInstanceGroupDefault) IsRedirect

func (o *DeleteInstanceGroupDefault) IsRedirect() bool

IsRedirect returns true when this delete instance group default response has a 3xx status code

func (*DeleteInstanceGroupDefault) IsServerError

func (o *DeleteInstanceGroupDefault) IsServerError() bool

IsServerError returns true when this delete instance group default response has a 5xx status code

func (*DeleteInstanceGroupDefault) IsSuccess

func (o *DeleteInstanceGroupDefault) IsSuccess() bool

IsSuccess returns true when this delete instance group default response has a 2xx status code

func (*DeleteInstanceGroupDefault) String

func (o *DeleteInstanceGroupDefault) String() string

type DeleteInstanceGroupOK

type DeleteInstanceGroupOK struct {
	Payload models.DeleteInstanceGroupResponse
}

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

Expected response to a valid request.

func NewDeleteInstanceGroupOK

func NewDeleteInstanceGroupOK() *DeleteInstanceGroupOK

NewDeleteInstanceGroupOK creates a DeleteInstanceGroupOK with default headers values

func (*DeleteInstanceGroupOK) Code

func (o *DeleteInstanceGroupOK) Code() int

Code gets the status code for the delete instance group o k response

func (*DeleteInstanceGroupOK) Error

func (o *DeleteInstanceGroupOK) Error() string

func (*DeleteInstanceGroupOK) GetPayload

func (*DeleteInstanceGroupOK) IsClientError

func (o *DeleteInstanceGroupOK) IsClientError() bool

IsClientError returns true when this delete instance group o k response has a 4xx status code

func (*DeleteInstanceGroupOK) IsCode

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

IsCode returns true when this delete instance group o k response a status code equal to that given

func (*DeleteInstanceGroupOK) IsRedirect

func (o *DeleteInstanceGroupOK) IsRedirect() bool

IsRedirect returns true when this delete instance group o k response has a 3xx status code

func (*DeleteInstanceGroupOK) IsServerError

func (o *DeleteInstanceGroupOK) IsServerError() bool

IsServerError returns true when this delete instance group o k response has a 5xx status code

func (*DeleteInstanceGroupOK) IsSuccess

func (o *DeleteInstanceGroupOK) IsSuccess() bool

IsSuccess returns true when this delete instance group o k response has a 2xx status code

func (*DeleteInstanceGroupOK) String

func (o *DeleteInstanceGroupOK) String() string

type DeleteInstanceGroupParams

type DeleteInstanceGroupParams struct {

	// Input.
	Input *models.DeleteInstanceGroupRequest

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

DeleteInstanceGroupParams contains all the parameters to send to the API endpoint

for the delete instance group operation.

Typically these are written to a http.Request.

func NewDeleteInstanceGroupParams

func NewDeleteInstanceGroupParams() *DeleteInstanceGroupParams

NewDeleteInstanceGroupParams creates a new DeleteInstanceGroupParams 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 NewDeleteInstanceGroupParamsWithContext

func NewDeleteInstanceGroupParamsWithContext(ctx context.Context) *DeleteInstanceGroupParams

NewDeleteInstanceGroupParamsWithContext creates a new DeleteInstanceGroupParams object with the ability to set a context for a request.

func NewDeleteInstanceGroupParamsWithHTTPClient

func NewDeleteInstanceGroupParamsWithHTTPClient(client *http.Client) *DeleteInstanceGroupParams

NewDeleteInstanceGroupParamsWithHTTPClient creates a new DeleteInstanceGroupParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteInstanceGroupParamsWithTimeout

func NewDeleteInstanceGroupParamsWithTimeout(timeout time.Duration) *DeleteInstanceGroupParams

NewDeleteInstanceGroupParamsWithTimeout creates a new DeleteInstanceGroupParams object with the ability to set a timeout on a request.

func (*DeleteInstanceGroupParams) SetContext

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

SetContext adds the context to the delete instance group params

func (*DeleteInstanceGroupParams) SetDefaults

func (o *DeleteInstanceGroupParams) SetDefaults()

SetDefaults hydrates default values in the delete instance group params (not the query body).

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

func (*DeleteInstanceGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete instance group params

func (*DeleteInstanceGroupParams) SetInput

SetInput adds the input to the delete instance group params

func (*DeleteInstanceGroupParams) SetTimeout

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

SetTimeout adds the timeout to the delete instance group params

func (*DeleteInstanceGroupParams) WithContext

WithContext adds the context to the delete instance group params

func (*DeleteInstanceGroupParams) WithDefaults

WithDefaults hydrates default values in the delete instance group params (not the query body).

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

func (*DeleteInstanceGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete instance group params

func (*DeleteInstanceGroupParams) WithInput

WithInput adds the input to the delete instance group params

func (*DeleteInstanceGroupParams) WithTimeout

WithTimeout adds the timeout to the delete instance group params

func (*DeleteInstanceGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteInstanceGroupReader

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

DeleteInstanceGroupReader is a Reader for the DeleteInstanceGroup structure.

func (*DeleteInstanceGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteWorkspaceDefault

type DeleteWorkspaceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteWorkspaceDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewDeleteWorkspaceDefault

func NewDeleteWorkspaceDefault(code int) *DeleteWorkspaceDefault

NewDeleteWorkspaceDefault creates a DeleteWorkspaceDefault with default headers values

func (*DeleteWorkspaceDefault) Code

func (o *DeleteWorkspaceDefault) Code() int

Code gets the status code for the delete workspace default response

func (*DeleteWorkspaceDefault) Error

func (o *DeleteWorkspaceDefault) Error() string

func (*DeleteWorkspaceDefault) GetPayload

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

func (*DeleteWorkspaceDefault) IsClientError

func (o *DeleteWorkspaceDefault) IsClientError() bool

IsClientError returns true when this delete workspace default response has a 4xx status code

func (*DeleteWorkspaceDefault) IsCode

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

IsCode returns true when this delete workspace default response a status code equal to that given

func (*DeleteWorkspaceDefault) IsRedirect

func (o *DeleteWorkspaceDefault) IsRedirect() bool

IsRedirect returns true when this delete workspace default response has a 3xx status code

func (*DeleteWorkspaceDefault) IsServerError

func (o *DeleteWorkspaceDefault) IsServerError() bool

IsServerError returns true when this delete workspace default response has a 5xx status code

func (*DeleteWorkspaceDefault) IsSuccess

func (o *DeleteWorkspaceDefault) IsSuccess() bool

IsSuccess returns true when this delete workspace default response has a 2xx status code

func (*DeleteWorkspaceDefault) String

func (o *DeleteWorkspaceDefault) String() string

type DeleteWorkspaceOK

type DeleteWorkspaceOK struct {
	Payload models.DeleteWorkspaceResponse
}

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

Expected response to a valid request.

func NewDeleteWorkspaceOK

func NewDeleteWorkspaceOK() *DeleteWorkspaceOK

NewDeleteWorkspaceOK creates a DeleteWorkspaceOK with default headers values

func (*DeleteWorkspaceOK) Code

func (o *DeleteWorkspaceOK) Code() int

Code gets the status code for the delete workspace o k response

func (*DeleteWorkspaceOK) Error

func (o *DeleteWorkspaceOK) Error() string

func (*DeleteWorkspaceOK) GetPayload

func (*DeleteWorkspaceOK) IsClientError

func (o *DeleteWorkspaceOK) IsClientError() bool

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

func (*DeleteWorkspaceOK) IsCode

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

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

func (*DeleteWorkspaceOK) IsRedirect

func (o *DeleteWorkspaceOK) IsRedirect() bool

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

func (*DeleteWorkspaceOK) IsServerError

func (o *DeleteWorkspaceOK) IsServerError() bool

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

func (*DeleteWorkspaceOK) IsSuccess

func (o *DeleteWorkspaceOK) IsSuccess() bool

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

func (*DeleteWorkspaceOK) String

func (o *DeleteWorkspaceOK) String() string

type DeleteWorkspaceParams

type DeleteWorkspaceParams struct {

	// Input.
	Input *models.DeleteWorkspaceRequest

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

DeleteWorkspaceParams contains all the parameters to send to the API endpoint

for the delete workspace operation.

Typically these are written to a http.Request.

func NewDeleteWorkspaceParams

func NewDeleteWorkspaceParams() *DeleteWorkspaceParams

NewDeleteWorkspaceParams creates a new DeleteWorkspaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteWorkspaceParamsWithContext

func NewDeleteWorkspaceParamsWithContext(ctx context.Context) *DeleteWorkspaceParams

NewDeleteWorkspaceParamsWithContext creates a new DeleteWorkspaceParams object with the ability to set a context for a request.

func NewDeleteWorkspaceParamsWithHTTPClient

func NewDeleteWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteWorkspaceParams

NewDeleteWorkspaceParamsWithHTTPClient creates a new DeleteWorkspaceParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteWorkspaceParamsWithTimeout

func NewDeleteWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteWorkspaceParams

NewDeleteWorkspaceParamsWithTimeout creates a new DeleteWorkspaceParams object with the ability to set a timeout on a request.

func (*DeleteWorkspaceParams) SetContext

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

SetContext adds the context to the delete workspace params

func (*DeleteWorkspaceParams) SetDefaults

func (o *DeleteWorkspaceParams) SetDefaults()

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

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

func (*DeleteWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete workspace params

func (*DeleteWorkspaceParams) SetInput

SetInput adds the input to the delete workspace params

func (*DeleteWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the delete workspace params

func (*DeleteWorkspaceParams) WithContext

WithContext adds the context to the delete workspace params

func (*DeleteWorkspaceParams) WithDefaults

func (o *DeleteWorkspaceParams) WithDefaults() *DeleteWorkspaceParams

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

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

func (*DeleteWorkspaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete workspace params

func (*DeleteWorkspaceParams) WithInput

WithInput adds the input to the delete workspace params

func (*DeleteWorkspaceParams) WithTimeout

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

WithTimeout adds the timeout to the delete workspace params

func (*DeleteWorkspaceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteWorkspaceReader

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

DeleteWorkspaceReader is a Reader for the DeleteWorkspace structure.

func (*DeleteWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DescribeWorkspaceDefault

type DescribeWorkspaceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DescribeWorkspaceDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewDescribeWorkspaceDefault

func NewDescribeWorkspaceDefault(code int) *DescribeWorkspaceDefault

NewDescribeWorkspaceDefault creates a DescribeWorkspaceDefault with default headers values

func (*DescribeWorkspaceDefault) Code

func (o *DescribeWorkspaceDefault) Code() int

Code gets the status code for the describe workspace default response

func (*DescribeWorkspaceDefault) Error

func (o *DescribeWorkspaceDefault) Error() string

func (*DescribeWorkspaceDefault) GetPayload

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

func (*DescribeWorkspaceDefault) IsClientError

func (o *DescribeWorkspaceDefault) IsClientError() bool

IsClientError returns true when this describe workspace default response has a 4xx status code

func (*DescribeWorkspaceDefault) IsCode

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

IsCode returns true when this describe workspace default response a status code equal to that given

func (*DescribeWorkspaceDefault) IsRedirect

func (o *DescribeWorkspaceDefault) IsRedirect() bool

IsRedirect returns true when this describe workspace default response has a 3xx status code

func (*DescribeWorkspaceDefault) IsServerError

func (o *DescribeWorkspaceDefault) IsServerError() bool

IsServerError returns true when this describe workspace default response has a 5xx status code

func (*DescribeWorkspaceDefault) IsSuccess

func (o *DescribeWorkspaceDefault) IsSuccess() bool

IsSuccess returns true when this describe workspace default response has a 2xx status code

func (*DescribeWorkspaceDefault) String

func (o *DescribeWorkspaceDefault) String() string

type DescribeWorkspaceOK

type DescribeWorkspaceOK struct {
	Payload *models.DescribeWorkspaceResponse
}

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

Expected response to a valid request.

func NewDescribeWorkspaceOK

func NewDescribeWorkspaceOK() *DescribeWorkspaceOK

NewDescribeWorkspaceOK creates a DescribeWorkspaceOK with default headers values

func (*DescribeWorkspaceOK) Code

func (o *DescribeWorkspaceOK) Code() int

Code gets the status code for the describe workspace o k response

func (*DescribeWorkspaceOK) Error

func (o *DescribeWorkspaceOK) Error() string

func (*DescribeWorkspaceOK) GetPayload

func (*DescribeWorkspaceOK) IsClientError

func (o *DescribeWorkspaceOK) IsClientError() bool

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

func (*DescribeWorkspaceOK) IsCode

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

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

func (*DescribeWorkspaceOK) IsRedirect

func (o *DescribeWorkspaceOK) IsRedirect() bool

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

func (*DescribeWorkspaceOK) IsServerError

func (o *DescribeWorkspaceOK) IsServerError() bool

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

func (*DescribeWorkspaceOK) IsSuccess

func (o *DescribeWorkspaceOK) IsSuccess() bool

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

func (*DescribeWorkspaceOK) String

func (o *DescribeWorkspaceOK) String() string

type DescribeWorkspaceParams

type DescribeWorkspaceParams struct {

	// Input.
	Input *models.DescribeWorkspaceRequest

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

DescribeWorkspaceParams contains all the parameters to send to the API endpoint

for the describe workspace operation.

Typically these are written to a http.Request.

func NewDescribeWorkspaceParams

func NewDescribeWorkspaceParams() *DescribeWorkspaceParams

NewDescribeWorkspaceParams creates a new DescribeWorkspaceParams 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 NewDescribeWorkspaceParamsWithContext

func NewDescribeWorkspaceParamsWithContext(ctx context.Context) *DescribeWorkspaceParams

NewDescribeWorkspaceParamsWithContext creates a new DescribeWorkspaceParams object with the ability to set a context for a request.

func NewDescribeWorkspaceParamsWithHTTPClient

func NewDescribeWorkspaceParamsWithHTTPClient(client *http.Client) *DescribeWorkspaceParams

NewDescribeWorkspaceParamsWithHTTPClient creates a new DescribeWorkspaceParams object with the ability to set a custom HTTPClient for a request.

func NewDescribeWorkspaceParamsWithTimeout

func NewDescribeWorkspaceParamsWithTimeout(timeout time.Duration) *DescribeWorkspaceParams

NewDescribeWorkspaceParamsWithTimeout creates a new DescribeWorkspaceParams object with the ability to set a timeout on a request.

func (*DescribeWorkspaceParams) SetContext

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

SetContext adds the context to the describe workspace params

func (*DescribeWorkspaceParams) SetDefaults

func (o *DescribeWorkspaceParams) SetDefaults()

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

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

func (*DescribeWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe workspace params

func (*DescribeWorkspaceParams) SetInput

SetInput adds the input to the describe workspace params

func (*DescribeWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the describe workspace params

func (*DescribeWorkspaceParams) WithContext

WithContext adds the context to the describe workspace params

func (*DescribeWorkspaceParams) WithDefaults

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

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

func (*DescribeWorkspaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the describe workspace params

func (*DescribeWorkspaceParams) WithInput

WithInput adds the input to the describe workspace params

func (*DescribeWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the describe workspace params

func (*DescribeWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DescribeWorkspaceReader

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

DescribeWorkspaceReader is a Reader for the DescribeWorkspace structure.

func (*DescribeWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAuditEventsDefault

type GetAuditEventsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetAuditEventsDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewGetAuditEventsDefault

func NewGetAuditEventsDefault(code int) *GetAuditEventsDefault

NewGetAuditEventsDefault creates a GetAuditEventsDefault with default headers values

func (*GetAuditEventsDefault) Code

func (o *GetAuditEventsDefault) Code() int

Code gets the status code for the get audit events default response

func (*GetAuditEventsDefault) Error

func (o *GetAuditEventsDefault) Error() string

func (*GetAuditEventsDefault) GetPayload

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

func (*GetAuditEventsDefault) IsClientError

func (o *GetAuditEventsDefault) IsClientError() bool

IsClientError returns true when this get audit events default response has a 4xx status code

func (*GetAuditEventsDefault) IsCode

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

IsCode returns true when this get audit events default response a status code equal to that given

func (*GetAuditEventsDefault) IsRedirect

func (o *GetAuditEventsDefault) IsRedirect() bool

IsRedirect returns true when this get audit events default response has a 3xx status code

func (*GetAuditEventsDefault) IsServerError

func (o *GetAuditEventsDefault) IsServerError() bool

IsServerError returns true when this get audit events default response has a 5xx status code

func (*GetAuditEventsDefault) IsSuccess

func (o *GetAuditEventsDefault) IsSuccess() bool

IsSuccess returns true when this get audit events default response has a 2xx status code

func (*GetAuditEventsDefault) String

func (o *GetAuditEventsDefault) String() string

type GetAuditEventsOK

type GetAuditEventsOK struct {
	Payload *models.GetAuditEventsResponse
}

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

Expected response to a valid request.

func NewGetAuditEventsOK

func NewGetAuditEventsOK() *GetAuditEventsOK

NewGetAuditEventsOK creates a GetAuditEventsOK with default headers values

func (*GetAuditEventsOK) Code

func (o *GetAuditEventsOK) Code() int

Code gets the status code for the get audit events o k response

func (*GetAuditEventsOK) Error

func (o *GetAuditEventsOK) Error() string

func (*GetAuditEventsOK) GetPayload

func (*GetAuditEventsOK) IsClientError

func (o *GetAuditEventsOK) IsClientError() bool

IsClientError returns true when this get audit events o k response has a 4xx status code

func (*GetAuditEventsOK) IsCode

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

IsCode returns true when this get audit events o k response a status code equal to that given

func (*GetAuditEventsOK) IsRedirect

func (o *GetAuditEventsOK) IsRedirect() bool

IsRedirect returns true when this get audit events o k response has a 3xx status code

func (*GetAuditEventsOK) IsServerError

func (o *GetAuditEventsOK) IsServerError() bool

IsServerError returns true when this get audit events o k response has a 5xx status code

func (*GetAuditEventsOK) IsSuccess

func (o *GetAuditEventsOK) IsSuccess() bool

IsSuccess returns true when this get audit events o k response has a 2xx status code

func (*GetAuditEventsOK) String

func (o *GetAuditEventsOK) String() string

type GetAuditEventsParams

type GetAuditEventsParams struct {

	// Input.
	Input *models.GetAuditEventsRequest

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

GetAuditEventsParams contains all the parameters to send to the API endpoint

for the get audit events operation.

Typically these are written to a http.Request.

func NewGetAuditEventsParams

func NewGetAuditEventsParams() *GetAuditEventsParams

NewGetAuditEventsParams creates a new GetAuditEventsParams 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 NewGetAuditEventsParamsWithContext

func NewGetAuditEventsParamsWithContext(ctx context.Context) *GetAuditEventsParams

NewGetAuditEventsParamsWithContext creates a new GetAuditEventsParams object with the ability to set a context for a request.

func NewGetAuditEventsParamsWithHTTPClient

func NewGetAuditEventsParamsWithHTTPClient(client *http.Client) *GetAuditEventsParams

NewGetAuditEventsParamsWithHTTPClient creates a new GetAuditEventsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAuditEventsParamsWithTimeout

func NewGetAuditEventsParamsWithTimeout(timeout time.Duration) *GetAuditEventsParams

NewGetAuditEventsParamsWithTimeout creates a new GetAuditEventsParams object with the ability to set a timeout on a request.

func (*GetAuditEventsParams) SetContext

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

SetContext adds the context to the get audit events params

func (*GetAuditEventsParams) SetDefaults

func (o *GetAuditEventsParams) SetDefaults()

SetDefaults hydrates default values in the get audit events params (not the query body).

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

func (*GetAuditEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get audit events params

func (*GetAuditEventsParams) SetInput

SetInput adds the input to the get audit events params

func (*GetAuditEventsParams) SetTimeout

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

SetTimeout adds the timeout to the get audit events params

func (*GetAuditEventsParams) WithContext

WithContext adds the context to the get audit events params

func (*GetAuditEventsParams) WithDefaults

func (o *GetAuditEventsParams) WithDefaults() *GetAuditEventsParams

WithDefaults hydrates default values in the get audit events params (not the query body).

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

func (*GetAuditEventsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get audit events params

func (*GetAuditEventsParams) WithInput

WithInput adds the input to the get audit events params

func (*GetAuditEventsParams) WithTimeout

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

WithTimeout adds the timeout to the get audit events params

func (*GetAuditEventsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAuditEventsReader

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

GetAuditEventsReader is a Reader for the GetAuditEvents structure.

func (*GetAuditEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetKubeconfigDefault

type GetKubeconfigDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetKubeconfigDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewGetKubeconfigDefault

func NewGetKubeconfigDefault(code int) *GetKubeconfigDefault

NewGetKubeconfigDefault creates a GetKubeconfigDefault with default headers values

func (*GetKubeconfigDefault) Code

func (o *GetKubeconfigDefault) Code() int

Code gets the status code for the get kubeconfig default response

func (*GetKubeconfigDefault) Error

func (o *GetKubeconfigDefault) Error() string

func (*GetKubeconfigDefault) GetPayload

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

func (*GetKubeconfigDefault) IsClientError

func (o *GetKubeconfigDefault) IsClientError() bool

IsClientError returns true when this get kubeconfig default response has a 4xx status code

func (*GetKubeconfigDefault) IsCode

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

IsCode returns true when this get kubeconfig default response a status code equal to that given

func (*GetKubeconfigDefault) IsRedirect

func (o *GetKubeconfigDefault) IsRedirect() bool

IsRedirect returns true when this get kubeconfig default response has a 3xx status code

func (*GetKubeconfigDefault) IsServerError

func (o *GetKubeconfigDefault) IsServerError() bool

IsServerError returns true when this get kubeconfig default response has a 5xx status code

func (*GetKubeconfigDefault) IsSuccess

func (o *GetKubeconfigDefault) IsSuccess() bool

IsSuccess returns true when this get kubeconfig default response has a 2xx status code

func (*GetKubeconfigDefault) String

func (o *GetKubeconfigDefault) String() string

type GetKubeconfigOK

type GetKubeconfigOK struct {
	Payload *models.GetKubeconfigResponse
}

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

Expected response to a valid request.

func NewGetKubeconfigOK

func NewGetKubeconfigOK() *GetKubeconfigOK

NewGetKubeconfigOK creates a GetKubeconfigOK with default headers values

func (*GetKubeconfigOK) Code

func (o *GetKubeconfigOK) Code() int

Code gets the status code for the get kubeconfig o k response

func (*GetKubeconfigOK) Error

func (o *GetKubeconfigOK) Error() string

func (*GetKubeconfigOK) GetPayload

func (o *GetKubeconfigOK) GetPayload() *models.GetKubeconfigResponse

func (*GetKubeconfigOK) IsClientError

func (o *GetKubeconfigOK) IsClientError() bool

IsClientError returns true when this get kubeconfig o k response has a 4xx status code

func (*GetKubeconfigOK) IsCode

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

IsCode returns true when this get kubeconfig o k response a status code equal to that given

func (*GetKubeconfigOK) IsRedirect

func (o *GetKubeconfigOK) IsRedirect() bool

IsRedirect returns true when this get kubeconfig o k response has a 3xx status code

func (*GetKubeconfigOK) IsServerError

func (o *GetKubeconfigOK) IsServerError() bool

IsServerError returns true when this get kubeconfig o k response has a 5xx status code

func (*GetKubeconfigOK) IsSuccess

func (o *GetKubeconfigOK) IsSuccess() bool

IsSuccess returns true when this get kubeconfig o k response has a 2xx status code

func (*GetKubeconfigOK) String

func (o *GetKubeconfigOK) String() string

type GetKubeconfigParams

type GetKubeconfigParams struct {

	// Input.
	Input *models.GetKubeconfigRequest

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

GetKubeconfigParams contains all the parameters to send to the API endpoint

for the get kubeconfig operation.

Typically these are written to a http.Request.

func NewGetKubeconfigParams

func NewGetKubeconfigParams() *GetKubeconfigParams

NewGetKubeconfigParams creates a new GetKubeconfigParams 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 NewGetKubeconfigParamsWithContext

func NewGetKubeconfigParamsWithContext(ctx context.Context) *GetKubeconfigParams

NewGetKubeconfigParamsWithContext creates a new GetKubeconfigParams object with the ability to set a context for a request.

func NewGetKubeconfigParamsWithHTTPClient

func NewGetKubeconfigParamsWithHTTPClient(client *http.Client) *GetKubeconfigParams

NewGetKubeconfigParamsWithHTTPClient creates a new GetKubeconfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetKubeconfigParamsWithTimeout

func NewGetKubeconfigParamsWithTimeout(timeout time.Duration) *GetKubeconfigParams

NewGetKubeconfigParamsWithTimeout creates a new GetKubeconfigParams object with the ability to set a timeout on a request.

func (*GetKubeconfigParams) SetContext

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

SetContext adds the context to the get kubeconfig params

func (*GetKubeconfigParams) SetDefaults

func (o *GetKubeconfigParams) SetDefaults()

SetDefaults hydrates default values in the get kubeconfig params (not the query body).

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

func (*GetKubeconfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get kubeconfig params

func (*GetKubeconfigParams) SetInput

func (o *GetKubeconfigParams) SetInput(input *models.GetKubeconfigRequest)

SetInput adds the input to the get kubeconfig params

func (*GetKubeconfigParams) SetTimeout

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

SetTimeout adds the timeout to the get kubeconfig params

func (*GetKubeconfigParams) WithContext

WithContext adds the context to the get kubeconfig params

func (*GetKubeconfigParams) WithDefaults

func (o *GetKubeconfigParams) WithDefaults() *GetKubeconfigParams

WithDefaults hydrates default values in the get kubeconfig params (not the query body).

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

func (*GetKubeconfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get kubeconfig params

func (*GetKubeconfigParams) WithInput

WithInput adds the input to the get kubeconfig params

func (*GetKubeconfigParams) WithTimeout

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

WithTimeout adds the timeout to the get kubeconfig params

func (*GetKubeconfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetKubeconfigReader

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

GetKubeconfigReader is a Reader for the GetKubeconfig structure.

func (*GetKubeconfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLatestWorkspaceVersionDefault

type GetLatestWorkspaceVersionDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetLatestWorkspaceVersionDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewGetLatestWorkspaceVersionDefault

func NewGetLatestWorkspaceVersionDefault(code int) *GetLatestWorkspaceVersionDefault

NewGetLatestWorkspaceVersionDefault creates a GetLatestWorkspaceVersionDefault with default headers values

func (*GetLatestWorkspaceVersionDefault) Code

Code gets the status code for the get latest workspace version default response

func (*GetLatestWorkspaceVersionDefault) Error

func (*GetLatestWorkspaceVersionDefault) GetPayload

func (*GetLatestWorkspaceVersionDefault) IsClientError

func (o *GetLatestWorkspaceVersionDefault) IsClientError() bool

IsClientError returns true when this get latest workspace version default response has a 4xx status code

func (*GetLatestWorkspaceVersionDefault) IsCode

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

IsCode returns true when this get latest workspace version default response a status code equal to that given

func (*GetLatestWorkspaceVersionDefault) IsRedirect

func (o *GetLatestWorkspaceVersionDefault) IsRedirect() bool

IsRedirect returns true when this get latest workspace version default response has a 3xx status code

func (*GetLatestWorkspaceVersionDefault) IsServerError

func (o *GetLatestWorkspaceVersionDefault) IsServerError() bool

IsServerError returns true when this get latest workspace version default response has a 5xx status code

func (*GetLatestWorkspaceVersionDefault) IsSuccess

func (o *GetLatestWorkspaceVersionDefault) IsSuccess() bool

IsSuccess returns true when this get latest workspace version default response has a 2xx status code

func (*GetLatestWorkspaceVersionDefault) String

type GetLatestWorkspaceVersionOK

type GetLatestWorkspaceVersionOK struct {
	Payload *models.GetLatestWorkspaceVersionResponse
}

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

Expected response to a valid request.

func NewGetLatestWorkspaceVersionOK

func NewGetLatestWorkspaceVersionOK() *GetLatestWorkspaceVersionOK

NewGetLatestWorkspaceVersionOK creates a GetLatestWorkspaceVersionOK with default headers values

func (*GetLatestWorkspaceVersionOK) Code

func (o *GetLatestWorkspaceVersionOK) Code() int

Code gets the status code for the get latest workspace version o k response

func (*GetLatestWorkspaceVersionOK) Error

func (*GetLatestWorkspaceVersionOK) GetPayload

func (*GetLatestWorkspaceVersionOK) IsClientError

func (o *GetLatestWorkspaceVersionOK) IsClientError() bool

IsClientError returns true when this get latest workspace version o k response has a 4xx status code

func (*GetLatestWorkspaceVersionOK) IsCode

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

IsCode returns true when this get latest workspace version o k response a status code equal to that given

func (*GetLatestWorkspaceVersionOK) IsRedirect

func (o *GetLatestWorkspaceVersionOK) IsRedirect() bool

IsRedirect returns true when this get latest workspace version o k response has a 3xx status code

func (*GetLatestWorkspaceVersionOK) IsServerError

func (o *GetLatestWorkspaceVersionOK) IsServerError() bool

IsServerError returns true when this get latest workspace version o k response has a 5xx status code

func (*GetLatestWorkspaceVersionOK) IsSuccess

func (o *GetLatestWorkspaceVersionOK) IsSuccess() bool

IsSuccess returns true when this get latest workspace version o k response has a 2xx status code

func (*GetLatestWorkspaceVersionOK) String

func (o *GetLatestWorkspaceVersionOK) String() string

type GetLatestWorkspaceVersionParams

type GetLatestWorkspaceVersionParams struct {

	// Input.
	Input models.GetLatestWorkspaceVersionRequest

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

GetLatestWorkspaceVersionParams contains all the parameters to send to the API endpoint

for the get latest workspace version operation.

Typically these are written to a http.Request.

func NewGetLatestWorkspaceVersionParams

func NewGetLatestWorkspaceVersionParams() *GetLatestWorkspaceVersionParams

NewGetLatestWorkspaceVersionParams creates a new GetLatestWorkspaceVersionParams 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 NewGetLatestWorkspaceVersionParamsWithContext

func NewGetLatestWorkspaceVersionParamsWithContext(ctx context.Context) *GetLatestWorkspaceVersionParams

NewGetLatestWorkspaceVersionParamsWithContext creates a new GetLatestWorkspaceVersionParams object with the ability to set a context for a request.

func NewGetLatestWorkspaceVersionParamsWithHTTPClient

func NewGetLatestWorkspaceVersionParamsWithHTTPClient(client *http.Client) *GetLatestWorkspaceVersionParams

NewGetLatestWorkspaceVersionParamsWithHTTPClient creates a new GetLatestWorkspaceVersionParams object with the ability to set a custom HTTPClient for a request.

func NewGetLatestWorkspaceVersionParamsWithTimeout

func NewGetLatestWorkspaceVersionParamsWithTimeout(timeout time.Duration) *GetLatestWorkspaceVersionParams

NewGetLatestWorkspaceVersionParamsWithTimeout creates a new GetLatestWorkspaceVersionParams object with the ability to set a timeout on a request.

func (*GetLatestWorkspaceVersionParams) SetContext

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

SetContext adds the context to the get latest workspace version params

func (*GetLatestWorkspaceVersionParams) SetDefaults

func (o *GetLatestWorkspaceVersionParams) SetDefaults()

SetDefaults hydrates default values in the get latest workspace version params (not the query body).

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

func (*GetLatestWorkspaceVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get latest workspace version params

func (*GetLatestWorkspaceVersionParams) SetInput

SetInput adds the input to the get latest workspace version params

func (*GetLatestWorkspaceVersionParams) SetTimeout

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

SetTimeout adds the timeout to the get latest workspace version params

func (*GetLatestWorkspaceVersionParams) WithContext

WithContext adds the context to the get latest workspace version params

func (*GetLatestWorkspaceVersionParams) WithDefaults

WithDefaults hydrates default values in the get latest workspace version params (not the query body).

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

func (*GetLatestWorkspaceVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get latest workspace version params

func (*GetLatestWorkspaceVersionParams) WithInput

WithInput adds the input to the get latest workspace version params

func (*GetLatestWorkspaceVersionParams) WithTimeout

WithTimeout adds the timeout to the get latest workspace version params

func (*GetLatestWorkspaceVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLatestWorkspaceVersionReader

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

GetLatestWorkspaceVersionReader is a Reader for the GetLatestWorkspaceVersion structure.

func (*GetLatestWorkspaceVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLogsDefault

type GetLogsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetLogsDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewGetLogsDefault

func NewGetLogsDefault(code int) *GetLogsDefault

NewGetLogsDefault creates a GetLogsDefault with default headers values

func (*GetLogsDefault) Code

func (o *GetLogsDefault) Code() int

Code gets the status code for the get logs default response

func (*GetLogsDefault) Error

func (o *GetLogsDefault) Error() string

func (*GetLogsDefault) GetPayload

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

func (*GetLogsDefault) IsClientError

func (o *GetLogsDefault) IsClientError() bool

IsClientError returns true when this get logs default response has a 4xx status code

func (*GetLogsDefault) IsCode

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

IsCode returns true when this get logs default response a status code equal to that given

func (*GetLogsDefault) IsRedirect

func (o *GetLogsDefault) IsRedirect() bool

IsRedirect returns true when this get logs default response has a 3xx status code

func (*GetLogsDefault) IsServerError

func (o *GetLogsDefault) IsServerError() bool

IsServerError returns true when this get logs default response has a 5xx status code

func (*GetLogsDefault) IsSuccess

func (o *GetLogsDefault) IsSuccess() bool

IsSuccess returns true when this get logs default response has a 2xx status code

func (*GetLogsDefault) String

func (o *GetLogsDefault) String() string

type GetLogsOK

type GetLogsOK struct {
	Payload *models.GetLogsResponse
}

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

Expected response to a valid request.

func NewGetLogsOK

func NewGetLogsOK() *GetLogsOK

NewGetLogsOK creates a GetLogsOK with default headers values

func (*GetLogsOK) Code

func (o *GetLogsOK) Code() int

Code gets the status code for the get logs o k response

func (*GetLogsOK) Error

func (o *GetLogsOK) Error() string

func (*GetLogsOK) GetPayload

func (o *GetLogsOK) GetPayload() *models.GetLogsResponse

func (*GetLogsOK) IsClientError

func (o *GetLogsOK) IsClientError() bool

IsClientError returns true when this get logs o k response has a 4xx status code

func (*GetLogsOK) IsCode

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

IsCode returns true when this get logs o k response a status code equal to that given

func (*GetLogsOK) IsRedirect

func (o *GetLogsOK) IsRedirect() bool

IsRedirect returns true when this get logs o k response has a 3xx status code

func (*GetLogsOK) IsServerError

func (o *GetLogsOK) IsServerError() bool

IsServerError returns true when this get logs o k response has a 5xx status code

func (*GetLogsOK) IsSuccess

func (o *GetLogsOK) IsSuccess() bool

IsSuccess returns true when this get logs o k response has a 2xx status code

func (*GetLogsOK) String

func (o *GetLogsOK) String() string

type GetLogsParams

type GetLogsParams struct {

	// Input.
	Input *models.GetLogsRequest

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

GetLogsParams contains all the parameters to send to the API endpoint

for the get logs operation.

Typically these are written to a http.Request.

func NewGetLogsParams

func NewGetLogsParams() *GetLogsParams

NewGetLogsParams creates a new GetLogsParams 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 NewGetLogsParamsWithContext

func NewGetLogsParamsWithContext(ctx context.Context) *GetLogsParams

NewGetLogsParamsWithContext creates a new GetLogsParams object with the ability to set a context for a request.

func NewGetLogsParamsWithHTTPClient

func NewGetLogsParamsWithHTTPClient(client *http.Client) *GetLogsParams

NewGetLogsParamsWithHTTPClient creates a new GetLogsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogsParamsWithTimeout

func NewGetLogsParamsWithTimeout(timeout time.Duration) *GetLogsParams

NewGetLogsParamsWithTimeout creates a new GetLogsParams object with the ability to set a timeout on a request.

func (*GetLogsParams) SetContext

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

SetContext adds the context to the get logs params

func (*GetLogsParams) SetDefaults

func (o *GetLogsParams) SetDefaults()

SetDefaults hydrates default values in the get logs params (not the query body).

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

func (*GetLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get logs params

func (*GetLogsParams) SetInput

func (o *GetLogsParams) SetInput(input *models.GetLogsRequest)

SetInput adds the input to the get logs params

func (*GetLogsParams) SetTimeout

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

SetTimeout adds the timeout to the get logs params

func (*GetLogsParams) WithContext

func (o *GetLogsParams) WithContext(ctx context.Context) *GetLogsParams

WithContext adds the context to the get logs params

func (*GetLogsParams) WithDefaults

func (o *GetLogsParams) WithDefaults() *GetLogsParams

WithDefaults hydrates default values in the get logs params (not the query body).

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

func (*GetLogsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get logs params

func (*GetLogsParams) WithInput

func (o *GetLogsParams) WithInput(input *models.GetLogsRequest) *GetLogsParams

WithInput adds the input to the get logs params

func (*GetLogsParams) WithTimeout

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

WithTimeout adds the timeout to the get logs params

func (*GetLogsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLogsReader

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

GetLogsReader is a Reader for the GetLogs structure.

func (*GetLogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GrantWorkspaceAccessDefault

type GrantWorkspaceAccessDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GrantWorkspaceAccessDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewGrantWorkspaceAccessDefault

func NewGrantWorkspaceAccessDefault(code int) *GrantWorkspaceAccessDefault

NewGrantWorkspaceAccessDefault creates a GrantWorkspaceAccessDefault with default headers values

func (*GrantWorkspaceAccessDefault) Code

func (o *GrantWorkspaceAccessDefault) Code() int

Code gets the status code for the grant workspace access default response

func (*GrantWorkspaceAccessDefault) Error

func (*GrantWorkspaceAccessDefault) GetPayload

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

func (*GrantWorkspaceAccessDefault) IsClientError

func (o *GrantWorkspaceAccessDefault) IsClientError() bool

IsClientError returns true when this grant workspace access default response has a 4xx status code

func (*GrantWorkspaceAccessDefault) IsCode

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

IsCode returns true when this grant workspace access default response a status code equal to that given

func (*GrantWorkspaceAccessDefault) IsRedirect

func (o *GrantWorkspaceAccessDefault) IsRedirect() bool

IsRedirect returns true when this grant workspace access default response has a 3xx status code

func (*GrantWorkspaceAccessDefault) IsServerError

func (o *GrantWorkspaceAccessDefault) IsServerError() bool

IsServerError returns true when this grant workspace access default response has a 5xx status code

func (*GrantWorkspaceAccessDefault) IsSuccess

func (o *GrantWorkspaceAccessDefault) IsSuccess() bool

IsSuccess returns true when this grant workspace access default response has a 2xx status code

func (*GrantWorkspaceAccessDefault) String

func (o *GrantWorkspaceAccessDefault) String() string

type GrantWorkspaceAccessOK

type GrantWorkspaceAccessOK struct {
	Payload *models.GrantWorkspaceAccessResponse
}

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

Expected response to a valid request.

func NewGrantWorkspaceAccessOK

func NewGrantWorkspaceAccessOK() *GrantWorkspaceAccessOK

NewGrantWorkspaceAccessOK creates a GrantWorkspaceAccessOK with default headers values

func (*GrantWorkspaceAccessOK) Code

func (o *GrantWorkspaceAccessOK) Code() int

Code gets the status code for the grant workspace access o k response

func (*GrantWorkspaceAccessOK) Error

func (o *GrantWorkspaceAccessOK) Error() string

func (*GrantWorkspaceAccessOK) GetPayload

func (*GrantWorkspaceAccessOK) IsClientError

func (o *GrantWorkspaceAccessOK) IsClientError() bool

IsClientError returns true when this grant workspace access o k response has a 4xx status code

func (*GrantWorkspaceAccessOK) IsCode

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

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

func (*GrantWorkspaceAccessOK) IsRedirect

func (o *GrantWorkspaceAccessOK) IsRedirect() bool

IsRedirect returns true when this grant workspace access o k response has a 3xx status code

func (*GrantWorkspaceAccessOK) IsServerError

func (o *GrantWorkspaceAccessOK) IsServerError() bool

IsServerError returns true when this grant workspace access o k response has a 5xx status code

func (*GrantWorkspaceAccessOK) IsSuccess

func (o *GrantWorkspaceAccessOK) IsSuccess() bool

IsSuccess returns true when this grant workspace access o k response has a 2xx status code

func (*GrantWorkspaceAccessOK) String

func (o *GrantWorkspaceAccessOK) String() string

type GrantWorkspaceAccessParams

type GrantWorkspaceAccessParams struct {

	// Input.
	Input *models.GrantWorkspaceAccessRequest

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

GrantWorkspaceAccessParams contains all the parameters to send to the API endpoint

for the grant workspace access operation.

Typically these are written to a http.Request.

func NewGrantWorkspaceAccessParams

func NewGrantWorkspaceAccessParams() *GrantWorkspaceAccessParams

NewGrantWorkspaceAccessParams creates a new GrantWorkspaceAccessParams 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 NewGrantWorkspaceAccessParamsWithContext

func NewGrantWorkspaceAccessParamsWithContext(ctx context.Context) *GrantWorkspaceAccessParams

NewGrantWorkspaceAccessParamsWithContext creates a new GrantWorkspaceAccessParams object with the ability to set a context for a request.

func NewGrantWorkspaceAccessParamsWithHTTPClient

func NewGrantWorkspaceAccessParamsWithHTTPClient(client *http.Client) *GrantWorkspaceAccessParams

NewGrantWorkspaceAccessParamsWithHTTPClient creates a new GrantWorkspaceAccessParams object with the ability to set a custom HTTPClient for a request.

func NewGrantWorkspaceAccessParamsWithTimeout

func NewGrantWorkspaceAccessParamsWithTimeout(timeout time.Duration) *GrantWorkspaceAccessParams

NewGrantWorkspaceAccessParamsWithTimeout creates a new GrantWorkspaceAccessParams object with the ability to set a timeout on a request.

func (*GrantWorkspaceAccessParams) SetContext

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

SetContext adds the context to the grant workspace access params

func (*GrantWorkspaceAccessParams) SetDefaults

func (o *GrantWorkspaceAccessParams) SetDefaults()

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

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

func (*GrantWorkspaceAccessParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the grant workspace access params

func (*GrantWorkspaceAccessParams) SetInput

SetInput adds the input to the grant workspace access params

func (*GrantWorkspaceAccessParams) SetTimeout

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

SetTimeout adds the timeout to the grant workspace access params

func (*GrantWorkspaceAccessParams) WithContext

WithContext adds the context to the grant workspace access params

func (*GrantWorkspaceAccessParams) WithDefaults

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

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

func (*GrantWorkspaceAccessParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the grant workspace access params

func (*GrantWorkspaceAccessParams) WithInput

WithInput adds the input to the grant workspace access params

func (*GrantWorkspaceAccessParams) WithTimeout

WithTimeout adds the timeout to the grant workspace access params

func (*GrantWorkspaceAccessParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GrantWorkspaceAccessReader

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

GrantWorkspaceAccessReader is a Reader for the GrantWorkspaceAccess structure.

func (*GrantWorkspaceAccessReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListWorkspaceAccessDefault

type ListWorkspaceAccessDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

ListWorkspaceAccessDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewListWorkspaceAccessDefault

func NewListWorkspaceAccessDefault(code int) *ListWorkspaceAccessDefault

NewListWorkspaceAccessDefault creates a ListWorkspaceAccessDefault with default headers values

func (*ListWorkspaceAccessDefault) Code

func (o *ListWorkspaceAccessDefault) Code() int

Code gets the status code for the list workspace access default response

func (*ListWorkspaceAccessDefault) Error

func (*ListWorkspaceAccessDefault) GetPayload

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

func (*ListWorkspaceAccessDefault) IsClientError

func (o *ListWorkspaceAccessDefault) IsClientError() bool

IsClientError returns true when this list workspace access default response has a 4xx status code

func (*ListWorkspaceAccessDefault) IsCode

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

IsCode returns true when this list workspace access default response a status code equal to that given

func (*ListWorkspaceAccessDefault) IsRedirect

func (o *ListWorkspaceAccessDefault) IsRedirect() bool

IsRedirect returns true when this list workspace access default response has a 3xx status code

func (*ListWorkspaceAccessDefault) IsServerError

func (o *ListWorkspaceAccessDefault) IsServerError() bool

IsServerError returns true when this list workspace access default response has a 5xx status code

func (*ListWorkspaceAccessDefault) IsSuccess

func (o *ListWorkspaceAccessDefault) IsSuccess() bool

IsSuccess returns true when this list workspace access default response has a 2xx status code

func (*ListWorkspaceAccessDefault) String

func (o *ListWorkspaceAccessDefault) String() string

type ListWorkspaceAccessOK

type ListWorkspaceAccessOK struct {
	Payload *models.ListWorkspaceAccessResponse
}

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

Expected response to a valid request.

func NewListWorkspaceAccessOK

func NewListWorkspaceAccessOK() *ListWorkspaceAccessOK

NewListWorkspaceAccessOK creates a ListWorkspaceAccessOK with default headers values

func (*ListWorkspaceAccessOK) Code

func (o *ListWorkspaceAccessOK) Code() int

Code gets the status code for the list workspace access o k response

func (*ListWorkspaceAccessOK) Error

func (o *ListWorkspaceAccessOK) Error() string

func (*ListWorkspaceAccessOK) GetPayload

func (*ListWorkspaceAccessOK) IsClientError

func (o *ListWorkspaceAccessOK) IsClientError() bool

IsClientError returns true when this list workspace access o k response has a 4xx status code

func (*ListWorkspaceAccessOK) IsCode

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

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

func (*ListWorkspaceAccessOK) IsRedirect

func (o *ListWorkspaceAccessOK) IsRedirect() bool

IsRedirect returns true when this list workspace access o k response has a 3xx status code

func (*ListWorkspaceAccessOK) IsServerError

func (o *ListWorkspaceAccessOK) IsServerError() bool

IsServerError returns true when this list workspace access o k response has a 5xx status code

func (*ListWorkspaceAccessOK) IsSuccess

func (o *ListWorkspaceAccessOK) IsSuccess() bool

IsSuccess returns true when this list workspace access o k response has a 2xx status code

func (*ListWorkspaceAccessOK) String

func (o *ListWorkspaceAccessOK) String() string

type ListWorkspaceAccessParams

type ListWorkspaceAccessParams struct {

	// Input.
	Input *models.ListWorkspaceAccessRequest

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

ListWorkspaceAccessParams contains all the parameters to send to the API endpoint

for the list workspace access operation.

Typically these are written to a http.Request.

func NewListWorkspaceAccessParams

func NewListWorkspaceAccessParams() *ListWorkspaceAccessParams

NewListWorkspaceAccessParams creates a new ListWorkspaceAccessParams 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 NewListWorkspaceAccessParamsWithContext

func NewListWorkspaceAccessParamsWithContext(ctx context.Context) *ListWorkspaceAccessParams

NewListWorkspaceAccessParamsWithContext creates a new ListWorkspaceAccessParams object with the ability to set a context for a request.

func NewListWorkspaceAccessParamsWithHTTPClient

func NewListWorkspaceAccessParamsWithHTTPClient(client *http.Client) *ListWorkspaceAccessParams

NewListWorkspaceAccessParamsWithHTTPClient creates a new ListWorkspaceAccessParams object with the ability to set a custom HTTPClient for a request.

func NewListWorkspaceAccessParamsWithTimeout

func NewListWorkspaceAccessParamsWithTimeout(timeout time.Duration) *ListWorkspaceAccessParams

NewListWorkspaceAccessParamsWithTimeout creates a new ListWorkspaceAccessParams object with the ability to set a timeout on a request.

func (*ListWorkspaceAccessParams) SetContext

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

SetContext adds the context to the list workspace access params

func (*ListWorkspaceAccessParams) SetDefaults

func (o *ListWorkspaceAccessParams) SetDefaults()

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

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

func (*ListWorkspaceAccessParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list workspace access params

func (*ListWorkspaceAccessParams) SetInput

SetInput adds the input to the list workspace access params

func (*ListWorkspaceAccessParams) SetTimeout

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

SetTimeout adds the timeout to the list workspace access params

func (*ListWorkspaceAccessParams) WithContext

WithContext adds the context to the list workspace access params

func (*ListWorkspaceAccessParams) WithDefaults

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

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

func (*ListWorkspaceAccessParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list workspace access params

func (*ListWorkspaceAccessParams) WithInput

WithInput adds the input to the list workspace access params

func (*ListWorkspaceAccessParams) WithTimeout

WithTimeout adds the timeout to the list workspace access params

func (*ListWorkspaceAccessParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListWorkspaceAccessReader

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

ListWorkspaceAccessReader is a Reader for the ListWorkspaceAccess structure.

func (*ListWorkspaceAccessReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListWorkspaceBackupsDefault

type ListWorkspaceBackupsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

ListWorkspaceBackupsDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewListWorkspaceBackupsDefault

func NewListWorkspaceBackupsDefault(code int) *ListWorkspaceBackupsDefault

NewListWorkspaceBackupsDefault creates a ListWorkspaceBackupsDefault with default headers values

func (*ListWorkspaceBackupsDefault) Code

func (o *ListWorkspaceBackupsDefault) Code() int

Code gets the status code for the list workspace backups default response

func (*ListWorkspaceBackupsDefault) Error

func (*ListWorkspaceBackupsDefault) GetPayload

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

func (*ListWorkspaceBackupsDefault) IsClientError

func (o *ListWorkspaceBackupsDefault) IsClientError() bool

IsClientError returns true when this list workspace backups default response has a 4xx status code

func (*ListWorkspaceBackupsDefault) IsCode

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

IsCode returns true when this list workspace backups default response a status code equal to that given

func (*ListWorkspaceBackupsDefault) IsRedirect

func (o *ListWorkspaceBackupsDefault) IsRedirect() bool

IsRedirect returns true when this list workspace backups default response has a 3xx status code

func (*ListWorkspaceBackupsDefault) IsServerError

func (o *ListWorkspaceBackupsDefault) IsServerError() bool

IsServerError returns true when this list workspace backups default response has a 5xx status code

func (*ListWorkspaceBackupsDefault) IsSuccess

func (o *ListWorkspaceBackupsDefault) IsSuccess() bool

IsSuccess returns true when this list workspace backups default response has a 2xx status code

func (*ListWorkspaceBackupsDefault) String

func (o *ListWorkspaceBackupsDefault) String() string

type ListWorkspaceBackupsOK

type ListWorkspaceBackupsOK struct {
	Payload *models.ListWorkspaceBackupsResponse
}

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

Expected response to a valid request.

func NewListWorkspaceBackupsOK

func NewListWorkspaceBackupsOK() *ListWorkspaceBackupsOK

NewListWorkspaceBackupsOK creates a ListWorkspaceBackupsOK with default headers values

func (*ListWorkspaceBackupsOK) Code

func (o *ListWorkspaceBackupsOK) Code() int

Code gets the status code for the list workspace backups o k response

func (*ListWorkspaceBackupsOK) Error

func (o *ListWorkspaceBackupsOK) Error() string

func (*ListWorkspaceBackupsOK) GetPayload

func (*ListWorkspaceBackupsOK) IsClientError

func (o *ListWorkspaceBackupsOK) IsClientError() bool

IsClientError returns true when this list workspace backups o k response has a 4xx status code

func (*ListWorkspaceBackupsOK) IsCode

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

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

func (*ListWorkspaceBackupsOK) IsRedirect

func (o *ListWorkspaceBackupsOK) IsRedirect() bool

IsRedirect returns true when this list workspace backups o k response has a 3xx status code

func (*ListWorkspaceBackupsOK) IsServerError

func (o *ListWorkspaceBackupsOK) IsServerError() bool

IsServerError returns true when this list workspace backups o k response has a 5xx status code

func (*ListWorkspaceBackupsOK) IsSuccess

func (o *ListWorkspaceBackupsOK) IsSuccess() bool

IsSuccess returns true when this list workspace backups o k response has a 2xx status code

func (*ListWorkspaceBackupsOK) String

func (o *ListWorkspaceBackupsOK) String() string

type ListWorkspaceBackupsParams

type ListWorkspaceBackupsParams struct {

	// Input.
	Input *models.ListWorkspaceBackupsRequest

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

ListWorkspaceBackupsParams contains all the parameters to send to the API endpoint

for the list workspace backups operation.

Typically these are written to a http.Request.

func NewListWorkspaceBackupsParams

func NewListWorkspaceBackupsParams() *ListWorkspaceBackupsParams

NewListWorkspaceBackupsParams creates a new ListWorkspaceBackupsParams 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 NewListWorkspaceBackupsParamsWithContext

func NewListWorkspaceBackupsParamsWithContext(ctx context.Context) *ListWorkspaceBackupsParams

NewListWorkspaceBackupsParamsWithContext creates a new ListWorkspaceBackupsParams object with the ability to set a context for a request.

func NewListWorkspaceBackupsParamsWithHTTPClient

func NewListWorkspaceBackupsParamsWithHTTPClient(client *http.Client) *ListWorkspaceBackupsParams

NewListWorkspaceBackupsParamsWithHTTPClient creates a new ListWorkspaceBackupsParams object with the ability to set a custom HTTPClient for a request.

func NewListWorkspaceBackupsParamsWithTimeout

func NewListWorkspaceBackupsParamsWithTimeout(timeout time.Duration) *ListWorkspaceBackupsParams

NewListWorkspaceBackupsParamsWithTimeout creates a new ListWorkspaceBackupsParams object with the ability to set a timeout on a request.

func (*ListWorkspaceBackupsParams) SetContext

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

SetContext adds the context to the list workspace backups params

func (*ListWorkspaceBackupsParams) SetDefaults

func (o *ListWorkspaceBackupsParams) SetDefaults()

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

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

func (*ListWorkspaceBackupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list workspace backups params

func (*ListWorkspaceBackupsParams) SetInput

SetInput adds the input to the list workspace backups params

func (*ListWorkspaceBackupsParams) SetTimeout

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

SetTimeout adds the timeout to the list workspace backups params

func (*ListWorkspaceBackupsParams) WithContext

WithContext adds the context to the list workspace backups params

func (*ListWorkspaceBackupsParams) WithDefaults

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

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

func (*ListWorkspaceBackupsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list workspace backups params

func (*ListWorkspaceBackupsParams) WithInput

WithInput adds the input to the list workspace backups params

func (*ListWorkspaceBackupsParams) WithTimeout

WithTimeout adds the timeout to the list workspace backups params

func (*ListWorkspaceBackupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListWorkspaceBackupsReader

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

ListWorkspaceBackupsReader is a Reader for the ListWorkspaceBackups structure.

func (*ListWorkspaceBackupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListWorkspacesDefault

type ListWorkspacesDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

ListWorkspacesDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewListWorkspacesDefault

func NewListWorkspacesDefault(code int) *ListWorkspacesDefault

NewListWorkspacesDefault creates a ListWorkspacesDefault with default headers values

func (*ListWorkspacesDefault) Code

func (o *ListWorkspacesDefault) Code() int

Code gets the status code for the list workspaces default response

func (*ListWorkspacesDefault) Error

func (o *ListWorkspacesDefault) Error() string

func (*ListWorkspacesDefault) GetPayload

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

func (*ListWorkspacesDefault) IsClientError

func (o *ListWorkspacesDefault) IsClientError() bool

IsClientError returns true when this list workspaces default response has a 4xx status code

func (*ListWorkspacesDefault) IsCode

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

IsCode returns true when this list workspaces default response a status code equal to that given

func (*ListWorkspacesDefault) IsRedirect

func (o *ListWorkspacesDefault) IsRedirect() bool

IsRedirect returns true when this list workspaces default response has a 3xx status code

func (*ListWorkspacesDefault) IsServerError

func (o *ListWorkspacesDefault) IsServerError() bool

IsServerError returns true when this list workspaces default response has a 5xx status code

func (*ListWorkspacesDefault) IsSuccess

func (o *ListWorkspacesDefault) IsSuccess() bool

IsSuccess returns true when this list workspaces default response has a 2xx status code

func (*ListWorkspacesDefault) String

func (o *ListWorkspacesDefault) String() string

type ListWorkspacesOK

type ListWorkspacesOK struct {
	Payload *models.ListWorkspacesResponse
}

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

Expected response to a valid request.

func NewListWorkspacesOK

func NewListWorkspacesOK() *ListWorkspacesOK

NewListWorkspacesOK creates a ListWorkspacesOK with default headers values

func (*ListWorkspacesOK) Code

func (o *ListWorkspacesOK) Code() int

Code gets the status code for the list workspaces o k response

func (*ListWorkspacesOK) Error

func (o *ListWorkspacesOK) Error() string

func (*ListWorkspacesOK) GetPayload

func (*ListWorkspacesOK) IsClientError

func (o *ListWorkspacesOK) IsClientError() bool

IsClientError returns true when this list workspaces o k response has a 4xx status code

func (*ListWorkspacesOK) IsCode

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

IsCode returns true when this list workspaces o k response a status code equal to that given

func (*ListWorkspacesOK) IsRedirect

func (o *ListWorkspacesOK) IsRedirect() bool

IsRedirect returns true when this list workspaces o k response has a 3xx status code

func (*ListWorkspacesOK) IsServerError

func (o *ListWorkspacesOK) IsServerError() bool

IsServerError returns true when this list workspaces o k response has a 5xx status code

func (*ListWorkspacesOK) IsSuccess

func (o *ListWorkspacesOK) IsSuccess() bool

IsSuccess returns true when this list workspaces o k response has a 2xx status code

func (*ListWorkspacesOK) String

func (o *ListWorkspacesOK) String() string

type ListWorkspacesParams

type ListWorkspacesParams struct {

	// Input.
	Input *models.ListWorkspacesRequest

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

ListWorkspacesParams contains all the parameters to send to the API endpoint

for the list workspaces operation.

Typically these are written to a http.Request.

func NewListWorkspacesParams

func NewListWorkspacesParams() *ListWorkspacesParams

NewListWorkspacesParams creates a new ListWorkspacesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListWorkspacesParamsWithContext

func NewListWorkspacesParamsWithContext(ctx context.Context) *ListWorkspacesParams

NewListWorkspacesParamsWithContext creates a new ListWorkspacesParams object with the ability to set a context for a request.

func NewListWorkspacesParamsWithHTTPClient

func NewListWorkspacesParamsWithHTTPClient(client *http.Client) *ListWorkspacesParams

NewListWorkspacesParamsWithHTTPClient creates a new ListWorkspacesParams object with the ability to set a custom HTTPClient for a request.

func NewListWorkspacesParamsWithTimeout

func NewListWorkspacesParamsWithTimeout(timeout time.Duration) *ListWorkspacesParams

NewListWorkspacesParamsWithTimeout creates a new ListWorkspacesParams object with the ability to set a timeout on a request.

func (*ListWorkspacesParams) SetContext

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

SetContext adds the context to the list workspaces params

func (*ListWorkspacesParams) SetDefaults

func (o *ListWorkspacesParams) SetDefaults()

SetDefaults hydrates default values in the list workspaces params (not the query body).

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

func (*ListWorkspacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list workspaces params

func (*ListWorkspacesParams) SetInput

SetInput adds the input to the list workspaces params

func (*ListWorkspacesParams) SetTimeout

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

SetTimeout adds the timeout to the list workspaces params

func (*ListWorkspacesParams) WithContext

WithContext adds the context to the list workspaces params

func (*ListWorkspacesParams) WithDefaults

func (o *ListWorkspacesParams) WithDefaults() *ListWorkspacesParams

WithDefaults hydrates default values in the list workspaces params (not the query body).

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

func (*ListWorkspacesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list workspaces params

func (*ListWorkspacesParams) WithInput

WithInput adds the input to the list workspaces params

func (*ListWorkspacesParams) WithTimeout

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

WithTimeout adds the timeout to the list workspaces params

func (*ListWorkspacesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListWorkspacesReader

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

ListWorkspacesReader is a Reader for the ListWorkspaces structure.

func (*ListWorkspacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ModifyClusterInstanceGroupDefault

type ModifyClusterInstanceGroupDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

ModifyClusterInstanceGroupDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewModifyClusterInstanceGroupDefault

func NewModifyClusterInstanceGroupDefault(code int) *ModifyClusterInstanceGroupDefault

NewModifyClusterInstanceGroupDefault creates a ModifyClusterInstanceGroupDefault with default headers values

func (*ModifyClusterInstanceGroupDefault) Code

Code gets the status code for the modify cluster instance group default response

func (*ModifyClusterInstanceGroupDefault) Error

func (*ModifyClusterInstanceGroupDefault) GetPayload

func (*ModifyClusterInstanceGroupDefault) IsClientError

func (o *ModifyClusterInstanceGroupDefault) IsClientError() bool

IsClientError returns true when this modify cluster instance group default response has a 4xx status code

func (*ModifyClusterInstanceGroupDefault) IsCode

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

IsCode returns true when this modify cluster instance group default response a status code equal to that given

func (*ModifyClusterInstanceGroupDefault) IsRedirect

func (o *ModifyClusterInstanceGroupDefault) IsRedirect() bool

IsRedirect returns true when this modify cluster instance group default response has a 3xx status code

func (*ModifyClusterInstanceGroupDefault) IsServerError

func (o *ModifyClusterInstanceGroupDefault) IsServerError() bool

IsServerError returns true when this modify cluster instance group default response has a 5xx status code

func (*ModifyClusterInstanceGroupDefault) IsSuccess

func (o *ModifyClusterInstanceGroupDefault) IsSuccess() bool

IsSuccess returns true when this modify cluster instance group default response has a 2xx status code

func (*ModifyClusterInstanceGroupDefault) String

type ModifyClusterInstanceGroupOK

type ModifyClusterInstanceGroupOK struct {
	Payload models.ModifyClusterInstanceGroupResponse
}

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

Expected response to a valid request.

func NewModifyClusterInstanceGroupOK

func NewModifyClusterInstanceGroupOK() *ModifyClusterInstanceGroupOK

NewModifyClusterInstanceGroupOK creates a ModifyClusterInstanceGroupOK with default headers values

func (*ModifyClusterInstanceGroupOK) Code

Code gets the status code for the modify cluster instance group o k response

func (*ModifyClusterInstanceGroupOK) Error

func (*ModifyClusterInstanceGroupOK) GetPayload

func (*ModifyClusterInstanceGroupOK) IsClientError

func (o *ModifyClusterInstanceGroupOK) IsClientError() bool

IsClientError returns true when this modify cluster instance group o k response has a 4xx status code

func (*ModifyClusterInstanceGroupOK) IsCode

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

IsCode returns true when this modify cluster instance group o k response a status code equal to that given

func (*ModifyClusterInstanceGroupOK) IsRedirect

func (o *ModifyClusterInstanceGroupOK) IsRedirect() bool

IsRedirect returns true when this modify cluster instance group o k response has a 3xx status code

func (*ModifyClusterInstanceGroupOK) IsServerError

func (o *ModifyClusterInstanceGroupOK) IsServerError() bool

IsServerError returns true when this modify cluster instance group o k response has a 5xx status code

func (*ModifyClusterInstanceGroupOK) IsSuccess

func (o *ModifyClusterInstanceGroupOK) IsSuccess() bool

IsSuccess returns true when this modify cluster instance group o k response has a 2xx status code

func (*ModifyClusterInstanceGroupOK) String

type ModifyClusterInstanceGroupParams

type ModifyClusterInstanceGroupParams struct {

	// Input.
	Input *models.ModifyClusterInstanceGroupRequest

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

ModifyClusterInstanceGroupParams contains all the parameters to send to the API endpoint

for the modify cluster instance group operation.

Typically these are written to a http.Request.

func NewModifyClusterInstanceGroupParams

func NewModifyClusterInstanceGroupParams() *ModifyClusterInstanceGroupParams

NewModifyClusterInstanceGroupParams creates a new ModifyClusterInstanceGroupParams 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 NewModifyClusterInstanceGroupParamsWithContext

func NewModifyClusterInstanceGroupParamsWithContext(ctx context.Context) *ModifyClusterInstanceGroupParams

NewModifyClusterInstanceGroupParamsWithContext creates a new ModifyClusterInstanceGroupParams object with the ability to set a context for a request.

func NewModifyClusterInstanceGroupParamsWithHTTPClient

func NewModifyClusterInstanceGroupParamsWithHTTPClient(client *http.Client) *ModifyClusterInstanceGroupParams

NewModifyClusterInstanceGroupParamsWithHTTPClient creates a new ModifyClusterInstanceGroupParams object with the ability to set a custom HTTPClient for a request.

func NewModifyClusterInstanceGroupParamsWithTimeout

func NewModifyClusterInstanceGroupParamsWithTimeout(timeout time.Duration) *ModifyClusterInstanceGroupParams

NewModifyClusterInstanceGroupParamsWithTimeout creates a new ModifyClusterInstanceGroupParams object with the ability to set a timeout on a request.

func (*ModifyClusterInstanceGroupParams) SetContext

SetContext adds the context to the modify cluster instance group params

func (*ModifyClusterInstanceGroupParams) SetDefaults

func (o *ModifyClusterInstanceGroupParams) SetDefaults()

SetDefaults hydrates default values in the modify cluster instance group params (not the query body).

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

func (*ModifyClusterInstanceGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify cluster instance group params

func (*ModifyClusterInstanceGroupParams) SetInput

SetInput adds the input to the modify cluster instance group params

func (*ModifyClusterInstanceGroupParams) SetTimeout

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

SetTimeout adds the timeout to the modify cluster instance group params

func (*ModifyClusterInstanceGroupParams) WithContext

WithContext adds the context to the modify cluster instance group params

func (*ModifyClusterInstanceGroupParams) WithDefaults

WithDefaults hydrates default values in the modify cluster instance group params (not the query body).

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

func (*ModifyClusterInstanceGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify cluster instance group params

func (*ModifyClusterInstanceGroupParams) WithInput

WithInput adds the input to the modify cluster instance group params

func (*ModifyClusterInstanceGroupParams) WithTimeout

WithTimeout adds the timeout to the modify cluster instance group params

func (*ModifyClusterInstanceGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyClusterInstanceGroupReader

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

ModifyClusterInstanceGroupReader is a Reader for the ModifyClusterInstanceGroup structure.

func (*ModifyClusterInstanceGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ModifyClusterSecurityDefault

type ModifyClusterSecurityDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

ModifyClusterSecurityDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewModifyClusterSecurityDefault

func NewModifyClusterSecurityDefault(code int) *ModifyClusterSecurityDefault

NewModifyClusterSecurityDefault creates a ModifyClusterSecurityDefault with default headers values

func (*ModifyClusterSecurityDefault) Code

Code gets the status code for the modify cluster security default response

func (*ModifyClusterSecurityDefault) Error

func (*ModifyClusterSecurityDefault) GetPayload

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

func (*ModifyClusterSecurityDefault) IsClientError

func (o *ModifyClusterSecurityDefault) IsClientError() bool

IsClientError returns true when this modify cluster security default response has a 4xx status code

func (*ModifyClusterSecurityDefault) IsCode

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

IsCode returns true when this modify cluster security default response a status code equal to that given

func (*ModifyClusterSecurityDefault) IsRedirect

func (o *ModifyClusterSecurityDefault) IsRedirect() bool

IsRedirect returns true when this modify cluster security default response has a 3xx status code

func (*ModifyClusterSecurityDefault) IsServerError

func (o *ModifyClusterSecurityDefault) IsServerError() bool

IsServerError returns true when this modify cluster security default response has a 5xx status code

func (*ModifyClusterSecurityDefault) IsSuccess

func (o *ModifyClusterSecurityDefault) IsSuccess() bool

IsSuccess returns true when this modify cluster security default response has a 2xx status code

func (*ModifyClusterSecurityDefault) String

type ModifyClusterSecurityOK

type ModifyClusterSecurityOK struct {
	Payload models.ModifyClusterSecurityResponse
}

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

Expected response to a valid request.

func NewModifyClusterSecurityOK

func NewModifyClusterSecurityOK() *ModifyClusterSecurityOK

NewModifyClusterSecurityOK creates a ModifyClusterSecurityOK with default headers values

func (*ModifyClusterSecurityOK) Code

func (o *ModifyClusterSecurityOK) Code() int

Code gets the status code for the modify cluster security o k response

func (*ModifyClusterSecurityOK) Error

func (o *ModifyClusterSecurityOK) Error() string

func (*ModifyClusterSecurityOK) GetPayload

func (*ModifyClusterSecurityOK) IsClientError

func (o *ModifyClusterSecurityOK) IsClientError() bool

IsClientError returns true when this modify cluster security o k response has a 4xx status code

func (*ModifyClusterSecurityOK) IsCode

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

IsCode returns true when this modify cluster security o k response a status code equal to that given

func (*ModifyClusterSecurityOK) IsRedirect

func (o *ModifyClusterSecurityOK) IsRedirect() bool

IsRedirect returns true when this modify cluster security o k response has a 3xx status code

func (*ModifyClusterSecurityOK) IsServerError

func (o *ModifyClusterSecurityOK) IsServerError() bool

IsServerError returns true when this modify cluster security o k response has a 5xx status code

func (*ModifyClusterSecurityOK) IsSuccess

func (o *ModifyClusterSecurityOK) IsSuccess() bool

IsSuccess returns true when this modify cluster security o k response has a 2xx status code

func (*ModifyClusterSecurityOK) String

func (o *ModifyClusterSecurityOK) String() string

type ModifyClusterSecurityParams

type ModifyClusterSecurityParams struct {

	// Input.
	Input *models.ModifyClusterSecurityRequest

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

ModifyClusterSecurityParams contains all the parameters to send to the API endpoint

for the modify cluster security operation.

Typically these are written to a http.Request.

func NewModifyClusterSecurityParams

func NewModifyClusterSecurityParams() *ModifyClusterSecurityParams

NewModifyClusterSecurityParams creates a new ModifyClusterSecurityParams 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 NewModifyClusterSecurityParamsWithContext

func NewModifyClusterSecurityParamsWithContext(ctx context.Context) *ModifyClusterSecurityParams

NewModifyClusterSecurityParamsWithContext creates a new ModifyClusterSecurityParams object with the ability to set a context for a request.

func NewModifyClusterSecurityParamsWithHTTPClient

func NewModifyClusterSecurityParamsWithHTTPClient(client *http.Client) *ModifyClusterSecurityParams

NewModifyClusterSecurityParamsWithHTTPClient creates a new ModifyClusterSecurityParams object with the ability to set a custom HTTPClient for a request.

func NewModifyClusterSecurityParamsWithTimeout

func NewModifyClusterSecurityParamsWithTimeout(timeout time.Duration) *ModifyClusterSecurityParams

NewModifyClusterSecurityParamsWithTimeout creates a new ModifyClusterSecurityParams object with the ability to set a timeout on a request.

func (*ModifyClusterSecurityParams) SetContext

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

SetContext adds the context to the modify cluster security params

func (*ModifyClusterSecurityParams) SetDefaults

func (o *ModifyClusterSecurityParams) SetDefaults()

SetDefaults hydrates default values in the modify cluster security params (not the query body).

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

func (*ModifyClusterSecurityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify cluster security params

func (*ModifyClusterSecurityParams) SetInput

SetInput adds the input to the modify cluster security params

func (*ModifyClusterSecurityParams) SetTimeout

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

SetTimeout adds the timeout to the modify cluster security params

func (*ModifyClusterSecurityParams) WithContext

WithContext adds the context to the modify cluster security params

func (*ModifyClusterSecurityParams) WithDefaults

WithDefaults hydrates default values in the modify cluster security params (not the query body).

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

func (*ModifyClusterSecurityParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify cluster security params

func (*ModifyClusterSecurityParams) WithInput

WithInput adds the input to the modify cluster security params

func (*ModifyClusterSecurityParams) WithTimeout

WithTimeout adds the timeout to the modify cluster security params

func (*ModifyClusterSecurityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyClusterSecurityReader

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

ModifyClusterSecurityReader is a Reader for the ModifyClusterSecurity structure.

func (*ModifyClusterSecurityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ModifyWorkspaceLoadBalancerDefault

type ModifyWorkspaceLoadBalancerDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

ModifyWorkspaceLoadBalancerDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewModifyWorkspaceLoadBalancerDefault

func NewModifyWorkspaceLoadBalancerDefault(code int) *ModifyWorkspaceLoadBalancerDefault

NewModifyWorkspaceLoadBalancerDefault creates a ModifyWorkspaceLoadBalancerDefault with default headers values

func (*ModifyWorkspaceLoadBalancerDefault) Code

Code gets the status code for the modify workspace load balancer default response

func (*ModifyWorkspaceLoadBalancerDefault) Error

func (*ModifyWorkspaceLoadBalancerDefault) GetPayload

func (*ModifyWorkspaceLoadBalancerDefault) IsClientError

func (o *ModifyWorkspaceLoadBalancerDefault) IsClientError() bool

IsClientError returns true when this modify workspace load balancer default response has a 4xx status code

func (*ModifyWorkspaceLoadBalancerDefault) IsCode

IsCode returns true when this modify workspace load balancer default response a status code equal to that given

func (*ModifyWorkspaceLoadBalancerDefault) IsRedirect

func (o *ModifyWorkspaceLoadBalancerDefault) IsRedirect() bool

IsRedirect returns true when this modify workspace load balancer default response has a 3xx status code

func (*ModifyWorkspaceLoadBalancerDefault) IsServerError

func (o *ModifyWorkspaceLoadBalancerDefault) IsServerError() bool

IsServerError returns true when this modify workspace load balancer default response has a 5xx status code

func (*ModifyWorkspaceLoadBalancerDefault) IsSuccess

IsSuccess returns true when this modify workspace load balancer default response has a 2xx status code

func (*ModifyWorkspaceLoadBalancerDefault) String

type ModifyWorkspaceLoadBalancerOK

type ModifyWorkspaceLoadBalancerOK struct {
	Payload models.ModifyWorkspaceLoadBalancerResponse
}

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

Expected response to a valid request.

func NewModifyWorkspaceLoadBalancerOK

func NewModifyWorkspaceLoadBalancerOK() *ModifyWorkspaceLoadBalancerOK

NewModifyWorkspaceLoadBalancerOK creates a ModifyWorkspaceLoadBalancerOK with default headers values

func (*ModifyWorkspaceLoadBalancerOK) Code

Code gets the status code for the modify workspace load balancer o k response

func (*ModifyWorkspaceLoadBalancerOK) Error

func (*ModifyWorkspaceLoadBalancerOK) GetPayload

func (*ModifyWorkspaceLoadBalancerOK) IsClientError

func (o *ModifyWorkspaceLoadBalancerOK) IsClientError() bool

IsClientError returns true when this modify workspace load balancer o k response has a 4xx status code

func (*ModifyWorkspaceLoadBalancerOK) IsCode

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

IsCode returns true when this modify workspace load balancer o k response a status code equal to that given

func (*ModifyWorkspaceLoadBalancerOK) IsRedirect

func (o *ModifyWorkspaceLoadBalancerOK) IsRedirect() bool

IsRedirect returns true when this modify workspace load balancer o k response has a 3xx status code

func (*ModifyWorkspaceLoadBalancerOK) IsServerError

func (o *ModifyWorkspaceLoadBalancerOK) IsServerError() bool

IsServerError returns true when this modify workspace load balancer o k response has a 5xx status code

func (*ModifyWorkspaceLoadBalancerOK) IsSuccess

func (o *ModifyWorkspaceLoadBalancerOK) IsSuccess() bool

IsSuccess returns true when this modify workspace load balancer o k response has a 2xx status code

func (*ModifyWorkspaceLoadBalancerOK) String

type ModifyWorkspaceLoadBalancerParams

type ModifyWorkspaceLoadBalancerParams struct {

	// Input.
	Input *models.ModifyWorkspaceLoadBalancerRequest

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

ModifyWorkspaceLoadBalancerParams contains all the parameters to send to the API endpoint

for the modify workspace load balancer operation.

Typically these are written to a http.Request.

func NewModifyWorkspaceLoadBalancerParams

func NewModifyWorkspaceLoadBalancerParams() *ModifyWorkspaceLoadBalancerParams

NewModifyWorkspaceLoadBalancerParams creates a new ModifyWorkspaceLoadBalancerParams 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 NewModifyWorkspaceLoadBalancerParamsWithContext

func NewModifyWorkspaceLoadBalancerParamsWithContext(ctx context.Context) *ModifyWorkspaceLoadBalancerParams

NewModifyWorkspaceLoadBalancerParamsWithContext creates a new ModifyWorkspaceLoadBalancerParams object with the ability to set a context for a request.

func NewModifyWorkspaceLoadBalancerParamsWithHTTPClient

func NewModifyWorkspaceLoadBalancerParamsWithHTTPClient(client *http.Client) *ModifyWorkspaceLoadBalancerParams

NewModifyWorkspaceLoadBalancerParamsWithHTTPClient creates a new ModifyWorkspaceLoadBalancerParams object with the ability to set a custom HTTPClient for a request.

func NewModifyWorkspaceLoadBalancerParamsWithTimeout

func NewModifyWorkspaceLoadBalancerParamsWithTimeout(timeout time.Duration) *ModifyWorkspaceLoadBalancerParams

NewModifyWorkspaceLoadBalancerParamsWithTimeout creates a new ModifyWorkspaceLoadBalancerParams object with the ability to set a timeout on a request.

func (*ModifyWorkspaceLoadBalancerParams) SetContext

SetContext adds the context to the modify workspace load balancer params

func (*ModifyWorkspaceLoadBalancerParams) SetDefaults

func (o *ModifyWorkspaceLoadBalancerParams) SetDefaults()

SetDefaults hydrates default values in the modify workspace load balancer params (not the query body).

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

func (*ModifyWorkspaceLoadBalancerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify workspace load balancer params

func (*ModifyWorkspaceLoadBalancerParams) SetInput

SetInput adds the input to the modify workspace load balancer params

func (*ModifyWorkspaceLoadBalancerParams) SetTimeout

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

SetTimeout adds the timeout to the modify workspace load balancer params

func (*ModifyWorkspaceLoadBalancerParams) WithContext

WithContext adds the context to the modify workspace load balancer params

func (*ModifyWorkspaceLoadBalancerParams) WithDefaults

WithDefaults hydrates default values in the modify workspace load balancer params (not the query body).

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

func (*ModifyWorkspaceLoadBalancerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify workspace load balancer params

func (*ModifyWorkspaceLoadBalancerParams) WithInput

WithInput adds the input to the modify workspace load balancer params

func (*ModifyWorkspaceLoadBalancerParams) WithTimeout

WithTimeout adds the timeout to the modify workspace load balancer params

func (*ModifyWorkspaceLoadBalancerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyWorkspaceLoadBalancerReader

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

ModifyWorkspaceLoadBalancerReader is a Reader for the ModifyWorkspaceLoadBalancer structure.

func (*ModifyWorkspaceLoadBalancerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RequestWorkflowCancellationDefault

type RequestWorkflowCancellationDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

RequestWorkflowCancellationDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewRequestWorkflowCancellationDefault

func NewRequestWorkflowCancellationDefault(code int) *RequestWorkflowCancellationDefault

NewRequestWorkflowCancellationDefault creates a RequestWorkflowCancellationDefault with default headers values

func (*RequestWorkflowCancellationDefault) Code

Code gets the status code for the request workflow cancellation default response

func (*RequestWorkflowCancellationDefault) Error

func (*RequestWorkflowCancellationDefault) GetPayload

func (*RequestWorkflowCancellationDefault) IsClientError

func (o *RequestWorkflowCancellationDefault) IsClientError() bool

IsClientError returns true when this request workflow cancellation default response has a 4xx status code

func (*RequestWorkflowCancellationDefault) IsCode

IsCode returns true when this request workflow cancellation default response a status code equal to that given

func (*RequestWorkflowCancellationDefault) IsRedirect

func (o *RequestWorkflowCancellationDefault) IsRedirect() bool

IsRedirect returns true when this request workflow cancellation default response has a 3xx status code

func (*RequestWorkflowCancellationDefault) IsServerError

func (o *RequestWorkflowCancellationDefault) IsServerError() bool

IsServerError returns true when this request workflow cancellation default response has a 5xx status code

func (*RequestWorkflowCancellationDefault) IsSuccess

IsSuccess returns true when this request workflow cancellation default response has a 2xx status code

func (*RequestWorkflowCancellationDefault) String

type RequestWorkflowCancellationOK

type RequestWorkflowCancellationOK struct {
	Payload *models.RequestWorkflowCancellationResponse
}

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

Expected response to a valid request.

func NewRequestWorkflowCancellationOK

func NewRequestWorkflowCancellationOK() *RequestWorkflowCancellationOK

NewRequestWorkflowCancellationOK creates a RequestWorkflowCancellationOK with default headers values

func (*RequestWorkflowCancellationOK) Code

Code gets the status code for the request workflow cancellation o k response

func (*RequestWorkflowCancellationOK) Error

func (*RequestWorkflowCancellationOK) GetPayload

func (*RequestWorkflowCancellationOK) IsClientError

func (o *RequestWorkflowCancellationOK) IsClientError() bool

IsClientError returns true when this request workflow cancellation o k response has a 4xx status code

func (*RequestWorkflowCancellationOK) IsCode

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

IsCode returns true when this request workflow cancellation o k response a status code equal to that given

func (*RequestWorkflowCancellationOK) IsRedirect

func (o *RequestWorkflowCancellationOK) IsRedirect() bool

IsRedirect returns true when this request workflow cancellation o k response has a 3xx status code

func (*RequestWorkflowCancellationOK) IsServerError

func (o *RequestWorkflowCancellationOK) IsServerError() bool

IsServerError returns true when this request workflow cancellation o k response has a 5xx status code

func (*RequestWorkflowCancellationOK) IsSuccess

func (o *RequestWorkflowCancellationOK) IsSuccess() bool

IsSuccess returns true when this request workflow cancellation o k response has a 2xx status code

func (*RequestWorkflowCancellationOK) String

type RequestWorkflowCancellationParams

type RequestWorkflowCancellationParams struct {

	// Input.
	Input *models.RequestWorkflowCancellationRequest

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

RequestWorkflowCancellationParams contains all the parameters to send to the API endpoint

for the request workflow cancellation operation.

Typically these are written to a http.Request.

func NewRequestWorkflowCancellationParams

func NewRequestWorkflowCancellationParams() *RequestWorkflowCancellationParams

NewRequestWorkflowCancellationParams creates a new RequestWorkflowCancellationParams 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 NewRequestWorkflowCancellationParamsWithContext

func NewRequestWorkflowCancellationParamsWithContext(ctx context.Context) *RequestWorkflowCancellationParams

NewRequestWorkflowCancellationParamsWithContext creates a new RequestWorkflowCancellationParams object with the ability to set a context for a request.

func NewRequestWorkflowCancellationParamsWithHTTPClient

func NewRequestWorkflowCancellationParamsWithHTTPClient(client *http.Client) *RequestWorkflowCancellationParams

NewRequestWorkflowCancellationParamsWithHTTPClient creates a new RequestWorkflowCancellationParams object with the ability to set a custom HTTPClient for a request.

func NewRequestWorkflowCancellationParamsWithTimeout

func NewRequestWorkflowCancellationParamsWithTimeout(timeout time.Duration) *RequestWorkflowCancellationParams

NewRequestWorkflowCancellationParamsWithTimeout creates a new RequestWorkflowCancellationParams object with the ability to set a timeout on a request.

func (*RequestWorkflowCancellationParams) SetContext

SetContext adds the context to the request workflow cancellation params

func (*RequestWorkflowCancellationParams) SetDefaults

func (o *RequestWorkflowCancellationParams) SetDefaults()

SetDefaults hydrates default values in the request workflow cancellation params (not the query body).

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

func (*RequestWorkflowCancellationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the request workflow cancellation params

func (*RequestWorkflowCancellationParams) SetInput

SetInput adds the input to the request workflow cancellation params

func (*RequestWorkflowCancellationParams) SetTimeout

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

SetTimeout adds the timeout to the request workflow cancellation params

func (*RequestWorkflowCancellationParams) WithContext

WithContext adds the context to the request workflow cancellation params

func (*RequestWorkflowCancellationParams) WithDefaults

WithDefaults hydrates default values in the request workflow cancellation params (not the query body).

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

func (*RequestWorkflowCancellationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the request workflow cancellation params

func (*RequestWorkflowCancellationParams) WithInput

WithInput adds the input to the request workflow cancellation params

func (*RequestWorkflowCancellationParams) WithTimeout

WithTimeout adds the timeout to the request workflow cancellation params

func (*RequestWorkflowCancellationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RequestWorkflowCancellationReader

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

RequestWorkflowCancellationReader is a Reader for the RequestWorkflowCancellation structure.

func (*RequestWorkflowCancellationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestoreWorkspaceDefault

type RestoreWorkspaceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

RestoreWorkspaceDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewRestoreWorkspaceDefault

func NewRestoreWorkspaceDefault(code int) *RestoreWorkspaceDefault

NewRestoreWorkspaceDefault creates a RestoreWorkspaceDefault with default headers values

func (*RestoreWorkspaceDefault) Code

func (o *RestoreWorkspaceDefault) Code() int

Code gets the status code for the restore workspace default response

func (*RestoreWorkspaceDefault) Error

func (o *RestoreWorkspaceDefault) Error() string

func (*RestoreWorkspaceDefault) GetPayload

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

func (*RestoreWorkspaceDefault) IsClientError

func (o *RestoreWorkspaceDefault) IsClientError() bool

IsClientError returns true when this restore workspace default response has a 4xx status code

func (*RestoreWorkspaceDefault) IsCode

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

IsCode returns true when this restore workspace default response a status code equal to that given

func (*RestoreWorkspaceDefault) IsRedirect

func (o *RestoreWorkspaceDefault) IsRedirect() bool

IsRedirect returns true when this restore workspace default response has a 3xx status code

func (*RestoreWorkspaceDefault) IsServerError

func (o *RestoreWorkspaceDefault) IsServerError() bool

IsServerError returns true when this restore workspace default response has a 5xx status code

func (*RestoreWorkspaceDefault) IsSuccess

func (o *RestoreWorkspaceDefault) IsSuccess() bool

IsSuccess returns true when this restore workspace default response has a 2xx status code

func (*RestoreWorkspaceDefault) String

func (o *RestoreWorkspaceDefault) String() string

type RestoreWorkspaceOK

type RestoreWorkspaceOK struct {
	Payload *models.RestoreWorkspaceResponse
}

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

Expected response to a valid request.

func NewRestoreWorkspaceOK

func NewRestoreWorkspaceOK() *RestoreWorkspaceOK

NewRestoreWorkspaceOK creates a RestoreWorkspaceOK with default headers values

func (*RestoreWorkspaceOK) Code

func (o *RestoreWorkspaceOK) Code() int

Code gets the status code for the restore workspace o k response

func (*RestoreWorkspaceOK) Error

func (o *RestoreWorkspaceOK) Error() string

func (*RestoreWorkspaceOK) GetPayload

func (*RestoreWorkspaceOK) IsClientError

func (o *RestoreWorkspaceOK) IsClientError() bool

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

func (*RestoreWorkspaceOK) IsCode

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

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

func (*RestoreWorkspaceOK) IsRedirect

func (o *RestoreWorkspaceOK) IsRedirect() bool

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

func (*RestoreWorkspaceOK) IsServerError

func (o *RestoreWorkspaceOK) IsServerError() bool

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

func (*RestoreWorkspaceOK) IsSuccess

func (o *RestoreWorkspaceOK) IsSuccess() bool

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

func (*RestoreWorkspaceOK) String

func (o *RestoreWorkspaceOK) String() string

type RestoreWorkspaceParams

type RestoreWorkspaceParams struct {

	// Input.
	Input *models.RestoreWorkspaceRequest

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

RestoreWorkspaceParams contains all the parameters to send to the API endpoint

for the restore workspace operation.

Typically these are written to a http.Request.

func NewRestoreWorkspaceParams

func NewRestoreWorkspaceParams() *RestoreWorkspaceParams

NewRestoreWorkspaceParams creates a new RestoreWorkspaceParams 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 NewRestoreWorkspaceParamsWithContext

func NewRestoreWorkspaceParamsWithContext(ctx context.Context) *RestoreWorkspaceParams

NewRestoreWorkspaceParamsWithContext creates a new RestoreWorkspaceParams object with the ability to set a context for a request.

func NewRestoreWorkspaceParamsWithHTTPClient

func NewRestoreWorkspaceParamsWithHTTPClient(client *http.Client) *RestoreWorkspaceParams

NewRestoreWorkspaceParamsWithHTTPClient creates a new RestoreWorkspaceParams object with the ability to set a custom HTTPClient for a request.

func NewRestoreWorkspaceParamsWithTimeout

func NewRestoreWorkspaceParamsWithTimeout(timeout time.Duration) *RestoreWorkspaceParams

NewRestoreWorkspaceParamsWithTimeout creates a new RestoreWorkspaceParams object with the ability to set a timeout on a request.

func (*RestoreWorkspaceParams) SetContext

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

SetContext adds the context to the restore workspace params

func (*RestoreWorkspaceParams) SetDefaults

func (o *RestoreWorkspaceParams) SetDefaults()

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

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

func (*RestoreWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the restore workspace params

func (*RestoreWorkspaceParams) SetInput

SetInput adds the input to the restore workspace params

func (*RestoreWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the restore workspace params

func (*RestoreWorkspaceParams) WithContext

WithContext adds the context to the restore workspace params

func (*RestoreWorkspaceParams) WithDefaults

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

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

func (*RestoreWorkspaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the restore workspace params

func (*RestoreWorkspaceParams) WithInput

WithInput adds the input to the restore workspace params

func (*RestoreWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the restore workspace params

func (*RestoreWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestoreWorkspaceReader

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

RestoreWorkspaceReader is a Reader for the RestoreWorkspace structure.

func (*RestoreWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResumeWorkspaceDefault

type ResumeWorkspaceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

ResumeWorkspaceDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewResumeWorkspaceDefault

func NewResumeWorkspaceDefault(code int) *ResumeWorkspaceDefault

NewResumeWorkspaceDefault creates a ResumeWorkspaceDefault with default headers values

func (*ResumeWorkspaceDefault) Code

func (o *ResumeWorkspaceDefault) Code() int

Code gets the status code for the resume workspace default response

func (*ResumeWorkspaceDefault) Error

func (o *ResumeWorkspaceDefault) Error() string

func (*ResumeWorkspaceDefault) GetPayload

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

func (*ResumeWorkspaceDefault) IsClientError

func (o *ResumeWorkspaceDefault) IsClientError() bool

IsClientError returns true when this resume workspace default response has a 4xx status code

func (*ResumeWorkspaceDefault) IsCode

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

IsCode returns true when this resume workspace default response a status code equal to that given

func (*ResumeWorkspaceDefault) IsRedirect

func (o *ResumeWorkspaceDefault) IsRedirect() bool

IsRedirect returns true when this resume workspace default response has a 3xx status code

func (*ResumeWorkspaceDefault) IsServerError

func (o *ResumeWorkspaceDefault) IsServerError() bool

IsServerError returns true when this resume workspace default response has a 5xx status code

func (*ResumeWorkspaceDefault) IsSuccess

func (o *ResumeWorkspaceDefault) IsSuccess() bool

IsSuccess returns true when this resume workspace default response has a 2xx status code

func (*ResumeWorkspaceDefault) String

func (o *ResumeWorkspaceDefault) String() string

type ResumeWorkspaceOK

type ResumeWorkspaceOK struct {
	Payload models.ResumeWorkspaceResponse
}

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

Expected response to a valid request.

func NewResumeWorkspaceOK

func NewResumeWorkspaceOK() *ResumeWorkspaceOK

NewResumeWorkspaceOK creates a ResumeWorkspaceOK with default headers values

func (*ResumeWorkspaceOK) Code

func (o *ResumeWorkspaceOK) Code() int

Code gets the status code for the resume workspace o k response

func (*ResumeWorkspaceOK) Error

func (o *ResumeWorkspaceOK) Error() string

func (*ResumeWorkspaceOK) GetPayload

func (*ResumeWorkspaceOK) IsClientError

func (o *ResumeWorkspaceOK) IsClientError() bool

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

func (*ResumeWorkspaceOK) IsCode

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

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

func (*ResumeWorkspaceOK) IsRedirect

func (o *ResumeWorkspaceOK) IsRedirect() bool

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

func (*ResumeWorkspaceOK) IsServerError

func (o *ResumeWorkspaceOK) IsServerError() bool

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

func (*ResumeWorkspaceOK) IsSuccess

func (o *ResumeWorkspaceOK) IsSuccess() bool

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

func (*ResumeWorkspaceOK) String

func (o *ResumeWorkspaceOK) String() string

type ResumeWorkspaceParams

type ResumeWorkspaceParams struct {

	// Input.
	Input *models.ResumeWorkspaceRequest

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

ResumeWorkspaceParams contains all the parameters to send to the API endpoint

for the resume workspace operation.

Typically these are written to a http.Request.

func NewResumeWorkspaceParams

func NewResumeWorkspaceParams() *ResumeWorkspaceParams

NewResumeWorkspaceParams creates a new ResumeWorkspaceParams 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 NewResumeWorkspaceParamsWithContext

func NewResumeWorkspaceParamsWithContext(ctx context.Context) *ResumeWorkspaceParams

NewResumeWorkspaceParamsWithContext creates a new ResumeWorkspaceParams object with the ability to set a context for a request.

func NewResumeWorkspaceParamsWithHTTPClient

func NewResumeWorkspaceParamsWithHTTPClient(client *http.Client) *ResumeWorkspaceParams

NewResumeWorkspaceParamsWithHTTPClient creates a new ResumeWorkspaceParams object with the ability to set a custom HTTPClient for a request.

func NewResumeWorkspaceParamsWithTimeout

func NewResumeWorkspaceParamsWithTimeout(timeout time.Duration) *ResumeWorkspaceParams

NewResumeWorkspaceParamsWithTimeout creates a new ResumeWorkspaceParams object with the ability to set a timeout on a request.

func (*ResumeWorkspaceParams) SetContext

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

SetContext adds the context to the resume workspace params

func (*ResumeWorkspaceParams) SetDefaults

func (o *ResumeWorkspaceParams) SetDefaults()

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

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

func (*ResumeWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resume workspace params

func (*ResumeWorkspaceParams) SetInput

SetInput adds the input to the resume workspace params

func (*ResumeWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the resume workspace params

func (*ResumeWorkspaceParams) WithContext

WithContext adds the context to the resume workspace params

func (*ResumeWorkspaceParams) WithDefaults

func (o *ResumeWorkspaceParams) WithDefaults() *ResumeWorkspaceParams

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

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

func (*ResumeWorkspaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the resume workspace params

func (*ResumeWorkspaceParams) WithInput

WithInput adds the input to the resume workspace params

func (*ResumeWorkspaceParams) WithTimeout

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

WithTimeout adds the timeout to the resume workspace params

func (*ResumeWorkspaceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ResumeWorkspaceReader

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

ResumeWorkspaceReader is a Reader for the ResumeWorkspace structure.

func (*ResumeWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeWorkspaceAccessDefault

type RevokeWorkspaceAccessDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

RevokeWorkspaceAccessDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewRevokeWorkspaceAccessDefault

func NewRevokeWorkspaceAccessDefault(code int) *RevokeWorkspaceAccessDefault

NewRevokeWorkspaceAccessDefault creates a RevokeWorkspaceAccessDefault with default headers values

func (*RevokeWorkspaceAccessDefault) Code

Code gets the status code for the revoke workspace access default response

func (*RevokeWorkspaceAccessDefault) Error

func (*RevokeWorkspaceAccessDefault) GetPayload

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

func (*RevokeWorkspaceAccessDefault) IsClientError

func (o *RevokeWorkspaceAccessDefault) IsClientError() bool

IsClientError returns true when this revoke workspace access default response has a 4xx status code

func (*RevokeWorkspaceAccessDefault) IsCode

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

IsCode returns true when this revoke workspace access default response a status code equal to that given

func (*RevokeWorkspaceAccessDefault) IsRedirect

func (o *RevokeWorkspaceAccessDefault) IsRedirect() bool

IsRedirect returns true when this revoke workspace access default response has a 3xx status code

func (*RevokeWorkspaceAccessDefault) IsServerError

func (o *RevokeWorkspaceAccessDefault) IsServerError() bool

IsServerError returns true when this revoke workspace access default response has a 5xx status code

func (*RevokeWorkspaceAccessDefault) IsSuccess

func (o *RevokeWorkspaceAccessDefault) IsSuccess() bool

IsSuccess returns true when this revoke workspace access default response has a 2xx status code

func (*RevokeWorkspaceAccessDefault) String

type RevokeWorkspaceAccessOK

type RevokeWorkspaceAccessOK struct {
	Payload models.RevokeWorkspaceAccessResponse
}

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

Expected response to a valid request.

func NewRevokeWorkspaceAccessOK

func NewRevokeWorkspaceAccessOK() *RevokeWorkspaceAccessOK

NewRevokeWorkspaceAccessOK creates a RevokeWorkspaceAccessOK with default headers values

func (*RevokeWorkspaceAccessOK) Code

func (o *RevokeWorkspaceAccessOK) Code() int

Code gets the status code for the revoke workspace access o k response

func (*RevokeWorkspaceAccessOK) Error

func (o *RevokeWorkspaceAccessOK) Error() string

func (*RevokeWorkspaceAccessOK) GetPayload

func (*RevokeWorkspaceAccessOK) IsClientError

func (o *RevokeWorkspaceAccessOK) IsClientError() bool

IsClientError returns true when this revoke workspace access o k response has a 4xx status code

func (*RevokeWorkspaceAccessOK) IsCode

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

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

func (*RevokeWorkspaceAccessOK) IsRedirect

func (o *RevokeWorkspaceAccessOK) IsRedirect() bool

IsRedirect returns true when this revoke workspace access o k response has a 3xx status code

func (*RevokeWorkspaceAccessOK) IsServerError

func (o *RevokeWorkspaceAccessOK) IsServerError() bool

IsServerError returns true when this revoke workspace access o k response has a 5xx status code

func (*RevokeWorkspaceAccessOK) IsSuccess

func (o *RevokeWorkspaceAccessOK) IsSuccess() bool

IsSuccess returns true when this revoke workspace access o k response has a 2xx status code

func (*RevokeWorkspaceAccessOK) String

func (o *RevokeWorkspaceAccessOK) String() string

type RevokeWorkspaceAccessParams

type RevokeWorkspaceAccessParams struct {

	// Input.
	Input *models.RevokeWorkspaceAccessRequest

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

RevokeWorkspaceAccessParams contains all the parameters to send to the API endpoint

for the revoke workspace access operation.

Typically these are written to a http.Request.

func NewRevokeWorkspaceAccessParams

func NewRevokeWorkspaceAccessParams() *RevokeWorkspaceAccessParams

NewRevokeWorkspaceAccessParams creates a new RevokeWorkspaceAccessParams 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 NewRevokeWorkspaceAccessParamsWithContext

func NewRevokeWorkspaceAccessParamsWithContext(ctx context.Context) *RevokeWorkspaceAccessParams

NewRevokeWorkspaceAccessParamsWithContext creates a new RevokeWorkspaceAccessParams object with the ability to set a context for a request.

func NewRevokeWorkspaceAccessParamsWithHTTPClient

func NewRevokeWorkspaceAccessParamsWithHTTPClient(client *http.Client) *RevokeWorkspaceAccessParams

NewRevokeWorkspaceAccessParamsWithHTTPClient creates a new RevokeWorkspaceAccessParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeWorkspaceAccessParamsWithTimeout

func NewRevokeWorkspaceAccessParamsWithTimeout(timeout time.Duration) *RevokeWorkspaceAccessParams

NewRevokeWorkspaceAccessParamsWithTimeout creates a new RevokeWorkspaceAccessParams object with the ability to set a timeout on a request.

func (*RevokeWorkspaceAccessParams) SetContext

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

SetContext adds the context to the revoke workspace access params

func (*RevokeWorkspaceAccessParams) SetDefaults

func (o *RevokeWorkspaceAccessParams) SetDefaults()

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

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

func (*RevokeWorkspaceAccessParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke workspace access params

func (*RevokeWorkspaceAccessParams) SetInput

SetInput adds the input to the revoke workspace access params

func (*RevokeWorkspaceAccessParams) SetTimeout

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

SetTimeout adds the timeout to the revoke workspace access params

func (*RevokeWorkspaceAccessParams) WithContext

WithContext adds the context to the revoke workspace access params

func (*RevokeWorkspaceAccessParams) WithDefaults

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

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

func (*RevokeWorkspaceAccessParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the revoke workspace access params

func (*RevokeWorkspaceAccessParams) WithInput

WithInput adds the input to the revoke workspace access params

func (*RevokeWorkspaceAccessParams) WithTimeout

WithTimeout adds the timeout to the revoke workspace access params

func (*RevokeWorkspaceAccessParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeWorkspaceAccessReader

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

RevokeWorkspaceAccessReader is a Reader for the RevokeWorkspaceAccess structure.

func (*RevokeWorkspaceAccessReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SuspendWorkspaceDefault

type SuspendWorkspaceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

SuspendWorkspaceDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewSuspendWorkspaceDefault

func NewSuspendWorkspaceDefault(code int) *SuspendWorkspaceDefault

NewSuspendWorkspaceDefault creates a SuspendWorkspaceDefault with default headers values

func (*SuspendWorkspaceDefault) Code

func (o *SuspendWorkspaceDefault) Code() int

Code gets the status code for the suspend workspace default response

func (*SuspendWorkspaceDefault) Error

func (o *SuspendWorkspaceDefault) Error() string

func (*SuspendWorkspaceDefault) GetPayload

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

func (*SuspendWorkspaceDefault) IsClientError

func (o *SuspendWorkspaceDefault) IsClientError() bool

IsClientError returns true when this suspend workspace default response has a 4xx status code

func (*SuspendWorkspaceDefault) IsCode

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

IsCode returns true when this suspend workspace default response a status code equal to that given

func (*SuspendWorkspaceDefault) IsRedirect

func (o *SuspendWorkspaceDefault) IsRedirect() bool

IsRedirect returns true when this suspend workspace default response has a 3xx status code

func (*SuspendWorkspaceDefault) IsServerError

func (o *SuspendWorkspaceDefault) IsServerError() bool

IsServerError returns true when this suspend workspace default response has a 5xx status code

func (*SuspendWorkspaceDefault) IsSuccess

func (o *SuspendWorkspaceDefault) IsSuccess() bool

IsSuccess returns true when this suspend workspace default response has a 2xx status code

func (*SuspendWorkspaceDefault) String

func (o *SuspendWorkspaceDefault) String() string

type SuspendWorkspaceOK

type SuspendWorkspaceOK struct {
	Payload models.SuspendWorkspaceResponse
}

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

Expected response to a valid request.

func NewSuspendWorkspaceOK

func NewSuspendWorkspaceOK() *SuspendWorkspaceOK

NewSuspendWorkspaceOK creates a SuspendWorkspaceOK with default headers values

func (*SuspendWorkspaceOK) Code

func (o *SuspendWorkspaceOK) Code() int

Code gets the status code for the suspend workspace o k response

func (*SuspendWorkspaceOK) Error

func (o *SuspendWorkspaceOK) Error() string

func (*SuspendWorkspaceOK) GetPayload

func (*SuspendWorkspaceOK) IsClientError

func (o *SuspendWorkspaceOK) IsClientError() bool

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

func (*SuspendWorkspaceOK) IsCode

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

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

func (*SuspendWorkspaceOK) IsRedirect

func (o *SuspendWorkspaceOK) IsRedirect() bool

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

func (*SuspendWorkspaceOK) IsServerError

func (o *SuspendWorkspaceOK) IsServerError() bool

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

func (*SuspendWorkspaceOK) IsSuccess

func (o *SuspendWorkspaceOK) IsSuccess() bool

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

func (*SuspendWorkspaceOK) String

func (o *SuspendWorkspaceOK) String() string

type SuspendWorkspaceParams

type SuspendWorkspaceParams struct {

	// Input.
	Input *models.SuspendWorkspaceRequest

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

SuspendWorkspaceParams contains all the parameters to send to the API endpoint

for the suspend workspace operation.

Typically these are written to a http.Request.

func NewSuspendWorkspaceParams

func NewSuspendWorkspaceParams() *SuspendWorkspaceParams

NewSuspendWorkspaceParams creates a new SuspendWorkspaceParams 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 NewSuspendWorkspaceParamsWithContext

func NewSuspendWorkspaceParamsWithContext(ctx context.Context) *SuspendWorkspaceParams

NewSuspendWorkspaceParamsWithContext creates a new SuspendWorkspaceParams object with the ability to set a context for a request.

func NewSuspendWorkspaceParamsWithHTTPClient

func NewSuspendWorkspaceParamsWithHTTPClient(client *http.Client) *SuspendWorkspaceParams

NewSuspendWorkspaceParamsWithHTTPClient creates a new SuspendWorkspaceParams object with the ability to set a custom HTTPClient for a request.

func NewSuspendWorkspaceParamsWithTimeout

func NewSuspendWorkspaceParamsWithTimeout(timeout time.Duration) *SuspendWorkspaceParams

NewSuspendWorkspaceParamsWithTimeout creates a new SuspendWorkspaceParams object with the ability to set a timeout on a request.

func (*SuspendWorkspaceParams) SetContext

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

SetContext adds the context to the suspend workspace params

func (*SuspendWorkspaceParams) SetDefaults

func (o *SuspendWorkspaceParams) SetDefaults()

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

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

func (*SuspendWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the suspend workspace params

func (*SuspendWorkspaceParams) SetInput

SetInput adds the input to the suspend workspace params

func (*SuspendWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the suspend workspace params

func (*SuspendWorkspaceParams) WithContext

WithContext adds the context to the suspend workspace params

func (*SuspendWorkspaceParams) WithDefaults

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

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

func (*SuspendWorkspaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the suspend workspace params

func (*SuspendWorkspaceParams) WithInput

WithInput adds the input to the suspend workspace params

func (*SuspendWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the suspend workspace params

func (*SuspendWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SuspendWorkspaceReader

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

SuspendWorkspaceReader is a Reader for the SuspendWorkspace structure.

func (*SuspendWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpgradeWorkspaceDefault

type UpgradeWorkspaceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

UpgradeWorkspaceDefault describes a response with status code -1, with default header values.

The default response on an error.

func NewUpgradeWorkspaceDefault

func NewUpgradeWorkspaceDefault(code int) *UpgradeWorkspaceDefault

NewUpgradeWorkspaceDefault creates a UpgradeWorkspaceDefault with default headers values

func (*UpgradeWorkspaceDefault) Code

func (o *UpgradeWorkspaceDefault) Code() int

Code gets the status code for the upgrade workspace default response

func (*UpgradeWorkspaceDefault) Error

func (o *UpgradeWorkspaceDefault) Error() string

func (*UpgradeWorkspaceDefault) GetPayload

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

func (*UpgradeWorkspaceDefault) IsClientError

func (o *UpgradeWorkspaceDefault) IsClientError() bool

IsClientError returns true when this upgrade workspace default response has a 4xx status code

func (*UpgradeWorkspaceDefault) IsCode

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

IsCode returns true when this upgrade workspace default response a status code equal to that given

func (*UpgradeWorkspaceDefault) IsRedirect

func (o *UpgradeWorkspaceDefault) IsRedirect() bool

IsRedirect returns true when this upgrade workspace default response has a 3xx status code

func (*UpgradeWorkspaceDefault) IsServerError

func (o *UpgradeWorkspaceDefault) IsServerError() bool

IsServerError returns true when this upgrade workspace default response has a 5xx status code

func (*UpgradeWorkspaceDefault) IsSuccess

func (o *UpgradeWorkspaceDefault) IsSuccess() bool

IsSuccess returns true when this upgrade workspace default response has a 2xx status code

func (*UpgradeWorkspaceDefault) String

func (o *UpgradeWorkspaceDefault) String() string

type UpgradeWorkspaceOK

type UpgradeWorkspaceOK struct {
	Payload models.UpgradeWorkspaceResponse
}

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

Expected response to a valid request.

func NewUpgradeWorkspaceOK

func NewUpgradeWorkspaceOK() *UpgradeWorkspaceOK

NewUpgradeWorkspaceOK creates a UpgradeWorkspaceOK with default headers values

func (*UpgradeWorkspaceOK) Code

func (o *UpgradeWorkspaceOK) Code() int

Code gets the status code for the upgrade workspace o k response

func (*UpgradeWorkspaceOK) Error

func (o *UpgradeWorkspaceOK) Error() string

func (*UpgradeWorkspaceOK) GetPayload

func (*UpgradeWorkspaceOK) IsClientError

func (o *UpgradeWorkspaceOK) IsClientError() bool

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

func (*UpgradeWorkspaceOK) IsCode

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

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

func (*UpgradeWorkspaceOK) IsRedirect

func (o *UpgradeWorkspaceOK) IsRedirect() bool

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

func (*UpgradeWorkspaceOK) IsServerError

func (o *UpgradeWorkspaceOK) IsServerError() bool

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

func (*UpgradeWorkspaceOK) IsSuccess

func (o *UpgradeWorkspaceOK) IsSuccess() bool

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

func (*UpgradeWorkspaceOK) String

func (o *UpgradeWorkspaceOK) String() string

type UpgradeWorkspaceParams

type UpgradeWorkspaceParams struct {

	// Input.
	Input *models.UpgradeWorkspaceRequest

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

UpgradeWorkspaceParams contains all the parameters to send to the API endpoint

for the upgrade workspace operation.

Typically these are written to a http.Request.

func NewUpgradeWorkspaceParams

func NewUpgradeWorkspaceParams() *UpgradeWorkspaceParams

NewUpgradeWorkspaceParams creates a new UpgradeWorkspaceParams 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 NewUpgradeWorkspaceParamsWithContext

func NewUpgradeWorkspaceParamsWithContext(ctx context.Context) *UpgradeWorkspaceParams

NewUpgradeWorkspaceParamsWithContext creates a new UpgradeWorkspaceParams object with the ability to set a context for a request.

func NewUpgradeWorkspaceParamsWithHTTPClient

func NewUpgradeWorkspaceParamsWithHTTPClient(client *http.Client) *UpgradeWorkspaceParams

NewUpgradeWorkspaceParamsWithHTTPClient creates a new UpgradeWorkspaceParams object with the ability to set a custom HTTPClient for a request.

func NewUpgradeWorkspaceParamsWithTimeout

func NewUpgradeWorkspaceParamsWithTimeout(timeout time.Duration) *UpgradeWorkspaceParams

NewUpgradeWorkspaceParamsWithTimeout creates a new UpgradeWorkspaceParams object with the ability to set a timeout on a request.

func (*UpgradeWorkspaceParams) SetContext

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

SetContext adds the context to the upgrade workspace params

func (*UpgradeWorkspaceParams) SetDefaults

func (o *UpgradeWorkspaceParams) SetDefaults()

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

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

func (*UpgradeWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upgrade workspace params

func (*UpgradeWorkspaceParams) SetInput

SetInput adds the input to the upgrade workspace params

func (*UpgradeWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the upgrade workspace params

func (*UpgradeWorkspaceParams) WithContext

WithContext adds the context to the upgrade workspace params

func (*UpgradeWorkspaceParams) WithDefaults

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

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

func (*UpgradeWorkspaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upgrade workspace params

func (*UpgradeWorkspaceParams) WithInput

WithInput adds the input to the upgrade workspace params

func (*UpgradeWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the upgrade workspace params

func (*UpgradeWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpgradeWorkspaceReader

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

UpgradeWorkspaceReader is a Reader for the UpgradeWorkspace structure.

func (*UpgradeWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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