pools

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for pools API

func (*Client) CreatePool

func (a *Client) CreatePool(params *CreatePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePoolCreated, error)
CreatePool creates identity pool

Create an identity pool.

When no `metadata_schema_id` and/or `payload_schema_id` are provided in the request body, the identity pool is created with the following defaults accordingly:

`default_metadata=metadata_v0`

`default_payload=user_v0`

func (*Client) CreateWorkspacePool

func (a *Client) CreateWorkspacePool(params *CreateWorkspacePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateWorkspacePoolCreated, error)
CreateWorkspacePool creates identity pool for workspace

Create an identity pool under the required workspace.

When no `metadata_schema_id` and/or `payload_schema_id` are provided in the request body, the identity pool is created with the following defaults accordingly:

`default_metadata=metadata_v0`

`default_payload=user_v0`

func (*Client) DeletePool

func (a *Client) DeletePool(params *DeletePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePoolNoContent, error)
DeletePool deletes identity pool

Delete an identity pool. For this, provide the required identity pool identifier in the path.

To retrieve the identity pool ID, log in to the Admin workspace. Then go to Identity Providers > [*click the connected identity provider name*] > Identity Pool > Manage Pool.

func (*Client) DeleteWorkspacePool

func (a *Client) DeleteWorkspacePool(params *DeleteWorkspacePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteWorkspacePoolNoContent, error)

DeleteWorkspacePool deletes workspace identity pool

Delete a workspace identity pool.

func (*Client) GetPool

func (a *Client) GetPool(params *GetPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPoolOK, error)
GetPool gets identity pool

Retrieve detailed information about an identity pool. Pass the identifier of the required identity pool with the

`ipID` path parameter.

To retrieve the pool identifier, log in to the Admin workspace. Then go to Identity Providers > [*click the connected identity provider name*] > Identity Pool > Manage Pool.

func (*Client) ListPools

func (a *Client) ListPools(params *ListPoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPoolsOK, error)
ListPools lists identity pools

Retrieve the list of identity pools available under the current administrator.

You can filter the response with the query parameters to narrow the pool list down.

func (*Client) ListUserWorkspacePools

func (a *Client) ListUserWorkspacePools(params *ListUserWorkspacePoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserWorkspacePoolsOK, error)
ListUserWorkspacePools lists user workspace pools

Retrieve the detailed information about identity pools connected to the workspace and available for the current

administrator.

Pass the required workspace identifier with the `wid` path parameter.

For administrator identification, pass the `if-match` header with the ETag as its value.

func (*Client) ListWorkspacePools

func (a *Client) ListWorkspacePools(params *ListWorkspacePoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListWorkspacePoolsOK, error)
ListWorkspacePools lists identity pools per workspace

Retrieve the list of identity pools available for a workspace. Pass the required workspace identifier with the

`wid` path parameter.

You can filter the response with the query parameters to narrow the pool list down.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePool

func (a *Client) UpdatePool(params *UpdatePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePoolOK, error)
UpdatePool updates identity pool

Update the identity pool details. Pass the identifier of the required identity pool with the `ipID` path parameter.

To retrieve the identity pool ID, log in to the Admin workspace. Then go to Identity Providers > [*click the connected identity provider name*] > Identity Pool > Manage Pool.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreatePool(params *CreatePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePoolCreated, error)

	CreateWorkspacePool(params *CreateWorkspacePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateWorkspacePoolCreated, error)

	DeletePool(params *DeletePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePoolNoContent, error)

	DeleteWorkspacePool(params *DeleteWorkspacePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteWorkspacePoolNoContent, error)

	GetPool(params *GetPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPoolOK, error)

	ListPools(params *ListPoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPoolsOK, error)

	ListUserWorkspacePools(params *ListUserWorkspacePoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserWorkspacePoolsOK, error)

	ListWorkspacePools(params *ListWorkspacePoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListWorkspacePoolsOK, error)

	UpdatePool(params *UpdatePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePoolOK, 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 pools API client.

type CreatePoolBadRequest

type CreatePoolBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewCreatePoolBadRequest

func NewCreatePoolBadRequest() *CreatePoolBadRequest

NewCreatePoolBadRequest creates a CreatePoolBadRequest with default headers values

func (*CreatePoolBadRequest) Code

func (o *CreatePoolBadRequest) Code() int

Code gets the status code for the create pool bad request response

func (*CreatePoolBadRequest) Error

func (o *CreatePoolBadRequest) Error() string

func (*CreatePoolBadRequest) GetPayload

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

func (*CreatePoolBadRequest) IsClientError

func (o *CreatePoolBadRequest) IsClientError() bool

IsClientError returns true when this create pool bad request response has a 4xx status code

func (*CreatePoolBadRequest) IsCode

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

IsCode returns true when this create pool bad request response a status code equal to that given

func (*CreatePoolBadRequest) IsRedirect

func (o *CreatePoolBadRequest) IsRedirect() bool

IsRedirect returns true when this create pool bad request response has a 3xx status code

func (*CreatePoolBadRequest) IsServerError

func (o *CreatePoolBadRequest) IsServerError() bool

IsServerError returns true when this create pool bad request response has a 5xx status code

func (*CreatePoolBadRequest) IsSuccess

func (o *CreatePoolBadRequest) IsSuccess() bool

IsSuccess returns true when this create pool bad request response has a 2xx status code

func (*CreatePoolBadRequest) String

func (o *CreatePoolBadRequest) String() string

type CreatePoolConflict

type CreatePoolConflict struct {
	Payload *models.Error
}

CreatePoolConflict describes a response with status code 409, with default header values.

Conflict

func NewCreatePoolConflict

func NewCreatePoolConflict() *CreatePoolConflict

NewCreatePoolConflict creates a CreatePoolConflict with default headers values

func (*CreatePoolConflict) Code

func (o *CreatePoolConflict) Code() int

Code gets the status code for the create pool conflict response

func (*CreatePoolConflict) Error

func (o *CreatePoolConflict) Error() string

func (*CreatePoolConflict) GetPayload

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

func (*CreatePoolConflict) IsClientError

func (o *CreatePoolConflict) IsClientError() bool

IsClientError returns true when this create pool conflict response has a 4xx status code

func (*CreatePoolConflict) IsCode

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

IsCode returns true when this create pool conflict response a status code equal to that given

func (*CreatePoolConflict) IsRedirect

func (o *CreatePoolConflict) IsRedirect() bool

IsRedirect returns true when this create pool conflict response has a 3xx status code

func (*CreatePoolConflict) IsServerError

func (o *CreatePoolConflict) IsServerError() bool

IsServerError returns true when this create pool conflict response has a 5xx status code

func (*CreatePoolConflict) IsSuccess

func (o *CreatePoolConflict) IsSuccess() bool

IsSuccess returns true when this create pool conflict response has a 2xx status code

func (*CreatePoolConflict) String

func (o *CreatePoolConflict) String() string

type CreatePoolCreated

type CreatePoolCreated struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.PoolResponse
}

CreatePoolCreated describes a response with status code 201, with default header values.

Identity Pool

func NewCreatePoolCreated

func NewCreatePoolCreated() *CreatePoolCreated

NewCreatePoolCreated creates a CreatePoolCreated with default headers values

func (*CreatePoolCreated) Code

func (o *CreatePoolCreated) Code() int

Code gets the status code for the create pool created response

func (*CreatePoolCreated) Error

func (o *CreatePoolCreated) Error() string

func (*CreatePoolCreated) GetPayload

func (o *CreatePoolCreated) GetPayload() *models.PoolResponse

func (*CreatePoolCreated) IsClientError

func (o *CreatePoolCreated) IsClientError() bool

IsClientError returns true when this create pool created response has a 4xx status code

func (*CreatePoolCreated) IsCode

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

IsCode returns true when this create pool created response a status code equal to that given

func (*CreatePoolCreated) IsRedirect

func (o *CreatePoolCreated) IsRedirect() bool

IsRedirect returns true when this create pool created response has a 3xx status code

func (*CreatePoolCreated) IsServerError

func (o *CreatePoolCreated) IsServerError() bool

IsServerError returns true when this create pool created response has a 5xx status code

func (*CreatePoolCreated) IsSuccess

func (o *CreatePoolCreated) IsSuccess() bool

IsSuccess returns true when this create pool created response has a 2xx status code

func (*CreatePoolCreated) String

func (o *CreatePoolCreated) String() string

type CreatePoolForbidden

type CreatePoolForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewCreatePoolForbidden

func NewCreatePoolForbidden() *CreatePoolForbidden

NewCreatePoolForbidden creates a CreatePoolForbidden with default headers values

func (*CreatePoolForbidden) Code

func (o *CreatePoolForbidden) Code() int

Code gets the status code for the create pool forbidden response

func (*CreatePoolForbidden) Error

func (o *CreatePoolForbidden) Error() string

func (*CreatePoolForbidden) GetPayload

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

func (*CreatePoolForbidden) IsClientError

func (o *CreatePoolForbidden) IsClientError() bool

IsClientError returns true when this create pool forbidden response has a 4xx status code

func (*CreatePoolForbidden) IsCode

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

IsCode returns true when this create pool forbidden response a status code equal to that given

func (*CreatePoolForbidden) IsRedirect

func (o *CreatePoolForbidden) IsRedirect() bool

IsRedirect returns true when this create pool forbidden response has a 3xx status code

func (*CreatePoolForbidden) IsServerError

func (o *CreatePoolForbidden) IsServerError() bool

IsServerError returns true when this create pool forbidden response has a 5xx status code

func (*CreatePoolForbidden) IsSuccess

func (o *CreatePoolForbidden) IsSuccess() bool

IsSuccess returns true when this create pool forbidden response has a 2xx status code

func (*CreatePoolForbidden) String

func (o *CreatePoolForbidden) String() string

type CreatePoolNotFound

type CreatePoolNotFound struct {
	Payload *models.Error
}

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

Not found

func NewCreatePoolNotFound

func NewCreatePoolNotFound() *CreatePoolNotFound

NewCreatePoolNotFound creates a CreatePoolNotFound with default headers values

func (*CreatePoolNotFound) Code

func (o *CreatePoolNotFound) Code() int

Code gets the status code for the create pool not found response

func (*CreatePoolNotFound) Error

func (o *CreatePoolNotFound) Error() string

func (*CreatePoolNotFound) GetPayload

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

func (*CreatePoolNotFound) IsClientError

func (o *CreatePoolNotFound) IsClientError() bool

IsClientError returns true when this create pool not found response has a 4xx status code

func (*CreatePoolNotFound) IsCode

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

IsCode returns true when this create pool not found response a status code equal to that given

func (*CreatePoolNotFound) IsRedirect

func (o *CreatePoolNotFound) IsRedirect() bool

IsRedirect returns true when this create pool not found response has a 3xx status code

func (*CreatePoolNotFound) IsServerError

func (o *CreatePoolNotFound) IsServerError() bool

IsServerError returns true when this create pool not found response has a 5xx status code

func (*CreatePoolNotFound) IsSuccess

func (o *CreatePoolNotFound) IsSuccess() bool

IsSuccess returns true when this create pool not found response has a 2xx status code

func (*CreatePoolNotFound) String

func (o *CreatePoolNotFound) String() string

type CreatePoolParams

