permissions

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 CheckTenantPermissionsForbidden

type CheckTenantPermissionsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewCheckTenantPermissionsForbidden

func NewCheckTenantPermissionsForbidden() *CheckTenantPermissionsForbidden

NewCheckTenantPermissionsForbidden creates a CheckTenantPermissionsForbidden with default headers values

func (*CheckTenantPermissionsForbidden) Code

Code gets the status code for the check tenant permissions forbidden response

func (*CheckTenantPermissionsForbidden) Error

func (*CheckTenantPermissionsForbidden) GetPayload

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

func (*CheckTenantPermissionsForbidden) IsClientError

func (o *CheckTenantPermissionsForbidden) IsClientError() bool

IsClientError returns true when this check tenant permissions forbidden response has a 4xx status code

func (*CheckTenantPermissionsForbidden) IsCode

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

IsCode returns true when this check tenant permissions forbidden response a status code equal to that given

func (*CheckTenantPermissionsForbidden) IsRedirect

func (o *CheckTenantPermissionsForbidden) IsRedirect() bool

IsRedirect returns true when this check tenant permissions forbidden response has a 3xx status code

func (*CheckTenantPermissionsForbidden) IsServerError

func (o *CheckTenantPermissionsForbidden) IsServerError() bool

IsServerError returns true when this check tenant permissions forbidden response has a 5xx status code

func (*CheckTenantPermissionsForbidden) IsSuccess

func (o *CheckTenantPermissionsForbidden) IsSuccess() bool

IsSuccess returns true when this check tenant permissions forbidden response has a 2xx status code

func (*CheckTenantPermissionsForbidden) String

type CheckTenantPermissionsNotFound

type CheckTenantPermissionsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewCheckTenantPermissionsNotFound

func NewCheckTenantPermissionsNotFound() *CheckTenantPermissionsNotFound

NewCheckTenantPermissionsNotFound creates a CheckTenantPermissionsNotFound with default headers values

func (*CheckTenantPermissionsNotFound) Code

Code gets the status code for the check tenant permissions not found response

func (*CheckTenantPermissionsNotFound) Error

func (*CheckTenantPermissionsNotFound) GetPayload

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

func (*CheckTenantPermissionsNotFound) IsClientError

func (o *CheckTenantPermissionsNotFound) IsClientError() bool

IsClientError returns true when this check tenant permissions not found response has a 4xx status code

func (*CheckTenantPermissionsNotFound) IsCode

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

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

func (*CheckTenantPermissionsNotFound) IsRedirect

func (o *CheckTenantPermissionsNotFound) IsRedirect() bool

IsRedirect returns true when this check tenant permissions not found response has a 3xx status code

func (*CheckTenantPermissionsNotFound) IsServerError

func (o *CheckTenantPermissionsNotFound) IsServerError() bool

IsServerError returns true when this check tenant permissions not found response has a 5xx status code

func (*CheckTenantPermissionsNotFound) IsSuccess

func (o *CheckTenantPermissionsNotFound) IsSuccess() bool

IsSuccess returns true when this check tenant permissions not found response has a 2xx status code

func (*CheckTenantPermissionsNotFound) String

type CheckTenantPermissionsOK

type CheckTenantPermissionsOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.TenantPermissionsResponse
}

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

TenantPermissions

func NewCheckTenantPermissionsOK

func NewCheckTenantPermissionsOK() *CheckTenantPermissionsOK

NewCheckTenantPermissionsOK creates a CheckTenantPermissionsOK with default headers values

func (*CheckTenantPermissionsOK) Code

func (o *CheckTenantPermissionsOK) Code() int

Code gets the status code for the check tenant permissions o k response

func (*CheckTenantPermissionsOK) Error

func (o *CheckTenantPermissionsOK) Error() string

func (*CheckTenantPermissionsOK) GetPayload

func (*CheckTenantPermissionsOK) IsClientError

func (o *CheckTenantPermissionsOK) IsClientError() bool

IsClientError returns true when this check tenant permissions o k response has a 4xx status code

func (*CheckTenantPermissionsOK) IsCode

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

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

func (*CheckTenantPermissionsOK) IsRedirect

func (o *CheckTenantPermissionsOK) IsRedirect() bool

IsRedirect returns true when this check tenant permissions o k response has a 3xx status code

