rbac

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 12 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 rbac API

func (*Client) DeleteRbacPoliciesRbacPolicyID

DeleteRbacPoliciesRbacPolicyID deletes r b a c policy

func (*Client) GetRbacPolicies

func (a *Client) GetRbacPolicies(params *GetRbacPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRbacPoliciesOK, error)

GetRbacPolicies lists r b a c policies

func (*Client) GetRbacPoliciesRbacPolicyID

func (a *Client) GetRbacPoliciesRbacPolicyID(params *GetRbacPoliciesRbacPolicyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRbacPoliciesRbacPolicyIDOK, error)

GetRbacPoliciesRbacPolicyID shows details of an r b a c policy

func (*Client) PostRbacPolicies

func (a *Client) PostRbacPolicies(params *PostRbacPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostRbacPoliciesCreated, error)

PostRbacPolicies creates r b a c policy

func (*Client) PutRbacPoliciesRbacPolicyID

func (a *Client) PutRbacPoliciesRbacPolicyID(params *PutRbacPoliciesRbacPolicyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutRbacPoliciesRbacPolicyIDOK, error)

PutRbacPoliciesRbacPolicyID updates an existing r b a c policy

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 {
	DeleteRbacPoliciesRbacPolicyID(params *DeleteRbacPoliciesRbacPolicyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRbacPoliciesRbacPolicyIDNoContent, error)

	GetRbacPolicies(params *GetRbacPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRbacPoliciesOK, error)

	GetRbacPoliciesRbacPolicyID(params *GetRbacPoliciesRbacPolicyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRbacPoliciesRbacPolicyIDOK, error)

	PostRbacPolicies(params *PostRbacPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostRbacPoliciesCreated, error)

	PutRbacPoliciesRbacPolicyID(params *PutRbacPoliciesRbacPolicyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutRbacPoliciesRbacPolicyIDOK, 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 rbac API client.

type DeleteRbacPoliciesRbacPolicyIDForbidden

type DeleteRbacPoliciesRbacPolicyIDForbidden struct {
}

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

Forbidden

func NewDeleteRbacPoliciesRbacPolicyIDForbidden

func NewDeleteRbacPoliciesRbacPolicyIDForbidden() *DeleteRbacPoliciesRbacPolicyIDForbidden

NewDeleteRbacPoliciesRbacPolicyIDForbidden creates a DeleteRbacPoliciesRbacPolicyIDForbidden with default headers values

func (*DeleteRbacPoliciesRbacPolicyIDForbidden) Code

Code gets the status code for the delete rbac policies rbac policy Id forbidden response

func (*DeleteRbacPoliciesRbacPolicyIDForbidden) Error

func (*DeleteRbacPoliciesRbacPolicyIDForbidden) IsClientError

func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) IsClientError() bool

IsClientError returns true when this delete rbac policies rbac policy Id forbidden response has a 4xx status code

func (*DeleteRbacPoliciesRbacPolicyIDForbidden) IsCode

IsCode returns true when this delete rbac policies rbac policy Id forbidden response a status code equal to that given

func (*DeleteRbacPoliciesRbacPolicyIDForbidden) IsRedirect

IsRedirect returns true when this delete rbac policies rbac policy Id forbidden response has a 3xx status code

func (*DeleteRbacPoliciesRbacPolicyIDForbidden) IsServerError

func (o *DeleteRbacPoliciesRbacPolicyIDForbidden) IsServerError() bool

IsServerError returns true when this delete rbac policies rbac policy Id forbidden response has a 5xx status code

func (*DeleteRbacPoliciesRbacPolicyIDForbidden) IsSuccess

IsSuccess returns true when this delete rbac policies rbac policy Id forbidden response has a 2xx status code

func (*DeleteRbacPoliciesRbacPolicyIDForbidden) String

type DeleteRbacPoliciesRbacPolicyIDNoContent

type DeleteRbacPoliciesRbacPolicyIDNoContent struct {
}

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

RBAC policy successfully deleted.

func NewDeleteRbacPoliciesRbacPolicyIDNoContent

func NewDeleteRbacPoliciesRbacPolicyIDNoContent() *DeleteRbacPoliciesRbacPolicyIDNoContent

NewDeleteRbacPoliciesRbacPolicyIDNoContent creates a DeleteRbacPoliciesRbacPolicyIDNoContent with default headers values

func (*DeleteRbacPoliciesRbacPolicyIDNoContent) Code

Code gets the status code for the delete rbac policies rbac policy Id no content response

func (*DeleteRbacPoliciesRbacPolicyIDNoContent) Error

func (*DeleteRbacPoliciesRbacPolicyIDNoContent) IsClientError

func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) IsClientError() bool

IsClientError returns true when this delete rbac policies rbac policy Id no content response has a 4xx status code

func (*DeleteRbacPoliciesRbacPolicyIDNoContent) IsCode

IsCode returns true when this delete rbac policies rbac policy Id no content response a status code equal to that given

func (*DeleteRbacPoliciesRbacPolicyIDNoContent) IsRedirect

IsRedirect returns true when this delete rbac policies rbac policy Id no content response has a 3xx status code

func (*DeleteRbacPoliciesRbacPolicyIDNoContent) IsServerError

func (o *DeleteRbacPoliciesRbacPolicyIDNoContent) IsServerError() bool

IsServerError returns true when this delete rbac policies rbac policy Id no content response has a 5xx status code

func (*DeleteRbacPoliciesRbacPolicyIDNoContent) IsSuccess

IsSuccess returns true when this delete rbac policies rbac policy Id no content response has a 2xx status code

func (*DeleteRbacPoliciesRbacPolicyIDNoContent) String

type DeleteRbacPoliciesRbacPolicyIDNotFound

type DeleteRbacPoliciesRbacPolicyIDNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewDeleteRbacPoliciesRbacPolicyIDNotFound

func NewDeleteRbacPoliciesRbacPolicyIDNotFound() *DeleteRbacPoliciesRbacPolicyIDNotFound

NewDeleteRbacPoliciesRbacPolicyIDNotFound creates a DeleteRbacPoliciesRbacPolicyIDNotFound with default headers values

func (*DeleteRbacPoliciesRbacPolicyIDNotFound) Code

Code gets the status code for the delete rbac policies rbac policy Id not found response

func (*DeleteRbacPoliciesRbacPolicyIDNotFound) Error

func (*DeleteRbacPoliciesRbacPolicyIDNotFound) GetPayload

func (*DeleteRbacPoliciesRbacPolicyIDNotFound) IsClientError

func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) IsClientError() bool

IsClientError returns true when this delete rbac policies rbac policy Id not found response has a 4xx status code

func (*DeleteRbacPoliciesRbacPolicyIDNotFound) IsCode

IsCode returns true when this delete rbac policies rbac policy Id not found response a status code equal to that given

func (*DeleteRbacPoliciesRbacPolicyIDNotFound) IsRedirect

IsRedirect returns true when this delete rbac policies rbac policy Id not found response has a 3xx status code

func (*DeleteRbacPoliciesRbacPolicyIDNotFound) IsServerError

func (o *DeleteRbacPoliciesRbacPolicyIDNotFound) IsServerError() bool

IsServerError returns true when this delete rbac policies rbac policy Id not found response has a 5xx status code

func (*DeleteRbacPoliciesRbacPolicyIDNotFound) IsSuccess

IsSuccess returns true when this delete rbac policies rbac policy Id not found response has a 2xx status code

func (*DeleteRbacPoliciesRbacPolicyIDNotFound) String

type DeleteRbacPoliciesRbacPolicyIDParams

