workspaces

package
v1.8.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for workspaces API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) V1WorkspacesGet

func (a *Client) V1WorkspacesGet(params *V1WorkspacesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1WorkspacesGetOK, error)

V1WorkspacesGet gets a workspace s information and capabilities

func (*Client) V1WorkspacesGetall added in v1.5.1

func (a *Client) V1WorkspacesGetall(params *V1WorkspacesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1WorkspacesGetallOK, error)

V1WorkspacesGetall gets all workspaces information and capabilities for a tenant

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	V1WorkspacesGet(params *V1WorkspacesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1WorkspacesGetOK, error)

	V1WorkspacesGetall(params *V1WorkspacesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1WorkspacesGetallOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new workspaces API client.

func NewClientWithBasicAuth added in v1.7.0

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new workspaces API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken added in v1.7.0

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new workspaces API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type V1WorkspacesGetBadRequest

type V1WorkspacesGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewV1WorkspacesGetBadRequest

func NewV1WorkspacesGetBadRequest() *V1WorkspacesGetBadRequest

NewV1WorkspacesGetBadRequest creates a V1WorkspacesGetBadRequest with default headers values

func (*V1WorkspacesGetBadRequest) Code

func (o *V1WorkspacesGetBadRequest) Code() int

Code gets the status code for the v1 workspaces get bad request response

func (*V1WorkspacesGetBadRequest) Error

func (o *V1WorkspacesGetBadRequest) Error() string

func (*V1WorkspacesGetBadRequest) GetPayload

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

func (*V1WorkspacesGetBadRequest) IsClientError

func (o *V1WorkspacesGetBadRequest) IsClientError() bool

IsClientError returns true when this v1 workspaces get bad request response has a 4xx status code

func (*V1WorkspacesGetBadRequest) IsCode

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

IsCode returns true when this v1 workspaces get bad request response a status code equal to that given

func (*V1WorkspacesGetBadRequest) IsRedirect

func (o *V1WorkspacesGetBadRequest) IsRedirect() bool

IsRedirect returns true when this v1 workspaces get bad request response has a 3xx status code

func (*V1WorkspacesGetBadRequest) IsServerError

func (o *V1WorkspacesGetBadRequest) IsServerError() bool

IsServerError returns true when this v1 workspaces get bad request response has a 5xx status code

func (*V1WorkspacesGetBadRequest) IsSuccess

func (o *V1WorkspacesGetBadRequest) IsSuccess() bool

IsSuccess returns true when this v1 workspaces get bad request response has a 2xx status code

func (*V1WorkspacesGetBadRequest) String

func (o *V1WorkspacesGetBadRequest) String() string

type V1WorkspacesGetForbidden

type V1WorkspacesGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewV1WorkspacesGetForbidden

func NewV1WorkspacesGetForbidden() *V1WorkspacesGetForbidden

NewV1WorkspacesGetForbidden creates a V1WorkspacesGetForbidden with default headers values

func (*V1WorkspacesGetForbidden) Code

func (o *V1WorkspacesGetForbidden) Code() int

Code gets the status code for the v1 workspaces get forbidden response

func (*V1WorkspacesGetForbidden) Error

func (o *V1WorkspacesGetForbidden) Error() string

func (*V1WorkspacesGetForbidden) GetPayload

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

func (*V1WorkspacesGetForbidden) IsClientError

func (o *V1WorkspacesGetForbidden) IsClientError() bool

IsClientError returns true when this v1 workspaces get forbidden response has a 4xx status code

func (*V1WorkspacesGetForbidden) IsCode

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

IsCode returns true when this v1 workspaces get forbidden response a status code equal to that given

func (*V1WorkspacesGetForbidden) IsRedirect

func (o *V1WorkspacesGetForbidden) IsRedirect() bool

IsRedirect returns true when this v1 workspaces get forbidden response has a 3xx status code

func (*V1WorkspacesGetForbidden) IsServerError

func (o *V1WorkspacesGetForbidden) IsServerError() bool

IsServerError returns true when this v1 workspaces get forbidden response has a 5xx status code

func (*V1WorkspacesGetForbidden) IsSuccess

func (o *V1WorkspacesGetForbidden) IsSuccess() bool

IsSuccess returns true when this v1 workspaces get forbidden response has a 2xx status code

func (*V1WorkspacesGetForbidden) String

func (o *V1WorkspacesGetForbidden) String() string

type V1WorkspacesGetInternalServerError

type V1WorkspacesGetInternalServerError struct {
	Payload *models.Error
}

V1WorkspacesGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewV1WorkspacesGetInternalServerError

func NewV1WorkspacesGetInternalServerError() *V1WorkspacesGetInternalServerError

NewV1WorkspacesGetInternalServerError creates a V1WorkspacesGetInternalServerError with default headers values

func (*V1WorkspacesGetInternalServerError) Code

Code gets the status code for the v1 workspaces get internal server error response

func (*V1WorkspacesGetInternalServerError) Error

func (*V1WorkspacesGetInternalServerError) GetPayload

func (*V1WorkspacesGetInternalServerError) IsClientError

func (o *V1WorkspacesGetInternalServerError) IsClientError() bool

IsClientError returns true when this v1 workspaces get internal server error response has a 4xx status code

func (*V1WorkspacesGetInternalServerError) IsCode

IsCode returns true when this v1 workspaces get internal server error response a status code equal to that given

func (*V1WorkspacesGetInternalServerError) IsRedirect

func (o *V1WorkspacesGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this v1 workspaces get internal server error response has a 3xx status code

func (*V1WorkspacesGetInternalServerError) IsServerError

func (o *V1WorkspacesGetInternalServerError) IsServerError() bool

IsServerError returns true when this v1 workspaces get internal server error response has a 5xx status code

func (*V1WorkspacesGetInternalServerError) IsSuccess

IsSuccess returns true when this v1 workspaces get internal server error response has a 2xx status code

func (*V1WorkspacesGetInternalServerError) String

type V1WorkspacesGetNotFound

type V1WorkspacesGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewV1WorkspacesGetNotFound

func NewV1WorkspacesGetNotFound() *V1WorkspacesGetNotFound

NewV1WorkspacesGetNotFound creates a V1WorkspacesGetNotFound with default headers values

func (*V1WorkspacesGetNotFound) Code

func (o *V1WorkspacesGetNotFound) Code() int

Code gets the status code for the v1 workspaces get not found response

func (*V1WorkspacesGetNotFound) Error

func (o *V1WorkspacesGetNotFound) Error() string

func (*V1WorkspacesGetNotFound) GetPayload

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

func (*V1WorkspacesGetNotFound) IsClientError

func (o *V1WorkspacesGetNotFound) IsClientError() bool

IsClientError returns true when this v1 workspaces get not found response has a 4xx status code

func (*V1WorkspacesGetNotFound) IsCode

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

IsCode returns true when this v1 workspaces get not found response a status code equal to that given

func (*V1WorkspacesGetNotFound) IsRedirect

func (o *V1WorkspacesGetNotFound) IsRedirect() bool

IsRedirect returns true when this v1 workspaces get not found response has a 3xx status code

func (*V1WorkspacesGetNotFound) IsServerError

func (o *V1WorkspacesGetNotFound) IsServerError() bool

IsServerError returns true when this v1 workspaces get not found response has a 5xx status code

func (*V1WorkspacesGetNotFound) IsSuccess

func (o *V1WorkspacesGetNotFound) IsSuccess() bool

IsSuccess returns true when this v1 workspaces get not found response has a 2xx status code

func (*V1WorkspacesGetNotFound) String

func (o *V1WorkspacesGetNotFound) String() string

type V1WorkspacesGetOK

type V1WorkspacesGetOK struct {
	Payload *models.Workspace
}

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

OK

func NewV1WorkspacesGetOK

func NewV1WorkspacesGetOK() *V1WorkspacesGetOK

NewV1WorkspacesGetOK creates a V1WorkspacesGetOK with default headers values

func (*V1WorkspacesGetOK) Code

func (o *V1WorkspacesGetOK) Code() int

Code gets the status code for the v1 workspaces get o k response

func (*V1WorkspacesGetOK) Error

func (o *V1WorkspacesGetOK) Error() string

func (*V1WorkspacesGetOK) GetPayload

func (o *V1WorkspacesGetOK) GetPayload() *models.Workspace

func (*V1WorkspacesGetOK) IsClientError

func (o *V1WorkspacesGetOK) IsClientError() bool

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

func (*V1WorkspacesGetOK) IsCode

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

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

func (*V1WorkspacesGetOK) IsRedirect

func (o *V1WorkspacesGetOK) IsRedirect() bool

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

func (*V1WorkspacesGetOK) IsServerError

func (o *V1WorkspacesGetOK) IsServerError() bool

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

func (*V1WorkspacesGetOK) IsSuccess

func (o *V1WorkspacesGetOK) IsSuccess() bool

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

func (*V1WorkspacesGetOK) String

func (o *V1WorkspacesGetOK) String() string

type V1WorkspacesGetParams

type V1WorkspacesGetParams struct {

	/* WorkspaceID.

	   Workspace ID
	*/
	WorkspaceID string

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

V1WorkspacesGetParams contains all the parameters to send to the API endpoint

for the v1 workspaces get operation.

Typically these are written to a http.Request.

func NewV1WorkspacesGetParams

func NewV1WorkspacesGetParams() *V1WorkspacesGetParams

NewV1WorkspacesGetParams creates a new V1WorkspacesGetParams 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 NewV1WorkspacesGetParamsWithContext

func NewV1WorkspacesGetParamsWithContext(ctx context.Context) *V1WorkspacesGetParams

NewV1WorkspacesGetParamsWithContext creates a new V1WorkspacesGetParams object with the ability to set a context for a request.

func NewV1WorkspacesGetParamsWithHTTPClient

func NewV1WorkspacesGetParamsWithHTTPClient(client *http.Client) *V1WorkspacesGetParams

NewV1WorkspacesGetParamsWithHTTPClient creates a new V1WorkspacesGetParams object with the ability to set a custom HTTPClient for a request.

func NewV1WorkspacesGetParamsWithTimeout

func NewV1WorkspacesGetParamsWithTimeout(timeout time.Duration) *V1WorkspacesGetParams

NewV1WorkspacesGetParamsWithTimeout creates a new V1WorkspacesGetParams object with the ability to set a timeout on a request.

func (*V1WorkspacesGetParams) SetContext

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

SetContext adds the context to the v1 workspaces get params

func (*V1WorkspacesGetParams) SetDefaults

func (o *V1WorkspacesGetParams) SetDefaults()

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

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

func (*V1WorkspacesGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v1 workspaces get params

func (*V1WorkspacesGetParams) SetTimeout

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

SetTimeout adds the timeout to the v1 workspaces get params

func (*V1WorkspacesGetParams) SetWorkspaceID

func (o *V1WorkspacesGetParams) SetWorkspaceID(workspaceID string)

SetWorkspaceID adds the workspaceId to the v1 workspaces get params

func (*V1WorkspacesGetParams) WithContext

WithContext adds the context to the v1 workspaces get params

func (*V1WorkspacesGetParams) WithDefaults

func (o *V1WorkspacesGetParams) WithDefaults() *V1WorkspacesGetParams

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

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

func (*V1WorkspacesGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the v1 workspaces get params

func (*V1WorkspacesGetParams) WithTimeout

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

WithTimeout adds the timeout to the v1 workspaces get params

func (*V1WorkspacesGetParams) WithWorkspaceID

func (o *V1WorkspacesGetParams) WithWorkspaceID(workspaceID string) *V1WorkspacesGetParams

WithWorkspaceID adds the workspaceID to the v1 workspaces get params

func (*V1WorkspacesGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type V1WorkspacesGetReader

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

V1WorkspacesGetReader is a Reader for the V1WorkspacesGet structure.

func (*V1WorkspacesGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type V1WorkspacesGetTooManyRequests

type V1WorkspacesGetTooManyRequests struct {
	Payload *models.Error
}

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

Too Many Requests

func NewV1WorkspacesGetTooManyRequests

func NewV1WorkspacesGetTooManyRequests() *V1WorkspacesGetTooManyRequests

NewV1WorkspacesGetTooManyRequests creates a V1WorkspacesGetTooManyRequests with default headers values

func (*V1WorkspacesGetTooManyRequests) Code

Code gets the status code for the v1 workspaces get too many requests response

func (*V1WorkspacesGetTooManyRequests) Error

func (*V1WorkspacesGetTooManyRequests) GetPayload

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

func (*V1WorkspacesGetTooManyRequests) IsClientError

func (o *V1WorkspacesGetTooManyRequests) IsClientError() bool

IsClientError returns true when this v1 workspaces get too many requests response has a 4xx status code

func (*V1WorkspacesGetTooManyRequests) IsCode

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

IsCode returns true when this v1 workspaces get too many requests response a status code equal to that given

func (*V1WorkspacesGetTooManyRequests) IsRedirect

func (o *V1WorkspacesGetTooManyRequests) IsRedirect() bool

IsRedirect returns true when this v1 workspaces get too many requests response has a 3xx status code

func (*V1WorkspacesGetTooManyRequests) IsServerError

func (o *V1WorkspacesGetTooManyRequests) IsServerError() bool

IsServerError returns true when this v1 workspaces get too many requests response has a 5xx status code

func (*V1WorkspacesGetTooManyRequests) IsSuccess

func (o *V1WorkspacesGetTooManyRequests) IsSuccess() bool

IsSuccess returns true when this v1 workspaces get too many requests response has a 2xx status code

func (*V1WorkspacesGetTooManyRequests) String

type V1WorkspacesGetUnauthorized

type V1WorkspacesGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewV1WorkspacesGetUnauthorized

func NewV1WorkspacesGetUnauthorized() *V1WorkspacesGetUnauthorized

NewV1WorkspacesGetUnauthorized creates a V1WorkspacesGetUnauthorized with default headers values

func (*V1WorkspacesGetUnauthorized) Code

func (o *V1WorkspacesGetUnauthorized) Code() int

Code gets the status code for the v1 workspaces get unauthorized response

func (*V1WorkspacesGetUnauthorized) Error

func (*V1WorkspacesGetUnauthorized) GetPayload

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

func (*V1WorkspacesGetUnauthorized) IsClientError

func (o *V1WorkspacesGetUnauthorized) IsClientError() bool

IsClientError returns true when this v1 workspaces get unauthorized response has a 4xx status code

func (*V1WorkspacesGetUnauthorized) IsCode

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

IsCode returns true when this v1 workspaces get unauthorized response a status code equal to that given

func (*V1WorkspacesGetUnauthorized) IsRedirect

func (o *V1WorkspacesGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this v1 workspaces get unauthorized response has a 3xx status code

func (*V1WorkspacesGetUnauthorized) IsServerError

func (o *V1WorkspacesGetUnauthorized) IsServerError() bool

IsServerError returns true when this v1 workspaces get unauthorized response has a 5xx status code

func (*V1WorkspacesGetUnauthorized) IsSuccess

func (o *V1WorkspacesGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this v1 workspaces get unauthorized response has a 2xx status code

func (*V1WorkspacesGetUnauthorized) String

func (o *V1WorkspacesGetUnauthorized) String() string

type V1WorkspacesGetallForbidden added in v1.5.1

type V1WorkspacesGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewV1WorkspacesGetallForbidden added in v1.5.1

func NewV1WorkspacesGetallForbidden() *V1WorkspacesGetallForbidden

NewV1WorkspacesGetallForbidden creates a V1WorkspacesGetallForbidden with default headers values

func (*V1WorkspacesGetallForbidden) Code added in v1.5.1

func (o *V1WorkspacesGetallForbidden) Code() int

Code gets the status code for the v1 workspaces getall forbidden response

func (*V1WorkspacesGetallForbidden) Error added in v1.5.1

func (*V1WorkspacesGetallForbidden) GetPayload added in v1.5.1

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

func (*V1WorkspacesGetallForbidden) IsClientError added in v1.5.1

func (o *V1WorkspacesGetallForbidden) IsClientError() bool

IsClientError returns true when this v1 workspaces getall forbidden response has a 4xx status code

func (*V1WorkspacesGetallForbidden) IsCode added in v1.5.1

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

IsCode returns true when this v1 workspaces getall forbidden response a status code equal to that given

func (*V1WorkspacesGetallForbidden) IsRedirect added in v1.5.1

func (o *V1WorkspacesGetallForbidden) IsRedirect() bool

IsRedirect returns true when this v1 workspaces getall forbidden response has a 3xx status code

func (*V1WorkspacesGetallForbidden) IsServerError added in v1.5.1

func (o *V1WorkspacesGetallForbidden) IsServerError() bool

IsServerError returns true when this v1 workspaces getall forbidden response has a 5xx status code

func (*V1WorkspacesGetallForbidden) IsSuccess added in v1.5.1

func (o *V1WorkspacesGetallForbidden) IsSuccess() bool

IsSuccess returns true when this v1 workspaces getall forbidden response has a 2xx status code

func (*V1WorkspacesGetallForbidden) String added in v1.5.1

func (o *V1WorkspacesGetallForbidden) String() string

type V1WorkspacesGetallInternalServerError added in v1.5.1

type V1WorkspacesGetallInternalServerError struct {
	Payload *models.Error
}

V1WorkspacesGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewV1WorkspacesGetallInternalServerError added in v1.5.1

func NewV1WorkspacesGetallInternalServerError() *V1WorkspacesGetallInternalServerError

NewV1WorkspacesGetallInternalServerError creates a V1WorkspacesGetallInternalServerError with default headers values

func (*V1WorkspacesGetallInternalServerError) Code added in v1.5.1

Code gets the status code for the v1 workspaces getall internal server error response

func (*V1WorkspacesGetallInternalServerError) Error added in v1.5.1

func (*V1WorkspacesGetallInternalServerError) GetPayload added in v1.5.1

func (*V1WorkspacesGetallInternalServerError) IsClientError added in v1.5.1

func (o *V1WorkspacesGetallInternalServerError) IsClientError() bool

IsClientError returns true when this v1 workspaces getall internal server error response has a 4xx status code

func (*V1WorkspacesGetallInternalServerError) IsCode added in v1.5.1

IsCode returns true when this v1 workspaces getall internal server error response a status code equal to that given

func (*V1WorkspacesGetallInternalServerError) IsRedirect added in v1.5.1

IsRedirect returns true when this v1 workspaces getall internal server error response has a 3xx status code

func (*V1WorkspacesGetallInternalServerError) IsServerError added in v1.5.1

func (o *V1WorkspacesGetallInternalServerError) IsServerError() bool

IsServerError returns true when this v1 workspaces getall internal server error response has a 5xx status code

func (*V1WorkspacesGetallInternalServerError) IsSuccess added in v1.5.1

IsSuccess returns true when this v1 workspaces getall internal server error response has a 2xx status code

func (*V1WorkspacesGetallInternalServerError) String added in v1.5.1

type V1WorkspacesGetallOK added in v1.5.1

type V1WorkspacesGetallOK struct {
	Payload *models.Workspaces
}

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

OK

func NewV1WorkspacesGetallOK added in v1.5.1

func NewV1WorkspacesGetallOK() *V1WorkspacesGetallOK

NewV1WorkspacesGetallOK creates a V1WorkspacesGetallOK with default headers values

func (*V1WorkspacesGetallOK) Code added in v1.5.1

func (o *V1WorkspacesGetallOK) Code() int

Code gets the status code for the v1 workspaces getall o k response

func (*V1WorkspacesGetallOK) Error added in v1.5.1

func (o *V1WorkspacesGetallOK) Error() string

func (*V1WorkspacesGetallOK) GetPayload added in v1.5.1

func (o *V1WorkspacesGetallOK) GetPayload() *models.Workspaces

func (*V1WorkspacesGetallOK) IsClientError added in v1.5.1

func (o *V1WorkspacesGetallOK) IsClientError() bool

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

func (*V1WorkspacesGetallOK) IsCode added in v1.5.1

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

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

func (*V1WorkspacesGetallOK) IsRedirect added in v1.5.1

func (o *V1WorkspacesGetallOK) IsRedirect() bool

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

func (*V1WorkspacesGetallOK) IsServerError added in v1.5.1

func (o *V1WorkspacesGetallOK) IsServerError() bool

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

func (*V1WorkspacesGetallOK) IsSuccess added in v1.5.1

func (o *V1WorkspacesGetallOK) IsSuccess() bool

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

func (*V1WorkspacesGetallOK) String added in v1.5.1

func (o *V1WorkspacesGetallOK) String() string

type V1WorkspacesGetallParams added in v1.5.1

type V1WorkspacesGetallParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

V1WorkspacesGetallParams contains all the parameters to send to the API endpoint

for the v1 workspaces getall operation.

Typically these are written to a http.Request.

func NewV1WorkspacesGetallParams added in v1.5.1

func NewV1WorkspacesGetallParams() *V1WorkspacesGetallParams

NewV1WorkspacesGetallParams creates a new V1WorkspacesGetallParams 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 NewV1WorkspacesGetallParamsWithContext added in v1.5.1

func NewV1WorkspacesGetallParamsWithContext(ctx context.Context) *V1WorkspacesGetallParams

NewV1WorkspacesGetallParamsWithContext creates a new V1WorkspacesGetallParams object with the ability to set a context for a request.

func NewV1WorkspacesGetallParamsWithHTTPClient added in v1.5.1

func NewV1WorkspacesGetallParamsWithHTTPClient(client *http.Client) *V1WorkspacesGetallParams

NewV1WorkspacesGetallParamsWithHTTPClient creates a new V1WorkspacesGetallParams object with the ability to set a custom HTTPClient for a request.

func NewV1WorkspacesGetallParamsWithTimeout added in v1.5.1

func NewV1WorkspacesGetallParamsWithTimeout(timeout time.Duration) *V1WorkspacesGetallParams

NewV1WorkspacesGetallParamsWithTimeout creates a new V1WorkspacesGetallParams object with the ability to set a timeout on a request.

func (*V1WorkspacesGetallParams) SetContext added in v1.5.1

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

SetContext adds the context to the v1 workspaces getall params

func (*V1WorkspacesGetallParams) SetDefaults added in v1.5.1

func (o *V1WorkspacesGetallParams) SetDefaults()

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

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

func (*V1WorkspacesGetallParams) SetHTTPClient added in v1.5.1

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

SetHTTPClient adds the HTTPClient to the v1 workspaces getall params

func (*V1WorkspacesGetallParams) SetTimeout added in v1.5.1

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

SetTimeout adds the timeout to the v1 workspaces getall params

func (*V1WorkspacesGetallParams) WithContext added in v1.5.1

WithContext adds the context to the v1 workspaces getall params

func (*V1WorkspacesGetallParams) WithDefaults added in v1.5.1

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

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

func (*V1WorkspacesGetallParams) WithHTTPClient added in v1.5.1

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

WithHTTPClient adds the HTTPClient to the v1 workspaces getall params

func (*V1WorkspacesGetallParams) WithTimeout added in v1.5.1

WithTimeout adds the timeout to the v1 workspaces getall params

func (*V1WorkspacesGetallParams) WriteToRequest added in v1.5.1

WriteToRequest writes these params to a swagger request

type V1WorkspacesGetallReader added in v1.5.1

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

V1WorkspacesGetallReader is a Reader for the V1WorkspacesGetall structure.

func (*V1WorkspacesGetallReader) ReadResponse added in v1.5.1

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

ReadResponse reads a server response into the received o.

type V1WorkspacesGetallTooManyRequests added in v1.5.1

type V1WorkspacesGetallTooManyRequests struct {
	Payload *models.Error
}

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

Too Many Requests

func NewV1WorkspacesGetallTooManyRequests added in v1.5.1

func NewV1WorkspacesGetallTooManyRequests() *V1WorkspacesGetallTooManyRequests

NewV1WorkspacesGetallTooManyRequests creates a V1WorkspacesGetallTooManyRequests with default headers values

func (*V1WorkspacesGetallTooManyRequests) Code added in v1.5.1

Code gets the status code for the v1 workspaces getall too many requests response

func (*V1WorkspacesGetallTooManyRequests) Error added in v1.5.1

func (*V1WorkspacesGetallTooManyRequests) GetPayload added in v1.5.1

func (*V1WorkspacesGetallTooManyRequests) IsClientError added in v1.5.1

func (o *V1WorkspacesGetallTooManyRequests) IsClientError() bool

IsClientError returns true when this v1 workspaces getall too many requests response has a 4xx status code

func (*V1WorkspacesGetallTooManyRequests) IsCode added in v1.5.1

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

IsCode returns true when this v1 workspaces getall too many requests response a status code equal to that given

func (*V1WorkspacesGetallTooManyRequests) IsRedirect added in v1.5.1

func (o *V1WorkspacesGetallTooManyRequests) IsRedirect() bool

IsRedirect returns true when this v1 workspaces getall too many requests response has a 3xx status code

func (*V1WorkspacesGetallTooManyRequests) IsServerError added in v1.5.1

func (o *V1WorkspacesGetallTooManyRequests) IsServerError() bool

IsServerError returns true when this v1 workspaces getall too many requests response has a 5xx status code

func (*V1WorkspacesGetallTooManyRequests) IsSuccess added in v1.5.1

func (o *V1WorkspacesGetallTooManyRequests) IsSuccess() bool

IsSuccess returns true when this v1 workspaces getall too many requests response has a 2xx status code

func (*V1WorkspacesGetallTooManyRequests) String added in v1.5.1

type V1WorkspacesGetallUnauthorized added in v1.5.1

type V1WorkspacesGetallUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewV1WorkspacesGetallUnauthorized added in v1.5.1

func NewV1WorkspacesGetallUnauthorized() *V1WorkspacesGetallUnauthorized

NewV1WorkspacesGetallUnauthorized creates a V1WorkspacesGetallUnauthorized with default headers values

func (*V1WorkspacesGetallUnauthorized) Code added in v1.5.1

Code gets the status code for the v1 workspaces getall unauthorized response

func (*V1WorkspacesGetallUnauthorized) Error added in v1.5.1

func (*V1WorkspacesGetallUnauthorized) GetPayload added in v1.5.1

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

func (*V1WorkspacesGetallUnauthorized) IsClientError added in v1.5.1

func (o *V1WorkspacesGetallUnauthorized) IsClientError() bool

IsClientError returns true when this v1 workspaces getall unauthorized response has a 4xx status code

func (*V1WorkspacesGetallUnauthorized) IsCode added in v1.5.1

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

IsCode returns true when this v1 workspaces getall unauthorized response a status code equal to that given

func (*V1WorkspacesGetallUnauthorized) IsRedirect added in v1.5.1

func (o *V1WorkspacesGetallUnauthorized) IsRedirect() bool

IsRedirect returns true when this v1 workspaces getall unauthorized response has a 3xx status code

func (*V1WorkspacesGetallUnauthorized) IsServerError added in v1.5.1

func (o *V1WorkspacesGetallUnauthorized) IsServerError() bool

IsServerError returns true when this v1 workspaces getall unauthorized response has a 5xx status code

func (*V1WorkspacesGetallUnauthorized) IsSuccess added in v1.5.1

func (o *V1WorkspacesGetallUnauthorized) IsSuccess() bool

IsSuccess returns true when this v1 workspaces getall unauthorized response has a 2xx status code

func (*V1WorkspacesGetallUnauthorized) String added in v1.5.1

Jump to

Keyboard shortcuts

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