func (*CheckTenantPermissionsOK) IsServerError

func (o *CheckTenantPermissionsOK) IsServerError() bool

IsServerError returns true when this check tenant permissions o k response has a 5xx status code

func (*CheckTenantPermissionsOK) IsSuccess

func (o *CheckTenantPermissionsOK) IsSuccess() bool

IsSuccess returns true when this check tenant permissions o k response has a 2xx status code

func (*CheckTenantPermissionsOK) String

func (o *CheckTenantPermissionsOK) String() string

type CheckTenantPermissionsParams

type CheckTenantPermissionsParams 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
}

CheckTenantPermissionsParams contains all the parameters to send to the API endpoint

for the check tenant permissions operation.

Typically these are written to a http.Request.

func NewCheckTenantPermissionsParams

func NewCheckTenantPermissionsParams() *CheckTenantPermissionsParams

NewCheckTenantPermissionsParams creates a new CheckTenantPermissionsParams 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 NewCheckTenantPermissionsParamsWithContext

func NewCheckTenantPermissionsParamsWithContext(ctx context.Context) *CheckTenantPermissionsParams

NewCheckTenantPermissionsParamsWithContext creates a new CheckTenantPermissionsParams object with the ability to set a context for a request.

func NewCheckTenantPermissionsParamsWithHTTPClient

func NewCheckTenantPermissionsParamsWithHTTPClient(client *http.Client) *CheckTenantPermissionsParams

NewCheckTenantPermissionsParamsWithHTTPClient creates a new CheckTenantPermissionsParams object with the ability to set a custom HTTPClient for a request.

func NewCheckTenantPermissionsParamsWithTimeout

func NewCheckTenantPermissionsParamsWithTimeout(timeout time.Duration) *CheckTenantPermissionsParams

NewCheckTenantPermissionsParamsWithTimeout creates a new CheckTenantPermissionsParams object with the ability to set a timeout on a request.

func (*CheckTenantPermissionsParams) SetContext

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

SetContext adds the context to the check tenant permissions params

func (*CheckTenantPermissionsParams) SetDefaults

func (o *CheckTenantPermissionsParams) SetDefaults()

SetDefaults hydrates default values in the check tenant permissions params (not the query body).

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