type DeleteRbacPoliciesRbacPolicyIDParams struct {

	/* RbacPolicyID.

	   The UUID of the RBAC policy.

	   Format: uuid
	*/
	RbacPolicyID strfmt.UUID

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

DeleteRbacPoliciesRbacPolicyIDParams contains all the parameters to send to the API endpoint

for the delete rbac policies rbac policy ID operation.

Typically these are written to a http.Request.

func NewDeleteRbacPoliciesRbacPolicyIDParams

func NewDeleteRbacPoliciesRbacPolicyIDParams() *DeleteRbacPoliciesRbacPolicyIDParams

NewDeleteRbacPoliciesRbacPolicyIDParams creates a new DeleteRbacPoliciesRbacPolicyIDParams 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 NewDeleteRbacPoliciesRbacPolicyIDParamsWithContext

func NewDeleteRbacPoliciesRbacPolicyIDParamsWithContext(ctx context.Context) *DeleteRbacPoliciesRbacPolicyIDParams

NewDeleteRbacPoliciesRbacPolicyIDParamsWithContext creates a new DeleteRbacPoliciesRbacPolicyIDParams object with the ability to set a context for a request.

func NewDeleteRbacPoliciesRbacPolicyIDParamsWithHTTPClient

func NewDeleteRbacPoliciesRbacPolicyIDParamsWithHTTPClient(client *http.Client) *DeleteRbacPoliciesRbacPolicyIDParams

NewDeleteRbacPoliciesRbacPolicyIDParamsWithHTTPClient creates a new DeleteRbacPoliciesRbacPolicyIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteRbacPoliciesRbacPolicyIDParamsWithTimeout

func NewDeleteRbacPoliciesRbacPolicyIDParamsWithTimeout(timeout time.Duration) *DeleteRbacPoliciesRbacPolicyIDParams

NewDeleteRbacPoliciesRbacPolicyIDParamsWithTimeout creates a new DeleteRbacPoliciesRbacPolicyIDParams object with the ability to set a timeout on a request.

func (*DeleteRbacPoliciesRbacPolicyIDParams) SetContext

SetContext adds the context to the delete rbac policies rbac policy ID params

func (*DeleteRbacPoliciesRbacPolicyIDParams) SetDefaults

func (o *DeleteRbacPoliciesRbacPolicyIDParams) SetDefaults()

SetDefaults hydrates default values in the delete rbac policies rbac policy ID params (not the query body).

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

func (*DeleteRbacPoliciesRbacPolicyIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete rbac policies rbac policy ID params

func (*DeleteRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID

func (o *DeleteRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID(rbacPolicyID strfmt.UUID)

SetRbacPolicyID adds the rbacPolicyId to the delete rbac policies rbac policy ID params

func (*DeleteRbacPoliciesRbacPolicyIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete rbac policies rbac policy ID params

func (*DeleteRbacPoliciesRbacPolicyIDParams) WithContext

WithContext adds the context to the delete rbac policies rbac policy ID params

func (*DeleteRbacPoliciesRbacPolicyIDParams) WithDefaults

WithDefaults hydrates default values in the delete rbac policies rbac policy ID params (not the query body).

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

func (*DeleteRbacPoliciesRbacPolicyIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete rbac policies rbac policy ID params

func (*DeleteRbacPoliciesRbacPolicyIDParams) WithRbacPolicyID

WithRbacPolicyID adds the rbacPolicyID to the delete rbac policies rbac policy ID params

func (*DeleteRbacPoliciesRbacPolicyIDParams) WithTimeout

WithTimeout adds the timeout to the delete rbac policies rbac policy ID params

func (*DeleteRbacPoliciesRbacPolicyIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRbacPoliciesRbacPolicyIDReader

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

DeleteRbacPoliciesRbacPolicyIDReader is a Reader for the DeleteRbacPoliciesRbacPolicyID structure.

func (*DeleteRbacPoliciesRbacPolicyIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRbacPoliciesRbacPolicyIDUnauthorized

type DeleteRbacPoliciesRbacPolicyIDUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeleteRbacPoliciesRbacPolicyIDUnauthorized

func NewDeleteRbacPoliciesRbacPolicyIDUnauthorized() *DeleteRbacPoliciesRbacPolicyIDUnauthorized

NewDeleteRbacPoliciesRbacPolicyIDUnauthorized creates a DeleteRbacPoliciesRbacPolicyIDUnauthorized with default headers values

func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) Code

Code gets the status code for the delete rbac policies rbac policy Id unauthorized response

func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) Error

func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) GetPayload

func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsClientError

IsClientError returns true when this delete rbac policies rbac policy Id unauthorized response has a 4xx status code

func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsCode

IsCode returns true when this delete rbac policies rbac policy Id unauthorized response a status code equal to that given

func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsRedirect

IsRedirect returns true when this delete rbac policies rbac policy Id unauthorized response has a 3xx status code

func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsServerError

IsServerError returns true when this delete rbac policies rbac policy Id unauthorized response has a 5xx status code

func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) IsSuccess

IsSuccess returns true when this delete rbac policies rbac policy Id unauthorized response has a 2xx status code

func (*DeleteRbacPoliciesRbacPolicyIDUnauthorized) String

type DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity

type DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Content

func NewDeleteRbacPoliciesRbacPolicyIDUnprocessableEntity

func NewDeleteRbacPoliciesRbacPolicyIDUnprocessableEntity() *DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity

NewDeleteRbacPoliciesRbacPolicyIDUnprocessableEntity creates a DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity with default headers values

func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) Code

Code gets the status code for the delete rbac policies rbac policy Id unprocessable entity response

func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) Error

func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) GetPayload

func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsClientError

IsClientError returns true when this delete rbac policies rbac policy Id unprocessable entity response has a 4xx status code

func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsCode

IsCode returns true when this delete rbac policies rbac policy Id unprocessable entity response a status code equal to that given

func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsRedirect

IsRedirect returns true when this delete rbac policies rbac policy Id unprocessable entity response has a 3xx status code

func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsServerError

IsServerError returns true when this delete rbac policies rbac policy Id unprocessable entity response has a 5xx status code

func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) IsSuccess

IsSuccess returns true when this delete rbac policies rbac policy Id unprocessable entity response has a 2xx status code

func (*DeleteRbacPoliciesRbacPolicyIDUnprocessableEntity) String

type GetRbacPoliciesBadRequest

type GetRbacPoliciesBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewGetRbacPoliciesBadRequest

func NewGetRbacPoliciesBadRequest() *GetRbacPoliciesBadRequest

NewGetRbacPoliciesBadRequest creates a GetRbacPoliciesBadRequest with default headers values

func (*GetRbacPoliciesBadRequest) Code

func (o *GetRbacPoliciesBadRequest) Code() int

Code gets the status code for the get rbac policies bad request response

func (*GetRbacPoliciesBadRequest) Error

func (o *GetRbacPoliciesBadRequest) Error() string

func (*GetRbacPoliciesBadRequest) GetPayload

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

func (*GetRbacPoliciesBadRequest) IsClientError

func (o *GetRbacPoliciesBadRequest) IsClientError() bool

IsClientError returns true when this get rbac policies bad request response has a 4xx status code

func (*GetRbacPoliciesBadRequest) IsCode

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

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

func (*GetRbacPoliciesBadRequest) IsRedirect

func (o *GetRbacPoliciesBadRequest) IsRedirect() bool

IsRedirect returns true when this get rbac policies bad request response has a 3xx status code

func (*GetRbacPoliciesBadRequest) IsServerError

func (o *GetRbacPoliciesBadRequest) IsServerError() bool

IsServerError returns true when this get rbac policies bad request response has a 5xx status code

func (*GetRbacPoliciesBadRequest) IsSuccess

func (o *GetRbacPoliciesBadRequest) IsSuccess() bool

IsSuccess returns true when this get rbac policies bad request response has a 2xx status code

func (*GetRbacPoliciesBadRequest) String

func (o *GetRbacPoliciesBadRequest) String() string

type GetRbacPoliciesForbidden

type GetRbacPoliciesForbidden struct {
}

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

Forbidden

func NewGetRbacPoliciesForbidden

func NewGetRbacPoliciesForbidden() *GetRbacPoliciesForbidden

NewGetRbacPoliciesForbidden creates a GetRbacPoliciesForbidden with default headers values

func (*GetRbacPoliciesForbidden) Code

func (o *GetRbacPoliciesForbidden) Code() int

Code gets the status code for the get rbac policies forbidden response

func (*GetRbacPoliciesForbidden) Error

func (o *GetRbacPoliciesForbidden) Error() string

func (*GetRbacPoliciesForbidden) IsClientError

func (o *GetRbacPoliciesForbidden) IsClientError() bool

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

func (*GetRbacPoliciesForbidden) IsCode

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

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

func (*GetRbacPoliciesForbidden) IsRedirect

func (o *GetRbacPoliciesForbidden) IsRedirect() bool

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

func (*GetRbacPoliciesForbidden) IsServerError

func (o *GetRbacPoliciesForbidden) IsServerError() bool

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

func (*GetRbacPoliciesForbidden) IsSuccess

