roles

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: 10 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 roles API

func (*Client) GrantIdentityPoolRole

func (a *Client) GrantIdentityPoolRole(params *GrantIdentityPoolRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GrantIdentityPoolRoleNoContent, error)

GrantIdentityPoolRole grants identity pool role

Grant identityPool role.

func (*Client) GrantTenantRole

func (a *Client) GrantTenantRole(params *GrantTenantRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GrantTenantRoleNoContent, error)

GrantTenantRole grants tenant role

Grant tenant role.

func (*Client) GrantWorkspaceRole

func (a *Client) GrantWorkspaceRole(params *GrantWorkspaceRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GrantWorkspaceRoleNoContent, error)

GrantWorkspaceRole grants workspace role

Grant workspace role.

func (*Client) ListIdentityPoolRoles

func (a *Client) ListIdentityPoolRoles(params *ListIdentityPoolRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListIdentityPoolRolesOK, error)

ListIdentityPoolRoles lists identity pool roles

List identityPool roles.

func (*Client) ListTenantRoles

func (a *Client) ListTenantRoles(params *ListTenantRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTenantRolesOK, error)

ListTenantRoles lists tenant roles

List tenant roles.

func (*Client) ListUserRoles

func (a *Client) ListUserRoles(params *ListUserRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserRolesOK, error)

ListUserRoles lists user roles

List user roles.

func (*Client) ListWorkspaceRoles

func (a *Client) ListWorkspaceRoles(params *ListWorkspaceRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListWorkspaceRolesOK, error)

ListWorkspaceRoles lists workspace roles

List workspace roles.

func (*Client) RevokeIdentityPoolRole

func (a *Client) RevokeIdentityPoolRole(params *RevokeIdentityPoolRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeIdentityPoolRoleNoContent, error)

RevokeIdentityPoolRole revokes identity pool role

Revoke identityPool role.

func (*Client) RevokeTenantRole

func (a *Client) RevokeTenantRole(params *RevokeTenantRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeTenantRoleNoContent, error)

RevokeTenantRole revokes tenant role

Revoke tenant role.

func (*Client) RevokeWorkspaceRole

func (a *Client) RevokeWorkspaceRole(params *RevokeWorkspaceRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeWorkspaceRoleNoContent, error)

RevokeWorkspaceRole revokes workspace role