type CreatePoolParams struct {

	// Pool.
	Pool *models.Pool

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

CreatePoolParams contains all the parameters to send to the API endpoint

for the create pool operation.

Typically these are written to a http.Request.

func NewCreatePoolParams

func NewCreatePoolParams() *CreatePoolParams

NewCreatePoolParams creates a new CreatePoolParams 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 NewCreatePoolParamsWithContext

func NewCreatePoolParamsWithContext(ctx context.Context) *CreatePoolParams

NewCreatePoolParamsWithContext creates a new CreatePoolParams object with the ability to set a context for a request.

func NewCreatePoolParamsWithHTTPClient

func NewCreatePoolParamsWithHTTPClient(client *http.Client) *CreatePoolParams

NewCreatePoolParamsWithHTTPClient creates a new CreatePoolParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePoolParamsWithTimeout

func NewCreatePoolParamsWithTimeout(timeout time.Duration) *CreatePoolParams

NewCreatePoolParamsWithTimeout creates a new CreatePoolParams object with the ability to set a timeout on a request.

func (*CreatePoolParams) SetContext

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

SetContext adds the context to the create pool params

func (*CreatePoolParams) SetDefaults

func (o *CreatePoolParams) SetDefaults()

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

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

func (*CreatePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create pool params

func (*CreatePoolParams) SetIfMatch

func (o *CreatePoolParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the create pool params

func (*CreatePoolParams) SetPool

func (o *CreatePoolParams) SetPool(pool *models.Pool)

SetPool adds the pool to the create pool params

func (*CreatePoolParams) SetTimeout

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

SetTimeout adds the timeout to the create pool params

func (*CreatePoolParams) WithContext

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

WithContext adds the context to the create pool params

func (*CreatePoolParams) WithDefaults

func (o *CreatePoolParams) WithDefaults() *CreatePoolParams

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

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

func (*CreatePoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create pool params

func (*CreatePoolParams) WithIfMatch

func (o *CreatePoolParams) WithIfMatch(ifMatch *string) *CreatePoolParams

WithIfMatch adds the ifMatch to the create pool params

func (*CreatePoolParams) WithPool

func (o *CreatePoolParams) WithPool(pool *models.Pool) *CreatePoolParams

WithPool adds the pool to the create pool params

func (*CreatePoolParams) WithTimeout

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

WithTimeout adds the timeout to the create pool params

func (*CreatePoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreatePoolReader

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

CreatePoolReader is a Reader for the CreatePool structure.

func (*CreatePoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePoolTooManyRequests

type CreatePoolTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewCreatePoolTooManyRequests

func NewCreatePoolTooManyRequests() *CreatePoolTooManyRequests

NewCreatePoolTooManyRequests creates a CreatePoolTooManyRequests with default headers values

func (*CreatePoolTooManyRequests) Code

func (o *CreatePoolTooManyRequests) Code() int

Code gets the status code for the create pool too many requests response

func (*CreatePoolTooManyRequests) Error

func (o *CreatePoolTooManyRequests) Error() string

func (*CreatePoolTooManyRequests) GetPayload

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

func (*CreatePoolTooManyRequests) IsClientError

func (o *CreatePoolTooManyRequests) IsClientError() bool

IsClientError returns true when this create pool too many requests response has a 4xx status code

func (*CreatePoolTooManyRequests) IsCode

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

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

func (*CreatePoolTooManyRequests) IsRedirect

func (o *CreatePoolTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create pool too many requests response has a 3xx status code

func (*CreatePoolTooManyRequests) IsServerError

func (o *CreatePoolTooManyRequests) IsServerError() bool

IsServerError returns true when this create pool too many requests response has a 5xx status code

func (*CreatePoolTooManyRequests) IsSuccess

func (o *CreatePoolTooManyRequests) IsSuccess() bool

IsSuccess returns true when this create pool too many requests response has a 2xx status code

func (*CreatePoolTooManyRequests) String

func (o *CreatePoolTooManyRequests) String() string

type CreatePoolUnauthorized

type CreatePoolUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewCreatePoolUnauthorized

func NewCreatePoolUnauthorized() *CreatePoolUnauthorized

NewCreatePoolUnauthorized creates a CreatePoolUnauthorized with default headers values

func (*CreatePoolUnauthorized) Code

func (o *CreatePoolUnauthorized) Code() int

Code gets the status code for the create pool unauthorized response

func (*CreatePoolUnauthorized) Error

func (o *CreatePoolUnauthorized) Error() string

func (*CreatePoolUnauthorized) GetPayload

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

func (*CreatePoolUnauthorized) IsClientError

func (o *CreatePoolUnauthorized) IsClientError() bool

IsClientError returns true when this create pool unauthorized response has a 4xx status code

func (*CreatePoolUnauthorized) IsCode

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

IsCode returns true when this create pool unauthorized response a status code equal to that given

func (*CreatePoolUnauthorized) IsRedirect

func (o *CreatePoolUnauthorized) IsRedirect() bool

IsRedirect returns true when this create pool unauthorized response has a 3xx status code

func (*CreatePoolUnauthorized) IsServerError

func (o *CreatePoolUnauthorized) IsServerError() bool

IsServerError returns true when this create pool unauthorized response has a 5xx status code

func (*CreatePoolUnauthorized) IsSuccess

func (o *CreatePoolUnauthorized) IsSuccess() bool

IsSuccess returns true when this create pool unauthorized response has a 2xx status code

func (*CreatePoolUnauthorized) String

func (o *CreatePoolUnauthorized) String() string

type CreatePoolUnprocessableEntity

type CreatePoolUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewCreatePoolUnprocessableEntity

func NewCreatePoolUnprocessableEntity() *CreatePoolUnprocessableEntity

NewCreatePoolUnprocessableEntity creates a CreatePoolUnprocessableEntity with default headers values

func (*CreatePoolUnprocessableEntity) Code

Code gets the status code for the create pool unprocessable entity response

func (*CreatePoolUnprocessableEntity) Error

func (*CreatePoolUnprocessableEntity) GetPayload

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

func (*CreatePoolUnprocessableEntity) IsClientError

func (o *CreatePoolUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create pool unprocessable entity response has a 4xx status code

func (*CreatePoolUnprocessableEntity) IsCode

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

IsCode returns true when this create pool unprocessable entity response a status code equal to that given

func (*CreatePoolUnprocessableEntity) IsRedirect

func (o *CreatePoolUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create pool unprocessable entity response has a 3xx status code

func (*CreatePoolUnprocessableEntity) IsServerError

func (o *CreatePoolUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create pool unprocessable entity response has a 5xx status code

func (*CreatePoolUnprocessableEntity) IsSuccess

func (o *CreatePoolUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this create pool unprocessable entity response has a 2xx status code

func (*CreatePoolUnprocessableEntity) String

type CreateWorkspacePoolBadRequest

type CreateWorkspacePoolBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewCreateWorkspacePoolBadRequest

func NewCreateWorkspacePoolBadRequest() *CreateWorkspacePoolBadRequest

NewCreateWorkspacePoolBadRequest creates a CreateWorkspacePoolBadRequest with default headers values

func (*CreateWorkspacePoolBadRequest) Code

Code gets the status code for the create workspace pool bad request response

func (*CreateWorkspacePoolBadRequest) Error

func (*CreateWorkspacePoolBadRequest) GetPayload

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

func (*CreateWorkspacePoolBadRequest) IsClientError

func (o *CreateWorkspacePoolBadRequest) IsClientError() bool

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

func (*CreateWorkspacePoolBadRequest) IsCode

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

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

func (*CreateWorkspacePoolBadRequest) IsRedirect

func (o *CreateWorkspacePoolBadRequest) IsRedirect() bool

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

func (*CreateWorkspacePoolBadRequest) IsServerError

func (o *CreateWorkspacePoolBadRequest) IsServerError() bool

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

func (*CreateWorkspacePoolBadRequest) IsSuccess

func (o *CreateWorkspacePoolBadRequest) IsSuccess() bool

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

func (*CreateWorkspacePoolBadRequest) String

type CreateWorkspacePoolConflict

type CreateWorkspacePoolConflict struct {
	Payload *models.Error
}

CreateWorkspacePoolConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateWorkspacePoolConflict

func NewCreateWorkspacePoolConflict() *CreateWorkspacePoolConflict

NewCreateWorkspacePoolConflict creates a CreateWorkspacePoolConflict with default headers values

func (*CreateWorkspacePoolConflict) Code

func (o *CreateWorkspacePoolConflict) Code() int

Code gets the status code for the create workspace pool conflict response

func (*CreateWorkspacePoolConflict) Error

func (*CreateWorkspacePoolConflict) GetPayload

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

func (*CreateWorkspacePoolConflict) IsClientError

func (o *CreateWorkspacePoolConflict) IsClientError() bool

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

func (*CreateWorkspacePoolConflict) IsCode

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

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

func (*CreateWorkspacePoolConflict) IsRedirect

func (o *CreateWorkspacePoolConflict) IsRedirect() bool

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

func (*CreateWorkspacePoolConflict) IsServerError

func (o *CreateWorkspacePoolConflict) IsServerError() bool

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

func (*CreateWorkspacePoolConflict) IsSuccess

func (o *CreateWorkspacePoolConflict) IsSuccess() bool

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

func (*CreateWorkspacePoolConflict) String

func (o *CreateWorkspacePoolConflict) String() string

type CreateWorkspacePoolCreated

type CreateWorkspacePoolCreated struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.PoolResponse
}

CreateWorkspacePoolCreated describes a response with status code 201, with default header values.

Identity Pool

func NewCreateWorkspacePoolCreated

func NewCreateWorkspacePoolCreated() *CreateWorkspacePoolCreated

NewCreateWorkspacePoolCreated creates a CreateWorkspacePoolCreated with default headers values

func (*CreateWorkspacePoolCreated) Code

func (o *CreateWorkspacePoolCreated) Code() int

Code gets the status code for the create workspace pool created response

func (*CreateWorkspacePoolCreated) Error

func (*CreateWorkspacePoolCreated) GetPayload

func (*CreateWorkspacePoolCreated) IsClientError

func (o *CreateWorkspacePoolCreated) IsClientError() bool

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

func (*CreateWorkspacePoolCreated) IsCode

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

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

func (*CreateWorkspacePoolCreated) IsRedirect

func (o *CreateWorkspacePoolCreated) IsRedirect() bool

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

func (*CreateWorkspacePoolCreated) IsServerError

func (o *CreateWorkspacePoolCreated) IsServerError() bool

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

func (*CreateWorkspacePoolCreated) IsSuccess

func (o *CreateWorkspacePoolCreated) IsSuccess() bool

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

func (*CreateWorkspacePoolCreated) String

func (o *CreateWorkspacePoolCreated) String() string

type CreateWorkspacePoolForbidden

type CreateWorkspacePoolForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewCreateWorkspacePoolForbidden

func NewCreateWorkspacePoolForbidden() *CreateWorkspacePoolForbidden

NewCreateWorkspacePoolForbidden creates a CreateWorkspacePoolForbidden with default headers values

func (*CreateWorkspacePoolForbidden) Code

Code gets the status code for the create workspace pool forbidden response

func (*CreateWorkspacePoolForbidden) Error

func (*CreateWorkspacePoolForbidden) GetPayload

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

func (*CreateWorkspacePoolForbidden) IsClientError

func (o *CreateWorkspacePoolForbidden) IsClientError() bool

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

func (*CreateWorkspacePoolForbidden) IsCode

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

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

func (*CreateWorkspacePoolForbidden) IsRedirect

func (o *CreateWorkspacePoolForbidden) IsRedirect() bool

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

func (*CreateWorkspacePoolForbidden) IsServerError

func (o *CreateWorkspacePoolForbidden) IsServerError() bool

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

func (*CreateWorkspacePoolForbidden) IsSuccess

func (o *CreateWorkspacePoolForbidden) IsSuccess() bool

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

func (*CreateWorkspacePoolForbidden) String

type CreateWorkspacePoolNotFound

type CreateWorkspacePoolNotFound struct {
	Payload *models.Error
}

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

Not found

func NewCreateWorkspacePoolNotFound

func NewCreateWorkspacePoolNotFound() *CreateWorkspacePoolNotFound

NewCreateWorkspacePoolNotFound creates a CreateWorkspacePoolNotFound with default headers values

func (*CreateWorkspacePoolNotFound) Code

func (o *CreateWorkspacePoolNotFound) Code() int

Code gets the status code for the create workspace pool not found response

func (*CreateWorkspacePoolNotFound) Error

func (*CreateWorkspacePoolNotFound) GetPayload

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

func (*CreateWorkspacePoolNotFound) IsClientError

func (o *CreateWorkspacePoolNotFound) IsClientError() bool

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

func (*CreateWorkspacePoolNotFound) IsCode

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

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

func (*CreateWorkspacePoolNotFound) IsRedirect

func (o *CreateWorkspacePoolNotFound) IsRedirect() bool

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

func (*CreateWorkspacePoolNotFound) IsServerError

func (o *CreateWorkspacePoolNotFound) IsServerError() bool

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

func (*CreateWorkspacePoolNotFound) IsSuccess

func (o *CreateWorkspacePoolNotFound) IsSuccess() bool

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

func (*CreateWorkspacePoolNotFound) String

func (o *CreateWorkspacePoolNotFound) String() string

type CreateWorkspacePoolParams

type CreateWorkspacePoolParams struct {

	// Pool.
	Pool *models.Pool

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

	/* WithIdp.

	   With idp
	*/
	WithIdp *bool

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

CreateWorkspacePoolParams contains all the parameters to send to the API endpoint

for the create workspace pool operation.

Typically these are written to a http.Request.

func NewCreateWorkspacePoolParams

func NewCreateWorkspacePoolParams() *CreateWorkspacePoolParams

NewCreateWorkspacePoolParams creates a new CreateWorkspacePoolParams 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 NewCreateWorkspacePoolParamsWithContext

func NewCreateWorkspacePoolParamsWithContext(ctx context.Context) *CreateWorkspacePoolParams

NewCreateWorkspacePoolParamsWithContext creates a new CreateWorkspacePoolParams object with the ability to set a context for a request.

func NewCreateWorkspacePoolParamsWithHTTPClient

func NewCreateWorkspacePoolParamsWithHTTPClient(client *http.Client) *CreateWorkspacePoolParams

NewCreateWorkspacePoolParamsWithHTTPClient creates a new CreateWorkspacePoolParams object with the ability to set a custom HTTPClient for a request.

func NewCreateWorkspacePoolParamsWithTimeout

func NewCreateWorkspacePoolParamsWithTimeout(timeout time.Duration) *CreateWorkspacePoolParams

NewCreateWorkspacePoolParamsWithTimeout creates a new CreateWorkspacePoolParams object with the ability to set a timeout on a request.

func (*CreateWorkspacePoolParams) SetContext

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

SetContext adds the context to the create workspace pool params

func (*CreateWorkspacePoolParams) SetDefaults

func (o *CreateWorkspacePoolParams) SetDefaults()

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

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

func (*CreateWorkspacePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create workspace pool params

func (*CreateWorkspacePoolParams) SetIfMatch

func (o *CreateWorkspacePoolParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the create workspace pool params

func (*CreateWorkspacePoolParams) SetPool

func (o *CreateWorkspacePoolParams) SetPool(pool *models.Pool)

SetPool adds the pool to the create workspace pool params

func (*CreateWorkspacePoolParams) SetTimeout

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

SetTimeout adds the timeout to the create workspace pool params

func (*CreateWorkspacePoolParams) SetWid

func (o *CreateWorkspacePoolParams) SetWid(wid string)

SetWid adds the wid to the create workspace pool params

func (*CreateWorkspacePoolParams) SetWithIdp

func (o *CreateWorkspacePoolParams) SetWithIdp(withIdp *bool)

SetWithIdp adds the withIdp to the create workspace pool params

func (*CreateWorkspacePoolParams) WithContext

WithContext adds the context to the create workspace pool params

func (*CreateWorkspacePoolParams) WithDefaults

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

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

func (*CreateWorkspacePoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create workspace pool params

func (*CreateWorkspacePoolParams) WithIfMatch

WithIfMatch adds the ifMatch to the create workspace pool params

func (*CreateWorkspacePoolParams) WithPool

WithPool adds the pool to the create workspace pool params

func (*CreateWorkspacePoolParams) WithTimeout

WithTimeout adds the timeout to the create workspace pool params

func (*CreateWorkspacePoolParams) WithWid

WithWid adds the wid to the create workspace pool params

func (*CreateWorkspacePoolParams) WithWithIdp

func (o *CreateWorkspacePoolParams) WithWithIdp(withIdp *bool) *CreateWorkspacePoolParams

WithWithIdp adds the withIdp to the create workspace pool params

func (*CreateWorkspacePoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateWorkspacePoolReader

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

CreateWorkspacePoolReader is a Reader for the CreateWorkspacePool structure.

func (*CreateWorkspacePoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateWorkspacePoolTooManyRequests

type CreateWorkspacePoolTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewCreateWorkspacePoolTooManyRequests

func NewCreateWorkspacePoolTooManyRequests() *CreateWorkspacePoolTooManyRequests

NewCreateWorkspacePoolTooManyRequests creates a CreateWorkspacePoolTooManyRequests with default headers values

func (*CreateWorkspacePoolTooManyRequests) Code

Code gets the status code for the create workspace pool too many requests response

func (*CreateWorkspacePoolTooManyRequests) Error

func (*CreateWorkspacePoolTooManyRequests) GetPayload

func (*CreateWorkspacePoolTooManyRequests) IsClientError

func (o *CreateWorkspacePoolTooManyRequests) IsClientError() bool

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

func (*CreateWorkspacePoolTooManyRequests) IsCode

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

func (*CreateWorkspacePoolTooManyRequests) IsRedirect

func (o *CreateWorkspacePoolTooManyRequests) IsRedirect() bool

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

func (*CreateWorkspacePoolTooManyRequests) IsServerError

func (o *CreateWorkspacePoolTooManyRequests) IsServerError() bool

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

func (*CreateWorkspacePoolTooManyRequests) IsSuccess

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

func (*CreateWorkspacePoolTooManyRequests) String

type CreateWorkspacePoolUnauthorized

type CreateWorkspacePoolUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewCreateWorkspacePoolUnauthorized

func NewCreateWorkspacePoolUnauthorized() *CreateWorkspacePoolUnauthorized

NewCreateWorkspacePoolUnauthorized creates a CreateWorkspacePoolUnauthorized with default headers values

func (*CreateWorkspacePoolUnauthorized) Code

Code gets the status code for the create workspace pool unauthorized response

func (*CreateWorkspacePoolUnauthorized) Error

func (*CreateWorkspacePoolUnauthorized) GetPayload

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

func (*CreateWorkspacePoolUnauthorized) IsClientError

func (o *CreateWorkspacePoolUnauthorized) IsClientError() bool

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

func (*CreateWorkspacePoolUnauthorized) IsCode

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

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

func (*CreateWorkspacePoolUnauthorized) IsRedirect

func (o *CreateWorkspacePoolUnauthorized) IsRedirect() bool

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

func (*CreateWorkspacePoolUnauthorized) IsServerError

func (o *CreateWorkspacePoolUnauthorized) IsServerError() bool

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

func (*CreateWorkspacePoolUnauthorized) IsSuccess

func (o *CreateWorkspacePoolUnauthorized) IsSuccess() bool

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

func (*CreateWorkspacePoolUnauthorized) String

type CreateWorkspacePoolUnprocessableEntity

type CreateWorkspacePoolUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewCreateWorkspacePoolUnprocessableEntity

func NewCreateWorkspacePoolUnprocessableEntity() *CreateWorkspacePoolUnprocessableEntity

NewCreateWorkspacePoolUnprocessableEntity creates a CreateWorkspacePoolUnprocessableEntity with default headers values

func (*CreateWorkspacePoolUnprocessableEntity) Code

Code gets the status code for the create workspace pool unprocessable entity response

func (*CreateWorkspacePoolUnprocessableEntity) Error

func (*CreateWorkspacePoolUnprocessableEntity) GetPayload

func (*CreateWorkspacePoolUnprocessableEntity) IsClientError

func (o *CreateWorkspacePoolUnprocessableEntity) IsClientError() bool

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

func (*CreateWorkspacePoolUnprocessableEntity) IsCode

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

func (*CreateWorkspacePoolUnprocessableEntity) IsRedirect

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

func (*CreateWorkspacePoolUnprocessableEntity) IsServerError

func (o *CreateWorkspacePoolUnprocessableEntity) IsServerError() bool

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

func (*CreateWorkspacePoolUnprocessableEntity) IsSuccess

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

func (*CreateWorkspacePoolUnprocessableEntity) String

type DeletePoolForbidden

type DeletePoolForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewDeletePoolForbidden

func NewDeletePoolForbidden() *DeletePoolForbidden

NewDeletePoolForbidden creates a DeletePoolForbidden with default headers values

func (*DeletePoolForbidden) Code

func (o *DeletePoolForbidden) Code() int

Code gets the status code for the delete pool forbidden response

func (*DeletePoolForbidden) Error

func (o *DeletePoolForbidden) Error() string

func (*DeletePoolForbidden) GetPayload

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

func (*DeletePoolForbidden) IsClientError

func (o *DeletePoolForbidden) IsClientError() bool

IsClientError returns true when this delete pool forbidden response has a 4xx status code

func (*DeletePoolForbidden) IsCode

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

IsCode returns true when this delete pool forbidden response a status code equal to that given

func (*DeletePoolForbidden) IsRedirect

func (o *DeletePoolForbidden) IsRedirect() bool

IsRedirect returns true when this delete pool forbidden response has a 3xx status code

func (*DeletePoolForbidden) IsServerError

func (o *DeletePoolForbidden) IsServerError() bool

IsServerError returns true when this delete pool forbidden response has a 5xx status code

func (*DeletePoolForbidden) IsSuccess

func (o *DeletePoolForbidden) IsSuccess() bool

IsSuccess returns true when this delete pool forbidden response has a 2xx status code

func (*DeletePoolForbidden) String

func (o *DeletePoolForbidden) String() string

type DeletePoolNoContent

type DeletePoolNoContent struct {
}

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

Identity Pool Deleted

func NewDeletePoolNoContent

func NewDeletePoolNoContent() *DeletePoolNoContent

NewDeletePoolNoContent creates a DeletePoolNoContent with default headers values

func (*DeletePoolNoContent) Code

func (o *DeletePoolNoContent) Code() int

Code gets the status code for the delete pool no content response

func (*DeletePoolNoContent) Error

func (o *DeletePoolNoContent) Error() string

func (*DeletePoolNoContent) IsClientError

func (o *DeletePoolNoContent) IsClientError() bool

IsClientError returns true when this delete pool no content response has a 4xx status code

func (*DeletePoolNoContent) IsCode

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

IsCode returns true when this delete pool no content response a status code equal to that given

func (*DeletePoolNoContent) IsRedirect

func (o *DeletePoolNoContent) IsRedirect() bool

IsRedirect returns true when this delete pool no content response has a 3xx status code

func (*DeletePoolNoContent) IsServerError

func (o *DeletePoolNoContent) IsServerError() bool

IsServerError returns true when this delete pool no content response has a 5xx status code

func (*DeletePoolNoContent) IsSuccess

func (o *DeletePoolNoContent) IsSuccess() bool

IsSuccess returns true when this delete pool no content response has a 2xx status code

func (*DeletePoolNoContent) String

func (o *DeletePoolNoContent) String() string

type DeletePoolNotFound

type DeletePoolNotFound struct {
	Payload *models.Error
}

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

Not found

func NewDeletePoolNotFound

func NewDeletePoolNotFound() *DeletePoolNotFound

NewDeletePoolNotFound creates a DeletePoolNotFound with default headers values

func (*DeletePoolNotFound) Code

func (o *DeletePoolNotFound) Code() int

Code gets the status code for the delete pool not found response

func (*DeletePoolNotFound) Error

func (o *DeletePoolNotFound) Error() string

func (*DeletePoolNotFound) GetPayload

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

func (*DeletePoolNotFound) IsClientError

func (o *DeletePoolNotFound) IsClientError() bool

IsClientError returns true when this delete pool not found response has a 4xx status code

func (*DeletePoolNotFound) IsCode

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

IsCode returns true when this delete pool not found response a status code equal to that given

func (*DeletePoolNotFound) IsRedirect

func (o *DeletePoolNotFound) IsRedirect() bool

IsRedirect returns true when this delete pool not found response has a 3xx status code

func (*DeletePoolNotFound) IsServerError

func (o *DeletePoolNotFound) IsServerError() bool

IsServerError returns true when this delete pool not found response has a 5xx status code

func (*DeletePoolNotFound) IsSuccess

func (o *DeletePoolNotFound) IsSuccess() bool

IsSuccess returns true when this delete pool not found response has a 2xx status code

func (*DeletePoolNotFound) String

func (o *DeletePoolNotFound) String() string

type DeletePoolParams

type DeletePoolParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	// IPID.
	IPID string

	/* WithIdp.

	   With idp
	*/
	WithIdp *bool

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

DeletePoolParams contains all the parameters to send to the API endpoint

for the delete pool operation.

Typically these are written to a http.Request.

func NewDeletePoolParams

func NewDeletePoolParams() *DeletePoolParams

NewDeletePoolParams creates a new DeletePoolParams 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 NewDeletePoolParamsWithContext

func NewDeletePoolParamsWithContext(ctx context.Context) *DeletePoolParams

NewDeletePoolParamsWithContext creates a new DeletePoolParams object with the ability to set a context for a request.

func NewDeletePoolParamsWithHTTPClient

func NewDeletePoolParamsWithHTTPClient(client *http.Client) *DeletePoolParams

NewDeletePoolParamsWithHTTPClient creates a new DeletePoolParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePoolParamsWithTimeout

func NewDeletePoolParamsWithTimeout(timeout time.Duration) *DeletePoolParams

NewDeletePoolParamsWithTimeout creates a new DeletePoolParams object with the ability to set a timeout on a request.

func (*DeletePoolParams) SetContext

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

SetContext adds the context to the delete pool params

func (*DeletePoolParams) SetDefaults

func (o *DeletePoolParams) SetDefaults()

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

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

func (*DeletePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete pool params

func (*DeletePoolParams) SetIPID

func (o *DeletePoolParams) SetIPID(iPID string)

SetIPID adds the ipId to the delete pool params

func (*DeletePoolParams) SetIfMatch

func (o *DeletePoolParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the delete pool params

func (*DeletePoolParams) SetTimeout

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

SetTimeout adds the timeout to the delete pool params

func (*DeletePoolParams) SetWithIdp

func (o *DeletePoolParams) SetWithIdp(withIdp *bool)

SetWithIdp adds the withIdp to the delete pool params

func (*DeletePoolParams) WithContext

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

WithContext adds the context to the delete pool params

func (*DeletePoolParams) WithDefaults

func (o *DeletePoolParams) WithDefaults() *DeletePoolParams

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

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

func (*DeletePoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete pool params

func (*DeletePoolParams) WithIPID

func (o *DeletePoolParams) WithIPID(iPID string) *DeletePoolParams

WithIPID adds the iPID to the delete pool params

func (*DeletePoolParams) WithIfMatch

func (o *DeletePoolParams) WithIfMatch(ifMatch *string) *DeletePoolParams

WithIfMatch adds the ifMatch to the delete pool params

func (*DeletePoolParams) WithTimeout

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

WithTimeout adds the timeout to the delete pool params

func (*DeletePoolParams) WithWithIdp

func (o *DeletePoolParams) WithWithIdp(withIdp *bool) *DeletePoolParams

WithWithIdp adds the withIdp to the delete pool params

func (*DeletePoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeletePoolReader

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

DeletePoolReader is a Reader for the DeletePool structure.

func (*DeletePoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePoolTooManyRequests

type DeletePoolTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewDeletePoolTooManyRequests

func NewDeletePoolTooManyRequests() *DeletePoolTooManyRequests

NewDeletePoolTooManyRequests creates a DeletePoolTooManyRequests with default headers values

func (*DeletePoolTooManyRequests) Code

func (o *DeletePoolTooManyRequests) Code() int

Code gets the status code for the delete pool too many requests response

func (*DeletePoolTooManyRequests) Error

func (o *DeletePoolTooManyRequests) Error() string

func (*DeletePoolTooManyRequests) GetPayload

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

func (*DeletePoolTooManyRequests) IsClientError

func (o *DeletePoolTooManyRequests) IsClientError() bool

IsClientError returns true when this delete pool too many requests response has a 4xx status code

func (*DeletePoolTooManyRequests) IsCode

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

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

func (*DeletePoolTooManyRequests) IsRedirect

func (o *DeletePoolTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete pool too many requests response has a 3xx status code

func (*DeletePoolTooManyRequests) IsServerError

func (o *DeletePoolTooManyRequests) IsServerError() bool

IsServerError returns true when this delete pool too many requests response has a 5xx status code

func (*DeletePoolTooManyRequests) IsSuccess

func (o *DeletePoolTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete pool too many requests response has a 2xx status code

func (*DeletePoolTooManyRequests) String

func (o *DeletePoolTooManyRequests) String() string

type DeletePoolUnauthorized

type DeletePoolUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeletePoolUnauthorized

func NewDeletePoolUnauthorized() *DeletePoolUnauthorized

NewDeletePoolUnauthorized creates a DeletePoolUnauthorized with default headers values

func (*DeletePoolUnauthorized) Code

func (o *DeletePoolUnauthorized) Code() int

Code gets the status code for the delete pool unauthorized response

func (*DeletePoolUnauthorized) Error

func (o *DeletePoolUnauthorized) Error() string

func (*DeletePoolUnauthorized) GetPayload

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

func (*DeletePoolUnauthorized) IsClientError

func (o *DeletePoolUnauthorized) IsClientError() bool

IsClientError returns true when this delete pool unauthorized response has a 4xx status code

func (*DeletePoolUnauthorized) IsCode

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

IsCode returns true when this delete pool unauthorized response a status code equal to that given

func (*DeletePoolUnauthorized) IsRedirect

func (o *DeletePoolUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete pool unauthorized response has a 3xx status code

func (*DeletePoolUnauthorized) IsServerError

func (o *DeletePoolUnauthorized) IsServerError() bool

IsServerError returns true when this delete pool unauthorized response has a 5xx status code

func (*DeletePoolUnauthorized) IsSuccess

func (o *DeletePoolUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete pool unauthorized response has a 2xx status code

func (*DeletePoolUnauthorized) String

func (o *DeletePoolUnauthorized) String() string

type DeleteWorkspacePoolForbidden

type DeleteWorkspacePoolForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewDeleteWorkspacePoolForbidden

func NewDeleteWorkspacePoolForbidden() *DeleteWorkspacePoolForbidden

NewDeleteWorkspacePoolForbidden creates a DeleteWorkspacePoolForbidden with default headers values

func (*DeleteWorkspacePoolForbidden) Code

Code gets the status code for the delete workspace pool forbidden response

func (*DeleteWorkspacePoolForbidden) Error

func (*DeleteWorkspacePoolForbidden) GetPayload

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

func (*DeleteWorkspacePoolForbidden) IsClientError

func (o *DeleteWorkspacePoolForbidden) IsClientError() bool

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

func (*DeleteWorkspacePoolForbidden) IsCode

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

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

func (*DeleteWorkspacePoolForbidden) IsRedirect

func (o *DeleteWorkspacePoolForbidden) IsRedirect() bool

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

func (*DeleteWorkspacePoolForbidden) IsServerError

func (o *DeleteWorkspacePoolForbidden) IsServerError() bool

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

func (*DeleteWorkspacePoolForbidden) IsSuccess

func (o *DeleteWorkspacePoolForbidden) IsSuccess() bool

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

func (*DeleteWorkspacePoolForbidden) String

type DeleteWorkspacePoolNoContent

type DeleteWorkspacePoolNoContent struct {
}

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

Identity Pool Deleted

func NewDeleteWorkspacePoolNoContent

func NewDeleteWorkspacePoolNoContent() *DeleteWorkspacePoolNoContent

NewDeleteWorkspacePoolNoContent creates a DeleteWorkspacePoolNoContent with default headers values

func (*DeleteWorkspacePoolNoContent) Code

Code gets the status code for the delete workspace pool no content response

func (*DeleteWorkspacePoolNoContent) Error

func (*DeleteWorkspacePoolNoContent) IsClientError

func (o *DeleteWorkspacePoolNoContent) IsClientError() bool

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

func (*DeleteWorkspacePoolNoContent) IsCode

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

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

func (*DeleteWorkspacePoolNoContent) IsRedirect

func (o *DeleteWorkspacePoolNoContent) IsRedirect() bool

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

func (*DeleteWorkspacePoolNoContent) IsServerError

func (o *DeleteWorkspacePoolNoContent) IsServerError() bool

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

func (*DeleteWorkspacePoolNoContent) IsSuccess

func (o *DeleteWorkspacePoolNoContent) IsSuccess() bool

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

func (*DeleteWorkspacePoolNoContent) String

type DeleteWorkspacePoolNotFound

type DeleteWorkspacePoolNotFound struct {
	Payload *models.Error
}

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

Not found

func NewDeleteWorkspacePoolNotFound

func NewDeleteWorkspacePoolNotFound() *DeleteWorkspacePoolNotFound

NewDeleteWorkspacePoolNotFound creates a DeleteWorkspacePoolNotFound with default headers values

func (*DeleteWorkspacePoolNotFound) Code

func (o *DeleteWorkspacePoolNotFound) Code() int

Code gets the status code for the delete workspace pool not found response

func (*DeleteWorkspacePoolNotFound) Error

func (*DeleteWorkspacePoolNotFound) GetPayload

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

func (*DeleteWorkspacePoolNotFound) IsClientError

func (o *DeleteWorkspacePoolNotFound) IsClientError() bool

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

func (*DeleteWorkspacePoolNotFound) IsCode

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

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

func (*DeleteWorkspacePoolNotFound) IsRedirect

func (o *DeleteWorkspacePoolNotFound) IsRedirect() bool

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

func (*DeleteWorkspacePoolNotFound) IsServerError

func (o *DeleteWorkspacePoolNotFound) IsServerError() bool

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

func (*DeleteWorkspacePoolNotFound) IsSuccess

func (o *DeleteWorkspacePoolNotFound) IsSuccess() bool

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

func (*DeleteWorkspacePoolNotFound) String

func (o *DeleteWorkspacePoolNotFound) String() string

type DeleteWorkspacePoolParams

type DeleteWorkspacePoolParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	// IPID.
	IPID string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

	/* WithIdp.

	   With idp
	*/
	WithIdp *bool

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

DeleteWorkspacePoolParams contains all the parameters to send to the API endpoint

for the delete workspace pool operation.

Typically these are written to a http.Request.

func NewDeleteWorkspacePoolParams

func NewDeleteWorkspacePoolParams() *DeleteWorkspacePoolParams

NewDeleteWorkspacePoolParams creates a new DeleteWorkspacePoolParams 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 NewDeleteWorkspacePoolParamsWithContext

func NewDeleteWorkspacePoolParamsWithContext(ctx context.Context) *DeleteWorkspacePoolParams

NewDeleteWorkspacePoolParamsWithContext creates a new DeleteWorkspacePoolParams object with the ability to set a context for a request.

func NewDeleteWorkspacePoolParamsWithHTTPClient

func NewDeleteWorkspacePoolParamsWithHTTPClient(client *http.Client) *DeleteWorkspacePoolParams

NewDeleteWorkspacePoolParamsWithHTTPClient creates a new DeleteWorkspacePoolParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteWorkspacePoolParamsWithTimeout

func NewDeleteWorkspacePoolParamsWithTimeout(timeout time.Duration) *DeleteWorkspacePoolParams

NewDeleteWorkspacePoolParamsWithTimeout creates a new DeleteWorkspacePoolParams object with the ability to set a timeout on a request.

func (*DeleteWorkspacePoolParams) SetContext

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

SetContext adds the context to the delete workspace pool params

func (*DeleteWorkspacePoolParams) SetDefaults

func (o *DeleteWorkspacePoolParams) SetDefaults()

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

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

func (*DeleteWorkspacePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete workspace pool params

func (*DeleteWorkspacePoolParams) SetIPID

func (o *DeleteWorkspacePoolParams) SetIPID(iPID string)

SetIPID adds the ipId to the delete workspace pool params

func (*DeleteWorkspacePoolParams) SetIfMatch

func (o *DeleteWorkspacePoolParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the delete workspace pool params

func (*DeleteWorkspacePoolParams) SetTimeout

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

SetTimeout adds the timeout to the delete workspace pool params

func (*DeleteWorkspacePoolParams) SetWid

func (o *DeleteWorkspacePoolParams) SetWid(wid string)

SetWid adds the wid to the delete workspace pool params

func (*DeleteWorkspacePoolParams) SetWithIdp

func (o *DeleteWorkspacePoolParams) SetWithIdp(withIdp *bool)

SetWithIdp adds the withIdp to the delete workspace pool params

func (*DeleteWorkspacePoolParams) WithContext

WithContext adds the context to the delete workspace pool params

func (*DeleteWorkspacePoolParams) WithDefaults

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

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

func (*DeleteWorkspacePoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete workspace pool params

func (*DeleteWorkspacePoolParams) WithIPID

WithIPID adds the iPID to the delete workspace pool params

func (*DeleteWorkspacePoolParams) WithIfMatch

WithIfMatch adds the ifMatch to the delete workspace pool params

func (*DeleteWorkspacePoolParams) WithTimeout

WithTimeout adds the timeout to the delete workspace pool params

func (*DeleteWorkspacePoolParams) WithWid

WithWid adds the wid to the delete workspace pool params

func (*DeleteWorkspacePoolParams) WithWithIdp

func (o *DeleteWorkspacePoolParams) WithWithIdp(withIdp *bool) *DeleteWorkspacePoolParams

WithWithIdp adds the withIdp to the delete workspace pool params

func (*DeleteWorkspacePoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteWorkspacePoolReader

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

DeleteWorkspacePoolReader is a Reader for the DeleteWorkspacePool structure.

func (*DeleteWorkspacePoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteWorkspacePoolTooManyRequests

type DeleteWorkspacePoolTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewDeleteWorkspacePoolTooManyRequests

func NewDeleteWorkspacePoolTooManyRequests() *DeleteWorkspacePoolTooManyRequests

NewDeleteWorkspacePoolTooManyRequests creates a DeleteWorkspacePoolTooManyRequests with default headers values

func (*DeleteWorkspacePoolTooManyRequests) Code

Code gets the status code for the delete workspace pool too many requests response

func (*DeleteWorkspacePoolTooManyRequests) Error

func (*DeleteWorkspacePoolTooManyRequests) GetPayload

func (*DeleteWorkspacePoolTooManyRequests) IsClientError

func (o *DeleteWorkspacePoolTooManyRequests) IsClientError() bool

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

func (*DeleteWorkspacePoolTooManyRequests) IsCode

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

func (*DeleteWorkspacePoolTooManyRequests) IsRedirect

func (o *DeleteWorkspacePoolTooManyRequests) IsRedirect() bool

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

func (*DeleteWorkspacePoolTooManyRequests) IsServerError

func (o *DeleteWorkspacePoolTooManyRequests) IsServerError() bool

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

func (*DeleteWorkspacePoolTooManyRequests) IsSuccess

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

func (*DeleteWorkspacePoolTooManyRequests) String

type DeleteWorkspacePoolUnauthorized

type DeleteWorkspacePoolUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeleteWorkspacePoolUnauthorized

func NewDeleteWorkspacePoolUnauthorized() *DeleteWorkspacePoolUnauthorized

NewDeleteWorkspacePoolUnauthorized creates a DeleteWorkspacePoolUnauthorized with default headers values

func (*DeleteWorkspacePoolUnauthorized) Code

Code gets the status code for the delete workspace pool unauthorized response

func (*DeleteWorkspacePoolUnauthorized) Error

func (*DeleteWorkspacePoolUnauthorized) GetPayload

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

func (*DeleteWorkspacePoolUnauthorized) IsClientError

func (o *DeleteWorkspacePoolUnauthorized) IsClientError() bool

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

func (*DeleteWorkspacePoolUnauthorized) IsCode

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

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

func (*DeleteWorkspacePoolUnauthorized) IsRedirect

func (o *DeleteWorkspacePoolUnauthorized) IsRedirect() bool

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

func (*DeleteWorkspacePoolUnauthorized) IsServerError

func (o *DeleteWorkspacePoolUnauthorized) IsServerError() bool

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

func (*DeleteWorkspacePoolUnauthorized) IsSuccess

func (o *DeleteWorkspacePoolUnauthorized) IsSuccess() bool

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

func (*DeleteWorkspacePoolUnauthorized) String

type GetPoolForbidden

type GetPoolForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetPoolForbidden

func NewGetPoolForbidden() *GetPoolForbidden

NewGetPoolForbidden creates a GetPoolForbidden with default headers values

func (*GetPoolForbidden) Code

func (o *GetPoolForbidden) Code() int

Code gets the status code for the get pool forbidden response

func (*GetPoolForbidden) Error

func (o *GetPoolForbidden) Error() string

func (*GetPoolForbidden) GetPayload

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

func (*GetPoolForbidden) IsClientError

func (o *GetPoolForbidden) IsClientError() bool

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

func (*GetPoolForbidden) IsCode

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

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

func (*GetPoolForbidden) IsRedirect

func (o *GetPoolForbidden) IsRedirect() bool

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

func (*GetPoolForbidden) IsServerError

func (o *GetPoolForbidden) IsServerError() bool

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

func (*GetPoolForbidden) IsSuccess

func (o *GetPoolForbidden) IsSuccess() bool

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

func (*GetPoolForbidden) String

func (o *GetPoolForbidden) String() string

type GetPoolNotFound

type GetPoolNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGetPoolNotFound

func NewGetPoolNotFound() *GetPoolNotFound

NewGetPoolNotFound creates a GetPoolNotFound with default headers values

func (*GetPoolNotFound) Code

func (o *GetPoolNotFound) Code() int

Code gets the status code for the get pool not found response

func (*GetPoolNotFound) Error

func (o *GetPoolNotFound) Error() string

func (*GetPoolNotFound) GetPayload

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

func (*GetPoolNotFound) IsClientError

func (o *GetPoolNotFound) IsClientError() bool

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

func (*GetPoolNotFound) IsCode

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

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

func (*GetPoolNotFound) IsRedirect

func (o *GetPoolNotFound) IsRedirect() bool

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

func (*GetPoolNotFound) IsServerError

func (o *GetPoolNotFound) IsServerError() bool

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

func (*GetPoolNotFound) IsSuccess

func (o *GetPoolNotFound) IsSuccess() bool

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

func (*GetPoolNotFound) String

func (o *GetPoolNotFound) String() string

type GetPoolOK

type GetPoolOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.PoolResponse
}

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

Identity Pool

func NewGetPoolOK

func NewGetPoolOK() *GetPoolOK

NewGetPoolOK creates a GetPoolOK with default headers values

func (*GetPoolOK) Code

func (o *GetPoolOK) Code() int

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

func (*GetPoolOK) Error

func (o *GetPoolOK) Error() string

func (*GetPoolOK) GetPayload

func (o *GetPoolOK) GetPayload() *models.PoolResponse

func (*GetPoolOK) IsClientError

func (o *GetPoolOK) IsClientError() bool

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

func (*GetPoolOK) IsCode

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

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

func (*GetPoolOK) IsRedirect

func (o *GetPoolOK) IsRedirect() bool

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

func (*GetPoolOK) IsServerError

func (o *GetPoolOK) IsServerError() bool

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

func (*GetPoolOK) IsSuccess

func (o *GetPoolOK) IsSuccess() bool

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

func (*GetPoolOK) String

func (o *GetPoolOK) String() string

type GetPoolParams

type GetPoolParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	// IPID.
	IPID string

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

GetPoolParams contains all the parameters to send to the API endpoint

for the get pool operation.

Typically these are written to a http.Request.

func NewGetPoolParams

func NewGetPoolParams() *GetPoolParams

NewGetPoolParams creates a new GetPoolParams 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 NewGetPoolParamsWithContext

func NewGetPoolParamsWithContext(ctx context.Context) *GetPoolParams

NewGetPoolParamsWithContext creates a new GetPoolParams object with the ability to set a context for a request.

func NewGetPoolParamsWithHTTPClient

func NewGetPoolParamsWithHTTPClient(client *http.Client) *GetPoolParams

NewGetPoolParamsWithHTTPClient creates a new GetPoolParams object with the ability to set a custom HTTPClient for a request.

func NewGetPoolParamsWithTimeout

func NewGetPoolParamsWithTimeout(timeout time.Duration) *GetPoolParams

NewGetPoolParamsWithTimeout creates a new GetPoolParams object with the ability to set a timeout on a request.

func (*GetPoolParams) SetContext

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

SetContext adds the context to the get pool params

func (*GetPoolParams) SetDefaults

func (o *GetPoolParams) SetDefaults()

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

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

func (*GetPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get pool params

func (*GetPoolParams) SetIPID

func (o *GetPoolParams) SetIPID(iPID string)

SetIPID adds the ipId to the get pool params

func (*GetPoolParams) SetIfMatch

func (o *GetPoolParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the get pool params

func (*GetPoolParams) SetTimeout

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

SetTimeout adds the timeout to the get pool params

func (*GetPoolParams) WithContext

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

WithContext adds the context to the get pool params

func (*GetPoolParams) WithDefaults

func (o *GetPoolParams) WithDefaults() *GetPoolParams

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

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

func (*GetPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get pool params

func (*GetPoolParams) WithIPID

func (o *GetPoolParams) WithIPID(iPID string) *GetPoolParams

WithIPID adds the iPID to the get pool params

func (*GetPoolParams) WithIfMatch

func (o *GetPoolParams) WithIfMatch(ifMatch *string) *GetPoolParams

WithIfMatch adds the ifMatch to the get pool params

func (*GetPoolParams) WithTimeout

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

WithTimeout adds the timeout to the get pool params

func (*GetPoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPoolReader

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

GetPoolReader is a Reader for the GetPool structure.

func (*GetPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPoolTooManyRequests

type GetPoolTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGetPoolTooManyRequests

func NewGetPoolTooManyRequests() *GetPoolTooManyRequests

NewGetPoolTooManyRequests creates a GetPoolTooManyRequests with default headers values

func (*GetPoolTooManyRequests) Code

func (o *GetPoolTooManyRequests) Code() int

Code gets the status code for the get pool too many requests response

func (*GetPoolTooManyRequests) Error

func (o *GetPoolTooManyRequests) Error() string

func (*GetPoolTooManyRequests) GetPayload

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

func (*GetPoolTooManyRequests) IsClientError

func (o *GetPoolTooManyRequests) IsClientError() bool

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

func (*GetPoolTooManyRequests) IsCode

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

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

func (*GetPoolTooManyRequests) IsRedirect

func (o *GetPoolTooManyRequests) IsRedirect() bool

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

func (*GetPoolTooManyRequests) IsServerError

func (o *GetPoolTooManyRequests) IsServerError() bool

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

func (*GetPoolTooManyRequests) IsSuccess

func (o *GetPoolTooManyRequests) IsSuccess() bool

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

func (*GetPoolTooManyRequests) String

func (o *GetPoolTooManyRequests) String() string

type GetPoolUnauthorized

type GetPoolUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetPoolUnauthorized

func NewGetPoolUnauthorized() *GetPoolUnauthorized

NewGetPoolUnauthorized creates a GetPoolUnauthorized with default headers values

func (*GetPoolUnauthorized) Code

func (o *GetPoolUnauthorized) Code() int

Code gets the status code for the get pool unauthorized response

func (*GetPoolUnauthorized) Error

func (o *GetPoolUnauthorized) Error() string

func (*GetPoolUnauthorized) GetPayload

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

func (*GetPoolUnauthorized) IsClientError

func (o *GetPoolUnauthorized) IsClientError() bool

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

func (*GetPoolUnauthorized) IsCode

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

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

func (*GetPoolUnauthorized) IsRedirect

func (o *GetPoolUnauthorized) IsRedirect() bool

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

func (*GetPoolUnauthorized) IsServerError

func (o *GetPoolUnauthorized) IsServerError() bool

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

func (*GetPoolUnauthorized) IsSuccess

func (o *GetPoolUnauthorized) IsSuccess() bool

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

func (*GetPoolUnauthorized) String

func (o *GetPoolUnauthorized) String() string

type ListPoolsForbidden

type ListPoolsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListPoolsForbidden

func NewListPoolsForbidden() *ListPoolsForbidden

NewListPoolsForbidden creates a ListPoolsForbidden with default headers values

func (*ListPoolsForbidden) Code

func (o *ListPoolsForbidden) Code() int

Code gets the status code for the list pools forbidden response

func (*ListPoolsForbidden) Error

func (o *ListPoolsForbidden) Error() string

func (*ListPoolsForbidden) GetPayload

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

func (*ListPoolsForbidden) IsClientError

func (o *ListPoolsForbidden) IsClientError() bool

IsClientError returns true when this list pools forbidden response has a 4xx status code

func (*ListPoolsForbidden) IsCode

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

IsCode returns true when this list pools forbidden response a status code equal to that given

func (*ListPoolsForbidden) IsRedirect

func (o *ListPoolsForbidden) IsRedirect() bool

IsRedirect returns true when this list pools forbidden response has a 3xx status code

func (*ListPoolsForbidden) IsServerError

func (o *ListPoolsForbidden) IsServerError() bool

IsServerError returns true when this list pools forbidden response has a 5xx status code

func (*ListPoolsForbidden) IsSuccess

func (o *ListPoolsForbidden) IsSuccess() bool

IsSuccess returns true when this list pools forbidden response has a 2xx status code

func (*ListPoolsForbidden) String

func (o *ListPoolsForbidden) String() string

type ListPoolsOK

type ListPoolsOK struct {
	Payload *models.Pools
}

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

Pools

func NewListPoolsOK

func NewListPoolsOK() *ListPoolsOK

NewListPoolsOK creates a ListPoolsOK with default headers values

func (*ListPoolsOK) Code

func (o *ListPoolsOK) Code() int

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

func (*ListPoolsOK) Error

func (o *ListPoolsOK) Error() string

func (*ListPoolsOK) GetPayload

func (o *ListPoolsOK) GetPayload() *models.Pools

func (*ListPoolsOK) IsClientError

func (o *ListPoolsOK) IsClientError() bool

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

func (*ListPoolsOK) IsCode

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

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

func (*ListPoolsOK) IsRedirect

func (o *ListPoolsOK) IsRedirect() bool

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

func (*ListPoolsOK) IsServerError

func (o *ListPoolsOK) IsServerError() bool

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

func (*ListPoolsOK) IsSuccess

func (o *ListPoolsOK) IsSuccess() bool

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

func (*ListPoolsOK) String

func (o *ListPoolsOK) String() string

type ListPoolsParams

type ListPoolsParams struct {

	/* AfterPoolID.

	     An identity pool identifier.

	Use it to navigate through the request pagination when the number of identity pools is greater than the
	`limit` set for results in the response.

	With `after_pool_id`, the list you obtain starts from the subsequent identity pool after the specified one. Also,
	the response depends on the `sort` and `order` parameters, if any are passed.

	AfterPoolID
	*/
	AfterPoolID *string

	/* BeforePoolID.

	     An identity pool identifier.

	Use it to navigate through the request pagination when the number of identity pools is greater than the
	`limit` set for the results in the response.

	With `before_pool_id`, the list you obtain comprises identity pools up to the specified one. The specified
	identity pool isn't included. Also, the response depends on the `sort` and `order` parameters, if any are
	passed.

	BeforePoolID
	*/
	BeforePoolID *string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Limit.

	     Limit the number of results returned in the response.

	Limit

	     Format: int64
	     Default: 20
	*/
	Limit *int64

	/* Order.

	     Set the order of results returned in the response. Input: `acs`, `desc`.

	Order
	*/
	Order *string

	/* SearchPhrase.

	     A search substring. Use the identity pool identifier or name as its value.

	SearchPhrase
	*/
	SearchPhrase *string

	/* Sort.

	     Sort results returned in the response by `name` or `id`.

	Sort
	*/
	Sort *string

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

ListPoolsParams contains all the parameters to send to the API endpoint

for the list pools operation.

Typically these are written to a http.Request.

func NewListPoolsParams

func NewListPoolsParams() *ListPoolsParams

NewListPoolsParams creates a new ListPoolsParams 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 NewListPoolsParamsWithContext

func NewListPoolsParamsWithContext(ctx context.Context) *ListPoolsParams

NewListPoolsParamsWithContext creates a new ListPoolsParams object with the ability to set a context for a request.

func NewListPoolsParamsWithHTTPClient

func NewListPoolsParamsWithHTTPClient(client *http.Client) *ListPoolsParams

NewListPoolsParamsWithHTTPClient creates a new ListPoolsParams object with the ability to set a custom HTTPClient for a request.

func NewListPoolsParamsWithTimeout

func NewListPoolsParamsWithTimeout(timeout time.Duration) *ListPoolsParams

NewListPoolsParamsWithTimeout creates a new ListPoolsParams object with the ability to set a timeout on a request.

func (*ListPoolsParams) SetAfterPoolID

func (o *ListPoolsParams) SetAfterPoolID(afterPoolID *string)

SetAfterPoolID adds the afterPoolId to the list pools params

func (*ListPoolsParams) SetBeforePoolID

func (o *ListPoolsParams) SetBeforePoolID(beforePoolID *string)

SetBeforePoolID adds the beforePoolId to the list pools params

func (*ListPoolsParams) SetContext

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

SetContext adds the context to the list pools params

func (*ListPoolsParams) SetDefaults

func (o *ListPoolsParams) SetDefaults()

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

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

func (*ListPoolsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list pools params

func (*ListPoolsParams) SetIfMatch

func (o *ListPoolsParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list pools params

func (*ListPoolsParams) SetLimit

func (o *ListPoolsParams) SetLimit(limit *int64)

SetLimit adds the limit to the list pools params

func (*ListPoolsParams) SetOrder

func (o *ListPoolsParams) SetOrder(order *string)

SetOrder adds the order to the list pools params

func (*ListPoolsParams) SetSearchPhrase

func (o *ListPoolsParams) SetSearchPhrase(searchPhrase *string)

SetSearchPhrase adds the searchPhrase to the list pools params

func (*ListPoolsParams) SetSort

func (o *ListPoolsParams) SetSort(sort *string)

SetSort adds the sort to the list pools params

func (*ListPoolsParams) SetTimeout

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

SetTimeout adds the timeout to the list pools params

func (*ListPoolsParams) WithAfterPoolID

func (o *ListPoolsParams) WithAfterPoolID(afterPoolID *string) *ListPoolsParams

WithAfterPoolID adds the afterPoolID to the list pools params

func (*ListPoolsParams) WithBeforePoolID

func (o *ListPoolsParams) WithBeforePoolID(beforePoolID *string) *ListPoolsParams

WithBeforePoolID adds the beforePoolID to the list pools params

func (*ListPoolsParams) WithContext

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

WithContext adds the context to the list pools params

func (*ListPoolsParams) WithDefaults

func (o *ListPoolsParams) WithDefaults() *ListPoolsParams

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

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

func (*ListPoolsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list pools params

func (*ListPoolsParams) WithIfMatch

func (o *ListPoolsParams) WithIfMatch(ifMatch *string) *ListPoolsParams

WithIfMatch adds the ifMatch to the list pools params

func (*ListPoolsParams) WithLimit

func (o *ListPoolsParams) WithLimit(limit *int64) *ListPoolsParams

WithLimit adds the limit to the list pools params

func (*ListPoolsParams) WithOrder

func (o *ListPoolsParams) WithOrder(order *string) *ListPoolsParams

WithOrder adds the order to the list pools params

func (*ListPoolsParams) WithSearchPhrase

func (o *ListPoolsParams) WithSearchPhrase(searchPhrase *string) *ListPoolsParams

WithSearchPhrase adds the searchPhrase to the list pools params

func (*ListPoolsParams) WithSort

func (o *ListPoolsParams) WithSort(sort *string) *ListPoolsParams

WithSort adds the sort to the list pools params

func (*ListPoolsParams) WithTimeout

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

WithTimeout adds the timeout to the list pools params

func (*ListPoolsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListPoolsReader

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

ListPoolsReader is a Reader for the ListPools structure.

func (*ListPoolsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPoolsTooManyRequests

type ListPoolsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListPoolsTooManyRequests

func NewListPoolsTooManyRequests() *ListPoolsTooManyRequests

NewListPoolsTooManyRequests creates a ListPoolsTooManyRequests with default headers values

func (*ListPoolsTooManyRequests) Code

func (o *ListPoolsTooManyRequests) Code() int

Code gets the status code for the list pools too many requests response

func (*ListPoolsTooManyRequests) Error

func (o *ListPoolsTooManyRequests) Error() string

func (*ListPoolsTooManyRequests) GetPayload

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

func (*ListPoolsTooManyRequests) IsClientError

func (o *ListPoolsTooManyRequests) IsClientError() bool

IsClientError returns true when this list pools too many requests response has a 4xx status code

func (*ListPoolsTooManyRequests) IsCode

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

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

func (*ListPoolsTooManyRequests) IsRedirect

func (o *ListPoolsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list pools too many requests response has a 3xx status code

func (*ListPoolsTooManyRequests) IsServerError

func (o *ListPoolsTooManyRequests) IsServerError() bool

IsServerError returns true when this list pools too many requests response has a 5xx status code

func (*ListPoolsTooManyRequests) IsSuccess

func (o *ListPoolsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list pools too many requests response has a 2xx status code

func (*ListPoolsTooManyRequests) String

func (o *ListPoolsTooManyRequests) String() string

type ListPoolsUnauthorized

type ListPoolsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListPoolsUnauthorized

func NewListPoolsUnauthorized() *ListPoolsUnauthorized

NewListPoolsUnauthorized creates a ListPoolsUnauthorized with default headers values

func (*ListPoolsUnauthorized) Code

func (o *ListPoolsUnauthorized) Code() int

Code gets the status code for the list pools unauthorized response

func (*ListPoolsUnauthorized) Error

func (o *ListPoolsUnauthorized) Error() string

func (*ListPoolsUnauthorized) GetPayload

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

func (*ListPoolsUnauthorized) IsClientError

func (o *ListPoolsUnauthorized) IsClientError() bool

IsClientError returns true when this list pools unauthorized response has a 4xx status code

func (*ListPoolsUnauthorized) IsCode

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

IsCode returns true when this list pools unauthorized response a status code equal to that given

func (*ListPoolsUnauthorized) IsRedirect

func (o *ListPoolsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list pools unauthorized response has a 3xx status code

func (*ListPoolsUnauthorized) IsServerError

func (o *ListPoolsUnauthorized) IsServerError() bool

IsServerError returns true when this list pools unauthorized response has a 5xx status code

func (*ListPoolsUnauthorized) IsSuccess

func (o *ListPoolsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list pools unauthorized response has a 2xx status code

func (*ListPoolsUnauthorized) String

func (o *ListPoolsUnauthorized) String() string

type ListUserWorkspacePoolsForbidden

type ListUserWorkspacePoolsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListUserWorkspacePoolsForbidden

func NewListUserWorkspacePoolsForbidden() *ListUserWorkspacePoolsForbidden

NewListUserWorkspacePoolsForbidden creates a ListUserWorkspacePoolsForbidden with default headers values

func (*ListUserWorkspacePoolsForbidden) Code

Code gets the status code for the list user workspace pools forbidden response

func (*ListUserWorkspacePoolsForbidden) Error

func (*ListUserWorkspacePoolsForbidden) GetPayload

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

func (*ListUserWorkspacePoolsForbidden) IsClientError

func (o *ListUserWorkspacePoolsForbidden) IsClientError() bool

IsClientError returns true when this list user workspace pools forbidden response has a 4xx status code

func (*ListUserWorkspacePoolsForbidden) IsCode

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

IsCode returns true when this list user workspace pools forbidden response a status code equal to that given

func (*ListUserWorkspacePoolsForbidden) IsRedirect

func (o *ListUserWorkspacePoolsForbidden) IsRedirect() bool

IsRedirect returns true when this list user workspace pools forbidden response has a 3xx status code

func (*ListUserWorkspacePoolsForbidden) IsServerError

func (o *ListUserWorkspacePoolsForbidden) IsServerError() bool

IsServerError returns true when this list user workspace pools forbidden response has a 5xx status code

func (*ListUserWorkspacePoolsForbidden) IsSuccess

func (o *ListUserWorkspacePoolsForbidden) IsSuccess() bool

IsSuccess returns true when this list user workspace pools forbidden response has a 2xx status code

func (*ListUserWorkspacePoolsForbidden) String

type ListUserWorkspacePoolsOK

type ListUserWorkspacePoolsOK struct {
	Payload *models.UserPools
}

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

UserPools

func NewListUserWorkspacePoolsOK

func NewListUserWorkspacePoolsOK() *ListUserWorkspacePoolsOK

NewListUserWorkspacePoolsOK creates a ListUserWorkspacePoolsOK with default headers values

func (*ListUserWorkspacePoolsOK) Code

func (o *ListUserWorkspacePoolsOK) Code() int

Code gets the status code for the list user workspace pools o k response

func (*ListUserWorkspacePoolsOK) Error

func (o *ListUserWorkspacePoolsOK) Error() string

func (*ListUserWorkspacePoolsOK) GetPayload

func (o *ListUserWorkspacePoolsOK) GetPayload() *models.UserPools

func (*ListUserWorkspacePoolsOK) IsClientError

func (o *ListUserWorkspacePoolsOK) IsClientError() bool

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

func (*ListUserWorkspacePoolsOK) IsCode

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

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

func (*ListUserWorkspacePoolsOK) IsRedirect

func (o *ListUserWorkspacePoolsOK) IsRedirect() bool

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

func (*ListUserWorkspacePoolsOK) IsServerError

func (o *ListUserWorkspacePoolsOK) IsServerError() bool

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

func (*ListUserWorkspacePoolsOK) IsSuccess

func (o *ListUserWorkspacePoolsOK) IsSuccess() bool

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

func (*ListUserWorkspacePoolsOK) String

func (o *ListUserWorkspacePoolsOK) String() string

type ListUserWorkspacePoolsParams

type ListUserWorkspacePoolsParams struct {

	/* Cursor.

	   Cursor
	*/
	Cursor *string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Limit.

	     optional limit results
	Limit

	     Format: int64
	     Default: 20
	*/
	Limit *int64

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

ListUserWorkspacePoolsParams contains all the parameters to send to the API endpoint

for the list user workspace pools operation.

Typically these are written to a http.Request.

func NewListUserWorkspacePoolsParams

func NewListUserWorkspacePoolsParams() *ListUserWorkspacePoolsParams

NewListUserWorkspacePoolsParams creates a new ListUserWorkspacePoolsParams 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 NewListUserWorkspacePoolsParamsWithContext

func NewListUserWorkspacePoolsParamsWithContext(ctx context.Context) *ListUserWorkspacePoolsParams

NewListUserWorkspacePoolsParamsWithContext creates a new ListUserWorkspacePoolsParams object with the ability to set a context for a request.

func NewListUserWorkspacePoolsParamsWithHTTPClient

func NewListUserWorkspacePoolsParamsWithHTTPClient(client *http.Client) *ListUserWorkspacePoolsParams

NewListUserWorkspacePoolsParamsWithHTTPClient creates a new ListUserWorkspacePoolsParams object with the ability to set a custom HTTPClient for a request.

func NewListUserWorkspacePoolsParamsWithTimeout

func NewListUserWorkspacePoolsParamsWithTimeout(timeout time.Duration) *ListUserWorkspacePoolsParams

NewListUserWorkspacePoolsParamsWithTimeout creates a new ListUserWorkspacePoolsParams object with the ability to set a timeout on a request.

func (*ListUserWorkspacePoolsParams) SetContext

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

SetContext adds the context to the list user workspace pools params

func (*ListUserWorkspacePoolsParams) SetCursor

func (o *ListUserWorkspacePoolsParams) SetCursor(cursor *string)

SetCursor adds the cursor to the list user workspace pools params

func (*ListUserWorkspacePoolsParams) SetDefaults

func (o *ListUserWorkspacePoolsParams) SetDefaults()

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

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

func (*ListUserWorkspacePoolsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list user workspace pools params

func (*ListUserWorkspacePoolsParams) SetIfMatch

func (o *ListUserWorkspacePoolsParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list user workspace pools params

func (*ListUserWorkspacePoolsParams) SetLimit

func (o *ListUserWorkspacePoolsParams) SetLimit(limit *int64)

SetLimit adds the limit to the list user workspace pools params

func (*ListUserWorkspacePoolsParams) SetTimeout

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

SetTimeout adds the timeout to the list user workspace pools params

func (*ListUserWorkspacePoolsParams) SetWid

func (o *ListUserWorkspacePoolsParams) SetWid(wid string)

SetWid adds the wid to the list user workspace pools params

func (*ListUserWorkspacePoolsParams) WithContext

WithContext adds the context to the list user workspace pools params

func (*ListUserWorkspacePoolsParams) WithCursor

WithCursor adds the cursor to the list user workspace pools params

func (*ListUserWorkspacePoolsParams) WithDefaults

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

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

func (*ListUserWorkspacePoolsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list user workspace pools params

func (*ListUserWorkspacePoolsParams) WithIfMatch

WithIfMatch adds the ifMatch to the list user workspace pools params

func (*ListUserWorkspacePoolsParams) WithLimit

WithLimit adds the limit to the list user workspace pools params

func (*ListUserWorkspacePoolsParams) WithTimeout

WithTimeout adds the timeout to the list user workspace pools params

func (*ListUserWorkspacePoolsParams) WithWid

WithWid adds the wid to the list user workspace pools params

func (*ListUserWorkspacePoolsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListUserWorkspacePoolsReader

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

ListUserWorkspacePoolsReader is a Reader for the ListUserWorkspacePools structure.

func (*ListUserWorkspacePoolsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUserWorkspacePoolsTooManyRequests

type ListUserWorkspacePoolsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListUserWorkspacePoolsTooManyRequests

func NewListUserWorkspacePoolsTooManyRequests() *ListUserWorkspacePoolsTooManyRequests

NewListUserWorkspacePoolsTooManyRequests creates a ListUserWorkspacePoolsTooManyRequests with default headers values

func (*ListUserWorkspacePoolsTooManyRequests) Code

Code gets the status code for the list user workspace pools too many requests response

func (*ListUserWorkspacePoolsTooManyRequests) Error

func (*ListUserWorkspacePoolsTooManyRequests) GetPayload

func (*ListUserWorkspacePoolsTooManyRequests) IsClientError

func (o *ListUserWorkspacePoolsTooManyRequests) IsClientError() bool

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

func (*ListUserWorkspacePoolsTooManyRequests) IsCode

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

func (*ListUserWorkspacePoolsTooManyRequests) IsRedirect

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

func (*ListUserWorkspacePoolsTooManyRequests) IsServerError

func (o *ListUserWorkspacePoolsTooManyRequests) IsServerError() bool

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

func (*ListUserWorkspacePoolsTooManyRequests) IsSuccess

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

func (*ListUserWorkspacePoolsTooManyRequests) String

type ListUserWorkspacePoolsUnauthorized

type ListUserWorkspacePoolsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListUserWorkspacePoolsUnauthorized

func NewListUserWorkspacePoolsUnauthorized() *ListUserWorkspacePoolsUnauthorized

NewListUserWorkspacePoolsUnauthorized creates a ListUserWorkspacePoolsUnauthorized with default headers values

func (*ListUserWorkspacePoolsUnauthorized) Code

Code gets the status code for the list user workspace pools unauthorized response

func (*ListUserWorkspacePoolsUnauthorized) Error

func (*ListUserWorkspacePoolsUnauthorized) GetPayload

func (*ListUserWorkspacePoolsUnauthorized) IsClientError

func (o *ListUserWorkspacePoolsUnauthorized) IsClientError() bool

IsClientError returns true when this list user workspace pools unauthorized response has a 4xx status code

func (*ListUserWorkspacePoolsUnauthorized) IsCode

IsCode returns true when this list user workspace pools unauthorized response a status code equal to that given

func (*ListUserWorkspacePoolsUnauthorized) IsRedirect

func (o *ListUserWorkspacePoolsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list user workspace pools unauthorized response has a 3xx status code

func (*ListUserWorkspacePoolsUnauthorized) IsServerError

func (o *ListUserWorkspacePoolsUnauthorized) IsServerError() bool

IsServerError returns true when this list user workspace pools unauthorized response has a 5xx status code

func (*ListUserWorkspacePoolsUnauthorized) IsSuccess

IsSuccess returns true when this list user workspace pools unauthorized response has a 2xx status code

func (*ListUserWorkspacePoolsUnauthorized) String

type ListWorkspacePoolsForbidden

type ListWorkspacePoolsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListWorkspacePoolsForbidden

func NewListWorkspacePoolsForbidden() *ListWorkspacePoolsForbidden

NewListWorkspacePoolsForbidden creates a ListWorkspacePoolsForbidden with default headers values

func (*ListWorkspacePoolsForbidden) Code

func (o *ListWorkspacePoolsForbidden) Code() int

Code gets the status code for the list workspace pools forbidden response

func (*ListWorkspacePoolsForbidden) Error

func (*ListWorkspacePoolsForbidden) GetPayload

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

func (*ListWorkspacePoolsForbidden) IsClientError

func (o *ListWorkspacePoolsForbidden) IsClientError() bool

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

func (*ListWorkspacePoolsForbidden) IsCode

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

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

func (*ListWorkspacePoolsForbidden) IsRedirect

func (o *ListWorkspacePoolsForbidden) IsRedirect() bool

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

func (*ListWorkspacePoolsForbidden) IsServerError

func (o *ListWorkspacePoolsForbidden) IsServerError() bool

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

func (*ListWorkspacePoolsForbidden) IsSuccess

func (o *ListWorkspacePoolsForbidden) IsSuccess() bool

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

func (*ListWorkspacePoolsForbidden) String

func (o *ListWorkspacePoolsForbidden) String() string

type ListWorkspacePoolsOK

type ListWorkspacePoolsOK struct {
	Payload *models.Pools
}

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

Pools

func NewListWorkspacePoolsOK

func NewListWorkspacePoolsOK() *ListWorkspacePoolsOK

NewListWorkspacePoolsOK creates a ListWorkspacePoolsOK with default headers values

func (*ListWorkspacePoolsOK) Code

func (o *ListWorkspacePoolsOK) Code() int

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

func (*ListWorkspacePoolsOK) Error

func (o *ListWorkspacePoolsOK) Error() string

func (*ListWorkspacePoolsOK) GetPayload

func (o *ListWorkspacePoolsOK) GetPayload() *models.Pools

func (*ListWorkspacePoolsOK) IsClientError

func (o *ListWorkspacePoolsOK) IsClientError() bool

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

func (*ListWorkspacePoolsOK) IsCode

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

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

func (*ListWorkspacePoolsOK) IsRedirect

func (o *ListWorkspacePoolsOK) IsRedirect() bool

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

func (*ListWorkspacePoolsOK) IsServerError

func (o *ListWorkspacePoolsOK) IsServerError() bool

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

func (*ListWorkspacePoolsOK) IsSuccess

func (o *ListWorkspacePoolsOK) IsSuccess() bool

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

func (*ListWorkspacePoolsOK) String

func (o *ListWorkspacePoolsOK) String() string

type ListWorkspacePoolsParams

type ListWorkspacePoolsParams struct {

	/* AfterPoolID.

	     An identity pool identifier.

	Use it to navigate through the request pagination when the number of identity pools is greater than the
	`limit` set for results in the response.

	With `after_pool_id`, the list you obtain starts from the subsequent identity pool after the specified one. Also,
	the response depends on the `sort` and `order` parameters, if any are passed.

	AfterPoolID
	*/
	AfterPoolID *string

	/* BeforePoolID.

	     An identity pool identifier.

	Use it to navigate through the request pagination when the number of identity pools is greater than the
	`limit` set for the results in the response.

	With `before_pool_id`, the list you obtain comprises identity pools up to the specified one. The specified
	identity pool isn't included. Also, the response depends on the `sort` and `order` parameters, if any are
	passed.

	BeforePoolID
	*/
	BeforePoolID *string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Limit.

	     Limit the number of results returned in the response.

	Limit

	     Format: int64
	     Default: 20
	*/
	Limit *int64

	/* Order.

	     Set the order of results returned in the response. Input: `acs`, `desc`.

	Order
	*/
	Order *string

	/* SearchPhrase.

	     A search substring. Use the identity pool identifier or name as its value.

	SearchPhrase
	*/
	SearchPhrase *string

	/* Sort.

	     Sort results returned in the response by `name` or `id`.

	Sort
	*/
	Sort *string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

ListWorkspacePoolsParams contains all the parameters to send to the API endpoint

for the list workspace pools operation.

Typically these are written to a http.Request.

func NewListWorkspacePoolsParams

func NewListWorkspacePoolsParams() *ListWorkspacePoolsParams

NewListWorkspacePoolsParams creates a new ListWorkspacePoolsParams 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 NewListWorkspacePoolsParamsWithContext

func NewListWorkspacePoolsParamsWithContext(ctx context.Context) *ListWorkspacePoolsParams

NewListWorkspacePoolsParamsWithContext creates a new ListWorkspacePoolsParams object with the ability to set a context for a request.

func NewListWorkspacePoolsParamsWithHTTPClient

func NewListWorkspacePoolsParamsWithHTTPClient(client *http.Client) *ListWorkspacePoolsParams

NewListWorkspacePoolsParamsWithHTTPClient creates a new ListWorkspacePoolsParams object with the ability to set a custom HTTPClient for a request.

func NewListWorkspacePoolsParamsWithTimeout

func NewListWorkspacePoolsParamsWithTimeout(timeout time.Duration) *ListWorkspacePoolsParams

NewListWorkspacePoolsParamsWithTimeout creates a new ListWorkspacePoolsParams object with the ability to set a timeout on a request.

func (*ListWorkspacePoolsParams) SetAfterPoolID

func (o *ListWorkspacePoolsParams) SetAfterPoolID(afterPoolID *string)

SetAfterPoolID adds the afterPoolId to the list workspace pools params

func (*ListWorkspacePoolsParams) SetBeforePoolID

func (o *ListWorkspacePoolsParams) SetBeforePoolID(beforePoolID *string)

SetBeforePoolID adds the beforePoolId to the list workspace pools params

func (*ListWorkspacePoolsParams) SetContext

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

SetContext adds the context to the list workspace pools params

func (*ListWorkspacePoolsParams) SetDefaults

func (o *ListWorkspacePoolsParams) SetDefaults()

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

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

func (*ListWorkspacePoolsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list workspace pools params

func (*ListWorkspacePoolsParams) SetIfMatch

func (o *ListWorkspacePoolsParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list workspace pools params

func (*ListWorkspacePoolsParams) SetLimit

func (o *ListWorkspacePoolsParams) SetLimit(limit *int64)

SetLimit adds the limit to the list workspace pools params

func (*ListWorkspacePoolsParams) SetOrder

func (o *ListWorkspacePoolsParams) SetOrder(order *string)

SetOrder adds the order to the list workspace pools params

func (*ListWorkspacePoolsParams) SetSearchPhrase

func (o *ListWorkspacePoolsParams) SetSearchPhrase(searchPhrase *string)

SetSearchPhrase adds the searchPhrase to the list workspace pools params

func (*ListWorkspacePoolsParams) SetSort

func (o *ListWorkspacePoolsParams) SetSort(sort *string)

SetSort adds the sort to the list workspace pools params

func (*ListWorkspacePoolsParams) SetTimeout

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

SetTimeout adds the timeout to the list workspace pools params

func (*ListWorkspacePoolsParams) SetWid

func (o *ListWorkspacePoolsParams) SetWid(wid string)

SetWid adds the wid to the list workspace pools params

func (*ListWorkspacePoolsParams) WithAfterPoolID

func (o *ListWorkspacePoolsParams) WithAfterPoolID(afterPoolID *string) *ListWorkspacePoolsParams

WithAfterPoolID adds the afterPoolID to the list workspace pools params

func (*ListWorkspacePoolsParams) WithBeforePoolID

func (o *ListWorkspacePoolsParams) WithBeforePoolID(beforePoolID *string) *ListWorkspacePoolsParams

WithBeforePoolID adds the beforePoolID to the list workspace pools params

func (*ListWorkspacePoolsParams) WithContext

WithContext adds the context to the list workspace pools params

func (*ListWorkspacePoolsParams) WithDefaults

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

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

func (*ListWorkspacePoolsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list workspace pools params

func (*ListWorkspacePoolsParams) WithIfMatch

func (o *ListWorkspacePoolsParams) WithIfMatch(ifMatch *string) *ListWorkspacePoolsParams

WithIfMatch adds the ifMatch to the list workspace pools params

func (*ListWorkspacePoolsParams) WithLimit

WithLimit adds the limit to the list workspace pools params

func (*ListWorkspacePoolsParams) WithOrder

WithOrder adds the order to the list workspace pools params

func (*ListWorkspacePoolsParams) WithSearchPhrase

func (o *ListWorkspacePoolsParams) WithSearchPhrase(searchPhrase *string) *ListWorkspacePoolsParams

WithSearchPhrase adds the searchPhrase to the list workspace pools params

func (*ListWorkspacePoolsParams) WithSort

WithSort adds the sort to the list workspace pools params

func (*ListWorkspacePoolsParams) WithTimeout

WithTimeout adds the timeout to the list workspace pools params

func (*ListWorkspacePoolsParams) WithWid

WithWid adds the wid to the list workspace pools params

func (*ListWorkspacePoolsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListWorkspacePoolsReader

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

ListWorkspacePoolsReader is a Reader for the ListWorkspacePools structure.

func (*ListWorkspacePoolsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListWorkspacePoolsTooManyRequests

type ListWorkspacePoolsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListWorkspacePoolsTooManyRequests

func NewListWorkspacePoolsTooManyRequests() *ListWorkspacePoolsTooManyRequests

NewListWorkspacePoolsTooManyRequests creates a ListWorkspacePoolsTooManyRequests with default headers values

func (*ListWorkspacePoolsTooManyRequests) Code

Code gets the status code for the list workspace pools too many requests response

func (*ListWorkspacePoolsTooManyRequests) Error

func (*ListWorkspacePoolsTooManyRequests) GetPayload

func (*ListWorkspacePoolsTooManyRequests) IsClientError

func (o *ListWorkspacePoolsTooManyRequests) IsClientError() bool

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

func (*ListWorkspacePoolsTooManyRequests) IsCode

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

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

func (*ListWorkspacePoolsTooManyRequests) IsRedirect

func (o *ListWorkspacePoolsTooManyRequests) IsRedirect() bool

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

func (*ListWorkspacePoolsTooManyRequests) IsServerError

func (o *ListWorkspacePoolsTooManyRequests) IsServerError() bool

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

func (*ListWorkspacePoolsTooManyRequests) IsSuccess

func (o *ListWorkspacePoolsTooManyRequests) IsSuccess() bool

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

func (*ListWorkspacePoolsTooManyRequests) String

type ListWorkspacePoolsUnauthorized

type ListWorkspacePoolsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListWorkspacePoolsUnauthorized

func NewListWorkspacePoolsUnauthorized() *ListWorkspacePoolsUnauthorized

NewListWorkspacePoolsUnauthorized creates a ListWorkspacePoolsUnauthorized with default headers values

func (*ListWorkspacePoolsUnauthorized) Code

Code gets the status code for the list workspace pools unauthorized response

func (*ListWorkspacePoolsUnauthorized) Error

func (*ListWorkspacePoolsUnauthorized) GetPayload

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

func (*ListWorkspacePoolsUnauthorized) IsClientError

func (o *ListWorkspacePoolsUnauthorized) IsClientError() bool

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

func (*ListWorkspacePoolsUnauthorized) IsCode

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

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

func (*ListWorkspacePoolsUnauthorized) IsRedirect

func (o *ListWorkspacePoolsUnauthorized) IsRedirect() bool

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

func (*ListWorkspacePoolsUnauthorized) IsServerError

func (o *ListWorkspacePoolsUnauthorized) IsServerError() bool

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

func (*ListWorkspacePoolsUnauthorized) IsSuccess

func (o *ListWorkspacePoolsUnauthorized) IsSuccess() bool

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

func (*ListWorkspacePoolsUnauthorized) String

type UpdatePoolBadRequest

type UpdatePoolBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewUpdatePoolBadRequest

func NewUpdatePoolBadRequest() *UpdatePoolBadRequest

NewUpdatePoolBadRequest creates a UpdatePoolBadRequest with default headers values

func (*UpdatePoolBadRequest) Code

func (o *UpdatePoolBadRequest) Code() int

Code gets the status code for the update pool bad request response

func (*UpdatePoolBadRequest) Error

func (o *UpdatePoolBadRequest) Error() string

func (*UpdatePoolBadRequest) GetPayload

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

func (*UpdatePoolBadRequest) IsClientError

func (o *UpdatePoolBadRequest) IsClientError() bool

IsClientError returns true when this update pool bad request response has a 4xx status code

func (*UpdatePoolBadRequest) IsCode

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

IsCode returns true when this update pool bad request response a status code equal to that given

func (*UpdatePoolBadRequest) IsRedirect

func (o *UpdatePoolBadRequest) IsRedirect() bool

IsRedirect returns true when this update pool bad request response has a 3xx status code

func (*UpdatePoolBadRequest) IsServerError

func (o *UpdatePoolBadRequest) IsServerError() bool

IsServerError returns true when this update pool bad request response has a 5xx status code

func (*UpdatePoolBadRequest) IsSuccess

func (o *UpdatePoolBadRequest) IsSuccess() bool

IsSuccess returns true when this update pool bad request response has a 2xx status code

func (*UpdatePoolBadRequest) String

func (o *UpdatePoolBadRequest) String() string

type UpdatePoolConflict

type UpdatePoolConflict struct {
	Payload *models.Error
}

UpdatePoolConflict describes a response with status code 409, with default header values.

Conflict

func NewUpdatePoolConflict

func NewUpdatePoolConflict() *UpdatePoolConflict

NewUpdatePoolConflict creates a UpdatePoolConflict with default headers values

func (*UpdatePoolConflict) Code

func (o *UpdatePoolConflict) Code() int

Code gets the status code for the update pool conflict response

func (*UpdatePoolConflict) Error

func (o *UpdatePoolConflict) Error() string

func (*UpdatePoolConflict) GetPayload

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

func (*UpdatePoolConflict) IsClientError

func (o *UpdatePoolConflict) IsClientError() bool

IsClientError returns true when this update pool conflict response has a 4xx status code

func (*UpdatePoolConflict) IsCode

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

IsCode returns true when this update pool conflict response a status code equal to that given

func (*UpdatePoolConflict) IsRedirect

func (o *UpdatePoolConflict) IsRedirect() bool

IsRedirect returns true when this update pool conflict response has a 3xx status code

func (*UpdatePoolConflict) IsServerError

func (o *UpdatePoolConflict) IsServerError() bool

IsServerError returns true when this update pool conflict response has a 5xx status code

func (*UpdatePoolConflict) IsSuccess

func (o *UpdatePoolConflict) IsSuccess() bool

IsSuccess returns true when this update pool conflict response has a 2xx status code

func (*UpdatePoolConflict) String

func (o *UpdatePoolConflict) String() string

type UpdatePoolForbidden

type UpdatePoolForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewUpdatePoolForbidden

func NewUpdatePoolForbidden() *UpdatePoolForbidden

NewUpdatePoolForbidden creates a UpdatePoolForbidden with default headers values

func (*UpdatePoolForbidden) Code

func (o *UpdatePoolForbidden) Code() int

Code gets the status code for the update pool forbidden response

func (*UpdatePoolForbidden) Error

func (o *UpdatePoolForbidden) Error() string

func (*UpdatePoolForbidden) GetPayload

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

func (*UpdatePoolForbidden) IsClientError

func (o *UpdatePoolForbidden) IsClientError() bool

IsClientError returns true when this update pool forbidden response has a 4xx status code

func (*UpdatePoolForbidden) IsCode

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

IsCode returns true when this update pool forbidden response a status code equal to that given

func (*UpdatePoolForbidden) IsRedirect

func (o *UpdatePoolForbidden) IsRedirect() bool

IsRedirect returns true when this update pool forbidden response has a 3xx status code

func (*UpdatePoolForbidden) IsServerError

func (o *UpdatePoolForbidden) IsServerError() bool

IsServerError returns true when this update pool forbidden response has a 5xx status code

func (*UpdatePoolForbidden) IsSuccess

func (o *UpdatePoolForbidden) IsSuccess() bool

IsSuccess returns true when this update pool forbidden response has a 2xx status code

func (*UpdatePoolForbidden) String

func (o *UpdatePoolForbidden) String() string

type UpdatePoolNotFound

type UpdatePoolNotFound struct {
	Payload *models.Error
}

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

Not found

func NewUpdatePoolNotFound

func NewUpdatePoolNotFound() *UpdatePoolNotFound

NewUpdatePoolNotFound creates a UpdatePoolNotFound with default headers values

func (*UpdatePoolNotFound) Code

func (o *UpdatePoolNotFound) Code() int

Code gets the status code for the update pool not found response

func (*UpdatePoolNotFound) Error

func (o *UpdatePoolNotFound) Error() string

func (*UpdatePoolNotFound) GetPayload

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

func (*UpdatePoolNotFound) IsClientError

func (o *UpdatePoolNotFound) IsClientError() bool

IsClientError returns true when this update pool not found response has a 4xx status code

func (*UpdatePoolNotFound) IsCode

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

IsCode returns true when this update pool not found response a status code equal to that given

func (*UpdatePoolNotFound) IsRedirect

func (o *UpdatePoolNotFound) IsRedirect() bool

IsRedirect returns true when this update pool not found response has a 3xx status code

func (*UpdatePoolNotFound) IsServerError

func (o *UpdatePoolNotFound) IsServerError() bool

IsServerError returns true when this update pool not found response has a 5xx status code

func (*UpdatePoolNotFound) IsSuccess

func (o *UpdatePoolNotFound) IsSuccess() bool

IsSuccess returns true when this update pool not found response has a 2xx status code

func (*UpdatePoolNotFound) String

func (o *UpdatePoolNotFound) String() string

type UpdatePoolOK

type UpdatePoolOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.PoolResponse
}

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

Identity Pool

func NewUpdatePoolOK

func NewUpdatePoolOK() *UpdatePoolOK

NewUpdatePoolOK creates a UpdatePoolOK with default headers values

func (*UpdatePoolOK) Code

func (o *UpdatePoolOK) Code() int

Code gets the status code for the update pool o k response

func (*UpdatePoolOK) Error

func (o *UpdatePoolOK) Error() string

func (*UpdatePoolOK) GetPayload

func (o *UpdatePoolOK) GetPayload() *models.PoolResponse

func (*UpdatePoolOK) IsClientError

func (o *UpdatePoolOK) IsClientError() bool

IsClientError returns true when this update pool o k response has a 4xx status code

func (*UpdatePoolOK) IsCode

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

IsCode returns true when this update pool o k response a status code equal to that given

func (*UpdatePoolOK) IsRedirect

func (o *UpdatePoolOK) IsRedirect() bool

IsRedirect returns true when this update pool o k response has a 3xx status code

func (*UpdatePoolOK) IsServerError

func (o *UpdatePoolOK) IsServerError() bool

IsServerError returns true when this update pool o k response has a 5xx status code

func (*UpdatePoolOK) IsSuccess

func (o *UpdatePoolOK) IsSuccess() bool

IsSuccess returns true when this update pool o k response has a 2xx status code

func (*UpdatePoolOK) String

func (o *UpdatePoolOK) String() string

type UpdatePoolParams

type UpdatePoolParams struct {

	// Pool.
	Pool *models.Pool

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	// IPID.
	IPID string

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

UpdatePoolParams contains all the parameters to send to the API endpoint

for the update pool operation.

Typically these are written to a http.Request.

func NewUpdatePoolParams

func NewUpdatePoolParams() *UpdatePoolParams

NewUpdatePoolParams creates a new UpdatePoolParams 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 NewUpdatePoolParamsWithContext

func NewUpdatePoolParamsWithContext(ctx context.Context) *UpdatePoolParams

NewUpdatePoolParamsWithContext creates a new UpdatePoolParams object with the ability to set a context for a request.

func NewUpdatePoolParamsWithHTTPClient

func NewUpdatePoolParamsWithHTTPClient(client *http.Client) *UpdatePoolParams

NewUpdatePoolParamsWithHTTPClient creates a new UpdatePoolParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePoolParamsWithTimeout

func NewUpdatePoolParamsWithTimeout(timeout time.Duration) *UpdatePoolParams

NewUpdatePoolParamsWithTimeout creates a new UpdatePoolParams object with the ability to set a timeout on a request.

func (*UpdatePoolParams) SetContext

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

SetContext adds the context to the update pool params

func (*UpdatePoolParams) SetDefaults

func (o *UpdatePoolParams) SetDefaults()

SetDefaults hydrates default values in the update pool params (not the query body).

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

func (*UpdatePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update pool params

func (*UpdatePoolParams) SetIPID

func (o *UpdatePoolParams) SetIPID(iPID string)

SetIPID adds the ipId to the update pool params

func (*UpdatePoolParams) SetIfMatch

func (o *UpdatePoolParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the update pool params

func (*UpdatePoolParams) SetPool

func (o *UpdatePoolParams) SetPool(pool *models.Pool)

SetPool adds the pool to the update pool params

func (*UpdatePoolParams) SetTimeout

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

SetTimeout adds the timeout to the update pool params

func (*UpdatePoolParams) WithContext

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

WithContext adds the context to the update pool params

func (*UpdatePoolParams) WithDefaults

func (o *UpdatePoolParams) WithDefaults() *UpdatePoolParams

WithDefaults hydrates default values in the update pool params (not the query body).

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

func (*UpdatePoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update pool params

func (*UpdatePoolParams) WithIPID

func (o *UpdatePoolParams) WithIPID(iPID string) *UpdatePoolParams

WithIPID adds the iPID to the update pool params

func (*UpdatePoolParams) WithIfMatch

func (o *UpdatePoolParams) WithIfMatch(ifMatch *string) *UpdatePoolParams

WithIfMatch adds the ifMatch to the update pool params

func (*UpdatePoolParams) WithPool

func (o *UpdatePoolParams) WithPool(pool *models.Pool) *UpdatePoolParams

WithPool adds the pool to the update pool params

func (*UpdatePoolParams) WithTimeout

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

WithTimeout adds the timeout to the update pool params

func (*UpdatePoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdatePoolReader

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

UpdatePoolReader is a Reader for the UpdatePool structure.

func (*UpdatePoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePoolTooManyRequests

type UpdatePoolTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewUpdatePoolTooManyRequests

func NewUpdatePoolTooManyRequests() *UpdatePoolTooManyRequests

NewUpdatePoolTooManyRequests creates a UpdatePoolTooManyRequests with default headers values

func (*UpdatePoolTooManyRequests) Code

func (o *UpdatePoolTooManyRequests) Code() int

Code gets the status code for the update pool too many requests response

func (*UpdatePoolTooManyRequests) Error

func (o *UpdatePoolTooManyRequests) Error() string

func (*UpdatePoolTooManyRequests) GetPayload

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

func (*UpdatePoolTooManyRequests) IsClientError

func (o *UpdatePoolTooManyRequests) IsClientError() bool

IsClientError returns true when this update pool too many requests response has a 4xx status code

func (*UpdatePoolTooManyRequests) IsCode

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

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

func (*UpdatePoolTooManyRequests) IsRedirect

func (o *UpdatePoolTooManyRequests) IsRedirect() bool

IsRedirect returns true when this update pool too many requests response has a 3xx status code

func (*UpdatePoolTooManyRequests) IsServerError

func (o *UpdatePoolTooManyRequests) IsServerError() bool

IsServerError returns true when this update pool too many requests response has a 5xx status code

func (*UpdatePoolTooManyRequests) IsSuccess

func (o *UpdatePoolTooManyRequests) IsSuccess() bool

IsSuccess returns true when this update pool too many requests response has a 2xx status code

func (*UpdatePoolTooManyRequests) String

func (o *UpdatePoolTooManyRequests) String() string

type UpdatePoolUnauthorized

type UpdatePoolUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewUpdatePoolUnauthorized

func NewUpdatePoolUnauthorized() *UpdatePoolUnauthorized

NewUpdatePoolUnauthorized creates a UpdatePoolUnauthorized with default headers values

func (*UpdatePoolUnauthorized) Code

func (o *UpdatePoolUnauthorized) Code() int

Code gets the status code for the update pool unauthorized response

func (*UpdatePoolUnauthorized) Error

func (o *UpdatePoolUnauthorized) Error() string

func (*UpdatePoolUnauthorized) GetPayload

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

func (*UpdatePoolUnauthorized) IsClientError

func (o *UpdatePoolUnauthorized) IsClientError() bool

IsClientError returns true when this update pool unauthorized response has a 4xx status code

func (*UpdatePoolUnauthorized) IsCode

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

IsCode returns true when this update pool unauthorized response a status code equal to that given

func (*UpdatePoolUnauthorized) IsRedirect

func (o *UpdatePoolUnauthorized) IsRedirect() bool

IsRedirect returns true when this update pool unauthorized response has a 3xx status code

func (*UpdatePoolUnauthorized) IsServerError

func (o *UpdatePoolUnauthorized) IsServerError() bool

IsServerError returns true when this update pool unauthorized response has a 5xx status code

func (*UpdatePoolUnauthorized) IsSuccess

func (o *UpdatePoolUnauthorized) IsSuccess() bool

IsSuccess returns true when this update pool unauthorized response has a 2xx status code

func (*UpdatePoolUnauthorized) String

func (o *UpdatePoolUnauthorized) String() string

type UpdatePoolUnprocessableEntity

type UpdatePoolUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewUpdatePoolUnprocessableEntity

func NewUpdatePoolUnprocessableEntity() *UpdatePoolUnprocessableEntity

NewUpdatePoolUnprocessableEntity creates a UpdatePoolUnprocessableEntity with default headers values

func (*UpdatePoolUnprocessableEntity) Code

Code gets the status code for the update pool unprocessable entity response

func (*UpdatePoolUnprocessableEntity) Error

func (*UpdatePoolUnprocessableEntity) GetPayload

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

func (*UpdatePoolUnprocessableEntity) IsClientError

func (o *UpdatePoolUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update pool unprocessable entity response has a 4xx status code

func (*UpdatePoolUnprocessableEntity) IsCode

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

IsCode returns true when this update pool unprocessable entity response a status code equal to that given

func (*UpdatePoolUnprocessableEntity) IsRedirect

func (o *UpdatePoolUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update pool unprocessable entity response has a 3xx status code

func (*UpdatePoolUnprocessableEntity) IsServerError

func (o *UpdatePoolUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update pool unprocessable entity response has a 5xx status code

func (*UpdatePoolUnprocessableEntity) IsSuccess

func (o *UpdatePoolUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update pool unprocessable entity response has a 2xx status code

func (*UpdatePoolUnprocessableEntity) String

Jump to

Keyboard shortcuts

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