func (o *GetRbacPoliciesForbidden) IsSuccess() bool

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

func (*GetRbacPoliciesForbidden) String

func (o *GetRbacPoliciesForbidden) String() string

type GetRbacPoliciesOK

type GetRbacPoliciesOK struct {
	Payload *GetRbacPoliciesOKBody
}

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

A JSON array of rbac policies

func NewGetRbacPoliciesOK

func NewGetRbacPoliciesOK() *GetRbacPoliciesOK

NewGetRbacPoliciesOK creates a GetRbacPoliciesOK with default headers values

func (*GetRbacPoliciesOK) Code

func (o *GetRbacPoliciesOK) Code() int

Code gets the status code for the get rbac policies o k response

func (*GetRbacPoliciesOK) Error

func (o *GetRbacPoliciesOK) Error() string

func (*GetRbacPoliciesOK) GetPayload

func (o *GetRbacPoliciesOK) GetPayload() *GetRbacPoliciesOKBody

func (*GetRbacPoliciesOK) IsClientError

func (o *GetRbacPoliciesOK) IsClientError() bool

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

func (*GetRbacPoliciesOK) IsCode

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

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

func (*GetRbacPoliciesOK) IsRedirect

func (o *GetRbacPoliciesOK) IsRedirect() bool

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

func (*GetRbacPoliciesOK) IsServerError

func (o *GetRbacPoliciesOK) IsServerError() bool

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

func (*GetRbacPoliciesOK) IsSuccess

func (o *GetRbacPoliciesOK) IsSuccess() bool

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

func (*GetRbacPoliciesOK) String

func (o *GetRbacPoliciesOK) String() string

type GetRbacPoliciesOKBody

type GetRbacPoliciesOKBody struct {

	// items
	Items []*models.Rbacpolicy `json:"items"`

	// links
	Links []*models.Link `json:"links,omitempty"`
}

GetRbacPoliciesOKBody get rbac policies o k body swagger:model GetRbacPoliciesOKBody

func (*GetRbacPoliciesOKBody) ContextValidate