Revoke workspace role.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GrantIdentityPoolRole(params *GrantIdentityPoolRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GrantIdentityPoolRoleNoContent, error)

	GrantTenantRole(params *GrantTenantRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GrantTenantRoleNoContent, error)

	GrantWorkspaceRole(params *GrantWorkspaceRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GrantWorkspaceRoleNoContent, error)

	ListIdentityPoolRoles(params *ListIdentityPoolRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListIdentityPoolRolesOK, error)

	ListTenantRoles(params *ListTenantRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTenantRolesOK, error)

	ListUserRoles(params *ListUserRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserRolesOK, error)

	ListWorkspaceRoles(params *ListWorkspaceRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListWorkspaceRolesOK, error)

	RevokeIdentityPoolRole(params *RevokeIdentityPoolRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeIdentityPoolRoleNoContent, error)

	RevokeTenantRole(params *RevokeTenantRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeTenantRoleNoContent, error)

	RevokeWorkspaceRole(params *RevokeWorkspaceRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeWorkspaceRoleNoContent, 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 roles API client.

type GrantIdentityPoolRoleForbidden

type GrantIdentityPoolRoleForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGrantIdentityPoolRoleForbidden

func NewGrantIdentityPoolRoleForbidden() *GrantIdentityPoolRoleForbidden

NewGrantIdentityPoolRoleForbidden creates a GrantIdentityPoolRoleForbidden with default headers values

func (*GrantIdentityPoolRoleForbidden) Code

Code gets the status code for the grant identity pool role forbidden response

func (*GrantIdentityPoolRoleForbidden) Error

func (*GrantIdentityPoolRoleForbidden) GetPayload

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

func (*GrantIdentityPoolRoleForbidden) IsClientError

func (o *GrantIdentityPoolRoleForbidden) IsClientError() bool

IsClientError returns true when this grant identity pool role forbidden response has a 4xx status code

func (*GrantIdentityPoolRoleForbidden) IsCode

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

IsCode returns true when this grant identity pool role forbidden response a status code equal to that given

func (*GrantIdentityPoolRoleForbidden) IsRedirect

func (o *GrantIdentityPoolRoleForbidden) IsRedirect() bool

IsRedirect returns true when this grant identity pool role forbidden response has a 3xx status code

func (*GrantIdentityPoolRoleForbidden) IsServerError

func (o *GrantIdentityPoolRoleForbidden) IsServerError() bool

IsServerError returns true when this grant identity pool role forbidden response has a 5xx status code

func (*GrantIdentityPoolRoleForbidden) IsSuccess

func (o *GrantIdentityPoolRoleForbidden) IsSuccess() bool

IsSuccess returns true when this grant identity pool role forbidden response has a 2xx status code

func (*GrantIdentityPoolRoleForbidden) String

type GrantIdentityPoolRoleNoContent

type GrantIdentityPoolRoleNoContent struct {

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

	in:header

	     Format: etag
	*/
	Etag string
}

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

Role granted

func NewGrantIdentityPoolRoleNoContent

func NewGrantIdentityPoolRoleNoContent() *GrantIdentityPoolRoleNoContent

NewGrantIdentityPoolRoleNoContent creates a GrantIdentityPoolRoleNoContent with default headers values

func (*GrantIdentityPoolRoleNoContent) Code

Code gets the status code for the grant identity pool role no content response

func (*GrantIdentityPoolRoleNoContent) Error

func (*GrantIdentityPoolRoleNoContent) IsClientError

func (o *GrantIdentityPoolRoleNoContent) IsClientError() bool

IsClientError returns true when this grant identity pool role no content response has a 4xx status code

func (*GrantIdentityPoolRoleNoContent) IsCode

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

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

func (*GrantIdentityPoolRoleNoContent) IsRedirect

func (o *GrantIdentityPoolRoleNoContent) IsRedirect() bool

IsRedirect returns true when this grant identity pool role no content response has a 3xx status code

func (*GrantIdentityPoolRoleNoContent) IsServerError

func (o *GrantIdentityPoolRoleNoContent) IsServerError() bool

IsServerError returns true when this grant identity pool role no content response has a 5xx status code

func (*GrantIdentityPoolRoleNoContent) IsSuccess

func (o *GrantIdentityPoolRoleNoContent) IsSuccess() bool

IsSuccess returns true when this grant identity pool role no content response has a 2xx status code

func (*GrantIdentityPoolRoleNoContent) String

type GrantIdentityPoolRoleNotFound

type GrantIdentityPoolRoleNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGrantIdentityPoolRoleNotFound

func NewGrantIdentityPoolRoleNotFound() *GrantIdentityPoolRoleNotFound

NewGrantIdentityPoolRoleNotFound creates a GrantIdentityPoolRoleNotFound with default headers values

func (*GrantIdentityPoolRoleNotFound) Code

Code gets the status code for the grant identity pool role not found response

func (*GrantIdentityPoolRoleNotFound) Error

func (*GrantIdentityPoolRoleNotFound) GetPayload

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

func (*GrantIdentityPoolRoleNotFound) IsClientError

func (o *GrantIdentityPoolRoleNotFound) IsClientError() bool

IsClientError returns true when this grant identity pool role not found response has a 4xx status code

func (*GrantIdentityPoolRoleNotFound) IsCode

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

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

func (*GrantIdentityPoolRoleNotFound) IsRedirect

func (o *GrantIdentityPoolRoleNotFound) IsRedirect() bool

IsRedirect returns true when this grant identity pool role not found response has a 3xx status code

func (*GrantIdentityPoolRoleNotFound) IsServerError

func (o *GrantIdentityPoolRoleNotFound) IsServerError() bool

IsServerError returns true when this grant identity pool role not found response has a 5xx status code

func (*GrantIdentityPoolRoleNotFound) IsSuccess

func (o *GrantIdentityPoolRoleNotFound) IsSuccess() bool

IsSuccess returns true when this grant identity pool role not found response has a 2xx status code

func (*GrantIdentityPoolRoleNotFound) String

type GrantIdentityPoolRoleParams

type GrantIdentityPoolRoleParams struct {

	// Request.
	Request *models.GrantIdentityPoolRoleRequest

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	/* IPID.

	   Identity pool id

	   Default: "default"
	*/
	IPID string

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

GrantIdentityPoolRoleParams contains all the parameters to send to the API endpoint

for the grant identity pool role operation.

Typically these are written to a http.Request.

func NewGrantIdentityPoolRoleParams

func NewGrantIdentityPoolRoleParams() *GrantIdentityPoolRoleParams

NewGrantIdentityPoolRoleParams creates a new GrantIdentityPoolRoleParams 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 NewGrantIdentityPoolRoleParamsWithContext

func NewGrantIdentityPoolRoleParamsWithContext(ctx context.Context) *GrantIdentityPoolRoleParams

NewGrantIdentityPoolRoleParamsWithContext creates a new GrantIdentityPoolRoleParams object with the ability to set a context for a request.

func NewGrantIdentityPoolRoleParamsWithHTTPClient

func NewGrantIdentityPoolRoleParamsWithHTTPClient(client *http.Client) *GrantIdentityPoolRoleParams

NewGrantIdentityPoolRoleParamsWithHTTPClient creates a new GrantIdentityPoolRoleParams object with the ability to set a custom HTTPClient for a request.

func NewGrantIdentityPoolRoleParamsWithTimeout

func NewGrantIdentityPoolRoleParamsWithTimeout(timeout time.Duration) *GrantIdentityPoolRoleParams

NewGrantIdentityPoolRoleParamsWithTimeout creates a new GrantIdentityPoolRoleParams object with the ability to set a timeout on a request.

func (*GrantIdentityPoolRoleParams) SetContext

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

SetContext adds the context to the grant identity pool role params

func (*GrantIdentityPoolRoleParams) SetDefaults

func (o *GrantIdentityPoolRoleParams) SetDefaults()

SetDefaults hydrates default values in the grant identity pool role params (not the query body).

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

func (*GrantIdentityPoolRoleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the grant identity pool role params

func (*GrantIdentityPoolRoleParams) SetIPID

func (o *GrantIdentityPoolRoleParams) SetIPID(iPID string)

SetIPID adds the ipId to the grant identity pool role params

func (*GrantIdentityPoolRoleParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the grant identity pool role params

func (*GrantIdentityPoolRoleParams) SetRequest

SetRequest adds the request to the grant identity pool role params

func (*GrantIdentityPoolRoleParams) SetTimeout

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

SetTimeout adds the timeout to the grant identity pool role params

func (*GrantIdentityPoolRoleParams) WithContext

WithContext adds the context to the grant identity pool role params

func (*GrantIdentityPoolRoleParams) WithDefaults

WithDefaults hydrates default values in the grant identity pool role params (not the query body).

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

func (*GrantIdentityPoolRoleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the grant identity pool role params

func (*GrantIdentityPoolRoleParams) WithIPID

WithIPID adds the iPID to the grant identity pool role params

func (*GrantIdentityPoolRoleParams) WithIfMatch

WithIfMatch adds the ifMatch to the grant identity pool role params

func (*GrantIdentityPoolRoleParams) WithRequest

WithRequest adds the request to the grant identity pool role params

func (*GrantIdentityPoolRoleParams) WithTimeout

WithTimeout adds the timeout to the grant identity pool role params

func (*GrantIdentityPoolRoleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GrantIdentityPoolRoleReader

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

GrantIdentityPoolRoleReader is a Reader for the GrantIdentityPoolRole structure.

func (*GrantIdentityPoolRoleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GrantIdentityPoolRoleTooManyRequests

type GrantIdentityPoolRoleTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGrantIdentityPoolRoleTooManyRequests

func NewGrantIdentityPoolRoleTooManyRequests() *GrantIdentityPoolRoleTooManyRequests

NewGrantIdentityPoolRoleTooManyRequests creates a GrantIdentityPoolRoleTooManyRequests with default headers values

func (*GrantIdentityPoolRoleTooManyRequests) Code

Code gets the status code for the grant identity pool role too many requests response

func (*GrantIdentityPoolRoleTooManyRequests) Error

func (*GrantIdentityPoolRoleTooManyRequests) GetPayload

func (*GrantIdentityPoolRoleTooManyRequests) IsClientError

func (o *GrantIdentityPoolRoleTooManyRequests) IsClientError() bool

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

func (*GrantIdentityPoolRoleTooManyRequests) IsCode

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

func (*GrantIdentityPoolRoleTooManyRequests) IsRedirect

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

func (*GrantIdentityPoolRoleTooManyRequests) IsServerError

func (o *GrantIdentityPoolRoleTooManyRequests) IsServerError() bool

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

func (*GrantIdentityPoolRoleTooManyRequests) IsSuccess

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

func (*GrantIdentityPoolRoleTooManyRequests) String

type GrantIdentityPoolRoleUnauthorized

type GrantIdentityPoolRoleUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGrantIdentityPoolRoleUnauthorized

func NewGrantIdentityPoolRoleUnauthorized() *GrantIdentityPoolRoleUnauthorized

NewGrantIdentityPoolRoleUnauthorized creates a GrantIdentityPoolRoleUnauthorized with default headers values

func (*GrantIdentityPoolRoleUnauthorized) Code

Code gets the status code for the grant identity pool role unauthorized response

func (*GrantIdentityPoolRoleUnauthorized) Error

func (*GrantIdentityPoolRoleUnauthorized) GetPayload

func (*GrantIdentityPoolRoleUnauthorized) IsClientError

func (o *GrantIdentityPoolRoleUnauthorized) IsClientError() bool

IsClientError returns true when this grant identity pool role unauthorized response has a 4xx status code

func (*GrantIdentityPoolRoleUnauthorized) IsCode

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

IsCode returns true when this grant identity pool role unauthorized response a status code equal to that given

func (*GrantIdentityPoolRoleUnauthorized) IsRedirect

func (o *GrantIdentityPoolRoleUnauthorized) IsRedirect() bool

IsRedirect returns true when this grant identity pool role unauthorized response has a 3xx status code

func (*GrantIdentityPoolRoleUnauthorized) IsServerError

func (o *GrantIdentityPoolRoleUnauthorized) IsServerError() bool

IsServerError returns true when this grant identity pool role unauthorized response has a 5xx status code

func (*GrantIdentityPoolRoleUnauthorized) IsSuccess

func (o *GrantIdentityPoolRoleUnauthorized) IsSuccess() bool

IsSuccess returns true when this grant identity pool role unauthorized response has a 2xx status code

func (*GrantIdentityPoolRoleUnauthorized) String

type GrantIdentityPoolRoleUnprocessableEntity

type GrantIdentityPoolRoleUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewGrantIdentityPoolRoleUnprocessableEntity

func NewGrantIdentityPoolRoleUnprocessableEntity() *GrantIdentityPoolRoleUnprocessableEntity

NewGrantIdentityPoolRoleUnprocessableEntity creates a GrantIdentityPoolRoleUnprocessableEntity with default headers values

func (*GrantIdentityPoolRoleUnprocessableEntity) Code

Code gets the status code for the grant identity pool role unprocessable entity response

func (*GrantIdentityPoolRoleUnprocessableEntity) Error

func (*GrantIdentityPoolRoleUnprocessableEntity) GetPayload

func (*GrantIdentityPoolRoleUnprocessableEntity) IsClientError

IsClientError returns true when this grant identity pool role unprocessable entity response has a 4xx status code

func (*GrantIdentityPoolRoleUnprocessableEntity) IsCode

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

func (*GrantIdentityPoolRoleUnprocessableEntity) IsRedirect

IsRedirect returns true when this grant identity pool role unprocessable entity response has a 3xx status code

func (*GrantIdentityPoolRoleUnprocessableEntity) IsServerError

IsServerError returns true when this grant identity pool role unprocessable entity response has a 5xx status code

func (*GrantIdentityPoolRoleUnprocessableEntity) IsSuccess

IsSuccess returns true when this grant identity pool role unprocessable entity response has a 2xx status code

func (*GrantIdentityPoolRoleUnprocessableEntity) String

type GrantTenantRoleForbidden

type GrantTenantRoleForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGrantTenantRoleForbidden

func NewGrantTenantRoleForbidden() *GrantTenantRoleForbidden

NewGrantTenantRoleForbidden creates a GrantTenantRoleForbidden with default headers values

func (*GrantTenantRoleForbidden) Code

func (o *GrantTenantRoleForbidden) Code() int

Code gets the status code for the grant tenant role forbidden response

func (*GrantTenantRoleForbidden) Error

func (o *GrantTenantRoleForbidden) Error() string

func (*GrantTenantRoleForbidden) GetPayload

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

func (*GrantTenantRoleForbidden) IsClientError

func (o *GrantTenantRoleForbidden) IsClientError() bool

IsClientError returns true when this grant tenant role forbidden response has a 4xx status code

func (*GrantTenantRoleForbidden) IsCode

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

IsCode returns true when this grant tenant role forbidden response a status code equal to that given

func (*GrantTenantRoleForbidden) IsRedirect

func (o *GrantTenantRoleForbidden) IsRedirect() bool

IsRedirect returns true when this grant tenant role forbidden response has a 3xx status code

func (*GrantTenantRoleForbidden) IsServerError

func (o *GrantTenantRoleForbidden) IsServerError() bool

IsServerError returns true when this grant tenant role forbidden response has a 5xx status code

func (*GrantTenantRoleForbidden) IsSuccess

func (o *GrantTenantRoleForbidden) IsSuccess() bool

IsSuccess returns true when this grant tenant role forbidden response has a 2xx status code

func (*GrantTenantRoleForbidden) String

func (o *GrantTenantRoleForbidden) String() string

type GrantTenantRoleNoContent

type GrantTenantRoleNoContent struct {

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

	in:header

	     Format: etag
	*/
	Etag string
}

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

Role granted

func NewGrantTenantRoleNoContent

func NewGrantTenantRoleNoContent() *GrantTenantRoleNoContent

NewGrantTenantRoleNoContent creates a GrantTenantRoleNoContent with default headers values

func (*GrantTenantRoleNoContent) Code

func (o *GrantTenantRoleNoContent) Code() int

Code gets the status code for the grant tenant role no content response

func (*GrantTenantRoleNoContent) Error

func (o *GrantTenantRoleNoContent) Error() string

func (*GrantTenantRoleNoContent) IsClientError

func (o *GrantTenantRoleNoContent) IsClientError() bool

IsClientError returns true when this grant tenant role no content response has a 4xx status code

func (*GrantTenantRoleNoContent) IsCode

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

IsCode returns true when this grant tenant role no content response a status code equal to that given

func (*GrantTenantRoleNoContent) IsRedirect

func (o *GrantTenantRoleNoContent) IsRedirect() bool

IsRedirect returns true when this grant tenant role no content response has a 3xx status code

func (*GrantTenantRoleNoContent) IsServerError

func (o *GrantTenantRoleNoContent) IsServerError() bool

IsServerError returns true when this grant tenant role no content response has a 5xx status code

func (*GrantTenantRoleNoContent) IsSuccess

func (o *GrantTenantRoleNoContent) IsSuccess() bool

IsSuccess returns true when this grant tenant role no content response has a 2xx status code

func (*GrantTenantRoleNoContent) String

func (o *GrantTenantRoleNoContent) String() string

type GrantTenantRoleNotFound

type GrantTenantRoleNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGrantTenantRoleNotFound

func NewGrantTenantRoleNotFound() *GrantTenantRoleNotFound

NewGrantTenantRoleNotFound creates a GrantTenantRoleNotFound with default headers values

func (*GrantTenantRoleNotFound) Code

func (o *GrantTenantRoleNotFound) Code() int

Code gets the status code for the grant tenant role not found response

func (*GrantTenantRoleNotFound) Error

func (o *GrantTenantRoleNotFound) Error() string

func (*GrantTenantRoleNotFound) GetPayload

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

func (*GrantTenantRoleNotFound) IsClientError

func (o *GrantTenantRoleNotFound) IsClientError() bool

IsClientError returns true when this grant tenant role not found response has a 4xx status code

func (*GrantTenantRoleNotFound) IsCode

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

IsCode returns true when this grant tenant role not found response a status code equal to that given

func (*GrantTenantRoleNotFound) IsRedirect

func (o *GrantTenantRoleNotFound) IsRedirect() bool

IsRedirect returns true when this grant tenant role not found response has a 3xx status code

func (*GrantTenantRoleNotFound) IsServerError

func (o *GrantTenantRoleNotFound) IsServerError() bool

IsServerError returns true when this grant tenant role not found response has a 5xx status code

func (*GrantTenantRoleNotFound) IsSuccess

func (o *GrantTenantRoleNotFound) IsSuccess() bool

IsSuccess returns true when this grant tenant role not found response has a 2xx status code

func (*GrantTenantRoleNotFound) String

func (o *GrantTenantRoleNotFound) String() string

type GrantTenantRoleParams

type GrantTenantRoleParams struct {

	// Request.
	Request *models.GrantTenantRoleRequest

	/* 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
}

GrantTenantRoleParams contains all the parameters to send to the API endpoint

for the grant tenant role operation.

Typically these are written to a http.Request.

func NewGrantTenantRoleParams

func NewGrantTenantRoleParams() *GrantTenantRoleParams

NewGrantTenantRoleParams creates a new GrantTenantRoleParams 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 NewGrantTenantRoleParamsWithContext

func NewGrantTenantRoleParamsWithContext(ctx context.Context) *GrantTenantRoleParams

NewGrantTenantRoleParamsWithContext creates a new GrantTenantRoleParams object with the ability to set a context for a request.

func NewGrantTenantRoleParamsWithHTTPClient

func NewGrantTenantRoleParamsWithHTTPClient(client *http.Client) *GrantTenantRoleParams

NewGrantTenantRoleParamsWithHTTPClient creates a new GrantTenantRoleParams object with the ability to set a custom HTTPClient for a request.

func NewGrantTenantRoleParamsWithTimeout

func NewGrantTenantRoleParamsWithTimeout(timeout time.Duration) *GrantTenantRoleParams

NewGrantTenantRoleParamsWithTimeout creates a new GrantTenantRoleParams object with the ability to set a timeout on a request.

func (*GrantTenantRoleParams) SetContext

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

SetContext adds the context to the grant tenant role params

func (*GrantTenantRoleParams) SetDefaults

func (o *GrantTenantRoleParams) SetDefaults()

SetDefaults hydrates default values in the grant tenant role params (not the query body).

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

func (*GrantTenantRoleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the grant tenant role params

func (*GrantTenantRoleParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the grant tenant role params

func (*GrantTenantRoleParams) SetRequest

func (o *GrantTenantRoleParams) SetRequest(request *models.GrantTenantRoleRequest)

SetRequest adds the request to the grant tenant role params

func (*GrantTenantRoleParams) SetTimeout

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

SetTimeout adds the timeout to the grant tenant role params

func (*GrantTenantRoleParams) WithContext

WithContext adds the context to the grant tenant role params

func (*GrantTenantRoleParams) WithDefaults

func (o *GrantTenantRoleParams) WithDefaults() *GrantTenantRoleParams

WithDefaults hydrates default values in the grant tenant role params (not the query body).

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

func (*GrantTenantRoleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the grant tenant role params

func (*GrantTenantRoleParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the grant tenant role params

func (*GrantTenantRoleParams) WithRequest

WithRequest adds the request to the grant tenant role params

func (*GrantTenantRoleParams) WithTimeout

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

WithTimeout adds the timeout to the grant tenant role params

func (*GrantTenantRoleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GrantTenantRoleReader

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

GrantTenantRoleReader is a Reader for the GrantTenantRole structure.

func (*GrantTenantRoleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GrantTenantRoleTooManyRequests

type GrantTenantRoleTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGrantTenantRoleTooManyRequests

func NewGrantTenantRoleTooManyRequests() *GrantTenantRoleTooManyRequests

NewGrantTenantRoleTooManyRequests creates a GrantTenantRoleTooManyRequests with default headers values

func (*GrantTenantRoleTooManyRequests) Code

Code gets the status code for the grant tenant role too many requests response

func (*GrantTenantRoleTooManyRequests) Error

func (*GrantTenantRoleTooManyRequests) GetPayload

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

func (*GrantTenantRoleTooManyRequests) IsClientError

func (o *GrantTenantRoleTooManyRequests) IsClientError() bool

IsClientError returns true when this grant tenant role too many requests response has a 4xx status code

func (*GrantTenantRoleTooManyRequests) IsCode

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

IsCode returns true when this grant tenant role too many requests response a status code equal to that given

func (*GrantTenantRoleTooManyRequests) IsRedirect

func (o *GrantTenantRoleTooManyRequests) IsRedirect() bool

IsRedirect returns true when this grant tenant role too many requests response has a 3xx status code

func (*GrantTenantRoleTooManyRequests) IsServerError

func (o *GrantTenantRoleTooManyRequests) IsServerError() bool

IsServerError returns true when this grant tenant role too many requests response has a 5xx status code

func (*GrantTenantRoleTooManyRequests) IsSuccess

func (o *GrantTenantRoleTooManyRequests) IsSuccess() bool

IsSuccess returns true when this grant tenant role too many requests response has a 2xx status code

func (*GrantTenantRoleTooManyRequests) String

type GrantTenantRoleUnauthorized

type GrantTenantRoleUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGrantTenantRoleUnauthorized

func NewGrantTenantRoleUnauthorized() *GrantTenantRoleUnauthorized

NewGrantTenantRoleUnauthorized creates a GrantTenantRoleUnauthorized with default headers values

func (*GrantTenantRoleUnauthorized) Code

func (o *GrantTenantRoleUnauthorized) Code() int

Code gets the status code for the grant tenant role unauthorized response

func (*GrantTenantRoleUnauthorized) Error

func (*GrantTenantRoleUnauthorized) GetPayload

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

func (*GrantTenantRoleUnauthorized) IsClientError

func (o *GrantTenantRoleUnauthorized) IsClientError() bool

IsClientError returns true when this grant tenant role unauthorized response has a 4xx status code

func (*GrantTenantRoleUnauthorized) IsCode

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

IsCode returns true when this grant tenant role unauthorized response a status code equal to that given

func (*GrantTenantRoleUnauthorized) IsRedirect

func (o *GrantTenantRoleUnauthorized) IsRedirect() bool

IsRedirect returns true when this grant tenant role unauthorized response has a 3xx status code

func (*GrantTenantRoleUnauthorized) IsServerError

func (o *GrantTenantRoleUnauthorized) IsServerError() bool

IsServerError returns true when this grant tenant role unauthorized response has a 5xx status code

func (*GrantTenantRoleUnauthorized) IsSuccess

func (o *GrantTenantRoleUnauthorized) IsSuccess() bool

IsSuccess returns true when this grant tenant role unauthorized response has a 2xx status code

func (*GrantTenantRoleUnauthorized) String

func (o *GrantTenantRoleUnauthorized) String() string

type GrantTenantRoleUnprocessableEntity

type GrantTenantRoleUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewGrantTenantRoleUnprocessableEntity

func NewGrantTenantRoleUnprocessableEntity() *GrantTenantRoleUnprocessableEntity

NewGrantTenantRoleUnprocessableEntity creates a GrantTenantRoleUnprocessableEntity with default headers values

func (*GrantTenantRoleUnprocessableEntity) Code

Code gets the status code for the grant tenant role unprocessable entity response

func (*GrantTenantRoleUnprocessableEntity) Error

func (*GrantTenantRoleUnprocessableEntity) GetPayload

func (*GrantTenantRoleUnprocessableEntity) IsClientError

func (o *GrantTenantRoleUnprocessableEntity) IsClientError() bool

IsClientError returns true when this grant tenant role unprocessable entity response has a 4xx status code

func (*GrantTenantRoleUnprocessableEntity) IsCode

IsCode returns true when this grant tenant role unprocessable entity response a status code equal to that given

func (*GrantTenantRoleUnprocessableEntity) IsRedirect

func (o *GrantTenantRoleUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this grant tenant role unprocessable entity response has a 3xx status code

func (*GrantTenantRoleUnprocessableEntity) IsServerError

func (o *GrantTenantRoleUnprocessableEntity) IsServerError() bool

IsServerError returns true when this grant tenant role unprocessable entity response has a 5xx status code

func (*GrantTenantRoleUnprocessableEntity) IsSuccess

IsSuccess returns true when this grant tenant role unprocessable entity response has a 2xx status code

func (*GrantTenantRoleUnprocessableEntity) String

type GrantWorkspaceRoleForbidden

type GrantWorkspaceRoleForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGrantWorkspaceRoleForbidden

func NewGrantWorkspaceRoleForbidden() *GrantWorkspaceRoleForbidden

NewGrantWorkspaceRoleForbidden creates a GrantWorkspaceRoleForbidden with default headers values

func (*GrantWorkspaceRoleForbidden) Code

func (o *GrantWorkspaceRoleForbidden) Code() int

Code gets the status code for the grant workspace role forbidden response

func (*GrantWorkspaceRoleForbidden) Error

func (*GrantWorkspaceRoleForbidden) GetPayload

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

func (*GrantWorkspaceRoleForbidden) IsClientError

func (o *GrantWorkspaceRoleForbidden) IsClientError() bool

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

func (*GrantWorkspaceRoleForbidden) IsCode

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

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

func (*GrantWorkspaceRoleForbidden) IsRedirect

func (o *GrantWorkspaceRoleForbidden) IsRedirect() bool

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

func (*GrantWorkspaceRoleForbidden) IsServerError

func (o *GrantWorkspaceRoleForbidden) IsServerError() bool

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

func (*GrantWorkspaceRoleForbidden) IsSuccess

func (o *GrantWorkspaceRoleForbidden) IsSuccess() bool

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

func (*GrantWorkspaceRoleForbidden) String

func (o *GrantWorkspaceRoleForbidden) String() string

type GrantWorkspaceRoleNoContent

type GrantWorkspaceRoleNoContent struct {

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

	in:header

	     Format: etag
	*/
	Etag string
}

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

Role granted

func NewGrantWorkspaceRoleNoContent

func NewGrantWorkspaceRoleNoContent() *GrantWorkspaceRoleNoContent

NewGrantWorkspaceRoleNoContent creates a GrantWorkspaceRoleNoContent with default headers values

func (*GrantWorkspaceRoleNoContent) Code

func (o *GrantWorkspaceRoleNoContent) Code() int

Code gets the status code for the grant workspace role no content response

func (*GrantWorkspaceRoleNoContent) Error

func (*GrantWorkspaceRoleNoContent) IsClientError

func (o *GrantWorkspaceRoleNoContent) IsClientError() bool

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

func (*GrantWorkspaceRoleNoContent) IsCode

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

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

func (*GrantWorkspaceRoleNoContent) IsRedirect

func (o *GrantWorkspaceRoleNoContent) IsRedirect() bool

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

func (*GrantWorkspaceRoleNoContent) IsServerError

func (o *GrantWorkspaceRoleNoContent) IsServerError() bool

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

func (*GrantWorkspaceRoleNoContent) IsSuccess

func (o *GrantWorkspaceRoleNoContent) IsSuccess() bool

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

func (*GrantWorkspaceRoleNoContent) String

func (o *GrantWorkspaceRoleNoContent) String() string

type GrantWorkspaceRoleNotFound

type GrantWorkspaceRoleNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGrantWorkspaceRoleNotFound

func NewGrantWorkspaceRoleNotFound() *GrantWorkspaceRoleNotFound

NewGrantWorkspaceRoleNotFound creates a GrantWorkspaceRoleNotFound with default headers values

func (*GrantWorkspaceRoleNotFound) Code

func (o *GrantWorkspaceRoleNotFound) Code() int

Code gets the status code for the grant workspace role not found response

func (*GrantWorkspaceRoleNotFound) Error

func (*GrantWorkspaceRoleNotFound) GetPayload

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

func (*GrantWorkspaceRoleNotFound) IsClientError

func (o *GrantWorkspaceRoleNotFound) IsClientError() bool

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

func (*GrantWorkspaceRoleNotFound) IsCode

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

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

func (*GrantWorkspaceRoleNotFound) IsRedirect

func (o *GrantWorkspaceRoleNotFound) IsRedirect() bool

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

func (*GrantWorkspaceRoleNotFound) IsServerError

func (o *GrantWorkspaceRoleNotFound) IsServerError() bool

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

func (*GrantWorkspaceRoleNotFound) IsSuccess

func (o *GrantWorkspaceRoleNotFound) IsSuccess() bool

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

func (*GrantWorkspaceRoleNotFound) String

func (o *GrantWorkspaceRoleNotFound) String() string

type GrantWorkspaceRoleParams

type GrantWorkspaceRoleParams struct {

	// Request.
	Request *models.GrantWorkspaceRoleRequest

	/* 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

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

GrantWorkspaceRoleParams contains all the parameters to send to the API endpoint

for the grant workspace role operation.

Typically these are written to a http.Request.

func NewGrantWorkspaceRoleParams

func NewGrantWorkspaceRoleParams() *GrantWorkspaceRoleParams

NewGrantWorkspaceRoleParams creates a new GrantWorkspaceRoleParams 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 NewGrantWorkspaceRoleParamsWithContext

func NewGrantWorkspaceRoleParamsWithContext(ctx context.Context) *GrantWorkspaceRoleParams

NewGrantWorkspaceRoleParamsWithContext creates a new GrantWorkspaceRoleParams object with the ability to set a context for a request.

func NewGrantWorkspaceRoleParamsWithHTTPClient

func NewGrantWorkspaceRoleParamsWithHTTPClient(client *http.Client) *GrantWorkspaceRoleParams

NewGrantWorkspaceRoleParamsWithHTTPClient creates a new GrantWorkspaceRoleParams object with the ability to set a custom HTTPClient for a request.

func NewGrantWorkspaceRoleParamsWithTimeout

func NewGrantWorkspaceRoleParamsWithTimeout(timeout time.Duration) *GrantWorkspaceRoleParams

NewGrantWorkspaceRoleParamsWithTimeout creates a new GrantWorkspaceRoleParams object with the ability to set a timeout on a request.

func (*GrantWorkspaceRoleParams) SetContext

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

SetContext adds the context to the grant workspace role params

func (*GrantWorkspaceRoleParams) SetDefaults

func (o *GrantWorkspaceRoleParams) SetDefaults()

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

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

func (*GrantWorkspaceRoleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the grant workspace role params

func (*GrantWorkspaceRoleParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the grant workspace role params

func (*GrantWorkspaceRoleParams) SetRequest

SetRequest adds the request to the grant workspace role params

func (*GrantWorkspaceRoleParams) SetTimeout

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

SetTimeout adds the timeout to the grant workspace role params

func (*GrantWorkspaceRoleParams) SetWid

func (o *GrantWorkspaceRoleParams) SetWid(wid string)

SetWid adds the wid to the grant workspace role params

func (*GrantWorkspaceRoleParams) WithContext

WithContext adds the context to the grant workspace role params

func (*GrantWorkspaceRoleParams) WithDefaults

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

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

func (*GrantWorkspaceRoleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the grant workspace role params

func (*GrantWorkspaceRoleParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the grant workspace role params

func (*GrantWorkspaceRoleParams) WithRequest

WithRequest adds the request to the grant workspace role params

func (*GrantWorkspaceRoleParams) WithTimeout

WithTimeout adds the timeout to the grant workspace role params

func (*GrantWorkspaceRoleParams) WithWid

WithWid adds the wid to the grant workspace role params

func (*GrantWorkspaceRoleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GrantWorkspaceRoleReader

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

GrantWorkspaceRoleReader is a Reader for the GrantWorkspaceRole structure.

func (*GrantWorkspaceRoleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GrantWorkspaceRoleTooManyRequests

type GrantWorkspaceRoleTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGrantWorkspaceRoleTooManyRequests

func NewGrantWorkspaceRoleTooManyRequests() *GrantWorkspaceRoleTooManyRequests

NewGrantWorkspaceRoleTooManyRequests creates a GrantWorkspaceRoleTooManyRequests with default headers values

func (*GrantWorkspaceRoleTooManyRequests) Code

Code gets the status code for the grant workspace role too many requests response

func (*GrantWorkspaceRoleTooManyRequests) Error

func (*GrantWorkspaceRoleTooManyRequests) GetPayload

func (*GrantWorkspaceRoleTooManyRequests) IsClientError

func (o *GrantWorkspaceRoleTooManyRequests) IsClientError() bool

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

func (*GrantWorkspaceRoleTooManyRequests) IsCode

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

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

func (*GrantWorkspaceRoleTooManyRequests) IsRedirect

func (o *GrantWorkspaceRoleTooManyRequests) IsRedirect() bool

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

func (*GrantWorkspaceRoleTooManyRequests) IsServerError

func (o *GrantWorkspaceRoleTooManyRequests) IsServerError() bool

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

func (*GrantWorkspaceRoleTooManyRequests) IsSuccess

func (o *GrantWorkspaceRoleTooManyRequests) IsSuccess() bool

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

func (*GrantWorkspaceRoleTooManyRequests) String

type GrantWorkspaceRoleUnauthorized

type GrantWorkspaceRoleUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGrantWorkspaceRoleUnauthorized

func NewGrantWorkspaceRoleUnauthorized() *GrantWorkspaceRoleUnauthorized

NewGrantWorkspaceRoleUnauthorized creates a GrantWorkspaceRoleUnauthorized with default headers values

func (*GrantWorkspaceRoleUnauthorized) Code

Code gets the status code for the grant workspace role unauthorized response

func (*GrantWorkspaceRoleUnauthorized) Error

func (*GrantWorkspaceRoleUnauthorized) GetPayload

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

func (*GrantWorkspaceRoleUnauthorized) IsClientError

func (o *GrantWorkspaceRoleUnauthorized) IsClientError() bool

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

func (*GrantWorkspaceRoleUnauthorized) IsCode

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

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

func (*GrantWorkspaceRoleUnauthorized) IsRedirect

func (o *GrantWorkspaceRoleUnauthorized) IsRedirect() bool

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

func (*GrantWorkspaceRoleUnauthorized) IsServerError

func (o *GrantWorkspaceRoleUnauthorized) IsServerError() bool

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

func (*GrantWorkspaceRoleUnauthorized) IsSuccess

func (o *GrantWorkspaceRoleUnauthorized) IsSuccess() bool

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

func (*GrantWorkspaceRoleUnauthorized) String

type GrantWorkspaceRoleUnprocessableEntity

type GrantWorkspaceRoleUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewGrantWorkspaceRoleUnprocessableEntity

func NewGrantWorkspaceRoleUnprocessableEntity() *GrantWorkspaceRoleUnprocessableEntity

NewGrantWorkspaceRoleUnprocessableEntity creates a GrantWorkspaceRoleUnprocessableEntity with default headers values

func (*GrantWorkspaceRoleUnprocessableEntity) Code

Code gets the status code for the grant workspace role unprocessable entity response

func (*GrantWorkspaceRoleUnprocessableEntity) Error

func (*GrantWorkspaceRoleUnprocessableEntity) GetPayload

func (*GrantWorkspaceRoleUnprocessableEntity) IsClientError

func (o *GrantWorkspaceRoleUnprocessableEntity) IsClientError() bool

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

func (*GrantWorkspaceRoleUnprocessableEntity) IsCode

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

func (*GrantWorkspaceRoleUnprocessableEntity) IsRedirect

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

func (*GrantWorkspaceRoleUnprocessableEntity) IsServerError

func (o *GrantWorkspaceRoleUnprocessableEntity) IsServerError() bool

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

func (*GrantWorkspaceRoleUnprocessableEntity) IsSuccess

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

func (*GrantWorkspaceRoleUnprocessableEntity) String

type ListIdentityPoolRolesForbidden

type ListIdentityPoolRolesForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListIdentityPoolRolesForbidden

func NewListIdentityPoolRolesForbidden() *ListIdentityPoolRolesForbidden

NewListIdentityPoolRolesForbidden creates a ListIdentityPoolRolesForbidden with default headers values

func (*ListIdentityPoolRolesForbidden) Code

Code gets the status code for the list identity pool roles forbidden response

func (*ListIdentityPoolRolesForbidden) Error

func (*ListIdentityPoolRolesForbidden) GetPayload

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

func (*ListIdentityPoolRolesForbidden) IsClientError

func (o *ListIdentityPoolRolesForbidden) IsClientError() bool

IsClientError returns true when this list identity pool roles forbidden response has a 4xx status code

func (*ListIdentityPoolRolesForbidden) IsCode

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

IsCode returns true when this list identity pool roles forbidden response a status code equal to that given

func (*ListIdentityPoolRolesForbidden) IsRedirect

func (o *ListIdentityPoolRolesForbidden) IsRedirect() bool

IsRedirect returns true when this list identity pool roles forbidden response has a 3xx status code

func (*ListIdentityPoolRolesForbidden) IsServerError

func (o *ListIdentityPoolRolesForbidden) IsServerError() bool

IsServerError returns true when this list identity pool roles forbidden response has a 5xx status code

func (*ListIdentityPoolRolesForbidden) IsSuccess

func (o *ListIdentityPoolRolesForbidden) IsSuccess() bool

IsSuccess returns true when this list identity pool roles forbidden response has a 2xx status code

func (*ListIdentityPoolRolesForbidden) String

type ListIdentityPoolRolesNotFound

type ListIdentityPoolRolesNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListIdentityPoolRolesNotFound

func NewListIdentityPoolRolesNotFound() *ListIdentityPoolRolesNotFound

NewListIdentityPoolRolesNotFound creates a ListIdentityPoolRolesNotFound with default headers values

func (*ListIdentityPoolRolesNotFound) Code

Code gets the status code for the list identity pool roles not found response

func (*ListIdentityPoolRolesNotFound) Error

func (*ListIdentityPoolRolesNotFound) GetPayload

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

func (*ListIdentityPoolRolesNotFound) IsClientError

func (o *ListIdentityPoolRolesNotFound) IsClientError() bool

IsClientError returns true when this list identity pool roles not found response has a 4xx status code

func (*ListIdentityPoolRolesNotFound) IsCode

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

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

func (*ListIdentityPoolRolesNotFound) IsRedirect

func (o *ListIdentityPoolRolesNotFound) IsRedirect() bool

IsRedirect returns true when this list identity pool roles not found response has a 3xx status code

func (*ListIdentityPoolRolesNotFound) IsServerError

func (o *ListIdentityPoolRolesNotFound) IsServerError() bool

IsServerError returns true when this list identity pool roles not found response has a 5xx status code

func (*ListIdentityPoolRolesNotFound) IsSuccess

func (o *ListIdentityPoolRolesNotFound) IsSuccess() bool

IsSuccess returns true when this list identity pool roles not found response has a 2xx status code

func (*ListIdentityPoolRolesNotFound) String

type ListIdentityPoolRolesOK

type ListIdentityPoolRolesOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.IdentityPoolRolesResponse
}

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

IdentityPoolRoles

func NewListIdentityPoolRolesOK

func NewListIdentityPoolRolesOK() *ListIdentityPoolRolesOK

NewListIdentityPoolRolesOK creates a ListIdentityPoolRolesOK with default headers values

func (*ListIdentityPoolRolesOK) Code

func (o *ListIdentityPoolRolesOK) Code() int

Code gets the status code for the list identity pool roles o k response

func (*ListIdentityPoolRolesOK) Error

func (o *ListIdentityPoolRolesOK) Error() string

func (*ListIdentityPoolRolesOK) GetPayload

func (*ListIdentityPoolRolesOK) IsClientError

func (o *ListIdentityPoolRolesOK) IsClientError() bool

IsClientError returns true when this list identity pool roles o k response has a 4xx status code

func (*ListIdentityPoolRolesOK) IsCode

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

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

func (*ListIdentityPoolRolesOK) IsRedirect

func (o *ListIdentityPoolRolesOK) IsRedirect() bool

IsRedirect returns true when this list identity pool roles o k response has a 3xx status code

func (*ListIdentityPoolRolesOK) IsServerError

func (o *ListIdentityPoolRolesOK) IsServerError() bool

IsServerError returns true when this list identity pool roles o k response has a 5xx status code

func (*ListIdentityPoolRolesOK) IsSuccess

func (o *ListIdentityPoolRolesOK) IsSuccess() bool

IsSuccess returns true when this list identity pool roles o k response has a 2xx status code

func (*ListIdentityPoolRolesOK) String

func (o *ListIdentityPoolRolesOK) String() string

type ListIdentityPoolRolesParams

type ListIdentityPoolRolesParams struct {

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	/* IPID.

	   Identity pool id

	   Default: "default"
	*/
	IPID string

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

ListIdentityPoolRolesParams contains all the parameters to send to the API endpoint

for the list identity pool roles operation.

Typically these are written to a http.Request.

func NewListIdentityPoolRolesParams

func NewListIdentityPoolRolesParams() *ListIdentityPoolRolesParams

NewListIdentityPoolRolesParams creates a new ListIdentityPoolRolesParams 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 NewListIdentityPoolRolesParamsWithContext

func NewListIdentityPoolRolesParamsWithContext(ctx context.Context) *ListIdentityPoolRolesParams

NewListIdentityPoolRolesParamsWithContext creates a new ListIdentityPoolRolesParams object with the ability to set a context for a request.

func NewListIdentityPoolRolesParamsWithHTTPClient

func NewListIdentityPoolRolesParamsWithHTTPClient(client *http.Client) *ListIdentityPoolRolesParams

NewListIdentityPoolRolesParamsWithHTTPClient creates a new ListIdentityPoolRolesParams object with the ability to set a custom HTTPClient for a request.

func NewListIdentityPoolRolesParamsWithTimeout

func NewListIdentityPoolRolesParamsWithTimeout(timeout time.Duration) *ListIdentityPoolRolesParams

NewListIdentityPoolRolesParamsWithTimeout creates a new ListIdentityPoolRolesParams object with the ability to set a timeout on a request.

func (*ListIdentityPoolRolesParams) SetContext

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

SetContext adds the context to the list identity pool roles params

func (*ListIdentityPoolRolesParams) SetDefaults

func (o *ListIdentityPoolRolesParams) SetDefaults()

SetDefaults hydrates default values in the list identity pool roles params (not the query body).

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

func (*ListIdentityPoolRolesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list identity pool roles params

func (*ListIdentityPoolRolesParams) SetIPID

func (o *ListIdentityPoolRolesParams) SetIPID(iPID string)

SetIPID adds the ipId to the list identity pool roles params

func (*ListIdentityPoolRolesParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the list identity pool roles params

func (*ListIdentityPoolRolesParams) SetTimeout

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

SetTimeout adds the timeout to the list identity pool roles params

func (*ListIdentityPoolRolesParams) WithContext

WithContext adds the context to the list identity pool roles params

func (*ListIdentityPoolRolesParams) WithDefaults

WithDefaults hydrates default values in the list identity pool roles params (not the query body).

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

func (*ListIdentityPoolRolesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list identity pool roles params

func (*ListIdentityPoolRolesParams) WithIPID

WithIPID adds the iPID to the list identity pool roles params

func (*ListIdentityPoolRolesParams) WithIfMatch

WithIfMatch adds the ifMatch to the list identity pool roles params

func (*ListIdentityPoolRolesParams) WithTimeout

WithTimeout adds the timeout to the list identity pool roles params

func (*ListIdentityPoolRolesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListIdentityPoolRolesReader

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

ListIdentityPoolRolesReader is a Reader for the ListIdentityPoolRoles structure.

func (*ListIdentityPoolRolesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListIdentityPoolRolesTooManyRequests

type ListIdentityPoolRolesTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListIdentityPoolRolesTooManyRequests

func NewListIdentityPoolRolesTooManyRequests() *ListIdentityPoolRolesTooManyRequests

NewListIdentityPoolRolesTooManyRequests creates a ListIdentityPoolRolesTooManyRequests with default headers values

func (*ListIdentityPoolRolesTooManyRequests) Code

Code gets the status code for the list identity pool roles too many requests response

func (*ListIdentityPoolRolesTooManyRequests) Error

func (*ListIdentityPoolRolesTooManyRequests) GetPayload

func (*ListIdentityPoolRolesTooManyRequests) IsClientError

func (o *ListIdentityPoolRolesTooManyRequests) IsClientError() bool

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

func (*ListIdentityPoolRolesTooManyRequests) IsCode

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

func (*ListIdentityPoolRolesTooManyRequests) IsRedirect

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

func (*ListIdentityPoolRolesTooManyRequests) IsServerError

func (o *ListIdentityPoolRolesTooManyRequests) IsServerError() bool

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

func (*ListIdentityPoolRolesTooManyRequests) IsSuccess

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

func (*ListIdentityPoolRolesTooManyRequests) String

type ListIdentityPoolRolesUnauthorized

type ListIdentityPoolRolesUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListIdentityPoolRolesUnauthorized

func NewListIdentityPoolRolesUnauthorized() *ListIdentityPoolRolesUnauthorized

NewListIdentityPoolRolesUnauthorized creates a ListIdentityPoolRolesUnauthorized with default headers values

func (*ListIdentityPoolRolesUnauthorized) Code

Code gets the status code for the list identity pool roles unauthorized response

func (*ListIdentityPoolRolesUnauthorized) Error

func (*ListIdentityPoolRolesUnauthorized) GetPayload

func (*ListIdentityPoolRolesUnauthorized) IsClientError

func (o *ListIdentityPoolRolesUnauthorized) IsClientError() bool

IsClientError returns true when this list identity pool roles unauthorized response has a 4xx status code

func (*ListIdentityPoolRolesUnauthorized) IsCode

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

IsCode returns true when this list identity pool roles unauthorized response a status code equal to that given

func (*ListIdentityPoolRolesUnauthorized) IsRedirect

func (o *ListIdentityPoolRolesUnauthorized) IsRedirect() bool

IsRedirect returns true when this list identity pool roles unauthorized response has a 3xx status code

func (*ListIdentityPoolRolesUnauthorized) IsServerError

func (o *ListIdentityPoolRolesUnauthorized) IsServerError() bool

IsServerError returns true when this list identity pool roles unauthorized response has a 5xx status code

func (*ListIdentityPoolRolesUnauthorized) IsSuccess

func (o *ListIdentityPoolRolesUnauthorized) IsSuccess() bool

IsSuccess returns true when this list identity pool roles unauthorized response has a 2xx status code

func (*ListIdentityPoolRolesUnauthorized) String

type ListTenantRolesForbidden

type ListTenantRolesForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListTenantRolesForbidden

func NewListTenantRolesForbidden() *ListTenantRolesForbidden

NewListTenantRolesForbidden creates a ListTenantRolesForbidden with default headers values

func (*ListTenantRolesForbidden) Code

func (o *ListTenantRolesForbidden) Code() int

Code gets the status code for the list tenant roles forbidden response

func (*ListTenantRolesForbidden) Error

func (o *ListTenantRolesForbidden) Error() string

func (*ListTenantRolesForbidden) GetPayload

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

func (*ListTenantRolesForbidden) IsClientError

func (o *ListTenantRolesForbidden) IsClientError() bool

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

func (*ListTenantRolesForbidden) IsCode

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

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

func (*ListTenantRolesForbidden) IsRedirect

func (o *ListTenantRolesForbidden) IsRedirect() bool

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

func (*ListTenantRolesForbidden) IsServerError

func (o *ListTenantRolesForbidden) IsServerError() bool

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

func (*ListTenantRolesForbidden) IsSuccess

func (o *ListTenantRolesForbidden) IsSuccess() bool

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

func (*ListTenantRolesForbidden) String

func (o *ListTenantRolesForbidden) String() string

type ListTenantRolesNotFound

type ListTenantRolesNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListTenantRolesNotFound

func NewListTenantRolesNotFound() *ListTenantRolesNotFound

NewListTenantRolesNotFound creates a ListTenantRolesNotFound with default headers values

func (*ListTenantRolesNotFound) Code

func (o *ListTenantRolesNotFound) Code() int

Code gets the status code for the list tenant roles not found response

func (*ListTenantRolesNotFound) Error

func (o *ListTenantRolesNotFound) Error() string

func (*ListTenantRolesNotFound) GetPayload

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

func (*ListTenantRolesNotFound) IsClientError

func (o *ListTenantRolesNotFound) IsClientError() bool

IsClientError returns true when this list tenant roles not found response has a 4xx status code

func (*ListTenantRolesNotFound) IsCode

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

IsCode returns true when this list tenant roles not found response a status code equal to that given

func (*ListTenantRolesNotFound) IsRedirect

func (o *ListTenantRolesNotFound) IsRedirect() bool

IsRedirect returns true when this list tenant roles not found response has a 3xx status code

func (*ListTenantRolesNotFound) IsServerError

func (o *ListTenantRolesNotFound) IsServerError() bool

IsServerError returns true when this list tenant roles not found response has a 5xx status code

func (*ListTenantRolesNotFound) IsSuccess

func (o *ListTenantRolesNotFound) IsSuccess() bool

IsSuccess returns true when this list tenant roles not found response has a 2xx status code

func (*ListTenantRolesNotFound) String

func (o *ListTenantRolesNotFound) String() string

type ListTenantRolesOK

type ListTenantRolesOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.TenantRolesResponse
}

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

TenantRoles

func NewListTenantRolesOK

func NewListTenantRolesOK() *ListTenantRolesOK

NewListTenantRolesOK creates a ListTenantRolesOK with default headers values

func (*ListTenantRolesOK) Code

func (o *ListTenantRolesOK) Code() int

Code gets the status code for the list tenant roles o k response

func (*ListTenantRolesOK) Error

func (o *ListTenantRolesOK) Error() string

func (*ListTenantRolesOK) GetPayload

func (o *ListTenantRolesOK) GetPayload() *models.TenantRolesResponse

func (*ListTenantRolesOK) IsClientError

func (o *ListTenantRolesOK) IsClientError() bool

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

func (*ListTenantRolesOK) IsCode

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

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

func (*ListTenantRolesOK) IsRedirect

func (o *ListTenantRolesOK) IsRedirect() bool

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

func (*ListTenantRolesOK) IsServerError

func (o *ListTenantRolesOK) IsServerError() bool

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

func (*ListTenantRolesOK) IsSuccess

func (o *ListTenantRolesOK) IsSuccess() bool

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

func (*ListTenantRolesOK) String

func (o *ListTenantRolesOK) String() string

type ListTenantRolesParams

type ListTenantRolesParams struct {

	/* 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
}

ListTenantRolesParams contains all the parameters to send to the API endpoint

for the list tenant roles operation.

Typically these are written to a http.Request.

func NewListTenantRolesParams

func NewListTenantRolesParams() *ListTenantRolesParams

NewListTenantRolesParams creates a new ListTenantRolesParams 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 NewListTenantRolesParamsWithContext

func NewListTenantRolesParamsWithContext(ctx context.Context) *ListTenantRolesParams

NewListTenantRolesParamsWithContext creates a new ListTenantRolesParams object with the ability to set a context for a request.

func NewListTenantRolesParamsWithHTTPClient

func NewListTenantRolesParamsWithHTTPClient(client *http.Client) *ListTenantRolesParams

NewListTenantRolesParamsWithHTTPClient creates a new ListTenantRolesParams object with the ability to set a custom HTTPClient for a request.

func NewListTenantRolesParamsWithTimeout

func NewListTenantRolesParamsWithTimeout(timeout time.Duration) *ListTenantRolesParams

NewListTenantRolesParamsWithTimeout creates a new ListTenantRolesParams object with the ability to set a timeout on a request.

func (*ListTenantRolesParams) SetContext

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

SetContext adds the context to the list tenant roles params

func (*ListTenantRolesParams) SetDefaults

func (o *ListTenantRolesParams) SetDefaults()

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

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

func (*ListTenantRolesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list tenant roles params

func (*ListTenantRolesParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the list tenant roles params

func (*ListTenantRolesParams) SetTimeout

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

SetTimeout adds the timeout to the list tenant roles params

func (*ListTenantRolesParams) WithContext

WithContext adds the context to the list tenant roles params

func (*ListTenantRolesParams) WithDefaults

func (o *ListTenantRolesParams) WithDefaults() *ListTenantRolesParams

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

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

func (*ListTenantRolesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list tenant roles params

func (*ListTenantRolesParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the list tenant roles params

func (*ListTenantRolesParams) WithTimeout

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

WithTimeout adds the timeout to the list tenant roles params

func (*ListTenantRolesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTenantRolesReader

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

ListTenantRolesReader is a Reader for the ListTenantRoles structure.

func (*ListTenantRolesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTenantRolesTooManyRequests

type ListTenantRolesTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListTenantRolesTooManyRequests

func NewListTenantRolesTooManyRequests() *ListTenantRolesTooManyRequests

NewListTenantRolesTooManyRequests creates a ListTenantRolesTooManyRequests with default headers values

func (*ListTenantRolesTooManyRequests) Code

Code gets the status code for the list tenant roles too many requests response

func (*ListTenantRolesTooManyRequests) Error

func (*ListTenantRolesTooManyRequests) GetPayload

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

func (*ListTenantRolesTooManyRequests) IsClientError

func (o *ListTenantRolesTooManyRequests) IsClientError() bool

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

func (*ListTenantRolesTooManyRequests) IsCode

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

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

func (*ListTenantRolesTooManyRequests) IsRedirect

func (o *ListTenantRolesTooManyRequests) IsRedirect() bool

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

func (*ListTenantRolesTooManyRequests) IsServerError

func (o *ListTenantRolesTooManyRequests) IsServerError() bool

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

func (*ListTenantRolesTooManyRequests) IsSuccess

func (o *ListTenantRolesTooManyRequests) IsSuccess() bool

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

func (*ListTenantRolesTooManyRequests) String

type ListTenantRolesUnauthorized

type ListTenantRolesUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListTenantRolesUnauthorized

func NewListTenantRolesUnauthorized() *ListTenantRolesUnauthorized

NewListTenantRolesUnauthorized creates a ListTenantRolesUnauthorized with default headers values

func (*ListTenantRolesUnauthorized) Code

func (o *ListTenantRolesUnauthorized) Code() int

Code gets the status code for the list tenant roles unauthorized response

func (*ListTenantRolesUnauthorized) Error

func (*ListTenantRolesUnauthorized) GetPayload

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

func (*ListTenantRolesUnauthorized) IsClientError

func (o *ListTenantRolesUnauthorized) IsClientError() bool

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

func (*ListTenantRolesUnauthorized) IsCode

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

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

func (*ListTenantRolesUnauthorized) IsRedirect

func (o *ListTenantRolesUnauthorized) IsRedirect() bool

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

func (*ListTenantRolesUnauthorized) IsServerError

func (o *ListTenantRolesUnauthorized) IsServerError() bool

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

func (*ListTenantRolesUnauthorized) IsSuccess

func (o *ListTenantRolesUnauthorized) IsSuccess() bool

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

func (*ListTenantRolesUnauthorized) String

func (o *ListTenantRolesUnauthorized) String() string

type ListUserRolesForbidden

type ListUserRolesForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListUserRolesForbidden

func NewListUserRolesForbidden() *ListUserRolesForbidden

NewListUserRolesForbidden creates a ListUserRolesForbidden with default headers values

func (*ListUserRolesForbidden) Code

func (o *ListUserRolesForbidden) Code() int

Code gets the status code for the list user roles forbidden response

func (*ListUserRolesForbidden) Error

func (o *ListUserRolesForbidden) Error() string

func (*ListUserRolesForbidden) GetPayload

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

func (*ListUserRolesForbidden) IsClientError

func (o *ListUserRolesForbidden) IsClientError() bool

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

func (*ListUserRolesForbidden) IsCode

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

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

func (*ListUserRolesForbidden) IsRedirect

func (o *ListUserRolesForbidden) IsRedirect() bool

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

func (*ListUserRolesForbidden) IsServerError

func (o *ListUserRolesForbidden) IsServerError() bool

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

func (*ListUserRolesForbidden) IsSuccess

func (o *ListUserRolesForbidden) IsSuccess() bool

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

func (*ListUserRolesForbidden) String

func (o *ListUserRolesForbidden) String() string

type ListUserRolesNotFound

type ListUserRolesNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListUserRolesNotFound

func NewListUserRolesNotFound() *ListUserRolesNotFound

NewListUserRolesNotFound creates a ListUserRolesNotFound with default headers values

func (*ListUserRolesNotFound) Code

func (o *ListUserRolesNotFound) Code() int

Code gets the status code for the list user roles not found response

func (*ListUserRolesNotFound) Error

func (o *ListUserRolesNotFound) Error() string

func (*ListUserRolesNotFound) GetPayload

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

func (*ListUserRolesNotFound) IsClientError

func (o *ListUserRolesNotFound) IsClientError() bool

IsClientError returns true when this list user roles not found response has a 4xx status code

func (*ListUserRolesNotFound) IsCode

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

IsCode returns true when this list user roles not found response a status code equal to that given

func (*ListUserRolesNotFound) IsRedirect

func (o *ListUserRolesNotFound) IsRedirect() bool

IsRedirect returns true when this list user roles not found response has a 3xx status code

func (*ListUserRolesNotFound) IsServerError

func (o *ListUserRolesNotFound) IsServerError() bool

IsServerError returns true when this list user roles not found response has a 5xx status code

func (*ListUserRolesNotFound) IsSuccess

func (o *ListUserRolesNotFound) IsSuccess() bool

IsSuccess returns true when this list user roles not found response has a 2xx status code

func (*ListUserRolesNotFound) String

func (o *ListUserRolesNotFound) String() string

type ListUserRolesOK

type ListUserRolesOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.RoleResources
}

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

UserRoles

func NewListUserRolesOK

func NewListUserRolesOK() *ListUserRolesOK

NewListUserRolesOK creates a ListUserRolesOK with default headers values

func (*ListUserRolesOK) Code

func (o *ListUserRolesOK) Code() int

Code gets the status code for the list user roles o k response

func (*ListUserRolesOK) Error

func (o *ListUserRolesOK) Error() string

func (*ListUserRolesOK) GetPayload

func (o *ListUserRolesOK) GetPayload() *models.RoleResources

func (*ListUserRolesOK) IsClientError

func (o *ListUserRolesOK) IsClientError() bool

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

func (*ListUserRolesOK) IsCode

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

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

func (*ListUserRolesOK) IsRedirect

func (o *ListUserRolesOK) IsRedirect() bool

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

func (*ListUserRolesOK) IsServerError

func (o *ListUserRolesOK) IsServerError() bool

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

func (*ListUserRolesOK) IsSuccess

func (o *ListUserRolesOK) IsSuccess() bool

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

func (*ListUserRolesOK) String

func (o *ListUserRolesOK) String() string

type ListUserRolesParams

type ListUserRolesParams struct {

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	/* IPID.

	   Identity pool id

	   Default: "default"
	*/
	IPID string

	/* UserID.

	   User id

	   Default: "default"
	*/
	UserID string

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

ListUserRolesParams contains all the parameters to send to the API endpoint

for the list user roles operation.

Typically these are written to a http.Request.

func NewListUserRolesParams

func NewListUserRolesParams() *ListUserRolesParams

NewListUserRolesParams creates a new ListUserRolesParams 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 NewListUserRolesParamsWithContext

func NewListUserRolesParamsWithContext(ctx context.Context) *ListUserRolesParams

NewListUserRolesParamsWithContext creates a new ListUserRolesParams object with the ability to set a context for a request.

func NewListUserRolesParamsWithHTTPClient

func NewListUserRolesParamsWithHTTPClient(client *http.Client) *ListUserRolesParams

NewListUserRolesParamsWithHTTPClient creates a new ListUserRolesParams object with the ability to set a custom HTTPClient for a request.

func NewListUserRolesParamsWithTimeout

func NewListUserRolesParamsWithTimeout(timeout time.Duration) *ListUserRolesParams

NewListUserRolesParamsWithTimeout creates a new ListUserRolesParams object with the ability to set a timeout on a request.

func (*ListUserRolesParams) SetContext

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

SetContext adds the context to the list user roles params

func (*ListUserRolesParams) SetDefaults

func (o *ListUserRolesParams) SetDefaults()

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

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

func (*ListUserRolesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list user roles params

func (*ListUserRolesParams) SetIPID

func (o *ListUserRolesParams) SetIPID(iPID string)

SetIPID adds the ipId to the list user roles params

func (*ListUserRolesParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the list user roles params

func (*ListUserRolesParams) SetTimeout

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

SetTimeout adds the timeout to the list user roles params

func (*ListUserRolesParams) SetUserID

func (o *ListUserRolesParams) SetUserID(userID string)

SetUserID adds the userId to the list user roles params

func (*ListUserRolesParams) WithContext

WithContext adds the context to the list user roles params

func (*ListUserRolesParams) WithDefaults

func (o *ListUserRolesParams) WithDefaults() *ListUserRolesParams

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

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

func (*ListUserRolesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list user roles params

func (*ListUserRolesParams) WithIPID

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

WithIPID adds the iPID to the list user roles params

func (*ListUserRolesParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the list user roles params

func (*ListUserRolesParams) WithTimeout

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

WithTimeout adds the timeout to the list user roles params

func (*ListUserRolesParams) WithUserID

func (o *ListUserRolesParams) WithUserID(userID string) *ListUserRolesParams

WithUserID adds the userID to the list user roles params

func (*ListUserRolesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListUserRolesReader

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

ListUserRolesReader is a Reader for the ListUserRoles structure.

func (*ListUserRolesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUserRolesTooManyRequests

type ListUserRolesTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListUserRolesTooManyRequests

func NewListUserRolesTooManyRequests() *ListUserRolesTooManyRequests

NewListUserRolesTooManyRequests creates a ListUserRolesTooManyRequests with default headers values

func (*ListUserRolesTooManyRequests) Code

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

func (*ListUserRolesTooManyRequests) Error

func (*ListUserRolesTooManyRequests) GetPayload

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

func (*ListUserRolesTooManyRequests) IsClientError

func (o *ListUserRolesTooManyRequests) IsClientError() bool

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

func (*ListUserRolesTooManyRequests) IsCode

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

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

func (*ListUserRolesTooManyRequests) IsRedirect

func (o *ListUserRolesTooManyRequests) IsRedirect() bool

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

func (*ListUserRolesTooManyRequests) IsServerError

func (o *ListUserRolesTooManyRequests) IsServerError() bool

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

func (*ListUserRolesTooManyRequests) IsSuccess

func (o *ListUserRolesTooManyRequests) IsSuccess() bool

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

func (*ListUserRolesTooManyRequests) String

type ListUserRolesUnauthorized

type ListUserRolesUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListUserRolesUnauthorized

func NewListUserRolesUnauthorized() *ListUserRolesUnauthorized

NewListUserRolesUnauthorized creates a ListUserRolesUnauthorized with default headers values

func (*ListUserRolesUnauthorized) Code

func (o *ListUserRolesUnauthorized) Code() int

Code gets the status code for the list user roles unauthorized response

func (*ListUserRolesUnauthorized) Error

func (o *ListUserRolesUnauthorized) Error() string

func (*ListUserRolesUnauthorized) GetPayload

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

func (*ListUserRolesUnauthorized) IsClientError

func (o *ListUserRolesUnauthorized) IsClientError() bool

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

func (*ListUserRolesUnauthorized) IsCode

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

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

func (*ListUserRolesUnauthorized) IsRedirect

func (o *ListUserRolesUnauthorized) IsRedirect() bool

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

func (*ListUserRolesUnauthorized) IsServerError

func (o *ListUserRolesUnauthorized) IsServerError() bool

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

func (*ListUserRolesUnauthorized) IsSuccess

func (o *ListUserRolesUnauthorized) IsSuccess() bool

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

func (*ListUserRolesUnauthorized) String

func (o *ListUserRolesUnauthorized) String() string

type ListWorkspaceRolesForbidden

type ListWorkspaceRolesForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListWorkspaceRolesForbidden

func NewListWorkspaceRolesForbidden() *ListWorkspaceRolesForbidden

NewListWorkspaceRolesForbidden creates a ListWorkspaceRolesForbidden with default headers values

func (*ListWorkspaceRolesForbidden) Code

func (o *ListWorkspaceRolesForbidden) Code() int

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

func (*ListWorkspaceRolesForbidden) Error

func (*ListWorkspaceRolesForbidden) GetPayload

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

func (*ListWorkspaceRolesForbidden) IsClientError

func (o *ListWorkspaceRolesForbidden) IsClientError() bool

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

func (*ListWorkspaceRolesForbidden) IsCode

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

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

func (*ListWorkspaceRolesForbidden) IsRedirect

func (o *ListWorkspaceRolesForbidden) IsRedirect() bool

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

func (*ListWorkspaceRolesForbidden) IsServerError

func (o *ListWorkspaceRolesForbidden) IsServerError() bool

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

func (*ListWorkspaceRolesForbidden) IsSuccess

func (o *ListWorkspaceRolesForbidden) IsSuccess() bool

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

func (*ListWorkspaceRolesForbidden) String

func (o *ListWorkspaceRolesForbidden) String() string

type ListWorkspaceRolesNotFound

type ListWorkspaceRolesNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListWorkspaceRolesNotFound

func NewListWorkspaceRolesNotFound() *ListWorkspaceRolesNotFound

NewListWorkspaceRolesNotFound creates a ListWorkspaceRolesNotFound with default headers values

func (*ListWorkspaceRolesNotFound) Code

func (o *ListWorkspaceRolesNotFound) Code() int

Code gets the status code for the list workspace roles not found response

func (*ListWorkspaceRolesNotFound) Error

func (*ListWorkspaceRolesNotFound) GetPayload

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

func (*ListWorkspaceRolesNotFound) IsClientError

func (o *ListWorkspaceRolesNotFound) IsClientError() bool

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

func (*ListWorkspaceRolesNotFound) IsCode

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

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

func (*ListWorkspaceRolesNotFound) IsRedirect

func (o *ListWorkspaceRolesNotFound) IsRedirect() bool

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

func (*ListWorkspaceRolesNotFound) IsServerError

func (o *ListWorkspaceRolesNotFound) IsServerError() bool

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

func (*ListWorkspaceRolesNotFound) IsSuccess

func (o *ListWorkspaceRolesNotFound) IsSuccess() bool

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

func (*ListWorkspaceRolesNotFound) String

func (o *ListWorkspaceRolesNotFound) String() string

type ListWorkspaceRolesOK

type ListWorkspaceRolesOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.WorkspaceRolesResponse
}

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

WorkspaceRoles

func NewListWorkspaceRolesOK

func NewListWorkspaceRolesOK() *ListWorkspaceRolesOK

NewListWorkspaceRolesOK creates a ListWorkspaceRolesOK with default headers values

func (*ListWorkspaceRolesOK) Code

func (o *ListWorkspaceRolesOK) Code() int

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

func (*ListWorkspaceRolesOK) Error

func (o *ListWorkspaceRolesOK) Error() string

func (*ListWorkspaceRolesOK) GetPayload

func (*ListWorkspaceRolesOK) IsClientError

func (o *ListWorkspaceRolesOK) IsClientError() bool

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

func (*ListWorkspaceRolesOK) IsCode

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

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

func (*ListWorkspaceRolesOK) IsRedirect

func (o *ListWorkspaceRolesOK) IsRedirect() bool

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

func (*ListWorkspaceRolesOK) IsServerError

func (o *ListWorkspaceRolesOK) IsServerError() bool

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

func (*ListWorkspaceRolesOK) IsSuccess

func (o *ListWorkspaceRolesOK) IsSuccess() bool

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

func (*ListWorkspaceRolesOK) String

func (o *ListWorkspaceRolesOK) String() string

type ListWorkspaceRolesParams

type ListWorkspaceRolesParams struct {

	/* 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

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

ListWorkspaceRolesParams contains all the parameters to send to the API endpoint

for the list workspace roles operation.

Typically these are written to a http.Request.

func NewListWorkspaceRolesParams

func NewListWorkspaceRolesParams() *ListWorkspaceRolesParams

NewListWorkspaceRolesParams creates a new ListWorkspaceRolesParams 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 NewListWorkspaceRolesParamsWithContext

func NewListWorkspaceRolesParamsWithContext(ctx context.Context) *ListWorkspaceRolesParams

NewListWorkspaceRolesParamsWithContext creates a new ListWorkspaceRolesParams object with the ability to set a context for a request.

func NewListWorkspaceRolesParamsWithHTTPClient

func NewListWorkspaceRolesParamsWithHTTPClient(client *http.Client) *ListWorkspaceRolesParams

NewListWorkspaceRolesParamsWithHTTPClient creates a new ListWorkspaceRolesParams object with the ability to set a custom HTTPClient for a request.

func NewListWorkspaceRolesParamsWithTimeout

func NewListWorkspaceRolesParamsWithTimeout(timeout time.Duration) *ListWorkspaceRolesParams

NewListWorkspaceRolesParamsWithTimeout creates a new ListWorkspaceRolesParams object with the ability to set a timeout on a request.

func (*ListWorkspaceRolesParams) SetContext

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

SetContext adds the context to the list workspace roles params

func (*ListWorkspaceRolesParams) SetDefaults

func (o *ListWorkspaceRolesParams) SetDefaults()

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

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

func (*ListWorkspaceRolesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list workspace roles params

func (*ListWorkspaceRolesParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the list workspace roles params

func (*ListWorkspaceRolesParams) SetTimeout

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

SetTimeout adds the timeout to the list workspace roles params

func (*ListWorkspaceRolesParams) SetWid

func (o *ListWorkspaceRolesParams) SetWid(wid string)

SetWid adds the wid to the list workspace roles params

func (*ListWorkspaceRolesParams) WithContext

WithContext adds the context to the list workspace roles params

func (*ListWorkspaceRolesParams) WithDefaults

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

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

func (*ListWorkspaceRolesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list workspace roles params

func (*ListWorkspaceRolesParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the list workspace roles params

func (*ListWorkspaceRolesParams) WithTimeout

WithTimeout adds the timeout to the list workspace roles params

func (*ListWorkspaceRolesParams) WithWid

WithWid adds the wid to the list workspace roles params

func (*ListWorkspaceRolesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListWorkspaceRolesReader

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

ListWorkspaceRolesReader is a Reader for the ListWorkspaceRoles structure.

func (*ListWorkspaceRolesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListWorkspaceRolesTooManyRequests

type ListWorkspaceRolesTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListWorkspaceRolesTooManyRequests

func NewListWorkspaceRolesTooManyRequests() *ListWorkspaceRolesTooManyRequests

NewListWorkspaceRolesTooManyRequests creates a ListWorkspaceRolesTooManyRequests with default headers values

func (*ListWorkspaceRolesTooManyRequests) Code

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

func (*ListWorkspaceRolesTooManyRequests) Error

func (*ListWorkspaceRolesTooManyRequests) GetPayload

func (*ListWorkspaceRolesTooManyRequests) IsClientError

func (o *ListWorkspaceRolesTooManyRequests) IsClientError() bool

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

func (*ListWorkspaceRolesTooManyRequests) IsCode

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

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

func (*ListWorkspaceRolesTooManyRequests) IsRedirect

func (o *ListWorkspaceRolesTooManyRequests) IsRedirect() bool

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

func (*ListWorkspaceRolesTooManyRequests) IsServerError

func (o *ListWorkspaceRolesTooManyRequests) IsServerError() bool

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

func (*ListWorkspaceRolesTooManyRequests) IsSuccess

func (o *ListWorkspaceRolesTooManyRequests) IsSuccess() bool

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

func (*ListWorkspaceRolesTooManyRequests) String

type ListWorkspaceRolesUnauthorized

type ListWorkspaceRolesUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListWorkspaceRolesUnauthorized

func NewListWorkspaceRolesUnauthorized() *ListWorkspaceRolesUnauthorized

NewListWorkspaceRolesUnauthorized creates a ListWorkspaceRolesUnauthorized with default headers values

func (*ListWorkspaceRolesUnauthorized) Code

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

func (*ListWorkspaceRolesUnauthorized) Error

func (*ListWorkspaceRolesUnauthorized) GetPayload

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

func (*ListWorkspaceRolesUnauthorized) IsClientError

func (o *ListWorkspaceRolesUnauthorized) IsClientError() bool

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

func (*ListWorkspaceRolesUnauthorized) IsCode

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

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

func (*ListWorkspaceRolesUnauthorized) IsRedirect

func (o *ListWorkspaceRolesUnauthorized) IsRedirect() bool

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

func (*ListWorkspaceRolesUnauthorized) IsServerError

func (o *ListWorkspaceRolesUnauthorized) IsServerError() bool

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

func (*ListWorkspaceRolesUnauthorized) IsSuccess

func (o *ListWorkspaceRolesUnauthorized) IsSuccess() bool

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

func (*ListWorkspaceRolesUnauthorized) String

type RevokeIdentityPoolRoleForbidden

type RevokeIdentityPoolRoleForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewRevokeIdentityPoolRoleForbidden

func NewRevokeIdentityPoolRoleForbidden() *RevokeIdentityPoolRoleForbidden

NewRevokeIdentityPoolRoleForbidden creates a RevokeIdentityPoolRoleForbidden with default headers values

func (*RevokeIdentityPoolRoleForbidden) Code

Code gets the status code for the revoke identity pool role forbidden response

func (*RevokeIdentityPoolRoleForbidden) Error

func (*RevokeIdentityPoolRoleForbidden) GetPayload

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

func (*RevokeIdentityPoolRoleForbidden) IsClientError

func (o *RevokeIdentityPoolRoleForbidden) IsClientError() bool

IsClientError returns true when this revoke identity pool role forbidden response has a 4xx status code

func (*RevokeIdentityPoolRoleForbidden) IsCode

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

IsCode returns true when this revoke identity pool role forbidden response a status code equal to that given

func (*RevokeIdentityPoolRoleForbidden) IsRedirect

func (o *RevokeIdentityPoolRoleForbidden) IsRedirect() bool

IsRedirect returns true when this revoke identity pool role forbidden response has a 3xx status code

func (*RevokeIdentityPoolRoleForbidden) IsServerError

func (o *RevokeIdentityPoolRoleForbidden) IsServerError() bool

IsServerError returns true when this revoke identity pool role forbidden response has a 5xx status code

func (*RevokeIdentityPoolRoleForbidden) IsSuccess

func (o *RevokeIdentityPoolRoleForbidden) IsSuccess() bool

IsSuccess returns true when this revoke identity pool role forbidden response has a 2xx status code

func (*RevokeIdentityPoolRoleForbidden) String

type RevokeIdentityPoolRoleNoContent

type RevokeIdentityPoolRoleNoContent struct {

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

	in:header

	     Format: etag
	*/
	Etag string
}

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

Role revoked

func NewRevokeIdentityPoolRoleNoContent

func NewRevokeIdentityPoolRoleNoContent() *RevokeIdentityPoolRoleNoContent

NewRevokeIdentityPoolRoleNoContent creates a RevokeIdentityPoolRoleNoContent with default headers values

func (*RevokeIdentityPoolRoleNoContent) Code

Code gets the status code for the revoke identity pool role no content response

func (*RevokeIdentityPoolRoleNoContent) Error

func (*RevokeIdentityPoolRoleNoContent) IsClientError

func (o *RevokeIdentityPoolRoleNoContent) IsClientError() bool

IsClientError returns true when this revoke identity pool role no content response has a 4xx status code

func (*RevokeIdentityPoolRoleNoContent) IsCode

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

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

func (*RevokeIdentityPoolRoleNoContent) IsRedirect

func (o *RevokeIdentityPoolRoleNoContent) IsRedirect() bool

IsRedirect returns true when this revoke identity pool role no content response has a 3xx status code

func (*RevokeIdentityPoolRoleNoContent) IsServerError

func (o *RevokeIdentityPoolRoleNoContent) IsServerError() bool

IsServerError returns true when this revoke identity pool role no content response has a 5xx status code

func (*RevokeIdentityPoolRoleNoContent) IsSuccess

func (o *RevokeIdentityPoolRoleNoContent) IsSuccess() bool

IsSuccess returns true when this revoke identity pool role no content response has a 2xx status code

func (*RevokeIdentityPoolRoleNoContent) String

type RevokeIdentityPoolRoleNotFound

type RevokeIdentityPoolRoleNotFound struct {
	Payload *models.Error
}

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

Not found

func NewRevokeIdentityPoolRoleNotFound

func NewRevokeIdentityPoolRoleNotFound() *RevokeIdentityPoolRoleNotFound

NewRevokeIdentityPoolRoleNotFound creates a RevokeIdentityPoolRoleNotFound with default headers values

func (*RevokeIdentityPoolRoleNotFound) Code

Code gets the status code for the revoke identity pool role not found response

func (*RevokeIdentityPoolRoleNotFound) Error

func (*RevokeIdentityPoolRoleNotFound) GetPayload

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

func (*RevokeIdentityPoolRoleNotFound) IsClientError

func (o *RevokeIdentityPoolRoleNotFound) IsClientError() bool

IsClientError returns true when this revoke identity pool role not found response has a 4xx status code

func (*RevokeIdentityPoolRoleNotFound) IsCode

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

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

func (*RevokeIdentityPoolRoleNotFound) IsRedirect

func (o *RevokeIdentityPoolRoleNotFound) IsRedirect() bool

IsRedirect returns true when this revoke identity pool role not found response has a 3xx status code

func (*RevokeIdentityPoolRoleNotFound) IsServerError

func (o *RevokeIdentityPoolRoleNotFound) IsServerError() bool

IsServerError returns true when this revoke identity pool role not found response has a 5xx status code

func (*RevokeIdentityPoolRoleNotFound) IsSuccess

func (o *RevokeIdentityPoolRoleNotFound) IsSuccess() bool

IsSuccess returns true when this revoke identity pool role not found response has a 2xx status code

func (*RevokeIdentityPoolRoleNotFound) String

type RevokeIdentityPoolRoleParams

type RevokeIdentityPoolRoleParams struct {

	// Request.
	Request *models.RevokeIdentityPoolRoleRequest

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	/* IPID.

	   Identity pool id

	   Default: "default"
	*/
	IPID string

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

RevokeIdentityPoolRoleParams contains all the parameters to send to the API endpoint

for the revoke identity pool role operation.

Typically these are written to a http.Request.

func NewRevokeIdentityPoolRoleParams

func NewRevokeIdentityPoolRoleParams() *RevokeIdentityPoolRoleParams

NewRevokeIdentityPoolRoleParams creates a new RevokeIdentityPoolRoleParams 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 NewRevokeIdentityPoolRoleParamsWithContext

func NewRevokeIdentityPoolRoleParamsWithContext(ctx context.Context) *RevokeIdentityPoolRoleParams

NewRevokeIdentityPoolRoleParamsWithContext creates a new RevokeIdentityPoolRoleParams object with the ability to set a context for a request.

func NewRevokeIdentityPoolRoleParamsWithHTTPClient

func NewRevokeIdentityPoolRoleParamsWithHTTPClient(client *http.Client) *RevokeIdentityPoolRoleParams

NewRevokeIdentityPoolRoleParamsWithHTTPClient creates a new RevokeIdentityPoolRoleParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeIdentityPoolRoleParamsWithTimeout

func NewRevokeIdentityPoolRoleParamsWithTimeout(timeout time.Duration) *RevokeIdentityPoolRoleParams

NewRevokeIdentityPoolRoleParamsWithTimeout creates a new RevokeIdentityPoolRoleParams object with the ability to set a timeout on a request.

func (*RevokeIdentityPoolRoleParams) SetContext

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

SetContext adds the context to the revoke identity pool role params

func (*RevokeIdentityPoolRoleParams) SetDefaults

func (o *RevokeIdentityPoolRoleParams) SetDefaults()

SetDefaults hydrates default values in the revoke identity pool role params (not the query body).

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

func (*RevokeIdentityPoolRoleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke identity pool role params

func (*RevokeIdentityPoolRoleParams) SetIPID

func (o *RevokeIdentityPoolRoleParams) SetIPID(iPID string)

SetIPID adds the ipId to the revoke identity pool role params

func (*RevokeIdentityPoolRoleParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the revoke identity pool role params

func (*RevokeIdentityPoolRoleParams) SetRequest

SetRequest adds the request to the revoke identity pool role params

func (*RevokeIdentityPoolRoleParams) SetTimeout

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

SetTimeout adds the timeout to the revoke identity pool role params

func (*RevokeIdentityPoolRoleParams) WithContext

WithContext adds the context to the revoke identity pool role params

func (*RevokeIdentityPoolRoleParams) WithDefaults

WithDefaults hydrates default values in the revoke identity pool role params (not the query body).

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

func (*RevokeIdentityPoolRoleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the revoke identity pool role params

func (*RevokeIdentityPoolRoleParams) WithIPID

WithIPID adds the iPID to the revoke identity pool role params

func (*RevokeIdentityPoolRoleParams) WithIfMatch

WithIfMatch adds the ifMatch to the revoke identity pool role params

func (*RevokeIdentityPoolRoleParams) WithRequest

WithRequest adds the request to the revoke identity pool role params

func (*RevokeIdentityPoolRoleParams) WithTimeout

WithTimeout adds the timeout to the revoke identity pool role params

func (*RevokeIdentityPoolRoleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeIdentityPoolRoleReader

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

RevokeIdentityPoolRoleReader is a Reader for the RevokeIdentityPoolRole structure.

func (*RevokeIdentityPoolRoleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeIdentityPoolRoleTooManyRequests

type RevokeIdentityPoolRoleTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewRevokeIdentityPoolRoleTooManyRequests

func NewRevokeIdentityPoolRoleTooManyRequests() *RevokeIdentityPoolRoleTooManyRequests

NewRevokeIdentityPoolRoleTooManyRequests creates a RevokeIdentityPoolRoleTooManyRequests with default headers values

func (*RevokeIdentityPoolRoleTooManyRequests) Code

Code gets the status code for the revoke identity pool role too many requests response

func (*RevokeIdentityPoolRoleTooManyRequests) Error

func (*RevokeIdentityPoolRoleTooManyRequests) GetPayload

func (*RevokeIdentityPoolRoleTooManyRequests) IsClientError

func (o *RevokeIdentityPoolRoleTooManyRequests) IsClientError() bool

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

func (*RevokeIdentityPoolRoleTooManyRequests) IsCode

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

func (*RevokeIdentityPoolRoleTooManyRequests) IsRedirect

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

func (*RevokeIdentityPoolRoleTooManyRequests) IsServerError

func (o *RevokeIdentityPoolRoleTooManyRequests) IsServerError() bool

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

func (*RevokeIdentityPoolRoleTooManyRequests) IsSuccess

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

func (*RevokeIdentityPoolRoleTooManyRequests) String

type RevokeIdentityPoolRoleUnauthorized

type RevokeIdentityPoolRoleUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewRevokeIdentityPoolRoleUnauthorized

func NewRevokeIdentityPoolRoleUnauthorized() *RevokeIdentityPoolRoleUnauthorized

NewRevokeIdentityPoolRoleUnauthorized creates a RevokeIdentityPoolRoleUnauthorized with default headers values

func (*RevokeIdentityPoolRoleUnauthorized) Code

Code gets the status code for the revoke identity pool role unauthorized response

func (*RevokeIdentityPoolRoleUnauthorized) Error

func (*RevokeIdentityPoolRoleUnauthorized) GetPayload

func (*RevokeIdentityPoolRoleUnauthorized) IsClientError

func (o *RevokeIdentityPoolRoleUnauthorized) IsClientError() bool

IsClientError returns true when this revoke identity pool role unauthorized response has a 4xx status code

func (*RevokeIdentityPoolRoleUnauthorized) IsCode

IsCode returns true when this revoke identity pool role unauthorized response a status code equal to that given

func (*RevokeIdentityPoolRoleUnauthorized) IsRedirect

func (o *RevokeIdentityPoolRoleUnauthorized) IsRedirect() bool

IsRedirect returns true when this revoke identity pool role unauthorized response has a 3xx status code

func (*RevokeIdentityPoolRoleUnauthorized) IsServerError

func (o *RevokeIdentityPoolRoleUnauthorized) IsServerError() bool

IsServerError returns true when this revoke identity pool role unauthorized response has a 5xx status code

func (*RevokeIdentityPoolRoleUnauthorized) IsSuccess

IsSuccess returns true when this revoke identity pool role unauthorized response has a 2xx status code

func (*RevokeIdentityPoolRoleUnauthorized) String

type RevokeIdentityPoolRoleUnprocessableEntity

type RevokeIdentityPoolRoleUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewRevokeIdentityPoolRoleUnprocessableEntity

func NewRevokeIdentityPoolRoleUnprocessableEntity() *RevokeIdentityPoolRoleUnprocessableEntity

NewRevokeIdentityPoolRoleUnprocessableEntity creates a RevokeIdentityPoolRoleUnprocessableEntity with default headers values

func (*RevokeIdentityPoolRoleUnprocessableEntity) Code

Code gets the status code for the revoke identity pool role unprocessable entity response

func (*RevokeIdentityPoolRoleUnprocessableEntity) Error

func (*RevokeIdentityPoolRoleUnprocessableEntity) GetPayload

func (*RevokeIdentityPoolRoleUnprocessableEntity) IsClientError

IsClientError returns true when this revoke identity pool role unprocessable entity response has a 4xx status code

func (*RevokeIdentityPoolRoleUnprocessableEntity) IsCode

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

func (*RevokeIdentityPoolRoleUnprocessableEntity) IsRedirect

IsRedirect returns true when this revoke identity pool role unprocessable entity response has a 3xx status code

func (*RevokeIdentityPoolRoleUnprocessableEntity) IsServerError

IsServerError returns true when this revoke identity pool role unprocessable entity response has a 5xx status code

func (*RevokeIdentityPoolRoleUnprocessableEntity) IsSuccess

IsSuccess returns true when this revoke identity pool role unprocessable entity response has a 2xx status code

func (*RevokeIdentityPoolRoleUnprocessableEntity) String

type RevokeTenantRoleForbidden

type RevokeTenantRoleForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewRevokeTenantRoleForbidden

func NewRevokeTenantRoleForbidden() *RevokeTenantRoleForbidden

NewRevokeTenantRoleForbidden creates a RevokeTenantRoleForbidden with default headers values

func (*RevokeTenantRoleForbidden) Code

func (o *RevokeTenantRoleForbidden) Code() int

Code gets the status code for the revoke tenant role forbidden response

func (*RevokeTenantRoleForbidden) Error

func (o *RevokeTenantRoleForbidden) Error() string

func (*RevokeTenantRoleForbidden) GetPayload

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

func (*RevokeTenantRoleForbidden) IsClientError

func (o *RevokeTenantRoleForbidden) IsClientError() bool

IsClientError returns true when this revoke tenant role forbidden response has a 4xx status code

func (*RevokeTenantRoleForbidden) IsCode

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

IsCode returns true when this revoke tenant role forbidden response a status code equal to that given

func (*RevokeTenantRoleForbidden) IsRedirect

func (o *RevokeTenantRoleForbidden) IsRedirect() bool

IsRedirect returns true when this revoke tenant role forbidden response has a 3xx status code

func (*RevokeTenantRoleForbidden) IsServerError

func (o *RevokeTenantRoleForbidden) IsServerError() bool

IsServerError returns true when this revoke tenant role forbidden response has a 5xx status code

func (*RevokeTenantRoleForbidden) IsSuccess

func (o *RevokeTenantRoleForbidden) IsSuccess() bool

IsSuccess returns true when this revoke tenant role forbidden response has a 2xx status code

func (*RevokeTenantRoleForbidden) String

func (o *RevokeTenantRoleForbidden) String() string

type RevokeTenantRoleNoContent

type RevokeTenantRoleNoContent struct {

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

	in:header

	     Format: etag
	*/
	Etag string
}

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

Role revoked

func NewRevokeTenantRoleNoContent

func NewRevokeTenantRoleNoContent() *RevokeTenantRoleNoContent

NewRevokeTenantRoleNoContent creates a RevokeTenantRoleNoContent with default headers values

func (*RevokeTenantRoleNoContent) Code

func (o *RevokeTenantRoleNoContent) Code() int

Code gets the status code for the revoke tenant role no content response

func (*RevokeTenantRoleNoContent) Error

func (o *RevokeTenantRoleNoContent) Error() string

func (*RevokeTenantRoleNoContent) IsClientError

func (o *RevokeTenantRoleNoContent) IsClientError() bool

IsClientError returns true when this revoke tenant role no content response has a 4xx status code

func (*RevokeTenantRoleNoContent) IsCode

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

IsCode returns true when this revoke tenant role no content response a status code equal to that given

func (*RevokeTenantRoleNoContent) IsRedirect

func (o *RevokeTenantRoleNoContent) IsRedirect() bool

IsRedirect returns true when this revoke tenant role no content response has a 3xx status code

func (*RevokeTenantRoleNoContent) IsServerError

func (o *RevokeTenantRoleNoContent) IsServerError() bool

IsServerError returns true when this revoke tenant role no content response has a 5xx status code

func (*RevokeTenantRoleNoContent) IsSuccess

func (o *RevokeTenantRoleNoContent) IsSuccess() bool

IsSuccess returns true when this revoke tenant role no content response has a 2xx status code

func (*RevokeTenantRoleNoContent) String

func (o *RevokeTenantRoleNoContent) String() string

type RevokeTenantRoleNotFound

type RevokeTenantRoleNotFound struct {
	Payload *models.Error
}

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

Not found

func NewRevokeTenantRoleNotFound

func NewRevokeTenantRoleNotFound() *RevokeTenantRoleNotFound

NewRevokeTenantRoleNotFound creates a RevokeTenantRoleNotFound with default headers values

func (*RevokeTenantRoleNotFound) Code

func (o *RevokeTenantRoleNotFound) Code() int

Code gets the status code for the revoke tenant role not found response

func (*RevokeTenantRoleNotFound) Error

func (o *RevokeTenantRoleNotFound) Error() string

func (*RevokeTenantRoleNotFound) GetPayload

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

func (*RevokeTenantRoleNotFound) IsClientError

func (o *RevokeTenantRoleNotFound) IsClientError() bool

IsClientError returns true when this revoke tenant role not found response has a 4xx status code

func (*RevokeTenantRoleNotFound) IsCode

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

IsCode returns true when this revoke tenant role not found response a status code equal to that given

func (*RevokeTenantRoleNotFound) IsRedirect

func (o *RevokeTenantRoleNotFound) IsRedirect() bool

IsRedirect returns true when this revoke tenant role not found response has a 3xx status code

func (*RevokeTenantRoleNotFound) IsServerError

func (o *RevokeTenantRoleNotFound) IsServerError() bool

IsServerError returns true when this revoke tenant role not found response has a 5xx status code

func (*RevokeTenantRoleNotFound) IsSuccess

func (o *RevokeTenantRoleNotFound) IsSuccess() bool

IsSuccess returns true when this revoke tenant role not found response has a 2xx status code

func (*RevokeTenantRoleNotFound) String

func (o *RevokeTenantRoleNotFound) String() string

type RevokeTenantRoleParams

type RevokeTenantRoleParams struct {

	// Request.
	Request *models.RevokeTenantRoleRequest

	/* 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
}

RevokeTenantRoleParams contains all the parameters to send to the API endpoint

for the revoke tenant role operation.

Typically these are written to a http.Request.

func NewRevokeTenantRoleParams

func NewRevokeTenantRoleParams() *RevokeTenantRoleParams

NewRevokeTenantRoleParams creates a new RevokeTenantRoleParams 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 NewRevokeTenantRoleParamsWithContext

func NewRevokeTenantRoleParamsWithContext(ctx context.Context) *RevokeTenantRoleParams

NewRevokeTenantRoleParamsWithContext creates a new RevokeTenantRoleParams object with the ability to set a context for a request.

func NewRevokeTenantRoleParamsWithHTTPClient

func NewRevokeTenantRoleParamsWithHTTPClient(client *http.Client) *RevokeTenantRoleParams

NewRevokeTenantRoleParamsWithHTTPClient creates a new RevokeTenantRoleParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeTenantRoleParamsWithTimeout

func NewRevokeTenantRoleParamsWithTimeout(timeout time.Duration) *RevokeTenantRoleParams

NewRevokeTenantRoleParamsWithTimeout creates a new RevokeTenantRoleParams object with the ability to set a timeout on a request.

func (*RevokeTenantRoleParams) SetContext

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

SetContext adds the context to the revoke tenant role params

func (*RevokeTenantRoleParams) SetDefaults

func (o *RevokeTenantRoleParams) SetDefaults()

SetDefaults hydrates default values in the revoke tenant role params (not the query body).

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

func (*RevokeTenantRoleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke tenant role params

func (*RevokeTenantRoleParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the revoke tenant role params

func (*RevokeTenantRoleParams) SetRequest

func (o *RevokeTenantRoleParams) SetRequest(request *models.RevokeTenantRoleRequest)

SetRequest adds the request to the revoke tenant role params

func (*RevokeTenantRoleParams) SetTimeout

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

SetTimeout adds the timeout to the revoke tenant role params

func (*RevokeTenantRoleParams) WithContext

WithContext adds the context to the revoke tenant role params

func (*RevokeTenantRoleParams) WithDefaults

WithDefaults hydrates default values in the revoke tenant role params (not the query body).

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

func (*RevokeTenantRoleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the revoke tenant role params

func (*RevokeTenantRoleParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the revoke tenant role params

func (*RevokeTenantRoleParams) WithRequest

WithRequest adds the request to the revoke tenant role params

func (*RevokeTenantRoleParams) WithTimeout

WithTimeout adds the timeout to the revoke tenant role params

func (*RevokeTenantRoleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeTenantRoleReader

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

RevokeTenantRoleReader is a Reader for the RevokeTenantRole structure.

func (*RevokeTenantRoleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeTenantRoleTooManyRequests

type RevokeTenantRoleTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewRevokeTenantRoleTooManyRequests

func NewRevokeTenantRoleTooManyRequests() *RevokeTenantRoleTooManyRequests

NewRevokeTenantRoleTooManyRequests creates a RevokeTenantRoleTooManyRequests with default headers values

func (*RevokeTenantRoleTooManyRequests) Code

Code gets the status code for the revoke tenant role too many requests response

func (*RevokeTenantRoleTooManyRequests) Error

func (*RevokeTenantRoleTooManyRequests) GetPayload

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

func (*RevokeTenantRoleTooManyRequests) IsClientError

func (o *RevokeTenantRoleTooManyRequests) IsClientError() bool

IsClientError returns true when this revoke tenant role too many requests response has a 4xx status code

func (*RevokeTenantRoleTooManyRequests) IsCode

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

IsCode returns true when this revoke tenant role too many requests response a status code equal to that given

func (*RevokeTenantRoleTooManyRequests) IsRedirect

func (o *RevokeTenantRoleTooManyRequests) IsRedirect() bool

IsRedirect returns true when this revoke tenant role too many requests response has a 3xx status code

func (*RevokeTenantRoleTooManyRequests) IsServerError

func (o *RevokeTenantRoleTooManyRequests) IsServerError() bool

IsServerError returns true when this revoke tenant role too many requests response has a 5xx status code

func (*RevokeTenantRoleTooManyRequests) IsSuccess

func (o *RevokeTenantRoleTooManyRequests) IsSuccess() bool

IsSuccess returns true when this revoke tenant role too many requests response has a 2xx status code

func (*RevokeTenantRoleTooManyRequests) String

type RevokeTenantRoleUnauthorized

type RevokeTenantRoleUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewRevokeTenantRoleUnauthorized

func NewRevokeTenantRoleUnauthorized() *RevokeTenantRoleUnauthorized

NewRevokeTenantRoleUnauthorized creates a RevokeTenantRoleUnauthorized with default headers values

func (*RevokeTenantRoleUnauthorized) Code

Code gets the status code for the revoke tenant role unauthorized response

func (*RevokeTenantRoleUnauthorized) Error

func (*RevokeTenantRoleUnauthorized) GetPayload

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

func (*RevokeTenantRoleUnauthorized) IsClientError

func (o *RevokeTenantRoleUnauthorized) IsClientError() bool

IsClientError returns true when this revoke tenant role unauthorized response has a 4xx status code

func (*RevokeTenantRoleUnauthorized) IsCode

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

IsCode returns true when this revoke tenant role unauthorized response a status code equal to that given

func (*RevokeTenantRoleUnauthorized) IsRedirect

func (o *RevokeTenantRoleUnauthorized) IsRedirect() bool

IsRedirect returns true when this revoke tenant role unauthorized response has a 3xx status code

func (*RevokeTenantRoleUnauthorized) IsServerError

func (o *RevokeTenantRoleUnauthorized) IsServerError() bool

IsServerError returns true when this revoke tenant role unauthorized response has a 5xx status code

func (*RevokeTenantRoleUnauthorized) IsSuccess

func (o *RevokeTenantRoleUnauthorized) IsSuccess() bool

IsSuccess returns true when this revoke tenant role unauthorized response has a 2xx status code

func (*RevokeTenantRoleUnauthorized) String

type RevokeTenantRoleUnprocessableEntity

type RevokeTenantRoleUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewRevokeTenantRoleUnprocessableEntity

func NewRevokeTenantRoleUnprocessableEntity() *RevokeTenantRoleUnprocessableEntity

NewRevokeTenantRoleUnprocessableEntity creates a RevokeTenantRoleUnprocessableEntity with default headers values

func (*RevokeTenantRoleUnprocessableEntity) Code

Code gets the status code for the revoke tenant role unprocessable entity response

func (*RevokeTenantRoleUnprocessableEntity) Error

func (*RevokeTenantRoleUnprocessableEntity) GetPayload

func (*RevokeTenantRoleUnprocessableEntity) IsClientError

func (o *RevokeTenantRoleUnprocessableEntity) IsClientError() bool

IsClientError returns true when this revoke tenant role unprocessable entity response has a 4xx status code

func (*RevokeTenantRoleUnprocessableEntity) IsCode

IsCode returns true when this revoke tenant role unprocessable entity response a status code equal to that given

func (*RevokeTenantRoleUnprocessableEntity) IsRedirect

func (o *RevokeTenantRoleUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this revoke tenant role unprocessable entity response has a 3xx status code

func (*RevokeTenantRoleUnprocessableEntity) IsServerError

func (o *RevokeTenantRoleUnprocessableEntity) IsServerError() bool

IsServerError returns true when this revoke tenant role unprocessable entity response has a 5xx status code

func (*RevokeTenantRoleUnprocessableEntity) IsSuccess

IsSuccess returns true when this revoke tenant role unprocessable entity response has a 2xx status code

func (*RevokeTenantRoleUnprocessableEntity) String

type RevokeWorkspaceRoleForbidden

type RevokeWorkspaceRoleForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewRevokeWorkspaceRoleForbidden

func NewRevokeWorkspaceRoleForbidden() *RevokeWorkspaceRoleForbidden

NewRevokeWorkspaceRoleForbidden creates a RevokeWorkspaceRoleForbidden with default headers values

func (*RevokeWorkspaceRoleForbidden) Code

Code gets the status code for the revoke workspace role forbidden response

func (*RevokeWorkspaceRoleForbidden) Error

func (*RevokeWorkspaceRoleForbidden) GetPayload

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

func (*RevokeWorkspaceRoleForbidden) IsClientError

func (o *RevokeWorkspaceRoleForbidden) IsClientError() bool

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

func (*RevokeWorkspaceRoleForbidden) IsCode

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

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

func (*RevokeWorkspaceRoleForbidden) IsRedirect

func (o *RevokeWorkspaceRoleForbidden) IsRedirect() bool

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

func (*RevokeWorkspaceRoleForbidden) IsServerError

func (o *RevokeWorkspaceRoleForbidden) IsServerError() bool

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

func (*RevokeWorkspaceRoleForbidden) IsSuccess

func (o *RevokeWorkspaceRoleForbidden) IsSuccess() bool

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

func (*RevokeWorkspaceRoleForbidden) String

type RevokeWorkspaceRoleNoContent

type RevokeWorkspaceRoleNoContent struct {

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

	in:header

	     Format: etag
	*/
	Etag string
}

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

Role revoked

func NewRevokeWorkspaceRoleNoContent

func NewRevokeWorkspaceRoleNoContent() *RevokeWorkspaceRoleNoContent

NewRevokeWorkspaceRoleNoContent creates a RevokeWorkspaceRoleNoContent with default headers values

func (*RevokeWorkspaceRoleNoContent) Code

Code gets the status code for the revoke workspace role no content response

func (*RevokeWorkspaceRoleNoContent) Error

func (*RevokeWorkspaceRoleNoContent) IsClientError

func (o *RevokeWorkspaceRoleNoContent) IsClientError() bool

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

func (*RevokeWorkspaceRoleNoContent) IsCode

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

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

func (*RevokeWorkspaceRoleNoContent) IsRedirect

func (o *RevokeWorkspaceRoleNoContent) IsRedirect() bool

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

func (*RevokeWorkspaceRoleNoContent) IsServerError

func (o *RevokeWorkspaceRoleNoContent) IsServerError() bool

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

func (*RevokeWorkspaceRoleNoContent) IsSuccess

func (o *RevokeWorkspaceRoleNoContent) IsSuccess() bool

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

func (*RevokeWorkspaceRoleNoContent) String

type RevokeWorkspaceRoleNotFound

type RevokeWorkspaceRoleNotFound struct {
	Payload *models.Error
}

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

Not found

func NewRevokeWorkspaceRoleNotFound

func NewRevokeWorkspaceRoleNotFound() *RevokeWorkspaceRoleNotFound

NewRevokeWorkspaceRoleNotFound creates a RevokeWorkspaceRoleNotFound with default headers values

func (*RevokeWorkspaceRoleNotFound) Code

func (o *RevokeWorkspaceRoleNotFound) Code() int

Code gets the status code for the revoke workspace role not found response

func (*RevokeWorkspaceRoleNotFound) Error

func (*RevokeWorkspaceRoleNotFound) GetPayload

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

func (*RevokeWorkspaceRoleNotFound) IsClientError

func (o *RevokeWorkspaceRoleNotFound) IsClientError() bool

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

func (*RevokeWorkspaceRoleNotFound) IsCode

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

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

func (*RevokeWorkspaceRoleNotFound) IsRedirect

func (o *RevokeWorkspaceRoleNotFound) IsRedirect() bool

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

func (*RevokeWorkspaceRoleNotFound) IsServerError

func (o *RevokeWorkspaceRoleNotFound) IsServerError() bool

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

func (*RevokeWorkspaceRoleNotFound) IsSuccess

func (o *RevokeWorkspaceRoleNotFound) IsSuccess() bool

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

func (*RevokeWorkspaceRoleNotFound) String

func (o *RevokeWorkspaceRoleNotFound) String() string

type RevokeWorkspaceRoleParams

type RevokeWorkspaceRoleParams struct {

	// Request.
	Request *models.RevokeWorkspaceRoleRequest

	/* 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

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

RevokeWorkspaceRoleParams contains all the parameters to send to the API endpoint

for the revoke workspace role operation.

Typically these are written to a http.Request.

func NewRevokeWorkspaceRoleParams

func NewRevokeWorkspaceRoleParams() *RevokeWorkspaceRoleParams

NewRevokeWorkspaceRoleParams creates a new RevokeWorkspaceRoleParams 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 NewRevokeWorkspaceRoleParamsWithContext

func NewRevokeWorkspaceRoleParamsWithContext(ctx context.Context) *RevokeWorkspaceRoleParams

NewRevokeWorkspaceRoleParamsWithContext creates a new RevokeWorkspaceRoleParams object with the ability to set a context for a request.

func NewRevokeWorkspaceRoleParamsWithHTTPClient

func NewRevokeWorkspaceRoleParamsWithHTTPClient(client *http.Client) *RevokeWorkspaceRoleParams

NewRevokeWorkspaceRoleParamsWithHTTPClient creates a new RevokeWorkspaceRoleParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeWorkspaceRoleParamsWithTimeout

func NewRevokeWorkspaceRoleParamsWithTimeout(timeout time.Duration) *RevokeWorkspaceRoleParams

NewRevokeWorkspaceRoleParamsWithTimeout creates a new RevokeWorkspaceRoleParams object with the ability to set a timeout on a request.

func (*RevokeWorkspaceRoleParams) SetContext

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

SetContext adds the context to the revoke workspace role params

func (*RevokeWorkspaceRoleParams) SetDefaults

func (o *RevokeWorkspaceRoleParams) SetDefaults()

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

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

func (*RevokeWorkspaceRoleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke workspace role params

func (*RevokeWorkspaceRoleParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the revoke workspace role params

func (*RevokeWorkspaceRoleParams) SetRequest

SetRequest adds the request to the revoke workspace role params

func (*RevokeWorkspaceRoleParams) SetTimeout

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

SetTimeout adds the timeout to the revoke workspace role params

func (*RevokeWorkspaceRoleParams) SetWid

func (o *RevokeWorkspaceRoleParams) SetWid(wid string)

SetWid adds the wid to the revoke workspace role params

func (*RevokeWorkspaceRoleParams) WithContext

WithContext adds the context to the revoke workspace role params

func (*RevokeWorkspaceRoleParams) WithDefaults

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

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

func (*RevokeWorkspaceRoleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the revoke workspace role params

func (*RevokeWorkspaceRoleParams) WithIfMatch

WithIfMatch adds the ifMatch to the revoke workspace role params

func (*RevokeWorkspaceRoleParams) WithRequest

WithRequest adds the request to the revoke workspace role params

func (*RevokeWorkspaceRoleParams) WithTimeout

WithTimeout adds the timeout to the revoke workspace role params

func (*RevokeWorkspaceRoleParams) WithWid

WithWid adds the wid to the revoke workspace role params

func (*RevokeWorkspaceRoleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeWorkspaceRoleReader

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

RevokeWorkspaceRoleReader is a Reader for the RevokeWorkspaceRole structure.

func (*RevokeWorkspaceRoleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeWorkspaceRoleTooManyRequests

type RevokeWorkspaceRoleTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewRevokeWorkspaceRoleTooManyRequests

func NewRevokeWorkspaceRoleTooManyRequests() *RevokeWorkspaceRoleTooManyRequests

NewRevokeWorkspaceRoleTooManyRequests creates a RevokeWorkspaceRoleTooManyRequests with default headers values

func (*RevokeWorkspaceRoleTooManyRequests) Code

Code gets the status code for the revoke workspace role too many requests response

func (*RevokeWorkspaceRoleTooManyRequests) Error

func (*RevokeWorkspaceRoleTooManyRequests) GetPayload

func (*RevokeWorkspaceRoleTooManyRequests) IsClientError

func (o *RevokeWorkspaceRoleTooManyRequests) IsClientError() bool

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

func (*RevokeWorkspaceRoleTooManyRequests) IsCode

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

func (*RevokeWorkspaceRoleTooManyRequests) IsRedirect

func (o *RevokeWorkspaceRoleTooManyRequests) IsRedirect() bool

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

func (*RevokeWorkspaceRoleTooManyRequests) IsServerError

func (o *RevokeWorkspaceRoleTooManyRequests) IsServerError() bool

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

func (*RevokeWorkspaceRoleTooManyRequests) IsSuccess

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

func (*RevokeWorkspaceRoleTooManyRequests) String

type RevokeWorkspaceRoleUnauthorized

type RevokeWorkspaceRoleUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewRevokeWorkspaceRoleUnauthorized

func NewRevokeWorkspaceRoleUnauthorized() *RevokeWorkspaceRoleUnauthorized

NewRevokeWorkspaceRoleUnauthorized creates a RevokeWorkspaceRoleUnauthorized with default headers values

func (*RevokeWorkspaceRoleUnauthorized) Code

Code gets the status code for the revoke workspace role unauthorized response

func (*RevokeWorkspaceRoleUnauthorized) Error

func (*RevokeWorkspaceRoleUnauthorized) GetPayload

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

func (*RevokeWorkspaceRoleUnauthorized) IsClientError

func (o *RevokeWorkspaceRoleUnauthorized) IsClientError() bool

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

func (*RevokeWorkspaceRoleUnauthorized) IsCode

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

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

func (*RevokeWorkspaceRoleUnauthorized) IsRedirect

func (o *RevokeWorkspaceRoleUnauthorized) IsRedirect() bool

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

func (*RevokeWorkspaceRoleUnauthorized) IsServerError

func (o *RevokeWorkspaceRoleUnauthorized) IsServerError() bool

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

func (*RevokeWorkspaceRoleUnauthorized) IsSuccess

func (o *RevokeWorkspaceRoleUnauthorized) IsSuccess() bool

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

func (*RevokeWorkspaceRoleUnauthorized) String

type RevokeWorkspaceRoleUnprocessableEntity

type RevokeWorkspaceRoleUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewRevokeWorkspaceRoleUnprocessableEntity

func NewRevokeWorkspaceRoleUnprocessableEntity() *RevokeWorkspaceRoleUnprocessableEntity

NewRevokeWorkspaceRoleUnprocessableEntity creates a RevokeWorkspaceRoleUnprocessableEntity with default headers values

func (*RevokeWorkspaceRoleUnprocessableEntity) Code

Code gets the status code for the revoke workspace role unprocessable entity response

func (*RevokeWorkspaceRoleUnprocessableEntity) Error

func (*RevokeWorkspaceRoleUnprocessableEntity) GetPayload

func (*RevokeWorkspaceRoleUnprocessableEntity) IsClientError

func (o *RevokeWorkspaceRoleUnprocessableEntity) IsClientError() bool

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

func (*RevokeWorkspaceRoleUnprocessableEntity) IsCode

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

func (*RevokeWorkspaceRoleUnprocessableEntity) IsRedirect

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

func (*RevokeWorkspaceRoleUnprocessableEntity) IsServerError

func (o *RevokeWorkspaceRoleUnprocessableEntity) IsServerError() bool

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

func (*RevokeWorkspaceRoleUnprocessableEntity) IsSuccess

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

func (*RevokeWorkspaceRoleUnprocessableEntity) String

Jump to

Keyboard shortcuts

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