func (*CheckTenantPermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the check tenant permissions params

func (*CheckTenantPermissionsParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the check tenant permissions params

func (*CheckTenantPermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the check tenant permissions params

func (*CheckTenantPermissionsParams) WithContext

WithContext adds the context to the check tenant permissions params

func (*CheckTenantPermissionsParams) WithDefaults

WithDefaults hydrates default values in the check tenant permissions params (not the query body).

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

func (*CheckTenantPermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the check tenant permissions params

func (*CheckTenantPermissionsParams) WithIfMatch

WithIfMatch adds the ifMatch to the check tenant permissions params

func (*CheckTenantPermissionsParams) WithTimeout

WithTimeout adds the timeout to the check tenant permissions params

func (*CheckTenantPermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CheckTenantPermissionsReader

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

CheckTenantPermissionsReader is a Reader for the CheckTenantPermissions structure.

func (*CheckTenantPermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CheckTenantPermissionsTooManyRequests

type CheckTenantPermissionsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewCheckTenantPermissionsTooManyRequests

func NewCheckTenantPermissionsTooManyRequests() *CheckTenantPermissionsTooManyRequests

NewCheckTenantPermissionsTooManyRequests creates a CheckTenantPermissionsTooManyRequests with default headers values

func (*CheckTenantPermissionsTooManyRequests) Code

Code gets the status code for the check tenant permissions too many requests response

func (*CheckTenantPermissionsTooManyRequests) Error

func (*CheckTenantPermissionsTooManyRequests) GetPayload

func (*CheckTenantPermissionsTooManyRequests) IsClientError

func (o *CheckTenantPermissionsTooManyRequests) IsClientError() bool

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

func (*CheckTenantPermissionsTooManyRequests) IsCode

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

func (*CheckTenantPermissionsTooManyRequests) IsRedirect

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

func (*CheckTenantPermissionsTooManyRequests) IsServerError

func (o *CheckTenantPermissionsTooManyRequests) IsServerError() bool

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

func (*CheckTenantPermissionsTooManyRequests) IsSuccess

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

func (*CheckTenantPermissionsTooManyRequests) String

type CheckTenantPermissionsUnauthorized

type CheckTenantPermissionsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewCheckTenantPermissionsUnauthorized

func NewCheckTenantPermissionsUnauthorized() *CheckTenantPermissionsUnauthorized

NewCheckTenantPermissionsUnauthorized creates a CheckTenantPermissionsUnauthorized with default headers values

func (*CheckTenantPermissionsUnauthorized) Code

Code gets the status code for the check tenant permissions unauthorized response

func (*CheckTenantPermissionsUnauthorized) Error

func (*CheckTenantPermissionsUnauthorized) GetPayload

func (*CheckTenantPermissionsUnauthorized) IsClientError

func (o *CheckTenantPermissionsUnauthorized) IsClientError() bool

IsClientError returns true when this check tenant permissions unauthorized response has a 4xx status code

func (*CheckTenantPermissionsUnauthorized) IsCode

IsCode returns true when this check tenant permissions unauthorized response a status code equal to that given

func (*CheckTenantPermissionsUnauthorized) IsRedirect

func (o *CheckTenantPermissionsUnauthorized) IsRedirect() bool

IsRedirect returns true when this check tenant permissions unauthorized response has a 3xx status code

func (*CheckTenantPermissionsUnauthorized) IsServerError

func (o *CheckTenantPermissionsUnauthorized) IsServerError() bool

IsServerError returns true when this check tenant permissions unauthorized response has a 5xx status code

func (*CheckTenantPermissionsUnauthorized) IsSuccess

IsSuccess returns true when this check tenant permissions unauthorized response has a 2xx status code

func (*CheckTenantPermissionsUnauthorized) String

type CheckWorkspacePermissionsForbidden

type CheckWorkspacePermissionsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewCheckWorkspacePermissionsForbidden

func NewCheckWorkspacePermissionsForbidden() *CheckWorkspacePermissionsForbidden

NewCheckWorkspacePermissionsForbidden creates a CheckWorkspacePermissionsForbidden with default headers values

func (*CheckWorkspacePermissionsForbidden) Code

Code gets the status code for the check workspace permissions forbidden response

func (*CheckWorkspacePermissionsForbidden) Error

func (*CheckWorkspacePermissionsForbidden) GetPayload

func (*CheckWorkspacePermissionsForbidden) IsClientError

func (o *CheckWorkspacePermissionsForbidden) IsClientError() bool

IsClientError returns true when this check workspace permissions forbidden response has a 4xx status code

func (*CheckWorkspacePermissionsForbidden) IsCode

IsCode returns true when this check workspace permissions forbidden response a status code equal to that given

func (*CheckWorkspacePermissionsForbidden) IsRedirect

func (o *CheckWorkspacePermissionsForbidden) IsRedirect() bool

IsRedirect returns true when this check workspace permissions forbidden response has a 3xx status code

func (*CheckWorkspacePermissionsForbidden) IsServerError

func (o *CheckWorkspacePermissionsForbidden) IsServerError() bool

IsServerError returns true when this check workspace permissions forbidden response has a 5xx status code

func (*CheckWorkspacePermissionsForbidden) IsSuccess

IsSuccess returns true when this check workspace permissions forbidden response has a 2xx status code

func (*CheckWorkspacePermissionsForbidden) String

type CheckWorkspacePermissionsNotFound

type CheckWorkspacePermissionsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewCheckWorkspacePermissionsNotFound

func NewCheckWorkspacePermissionsNotFound() *CheckWorkspacePermissionsNotFound

NewCheckWorkspacePermissionsNotFound creates a CheckWorkspacePermissionsNotFound with default headers values

func (*CheckWorkspacePermissionsNotFound) Code

Code gets the status code for the check workspace permissions not found response

func (*CheckWorkspacePermissionsNotFound) Error

func (*CheckWorkspacePermissionsNotFound) GetPayload

func (*CheckWorkspacePermissionsNotFound) IsClientError

func (o *CheckWorkspacePermissionsNotFound) IsClientError() bool

IsClientError returns true when this check workspace permissions not found response has a 4xx status code

func (*CheckWorkspacePermissionsNotFound) IsCode

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

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

func (*CheckWorkspacePermissionsNotFound) IsRedirect

func (o *CheckWorkspacePermissionsNotFound) IsRedirect() bool

IsRedirect returns true when this check workspace permissions not found response has a 3xx status code

func (*CheckWorkspacePermissionsNotFound) IsServerError

func (o *CheckWorkspacePermissionsNotFound) IsServerError() bool

IsServerError returns true when this check workspace permissions not found response has a 5xx status code

func (*CheckWorkspacePermissionsNotFound) IsSuccess

func (o *CheckWorkspacePermissionsNotFound) IsSuccess() bool

IsSuccess returns true when this check workspace permissions not found response has a 2xx status code

func (*CheckWorkspacePermissionsNotFound) String

type CheckWorkspacePermissionsOK

type CheckWorkspacePermissionsOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.WorkspacePermissionsResponse
}

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

WorkspacePermissions

func NewCheckWorkspacePermissionsOK

func NewCheckWorkspacePermissionsOK() *CheckWorkspacePermissionsOK

NewCheckWorkspacePermissionsOK creates a CheckWorkspacePermissionsOK with default headers values

func (*CheckWorkspacePermissionsOK) Code

func (o *CheckWorkspacePermissionsOK) Code() int

Code gets the status code for the check workspace permissions o k response

func (*CheckWorkspacePermissionsOK) Error

func (*CheckWorkspacePermissionsOK) GetPayload

func (*CheckWorkspacePermissionsOK) IsClientError

func (o *CheckWorkspacePermissionsOK) IsClientError() bool

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

func (*CheckWorkspacePermissionsOK) IsCode

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

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

func (*CheckWorkspacePermissionsOK) IsRedirect

func (o *CheckWorkspacePermissionsOK) IsRedirect() bool

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

func (*CheckWorkspacePermissionsOK) IsServerError

func (o *CheckWorkspacePermissionsOK) IsServerError() bool

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

func (*CheckWorkspacePermissionsOK) IsSuccess

func (o *CheckWorkspacePermissionsOK) IsSuccess() bool

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

func (*CheckWorkspacePermissionsOK) String

func (o *CheckWorkspacePermissionsOK) String() string

type CheckWorkspacePermissionsParams

type CheckWorkspacePermissionsParams 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
}

CheckWorkspacePermissionsParams contains all the parameters to send to the API endpoint

for the check workspace permissions operation.

Typically these are written to a http.Request.

func NewCheckWorkspacePermissionsParams

func NewCheckWorkspacePermissionsParams() *CheckWorkspacePermissionsParams

NewCheckWorkspacePermissionsParams creates a new CheckWorkspacePermissionsParams 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 NewCheckWorkspacePermissionsParamsWithContext

func NewCheckWorkspacePermissionsParamsWithContext(ctx context.Context) *CheckWorkspacePermissionsParams

NewCheckWorkspacePermissionsParamsWithContext creates a new CheckWorkspacePermissionsParams object with the ability to set a context for a request.

func NewCheckWorkspacePermissionsParamsWithHTTPClient

func NewCheckWorkspacePermissionsParamsWithHTTPClient(client *http.Client) *CheckWorkspacePermissionsParams

NewCheckWorkspacePermissionsParamsWithHTTPClient creates a new CheckWorkspacePermissionsParams object with the ability to set a custom HTTPClient for a request.

func NewCheckWorkspacePermissionsParamsWithTimeout

func NewCheckWorkspacePermissionsParamsWithTimeout(timeout time.Duration) *CheckWorkspacePermissionsParams

NewCheckWorkspacePermissionsParamsWithTimeout creates a new CheckWorkspacePermissionsParams object with the ability to set a timeout on a request.

func (*CheckWorkspacePermissionsParams) SetContext

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

SetContext adds the context to the check workspace permissions params

func (*CheckWorkspacePermissionsParams) SetDefaults

func (o *CheckWorkspacePermissionsParams) SetDefaults()

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

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

func (*CheckWorkspacePermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the check workspace permissions params

func (*CheckWorkspacePermissionsParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the check workspace permissions params

func (*CheckWorkspacePermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the check workspace permissions params

func (*CheckWorkspacePermissionsParams) SetWid

func (o *CheckWorkspacePermissionsParams) SetWid(wid string)

SetWid adds the wid to the check workspace permissions params

func (*CheckWorkspacePermissionsParams) WithContext

WithContext adds the context to the check workspace permissions params

func (*CheckWorkspacePermissionsParams) WithDefaults

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

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

func (*CheckWorkspacePermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the check workspace permissions params

func (*CheckWorkspacePermissionsParams) WithIfMatch

WithIfMatch adds the ifMatch to the check workspace permissions params

func (*CheckWorkspacePermissionsParams) WithTimeout

WithTimeout adds the timeout to the check workspace permissions params

func (*CheckWorkspacePermissionsParams) WithWid

WithWid adds the wid to the check workspace permissions params

func (*CheckWorkspacePermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CheckWorkspacePermissionsReader

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

CheckWorkspacePermissionsReader is a Reader for the CheckWorkspacePermissions structure.

func (*CheckWorkspacePermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CheckWorkspacePermissionsTooManyRequests

type CheckWorkspacePermissionsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewCheckWorkspacePermissionsTooManyRequests

func NewCheckWorkspacePermissionsTooManyRequests() *CheckWorkspacePermissionsTooManyRequests

NewCheckWorkspacePermissionsTooManyRequests creates a CheckWorkspacePermissionsTooManyRequests with default headers values

func (*CheckWorkspacePermissionsTooManyRequests) Code

Code gets the status code for the check workspace permissions too many requests response

func (*CheckWorkspacePermissionsTooManyRequests) Error

func (*CheckWorkspacePermissionsTooManyRequests) GetPayload

func (*CheckWorkspacePermissionsTooManyRequests) IsClientError

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

func (*CheckWorkspacePermissionsTooManyRequests) IsCode

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

func (*CheckWorkspacePermissionsTooManyRequests) IsRedirect

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

func (*CheckWorkspacePermissionsTooManyRequests) IsServerError

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

func (*CheckWorkspacePermissionsTooManyRequests) IsSuccess

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

func (*CheckWorkspacePermissionsTooManyRequests) String

type CheckWorkspacePermissionsUnauthorized

type CheckWorkspacePermissionsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewCheckWorkspacePermissionsUnauthorized

func NewCheckWorkspacePermissionsUnauthorized() *CheckWorkspacePermissionsUnauthorized

NewCheckWorkspacePermissionsUnauthorized creates a CheckWorkspacePermissionsUnauthorized with default headers values

func (*CheckWorkspacePermissionsUnauthorized) Code

Code gets the status code for the check workspace permissions unauthorized response

func (*CheckWorkspacePermissionsUnauthorized) Error

func (*CheckWorkspacePermissionsUnauthorized) GetPayload

func (*CheckWorkspacePermissionsUnauthorized) IsClientError

func (o *CheckWorkspacePermissionsUnauthorized) IsClientError() bool

IsClientError returns true when this check workspace permissions unauthorized response has a 4xx status code

func (*CheckWorkspacePermissionsUnauthorized) IsCode

IsCode returns true when this check workspace permissions unauthorized response a status code equal to that given

func (*CheckWorkspacePermissionsUnauthorized) IsRedirect

IsRedirect returns true when this check workspace permissions unauthorized response has a 3xx status code

func (*CheckWorkspacePermissionsUnauthorized) IsServerError

func (o *CheckWorkspacePermissionsUnauthorized) IsServerError() bool

IsServerError returns true when this check workspace permissions unauthorized response has a 5xx status code

func (*CheckWorkspacePermissionsUnauthorized) IsSuccess

IsSuccess returns true when this check workspace permissions unauthorized response has a 2xx status code

func (*CheckWorkspacePermissionsUnauthorized) String

type Client

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

Client for permissions API

func (*Client) CheckTenantPermissions

func (a *Client) CheckTenantPermissions(params *CheckTenantPermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckTenantPermissionsOK, error)

CheckTenantPermissions checks tenant permissions

Check my permissions for this tenant.

func (*Client) CheckWorkspacePermissions

func (a *Client) CheckWorkspacePermissions(params *CheckWorkspacePermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckWorkspacePermissionsOK, error)

CheckWorkspacePermissions checks workspace permissions

Check my permissions for this workspace.

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 {
	CheckTenantPermissions(params *CheckTenantPermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckTenantPermissionsOK, error)

	CheckWorkspacePermissions(params *CheckWorkspacePermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckWorkspacePermissionsOK, 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 permissions API client.

Jump to

Keyboard shortcuts

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