func (o *GetRbacPoliciesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get rbac policies o k body based on the context it is used

func (*GetRbacPoliciesOKBody) MarshalBinary

func (o *GetRbacPoliciesOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetRbacPoliciesOKBody) UnmarshalBinary

func (o *GetRbacPoliciesOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetRbacPoliciesOKBody) Validate

func (o *GetRbacPoliciesOKBody) Validate(formats strfmt.Registry) error

Validate validates this get rbac policies o k body

type GetRbacPoliciesParams

type GetRbacPoliciesParams struct {

	/* Limit.

	   Sets the page size.
	*/
	Limit *int64

	/* Marker.

	   Pagination ID of the last item in the previous list.

	   Format: uuid
	*/
	Marker *strfmt.UUID

	/* PageReverse.

	   Sets the page direction.
	*/
	PageReverse *bool

	/* Sort.

	   Comma-separated list of sort keys, optionally prefix with - to reverse sort order.
	*/
	Sort *string

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

GetRbacPoliciesParams contains all the parameters to send to the API endpoint

for the get rbac policies operation.

Typically these are written to a http.Request.

func NewGetRbacPoliciesParams

func NewGetRbacPoliciesParams() *GetRbacPoliciesParams

NewGetRbacPoliciesParams creates a new GetRbacPoliciesParams 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 NewGetRbacPoliciesParamsWithContext

func NewGetRbacPoliciesParamsWithContext(ctx context.Context) *GetRbacPoliciesParams

NewGetRbacPoliciesParamsWithContext creates a new GetRbacPoliciesParams object with the ability to set a context for a request.

func NewGetRbacPoliciesParamsWithHTTPClient

func NewGetRbacPoliciesParamsWithHTTPClient(client *http.Client) *GetRbacPoliciesParams

NewGetRbacPoliciesParamsWithHTTPClient creates a new GetRbacPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewGetRbacPoliciesParamsWithTimeout

func NewGetRbacPoliciesParamsWithTimeout(timeout time.Duration) *GetRbacPoliciesParams

NewGetRbacPoliciesParamsWithTimeout creates a new GetRbacPoliciesParams object with the ability to set a timeout on a request.

func (*GetRbacPoliciesParams) SetContext

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

SetContext adds the context to the get rbac policies params

func (*GetRbacPoliciesParams) SetDefaults

func (o *GetRbacPoliciesParams) SetDefaults()

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

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

func (*GetRbacPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get rbac policies params

func (*GetRbacPoliciesParams) SetLimit

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

SetLimit adds the limit to the get rbac policies params

func (*GetRbacPoliciesParams) SetMarker

func (o *GetRbacPoliciesParams) SetMarker(marker *strfmt.UUID)

SetMarker adds the marker to the get rbac policies params

func (*GetRbacPoliciesParams) SetPageReverse

func (o *GetRbacPoliciesParams) SetPageReverse(pageReverse *bool)

SetPageReverse adds the pageReverse to the get rbac policies params

func (*GetRbacPoliciesParams) SetSort

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

SetSort adds the sort to the get rbac policies params

func (*GetRbacPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the get rbac policies params

func (*GetRbacPoliciesParams) WithContext

WithContext adds the context to the get rbac policies params

func (*GetRbacPoliciesParams) WithDefaults

func (o *GetRbacPoliciesParams) WithDefaults() *GetRbacPoliciesParams

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

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

func (*GetRbacPoliciesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get rbac policies params

func (*GetRbacPoliciesParams) WithLimit

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

WithLimit adds the limit to the get rbac policies params

func (*GetRbacPoliciesParams) WithMarker

func (o *GetRbacPoliciesParams) WithMarker(marker *strfmt.UUID) *GetRbacPoliciesParams

WithMarker adds the marker to the get rbac policies params

func (*GetRbacPoliciesParams) WithPageReverse

func (o *GetRbacPoliciesParams) WithPageReverse(pageReverse *bool) *GetRbacPoliciesParams

WithPageReverse adds the pageReverse to the get rbac policies params

func (*GetRbacPoliciesParams) WithSort

WithSort adds the sort to the get rbac policies params

func (*GetRbacPoliciesParams) WithTimeout

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

WithTimeout adds the timeout to the get rbac policies params

func (*GetRbacPoliciesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRbacPoliciesRbacPolicyIDForbidden

type GetRbacPoliciesRbacPolicyIDForbidden struct {
}

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

Forbidden

func NewGetRbacPoliciesRbacPolicyIDForbidden

func NewGetRbacPoliciesRbacPolicyIDForbidden() *GetRbacPoliciesRbacPolicyIDForbidden

NewGetRbacPoliciesRbacPolicyIDForbidden creates a GetRbacPoliciesRbacPolicyIDForbidden with default headers values

func (*GetRbacPoliciesRbacPolicyIDForbidden) Code

Code gets the status code for the get rbac policies rbac policy Id forbidden response

func (*GetRbacPoliciesRbacPolicyIDForbidden) Error

func (*GetRbacPoliciesRbacPolicyIDForbidden) IsClientError

func (o *GetRbacPoliciesRbacPolicyIDForbidden) IsClientError() bool

IsClientError returns true when this get rbac policies rbac policy Id forbidden response has a 4xx status code

func (*GetRbacPoliciesRbacPolicyIDForbidden) IsCode

IsCode returns true when this get rbac policies rbac policy Id forbidden response a status code equal to that given

func (*GetRbacPoliciesRbacPolicyIDForbidden) IsRedirect

IsRedirect returns true when this get rbac policies rbac policy Id forbidden response has a 3xx status code

func (*GetRbacPoliciesRbacPolicyIDForbidden) IsServerError

func (o *GetRbacPoliciesRbacPolicyIDForbidden) IsServerError() bool

IsServerError returns true when this get rbac policies rbac policy Id forbidden response has a 5xx status code

func (*GetRbacPoliciesRbacPolicyIDForbidden) IsSuccess

IsSuccess returns true when this get rbac policies rbac policy Id forbidden response has a 2xx status code

func (*GetRbacPoliciesRbacPolicyIDForbidden) String

type GetRbacPoliciesRbacPolicyIDNotFound

type GetRbacPoliciesRbacPolicyIDNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewGetRbacPoliciesRbacPolicyIDNotFound

func NewGetRbacPoliciesRbacPolicyIDNotFound() *GetRbacPoliciesRbacPolicyIDNotFound

NewGetRbacPoliciesRbacPolicyIDNotFound creates a GetRbacPoliciesRbacPolicyIDNotFound with default headers values

func (*GetRbacPoliciesRbacPolicyIDNotFound) Code

Code gets the status code for the get rbac policies rbac policy Id not found response

func (*GetRbacPoliciesRbacPolicyIDNotFound) Error

func (*GetRbacPoliciesRbacPolicyIDNotFound) GetPayload

func (*GetRbacPoliciesRbacPolicyIDNotFound) IsClientError

func (o *GetRbacPoliciesRbacPolicyIDNotFound) IsClientError() bool

IsClientError returns true when this get rbac policies rbac policy Id not found response has a 4xx status code

func (*GetRbacPoliciesRbacPolicyIDNotFound) IsCode

IsCode returns true when this get rbac policies rbac policy Id not found response a status code equal to that given

func (*GetRbacPoliciesRbacPolicyIDNotFound) IsRedirect

func (o *GetRbacPoliciesRbacPolicyIDNotFound) IsRedirect() bool

IsRedirect returns true when this get rbac policies rbac policy Id not found response has a 3xx status code

func (*GetRbacPoliciesRbacPolicyIDNotFound) IsServerError

func (o *GetRbacPoliciesRbacPolicyIDNotFound) IsServerError() bool

IsServerError returns true when this get rbac policies rbac policy Id not found response has a 5xx status code

func (*GetRbacPoliciesRbacPolicyIDNotFound) IsSuccess

IsSuccess returns true when this get rbac policies rbac policy Id not found response has a 2xx status code

func (*GetRbacPoliciesRbacPolicyIDNotFound) String

type GetRbacPoliciesRbacPolicyIDOK

type GetRbacPoliciesRbacPolicyIDOK struct {
	Payload *models.Rbacpolicy
}

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

RBAC Policy

func NewGetRbacPoliciesRbacPolicyIDOK

func NewGetRbacPoliciesRbacPolicyIDOK() *GetRbacPoliciesRbacPolicyIDOK

NewGetRbacPoliciesRbacPolicyIDOK creates a GetRbacPoliciesRbacPolicyIDOK with default headers values

func (*GetRbacPoliciesRbacPolicyIDOK) Code

Code gets the status code for the get rbac policies rbac policy Id o k response

func (*GetRbacPoliciesRbacPolicyIDOK) Error

func (*GetRbacPoliciesRbacPolicyIDOK) GetPayload

func (*GetRbacPoliciesRbacPolicyIDOK) IsClientError

func (o *GetRbacPoliciesRbacPolicyIDOK) IsClientError() bool

IsClientError returns true when this get rbac policies rbac policy Id o k response has a 4xx status code

func (*GetRbacPoliciesRbacPolicyIDOK) IsCode

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

IsCode returns true when this get rbac policies rbac policy Id o k response a status code equal to that given

func (*GetRbacPoliciesRbacPolicyIDOK) IsRedirect

func (o *GetRbacPoliciesRbacPolicyIDOK) IsRedirect() bool

IsRedirect returns true when this get rbac policies rbac policy Id o k response has a 3xx status code

func (*GetRbacPoliciesRbacPolicyIDOK) IsServerError

func (o *GetRbacPoliciesRbacPolicyIDOK) IsServerError() bool

IsServerError returns true when this get rbac policies rbac policy Id o k response has a 5xx status code

func (*GetRbacPoliciesRbacPolicyIDOK) IsSuccess

func (o *GetRbacPoliciesRbacPolicyIDOK) IsSuccess() bool

IsSuccess returns true when this get rbac policies rbac policy Id o k response has a 2xx status code

func (*GetRbacPoliciesRbacPolicyIDOK) String

type GetRbacPoliciesRbacPolicyIDParams

type GetRbacPoliciesRbacPolicyIDParams struct {

	/* RbacPolicyID.

	   The UUID of the RBAC policy.

	   Format: uuid
	*/
	RbacPolicyID strfmt.UUID

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

GetRbacPoliciesRbacPolicyIDParams contains all the parameters to send to the API endpoint

for the get rbac policies rbac policy ID operation.

Typically these are written to a http.Request.

func NewGetRbacPoliciesRbacPolicyIDParams

func NewGetRbacPoliciesRbacPolicyIDParams() *GetRbacPoliciesRbacPolicyIDParams

NewGetRbacPoliciesRbacPolicyIDParams creates a new GetRbacPoliciesRbacPolicyIDParams 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 NewGetRbacPoliciesRbacPolicyIDParamsWithContext

func NewGetRbacPoliciesRbacPolicyIDParamsWithContext(ctx context.Context) *GetRbacPoliciesRbacPolicyIDParams

NewGetRbacPoliciesRbacPolicyIDParamsWithContext creates a new GetRbacPoliciesRbacPolicyIDParams object with the ability to set a context for a request.

func NewGetRbacPoliciesRbacPolicyIDParamsWithHTTPClient

func NewGetRbacPoliciesRbacPolicyIDParamsWithHTTPClient(client *http.Client) *GetRbacPoliciesRbacPolicyIDParams

NewGetRbacPoliciesRbacPolicyIDParamsWithHTTPClient creates a new GetRbacPoliciesRbacPolicyIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetRbacPoliciesRbacPolicyIDParamsWithTimeout

func NewGetRbacPoliciesRbacPolicyIDParamsWithTimeout(timeout time.Duration) *GetRbacPoliciesRbacPolicyIDParams

NewGetRbacPoliciesRbacPolicyIDParamsWithTimeout creates a new GetRbacPoliciesRbacPolicyIDParams object with the ability to set a timeout on a request.

func (*GetRbacPoliciesRbacPolicyIDParams) SetContext

SetContext adds the context to the get rbac policies rbac policy ID params

func (*GetRbacPoliciesRbacPolicyIDParams) SetDefaults

func (o *GetRbacPoliciesRbacPolicyIDParams) SetDefaults()

SetDefaults hydrates default values in the get rbac policies rbac policy ID params (not the query body).

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

func (*GetRbacPoliciesRbacPolicyIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get rbac policies rbac policy ID params

func (*GetRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID

func (o *GetRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID(rbacPolicyID strfmt.UUID)

SetRbacPolicyID adds the rbacPolicyId to the get rbac policies rbac policy ID params

func (*GetRbacPoliciesRbacPolicyIDParams) SetTimeout

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

SetTimeout adds the timeout to the get rbac policies rbac policy ID params

func (*GetRbacPoliciesRbacPolicyIDParams) WithContext

WithContext adds the context to the get rbac policies rbac policy ID params

func (*GetRbacPoliciesRbacPolicyIDParams) WithDefaults

WithDefaults hydrates default values in the get rbac policies rbac policy ID params (not the query body).

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

func (*GetRbacPoliciesRbacPolicyIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get rbac policies rbac policy ID params

func (*GetRbacPoliciesRbacPolicyIDParams) WithRbacPolicyID

WithRbacPolicyID adds the rbacPolicyID to the get rbac policies rbac policy ID params

func (*GetRbacPoliciesRbacPolicyIDParams) WithTimeout

WithTimeout adds the timeout to the get rbac policies rbac policy ID params

func (*GetRbacPoliciesRbacPolicyIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRbacPoliciesRbacPolicyIDReader

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

GetRbacPoliciesRbacPolicyIDReader is a Reader for the GetRbacPoliciesRbacPolicyID structure.

func (*GetRbacPoliciesRbacPolicyIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRbacPoliciesRbacPolicyIDUnauthorized

type GetRbacPoliciesRbacPolicyIDUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetRbacPoliciesRbacPolicyIDUnauthorized

func NewGetRbacPoliciesRbacPolicyIDUnauthorized() *GetRbacPoliciesRbacPolicyIDUnauthorized

NewGetRbacPoliciesRbacPolicyIDUnauthorized creates a GetRbacPoliciesRbacPolicyIDUnauthorized with default headers values

func (*GetRbacPoliciesRbacPolicyIDUnauthorized) Code

Code gets the status code for the get rbac policies rbac policy Id unauthorized response

func (*GetRbacPoliciesRbacPolicyIDUnauthorized) Error

func (*GetRbacPoliciesRbacPolicyIDUnauthorized) GetPayload

func (*GetRbacPoliciesRbacPolicyIDUnauthorized) IsClientError

func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) IsClientError() bool

IsClientError returns true when this get rbac policies rbac policy Id unauthorized response has a 4xx status code

func (*GetRbacPoliciesRbacPolicyIDUnauthorized) IsCode

IsCode returns true when this get rbac policies rbac policy Id unauthorized response a status code equal to that given

func (*GetRbacPoliciesRbacPolicyIDUnauthorized) IsRedirect

IsRedirect returns true when this get rbac policies rbac policy Id unauthorized response has a 3xx status code

func (*GetRbacPoliciesRbacPolicyIDUnauthorized) IsServerError

func (o *GetRbacPoliciesRbacPolicyIDUnauthorized) IsServerError() bool

IsServerError returns true when this get rbac policies rbac policy Id unauthorized response has a 5xx status code

func (*GetRbacPoliciesRbacPolicyIDUnauthorized) IsSuccess

IsSuccess returns true when this get rbac policies rbac policy Id unauthorized response has a 2xx status code

func (*GetRbacPoliciesRbacPolicyIDUnauthorized) String

type GetRbacPoliciesRbacPolicyIDUnprocessableEntity

type GetRbacPoliciesRbacPolicyIDUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Content

func NewGetRbacPoliciesRbacPolicyIDUnprocessableEntity

func NewGetRbacPoliciesRbacPolicyIDUnprocessableEntity() *GetRbacPoliciesRbacPolicyIDUnprocessableEntity

NewGetRbacPoliciesRbacPolicyIDUnprocessableEntity creates a GetRbacPoliciesRbacPolicyIDUnprocessableEntity with default headers values

func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) Code

Code gets the status code for the get rbac policies rbac policy Id unprocessable entity response

func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) Error

func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) GetPayload

func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsClientError

IsClientError returns true when this get rbac policies rbac policy Id unprocessable entity response has a 4xx status code

func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsCode

IsCode returns true when this get rbac policies rbac policy Id unprocessable entity response a status code equal to that given

func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsRedirect

IsRedirect returns true when this get rbac policies rbac policy Id unprocessable entity response has a 3xx status code

func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsServerError

IsServerError returns true when this get rbac policies rbac policy Id unprocessable entity response has a 5xx status code

func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) IsSuccess

IsSuccess returns true when this get rbac policies rbac policy Id unprocessable entity response has a 2xx status code

func (*GetRbacPoliciesRbacPolicyIDUnprocessableEntity) String

type GetRbacPoliciesReader

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

GetRbacPoliciesReader is a Reader for the GetRbacPolicies structure.

func (*GetRbacPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRbacPoliciesUnauthorized

type GetRbacPoliciesUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetRbacPoliciesUnauthorized

func NewGetRbacPoliciesUnauthorized() *GetRbacPoliciesUnauthorized

NewGetRbacPoliciesUnauthorized creates a GetRbacPoliciesUnauthorized with default headers values

func (*GetRbacPoliciesUnauthorized) Code

func (o *GetRbacPoliciesUnauthorized) Code() int

Code gets the status code for the get rbac policies unauthorized response

func (*GetRbacPoliciesUnauthorized) Error

func (*GetRbacPoliciesUnauthorized) GetPayload

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

func (*GetRbacPoliciesUnauthorized) IsClientError

func (o *GetRbacPoliciesUnauthorized) IsClientError() bool

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

func (*GetRbacPoliciesUnauthorized) IsCode

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

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

func (*GetRbacPoliciesUnauthorized) IsRedirect

func (o *GetRbacPoliciesUnauthorized) IsRedirect() bool

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

func (*GetRbacPoliciesUnauthorized) IsServerError

func (o *GetRbacPoliciesUnauthorized) IsServerError() bool

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

func (*GetRbacPoliciesUnauthorized) IsSuccess

func (o *GetRbacPoliciesUnauthorized) IsSuccess() bool

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

func (*GetRbacPoliciesUnauthorized) String

func (o *GetRbacPoliciesUnauthorized) String() string

type GetRbacPoliciesUnprocessableEntity

type GetRbacPoliciesUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Content

func NewGetRbacPoliciesUnprocessableEntity

func NewGetRbacPoliciesUnprocessableEntity() *GetRbacPoliciesUnprocessableEntity

NewGetRbacPoliciesUnprocessableEntity creates a GetRbacPoliciesUnprocessableEntity with default headers values

func (*GetRbacPoliciesUnprocessableEntity) Code

Code gets the status code for the get rbac policies unprocessable entity response

func (*GetRbacPoliciesUnprocessableEntity) Error

func (*GetRbacPoliciesUnprocessableEntity) GetPayload

func (*GetRbacPoliciesUnprocessableEntity) IsClientError

func (o *GetRbacPoliciesUnprocessableEntity) IsClientError() bool

IsClientError returns true when this get rbac policies unprocessable entity response has a 4xx status code

func (*GetRbacPoliciesUnprocessableEntity) IsCode

IsCode returns true when this get rbac policies unprocessable entity response a status code equal to that given

func (*GetRbacPoliciesUnprocessableEntity) IsRedirect

func (o *GetRbacPoliciesUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this get rbac policies unprocessable entity response has a 3xx status code

func (*GetRbacPoliciesUnprocessableEntity) IsServerError

func (o *GetRbacPoliciesUnprocessableEntity) IsServerError() bool

IsServerError returns true when this get rbac policies unprocessable entity response has a 5xx status code

func (*GetRbacPoliciesUnprocessableEntity) IsSuccess

IsSuccess returns true when this get rbac policies unprocessable entity response has a 2xx status code

func (*GetRbacPoliciesUnprocessableEntity) String

type PostRbacPoliciesConflict

type PostRbacPoliciesConflict struct {
	Payload *models.Error
}

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

Duplicate RBAC Policy

func NewPostRbacPoliciesConflict

func NewPostRbacPoliciesConflict() *PostRbacPoliciesConflict

NewPostRbacPoliciesConflict creates a PostRbacPoliciesConflict with default headers values

func (*PostRbacPoliciesConflict) Code

func (o *PostRbacPoliciesConflict) Code() int

Code gets the status code for the post rbac policies conflict response

func (*PostRbacPoliciesConflict) Error

func (o *PostRbacPoliciesConflict) Error() string

func (*PostRbacPoliciesConflict) GetPayload

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

func (*PostRbacPoliciesConflict) IsClientError

func (o *PostRbacPoliciesConflict) IsClientError() bool

IsClientError returns true when this post rbac policies conflict response has a 4xx status code

func (*PostRbacPoliciesConflict) IsCode

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

IsCode returns true when this post rbac policies conflict response a status code equal to that given

func (*PostRbacPoliciesConflict) IsRedirect

func (o *PostRbacPoliciesConflict) IsRedirect() bool

IsRedirect returns true when this post rbac policies conflict response has a 3xx status code

func (*PostRbacPoliciesConflict) IsServerError

func (o *PostRbacPoliciesConflict) IsServerError() bool

IsServerError returns true when this post rbac policies conflict response has a 5xx status code

func (*PostRbacPoliciesConflict) IsSuccess

func (o *PostRbacPoliciesConflict) IsSuccess() bool

IsSuccess returns true when this post rbac policies conflict response has a 2xx status code

func (*PostRbacPoliciesConflict) String

func (o *PostRbacPoliciesConflict) String() string

type PostRbacPoliciesCreated

type PostRbacPoliciesCreated struct {
	Payload *models.Rbacpolicy
}

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

RBAC policy

func NewPostRbacPoliciesCreated

func NewPostRbacPoliciesCreated() *PostRbacPoliciesCreated

NewPostRbacPoliciesCreated creates a PostRbacPoliciesCreated with default headers values

func (*PostRbacPoliciesCreated) Code

func (o *PostRbacPoliciesCreated) Code() int

Code gets the status code for the post rbac policies created response

func (*PostRbacPoliciesCreated) Error

func (o *PostRbacPoliciesCreated) Error() string

func (*PostRbacPoliciesCreated) GetPayload

func (o *PostRbacPoliciesCreated) GetPayload() *models.Rbacpolicy

func (*PostRbacPoliciesCreated) IsClientError

func (o *PostRbacPoliciesCreated) IsClientError() bool

IsClientError returns true when this post rbac policies created response has a 4xx status code

func (*PostRbacPoliciesCreated) IsCode

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

IsCode returns true when this post rbac policies created response a status code equal to that given

func (*PostRbacPoliciesCreated) IsRedirect

func (o *PostRbacPoliciesCreated) IsRedirect() bool

IsRedirect returns true when this post rbac policies created response has a 3xx status code

func (*PostRbacPoliciesCreated) IsServerError

func (o *PostRbacPoliciesCreated) IsServerError() bool

IsServerError returns true when this post rbac policies created response has a 5xx status code

func (*PostRbacPoliciesCreated) IsSuccess

func (o *PostRbacPoliciesCreated) IsSuccess() bool

IsSuccess returns true when this post rbac policies created response has a 2xx status code

func (*PostRbacPoliciesCreated) String

func (o *PostRbacPoliciesCreated) String() string

type PostRbacPoliciesForbidden

type PostRbacPoliciesForbidden struct {
}

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

Forbidden

func NewPostRbacPoliciesForbidden

func NewPostRbacPoliciesForbidden() *PostRbacPoliciesForbidden

NewPostRbacPoliciesForbidden creates a PostRbacPoliciesForbidden with default headers values

func (*PostRbacPoliciesForbidden) Code

func (o *PostRbacPoliciesForbidden) Code() int

Code gets the status code for the post rbac policies forbidden response

func (*PostRbacPoliciesForbidden) Error

func (o *PostRbacPoliciesForbidden) Error() string

func (*PostRbacPoliciesForbidden) IsClientError

func (o *PostRbacPoliciesForbidden) IsClientError() bool

IsClientError returns true when this post rbac policies forbidden response has a 4xx status code

func (*PostRbacPoliciesForbidden) IsCode

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

IsCode returns true when this post rbac policies forbidden response a status code equal to that given

func (*PostRbacPoliciesForbidden) IsRedirect

func (o *PostRbacPoliciesForbidden) IsRedirect() bool

IsRedirect returns true when this post rbac policies forbidden response has a 3xx status code

func (*PostRbacPoliciesForbidden) IsServerError

func (o *PostRbacPoliciesForbidden) IsServerError() bool

IsServerError returns true when this post rbac policies forbidden response has a 5xx status code

func (*PostRbacPoliciesForbidden) IsSuccess

func (o *PostRbacPoliciesForbidden) IsSuccess() bool

IsSuccess returns true when this post rbac policies forbidden response has a 2xx status code

func (*PostRbacPoliciesForbidden) String

func (o *PostRbacPoliciesForbidden) String() string

type PostRbacPoliciesNotFound

type PostRbacPoliciesNotFound struct {
}

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

service_id not found

func NewPostRbacPoliciesNotFound

func NewPostRbacPoliciesNotFound() *PostRbacPoliciesNotFound

NewPostRbacPoliciesNotFound creates a PostRbacPoliciesNotFound with default headers values

func (*PostRbacPoliciesNotFound) Code

func (o *PostRbacPoliciesNotFound) Code() int

Code gets the status code for the post rbac policies not found response

func (*PostRbacPoliciesNotFound) Error

func (o *PostRbacPoliciesNotFound) Error() string

func (*PostRbacPoliciesNotFound) IsClientError

func (o *PostRbacPoliciesNotFound) IsClientError() bool

IsClientError returns true when this post rbac policies not found response has a 4xx status code

func (*PostRbacPoliciesNotFound) IsCode

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

IsCode returns true when this post rbac policies not found response a status code equal to that given

func (*PostRbacPoliciesNotFound) IsRedirect

func (o *PostRbacPoliciesNotFound) IsRedirect() bool

IsRedirect returns true when this post rbac policies not found response has a 3xx status code

func (*PostRbacPoliciesNotFound) IsServerError

func (o *PostRbacPoliciesNotFound) IsServerError() bool

IsServerError returns true when this post rbac policies not found response has a 5xx status code

func (*PostRbacPoliciesNotFound) IsSuccess

func (o *PostRbacPoliciesNotFound) IsSuccess() bool

IsSuccess returns true when this post rbac policies not found response has a 2xx status code

func (*PostRbacPoliciesNotFound) String

func (o *PostRbacPoliciesNotFound) String() string

type PostRbacPoliciesParams

type PostRbacPoliciesParams struct {

	/* Body.

	   RBAC Policy
	*/
	Body *models.Rbacpolicy

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

PostRbacPoliciesParams contains all the parameters to send to the API endpoint

for the post rbac policies operation.

Typically these are written to a http.Request.

func NewPostRbacPoliciesParams

func NewPostRbacPoliciesParams() *PostRbacPoliciesParams

NewPostRbacPoliciesParams creates a new PostRbacPoliciesParams 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 NewPostRbacPoliciesParamsWithContext

func NewPostRbacPoliciesParamsWithContext(ctx context.Context) *PostRbacPoliciesParams

NewPostRbacPoliciesParamsWithContext creates a new PostRbacPoliciesParams object with the ability to set a context for a request.

func NewPostRbacPoliciesParamsWithHTTPClient

func NewPostRbacPoliciesParamsWithHTTPClient(client *http.Client) *PostRbacPoliciesParams

NewPostRbacPoliciesParamsWithHTTPClient creates a new PostRbacPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewPostRbacPoliciesParamsWithTimeout

func NewPostRbacPoliciesParamsWithTimeout(timeout time.Duration) *PostRbacPoliciesParams

NewPostRbacPoliciesParamsWithTimeout creates a new PostRbacPoliciesParams object with the ability to set a timeout on a request.

func (*PostRbacPoliciesParams) SetBody

func (o *PostRbacPoliciesParams) SetBody(body *models.Rbacpolicy)

SetBody adds the body to the post rbac policies params

func (*PostRbacPoliciesParams) SetContext

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

SetContext adds the context to the post rbac policies params

func (*PostRbacPoliciesParams) SetDefaults

func (o *PostRbacPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the post rbac policies params (not the query body).

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

func (*PostRbacPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post rbac policies params

func (*PostRbacPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the post rbac policies params

func (*PostRbacPoliciesParams) WithBody

WithBody adds the body to the post rbac policies params

func (*PostRbacPoliciesParams) WithContext

WithContext adds the context to the post rbac policies params

func (*PostRbacPoliciesParams) WithDefaults

WithDefaults hydrates default values in the post rbac policies params (not the query body).

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

func (*PostRbacPoliciesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post rbac policies params

func (*PostRbacPoliciesParams) WithTimeout

WithTimeout adds the timeout to the post rbac policies params

func (*PostRbacPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRbacPoliciesReader

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

PostRbacPoliciesReader is a Reader for the PostRbacPolicies structure.

func (*PostRbacPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostRbacPoliciesUnauthorized

type PostRbacPoliciesUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPostRbacPoliciesUnauthorized

func NewPostRbacPoliciesUnauthorized() *PostRbacPoliciesUnauthorized

NewPostRbacPoliciesUnauthorized creates a PostRbacPoliciesUnauthorized with default headers values

func (*PostRbacPoliciesUnauthorized) Code

Code gets the status code for the post rbac policies unauthorized response

func (*PostRbacPoliciesUnauthorized) Error

func (*PostRbacPoliciesUnauthorized) GetPayload

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

func (*PostRbacPoliciesUnauthorized) IsClientError

func (o *PostRbacPoliciesUnauthorized) IsClientError() bool

IsClientError returns true when this post rbac policies unauthorized response has a 4xx status code

func (*PostRbacPoliciesUnauthorized) IsCode

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

IsCode returns true when this post rbac policies unauthorized response a status code equal to that given

func (*PostRbacPoliciesUnauthorized) IsRedirect

func (o *PostRbacPoliciesUnauthorized) IsRedirect() bool

IsRedirect returns true when this post rbac policies unauthorized response has a 3xx status code

func (*PostRbacPoliciesUnauthorized) IsServerError

func (o *PostRbacPoliciesUnauthorized) IsServerError() bool

IsServerError returns true when this post rbac policies unauthorized response has a 5xx status code

func (*PostRbacPoliciesUnauthorized) IsSuccess

func (o *PostRbacPoliciesUnauthorized) IsSuccess() bool

IsSuccess returns true when this post rbac policies unauthorized response has a 2xx status code

func (*PostRbacPoliciesUnauthorized) String

type PostRbacPoliciesUnprocessableEntity

type PostRbacPoliciesUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Content

func NewPostRbacPoliciesUnprocessableEntity

func NewPostRbacPoliciesUnprocessableEntity() *PostRbacPoliciesUnprocessableEntity

NewPostRbacPoliciesUnprocessableEntity creates a PostRbacPoliciesUnprocessableEntity with default headers values

func (*PostRbacPoliciesUnprocessableEntity) Code

Code gets the status code for the post rbac policies unprocessable entity response

func (*PostRbacPoliciesUnprocessableEntity) Error

func (*PostRbacPoliciesUnprocessableEntity) GetPayload

func (*PostRbacPoliciesUnprocessableEntity) IsClientError

func (o *PostRbacPoliciesUnprocessableEntity) IsClientError() bool

IsClientError returns true when this post rbac policies unprocessable entity response has a 4xx status code

func (*PostRbacPoliciesUnprocessableEntity) IsCode

IsCode returns true when this post rbac policies unprocessable entity response a status code equal to that given

func (*PostRbacPoliciesUnprocessableEntity) IsRedirect

func (o *PostRbacPoliciesUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this post rbac policies unprocessable entity response has a 3xx status code

func (*PostRbacPoliciesUnprocessableEntity) IsServerError

func (o *PostRbacPoliciesUnprocessableEntity) IsServerError() bool

IsServerError returns true when this post rbac policies unprocessable entity response has a 5xx status code

func (*PostRbacPoliciesUnprocessableEntity) IsSuccess

IsSuccess returns true when this post rbac policies unprocessable entity response has a 2xx status code

func (*PostRbacPoliciesUnprocessableEntity) String

type PutRbacPoliciesRbacPolicyIDConflict

type PutRbacPoliciesRbacPolicyIDConflict struct {
	Payload *models.Error
}

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

Duplicate RBAC Policy

func NewPutRbacPoliciesRbacPolicyIDConflict

func NewPutRbacPoliciesRbacPolicyIDConflict() *PutRbacPoliciesRbacPolicyIDConflict

NewPutRbacPoliciesRbacPolicyIDConflict creates a PutRbacPoliciesRbacPolicyIDConflict with default headers values

func (*PutRbacPoliciesRbacPolicyIDConflict) Code

Code gets the status code for the put rbac policies rbac policy Id conflict response

func (*PutRbacPoliciesRbacPolicyIDConflict) Error

func (*PutRbacPoliciesRbacPolicyIDConflict) GetPayload

func (*PutRbacPoliciesRbacPolicyIDConflict) IsClientError

func (o *PutRbacPoliciesRbacPolicyIDConflict) IsClientError() bool

IsClientError returns true when this put rbac policies rbac policy Id conflict response has a 4xx status code

func (*PutRbacPoliciesRbacPolicyIDConflict) IsCode

IsCode returns true when this put rbac policies rbac policy Id conflict response a status code equal to that given

func (*PutRbacPoliciesRbacPolicyIDConflict) IsRedirect

func (o *PutRbacPoliciesRbacPolicyIDConflict) IsRedirect() bool

IsRedirect returns true when this put rbac policies rbac policy Id conflict response has a 3xx status code

func (*PutRbacPoliciesRbacPolicyIDConflict) IsServerError

func (o *PutRbacPoliciesRbacPolicyIDConflict) IsServerError() bool

IsServerError returns true when this put rbac policies rbac policy Id conflict response has a 5xx status code

func (*PutRbacPoliciesRbacPolicyIDConflict) IsSuccess

IsSuccess returns true when this put rbac policies rbac policy Id conflict response has a 2xx status code

func (*PutRbacPoliciesRbacPolicyIDConflict) String

type PutRbacPoliciesRbacPolicyIDForbidden

type PutRbacPoliciesRbacPolicyIDForbidden struct {
}

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

Forbidden

func NewPutRbacPoliciesRbacPolicyIDForbidden

func NewPutRbacPoliciesRbacPolicyIDForbidden() *PutRbacPoliciesRbacPolicyIDForbidden

NewPutRbacPoliciesRbacPolicyIDForbidden creates a PutRbacPoliciesRbacPolicyIDForbidden with default headers values

func (*PutRbacPoliciesRbacPolicyIDForbidden) Code

Code gets the status code for the put rbac policies rbac policy Id forbidden response

func (*PutRbacPoliciesRbacPolicyIDForbidden) Error

func (*PutRbacPoliciesRbacPolicyIDForbidden) IsClientError

func (o *PutRbacPoliciesRbacPolicyIDForbidden) IsClientError() bool

IsClientError returns true when this put rbac policies rbac policy Id forbidden response has a 4xx status code

func (*PutRbacPoliciesRbacPolicyIDForbidden) IsCode

IsCode returns true when this put rbac policies rbac policy Id forbidden response a status code equal to that given

func (*PutRbacPoliciesRbacPolicyIDForbidden) IsRedirect

IsRedirect returns true when this put rbac policies rbac policy Id forbidden response has a 3xx status code

func (*PutRbacPoliciesRbacPolicyIDForbidden) IsServerError

func (o *PutRbacPoliciesRbacPolicyIDForbidden) IsServerError() bool

IsServerError returns true when this put rbac policies rbac policy Id forbidden response has a 5xx status code

func (*PutRbacPoliciesRbacPolicyIDForbidden) IsSuccess

IsSuccess returns true when this put rbac policies rbac policy Id forbidden response has a 2xx status code

func (*PutRbacPoliciesRbacPolicyIDForbidden) String

type PutRbacPoliciesRbacPolicyIDNotFound

type PutRbacPoliciesRbacPolicyIDNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPutRbacPoliciesRbacPolicyIDNotFound

func NewPutRbacPoliciesRbacPolicyIDNotFound() *PutRbacPoliciesRbacPolicyIDNotFound

NewPutRbacPoliciesRbacPolicyIDNotFound creates a PutRbacPoliciesRbacPolicyIDNotFound with default headers values

func (*PutRbacPoliciesRbacPolicyIDNotFound) Code

Code gets the status code for the put rbac policies rbac policy Id not found response

func (*PutRbacPoliciesRbacPolicyIDNotFound) Error

func (*PutRbacPoliciesRbacPolicyIDNotFound) GetPayload

func (*PutRbacPoliciesRbacPolicyIDNotFound) IsClientError

func (o *PutRbacPoliciesRbacPolicyIDNotFound) IsClientError() bool

IsClientError returns true when this put rbac policies rbac policy Id not found response has a 4xx status code

func (*PutRbacPoliciesRbacPolicyIDNotFound) IsCode

IsCode returns true when this put rbac policies rbac policy Id not found response a status code equal to that given

func (*PutRbacPoliciesRbacPolicyIDNotFound) IsRedirect

func (o *PutRbacPoliciesRbacPolicyIDNotFound) IsRedirect() bool

IsRedirect returns true when this put rbac policies rbac policy Id not found response has a 3xx status code

func (*PutRbacPoliciesRbacPolicyIDNotFound) IsServerError

func (o *PutRbacPoliciesRbacPolicyIDNotFound) IsServerError() bool

IsServerError returns true when this put rbac policies rbac policy Id not found response has a 5xx status code

func (*PutRbacPoliciesRbacPolicyIDNotFound) IsSuccess

IsSuccess returns true when this put rbac policies rbac policy Id not found response has a 2xx status code

func (*PutRbacPoliciesRbacPolicyIDNotFound) String

type PutRbacPoliciesRbacPolicyIDOK

type PutRbacPoliciesRbacPolicyIDOK struct {
	Payload *models.Rbacpolicy
}

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

RBAC Policy

func NewPutRbacPoliciesRbacPolicyIDOK

func NewPutRbacPoliciesRbacPolicyIDOK() *PutRbacPoliciesRbacPolicyIDOK

NewPutRbacPoliciesRbacPolicyIDOK creates a PutRbacPoliciesRbacPolicyIDOK with default headers values

func (*PutRbacPoliciesRbacPolicyIDOK) Code

Code gets the status code for the put rbac policies rbac policy Id o k response

func (*PutRbacPoliciesRbacPolicyIDOK) Error

func (*PutRbacPoliciesRbacPolicyIDOK) GetPayload

func (*PutRbacPoliciesRbacPolicyIDOK) IsClientError

func (o *PutRbacPoliciesRbacPolicyIDOK) IsClientError() bool

IsClientError returns true when this put rbac policies rbac policy Id o k response has a 4xx status code

func (*PutRbacPoliciesRbacPolicyIDOK) IsCode

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

IsCode returns true when this put rbac policies rbac policy Id o k response a status code equal to that given

func (*PutRbacPoliciesRbacPolicyIDOK) IsRedirect

func (o *PutRbacPoliciesRbacPolicyIDOK) IsRedirect() bool

IsRedirect returns true when this put rbac policies rbac policy Id o k response has a 3xx status code

func (*PutRbacPoliciesRbacPolicyIDOK) IsServerError

func (o *PutRbacPoliciesRbacPolicyIDOK) IsServerError() bool

IsServerError returns true when this put rbac policies rbac policy Id o k response has a 5xx status code

func (*PutRbacPoliciesRbacPolicyIDOK) IsSuccess

func (o *PutRbacPoliciesRbacPolicyIDOK) IsSuccess() bool

IsSuccess returns true when this put rbac policies rbac policy Id o k response has a 2xx status code

func (*PutRbacPoliciesRbacPolicyIDOK) String

type PutRbacPoliciesRbacPolicyIDParams

type PutRbacPoliciesRbacPolicyIDParams struct {

	/* Body.

	   RBAC policy resource that needs to be updated
	*/
	Body *models.Rbacpolicycommon

	/* RbacPolicyID.

	   The UUID of the RBAC policy.

	   Format: uuid
	*/
	RbacPolicyID strfmt.UUID

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

PutRbacPoliciesRbacPolicyIDParams contains all the parameters to send to the API endpoint

for the put rbac policies rbac policy ID operation.

Typically these are written to a http.Request.

func NewPutRbacPoliciesRbacPolicyIDParams

func NewPutRbacPoliciesRbacPolicyIDParams() *PutRbacPoliciesRbacPolicyIDParams

NewPutRbacPoliciesRbacPolicyIDParams creates a new PutRbacPoliciesRbacPolicyIDParams 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 NewPutRbacPoliciesRbacPolicyIDParamsWithContext

func NewPutRbacPoliciesRbacPolicyIDParamsWithContext(ctx context.Context) *PutRbacPoliciesRbacPolicyIDParams

NewPutRbacPoliciesRbacPolicyIDParamsWithContext creates a new PutRbacPoliciesRbacPolicyIDParams object with the ability to set a context for a request.

func NewPutRbacPoliciesRbacPolicyIDParamsWithHTTPClient

func NewPutRbacPoliciesRbacPolicyIDParamsWithHTTPClient(client *http.Client) *PutRbacPoliciesRbacPolicyIDParams

NewPutRbacPoliciesRbacPolicyIDParamsWithHTTPClient creates a new PutRbacPoliciesRbacPolicyIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutRbacPoliciesRbacPolicyIDParamsWithTimeout

func NewPutRbacPoliciesRbacPolicyIDParamsWithTimeout(timeout time.Duration) *PutRbacPoliciesRbacPolicyIDParams

NewPutRbacPoliciesRbacPolicyIDParamsWithTimeout creates a new PutRbacPoliciesRbacPolicyIDParams object with the ability to set a timeout on a request.

func (*PutRbacPoliciesRbacPolicyIDParams) SetBody

SetBody adds the body to the put rbac policies rbac policy ID params

func (*PutRbacPoliciesRbacPolicyIDParams) SetContext

SetContext adds the context to the put rbac policies rbac policy ID params

func (*PutRbacPoliciesRbacPolicyIDParams) SetDefaults

func (o *PutRbacPoliciesRbacPolicyIDParams) SetDefaults()

SetDefaults hydrates default values in the put rbac policies rbac policy ID params (not the query body).

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

func (*PutRbacPoliciesRbacPolicyIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put rbac policies rbac policy ID params

func (*PutRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID

func (o *PutRbacPoliciesRbacPolicyIDParams) SetRbacPolicyID(rbacPolicyID strfmt.UUID)

SetRbacPolicyID adds the rbacPolicyId to the put rbac policies rbac policy ID params

func (*PutRbacPoliciesRbacPolicyIDParams) SetTimeout

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

SetTimeout adds the timeout to the put rbac policies rbac policy ID params

func (*PutRbacPoliciesRbacPolicyIDParams) WithBody

WithBody adds the body to the put rbac policies rbac policy ID params

func (*PutRbacPoliciesRbacPolicyIDParams) WithContext

WithContext adds the context to the put rbac policies rbac policy ID params

func (*PutRbacPoliciesRbacPolicyIDParams) WithDefaults

WithDefaults hydrates default values in the put rbac policies rbac policy ID params (not the query body).

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

func (*PutRbacPoliciesRbacPolicyIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put rbac policies rbac policy ID params

func (*PutRbacPoliciesRbacPolicyIDParams) WithRbacPolicyID

WithRbacPolicyID adds the rbacPolicyID to the put rbac policies rbac policy ID params

func (*PutRbacPoliciesRbacPolicyIDParams) WithTimeout

WithTimeout adds the timeout to the put rbac policies rbac policy ID params

func (*PutRbacPoliciesRbacPolicyIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutRbacPoliciesRbacPolicyIDReader

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

PutRbacPoliciesRbacPolicyIDReader is a Reader for the PutRbacPoliciesRbacPolicyID structure.

func (*PutRbacPoliciesRbacPolicyIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutRbacPoliciesRbacPolicyIDUnauthorized

type PutRbacPoliciesRbacPolicyIDUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPutRbacPoliciesRbacPolicyIDUnauthorized

func NewPutRbacPoliciesRbacPolicyIDUnauthorized() *PutRbacPoliciesRbacPolicyIDUnauthorized

NewPutRbacPoliciesRbacPolicyIDUnauthorized creates a PutRbacPoliciesRbacPolicyIDUnauthorized with default headers values

func (*PutRbacPoliciesRbacPolicyIDUnauthorized) Code

Code gets the status code for the put rbac policies rbac policy Id unauthorized response

func (*PutRbacPoliciesRbacPolicyIDUnauthorized) Error

func (*PutRbacPoliciesRbacPolicyIDUnauthorized) GetPayload

func (*PutRbacPoliciesRbacPolicyIDUnauthorized) IsClientError

func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) IsClientError() bool

IsClientError returns true when this put rbac policies rbac policy Id unauthorized response has a 4xx status code

func (*PutRbacPoliciesRbacPolicyIDUnauthorized) IsCode

IsCode returns true when this put rbac policies rbac policy Id unauthorized response a status code equal to that given

func (*PutRbacPoliciesRbacPolicyIDUnauthorized) IsRedirect

IsRedirect returns true when this put rbac policies rbac policy Id unauthorized response has a 3xx status code

func (*PutRbacPoliciesRbacPolicyIDUnauthorized) IsServerError

func (o *PutRbacPoliciesRbacPolicyIDUnauthorized) IsServerError() bool

IsServerError returns true when this put rbac policies rbac policy Id unauthorized response has a 5xx status code

func (*PutRbacPoliciesRbacPolicyIDUnauthorized) IsSuccess

IsSuccess returns true when this put rbac policies rbac policy Id unauthorized response has a 2xx status code

func (*PutRbacPoliciesRbacPolicyIDUnauthorized) String

type PutRbacPoliciesRbacPolicyIDUnprocessableEntity

type PutRbacPoliciesRbacPolicyIDUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Content

func NewPutRbacPoliciesRbacPolicyIDUnprocessableEntity

func NewPutRbacPoliciesRbacPolicyIDUnprocessableEntity() *PutRbacPoliciesRbacPolicyIDUnprocessableEntity

NewPutRbacPoliciesRbacPolicyIDUnprocessableEntity creates a PutRbacPoliciesRbacPolicyIDUnprocessableEntity with default headers values

func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) Code

Code gets the status code for the put rbac policies rbac policy Id unprocessable entity response

func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) Error

func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) GetPayload

func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsClientError

IsClientError returns true when this put rbac policies rbac policy Id unprocessable entity response has a 4xx status code

func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsCode

IsCode returns true when this put rbac policies rbac policy Id unprocessable entity response a status code equal to that given

func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsRedirect

IsRedirect returns true when this put rbac policies rbac policy Id unprocessable entity response has a 3xx status code

func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsServerError

IsServerError returns true when this put rbac policies rbac policy Id unprocessable entity response has a 5xx status code

func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) IsSuccess

IsSuccess returns true when this put rbac policies rbac policy Id unprocessable entity response has a 2xx status code

func (*PutRbacPoliciesRbacPolicyIDUnprocessableEntity) String

Jump to

Keyboard shortcuts

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