roles_permissions

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddRolePermissionCreated

type AddRolePermissionCreated struct {
}

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

Null response

func NewAddRolePermissionCreated

func NewAddRolePermissionCreated() *AddRolePermissionCreated

NewAddRolePermissionCreated creates a AddRolePermissionCreated with default headers values

func (*AddRolePermissionCreated) Code

func (o *AddRolePermissionCreated) Code() int

Code gets the status code for the add role permission created response

func (*AddRolePermissionCreated) Error

func (o *AddRolePermissionCreated) Error() string

func (*AddRolePermissionCreated) IsClientError

func (o *AddRolePermissionCreated) IsClientError() bool

IsClientError returns true when this add role permission created response has a 4xx status code

func (*AddRolePermissionCreated) IsCode

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

IsCode returns true when this add role permission created response a status code equal to that given

func (*AddRolePermissionCreated) IsRedirect

func (o *AddRolePermissionCreated) IsRedirect() bool

IsRedirect returns true when this add role permission created response has a 3xx status code

func (*AddRolePermissionCreated) IsServerError

func (o *AddRolePermissionCreated) IsServerError() bool

IsServerError returns true when this add role permission created response has a 5xx status code

func (*AddRolePermissionCreated) IsSuccess

func (o *AddRolePermissionCreated) IsSuccess() bool

IsSuccess returns true when this add role permission created response has a 2xx status code

func (*AddRolePermissionCreated) String

func (o *AddRolePermissionCreated) String() string

type AddRolePermissionDefault

type AddRolePermissionDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

AddRolePermissionDefault describes a response with status code -1, with default header values.

unexpected error

func NewAddRolePermissionDefault

func NewAddRolePermissionDefault(code int) *AddRolePermissionDefault

NewAddRolePermissionDefault creates a AddRolePermissionDefault with default headers values

func (*AddRolePermissionDefault) Code

func (o *AddRolePermissionDefault) Code() int

Code gets the status code for the add role permission default response

func (*AddRolePermissionDefault) Error

func (o *AddRolePermissionDefault) Error() string

func (*AddRolePermissionDefault) GetPayload

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

func (*AddRolePermissionDefault) IsClientError

func (o *AddRolePermissionDefault) IsClientError() bool

IsClientError returns true when this add role permission default response has a 4xx status code

func (*AddRolePermissionDefault) IsCode

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

IsCode returns true when this add role permission default response a status code equal to that given

func (*AddRolePermissionDefault) IsRedirect

func (o *AddRolePermissionDefault) IsRedirect() bool

IsRedirect returns true when this add role permission default response has a 3xx status code

func (*AddRolePermissionDefault) IsServerError

func (o *AddRolePermissionDefault) IsServerError() bool

IsServerError returns true when this add role permission default response has a 5xx status code

func (*AddRolePermissionDefault) IsSuccess

func (o *AddRolePermissionDefault) IsSuccess() bool

IsSuccess returns true when this add role permission default response has a 2xx status code

func (*AddRolePermissionDefault) String

func (o *AddRolePermissionDefault) String() string

type AddRolePermissionParams

type AddRolePermissionParams struct {

	/* Permission.

	   The permission to add
	*/
	Permission *models.Permission

	/* Role.

	   The role to add the permission to
	*/
	Role string

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

AddRolePermissionParams contains all the parameters to send to the API endpoint

for the add role permission operation.

Typically these are written to a http.Request.

func NewAddRolePermissionParams

func NewAddRolePermissionParams() *AddRolePermissionParams

NewAddRolePermissionParams creates a new AddRolePermissionParams 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 NewAddRolePermissionParamsWithContext

func NewAddRolePermissionParamsWithContext(ctx context.Context) *AddRolePermissionParams

NewAddRolePermissionParamsWithContext creates a new AddRolePermissionParams object with the ability to set a context for a request.

func NewAddRolePermissionParamsWithHTTPClient

func NewAddRolePermissionParamsWithHTTPClient(client *http.Client) *AddRolePermissionParams

NewAddRolePermissionParamsWithHTTPClient creates a new AddRolePermissionParams object with the ability to set a custom HTTPClient for a request.

func NewAddRolePermissionParamsWithTimeout

func NewAddRolePermissionParamsWithTimeout(timeout time.Duration) *AddRolePermissionParams

NewAddRolePermissionParamsWithTimeout creates a new AddRolePermissionParams object with the ability to set a timeout on a request.

func (*AddRolePermissionParams) SetContext

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

SetContext adds the context to the add role permission params

func (*AddRolePermissionParams) SetDefaults

func (o *AddRolePermissionParams) SetDefaults()

SetDefaults hydrates default values in the add role permission params (not the query body).

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

func (*AddRolePermissionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add role permission params

func (*AddRolePermissionParams) SetPermission

func (o *AddRolePermissionParams) SetPermission(permission *models.Permission)

SetPermission adds the permission to the add role permission params

func (*AddRolePermissionParams) SetRole

func (o *AddRolePermissionParams) SetRole(role string)

SetRole adds the role to the add role permission params

func (*AddRolePermissionParams) SetTimeout

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

SetTimeout adds the timeout to the add role permission params

func (*AddRolePermissionParams) WithContext

WithContext adds the context to the add role permission params

func (*AddRolePermissionParams) WithDefaults

WithDefaults hydrates default values in the add role permission params (not the query body).

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

func (*AddRolePermissionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add role permission params

func (*AddRolePermissionParams) WithPermission

func (o *AddRolePermissionParams) WithPermission(permission *models.Permission) *AddRolePermissionParams

WithPermission adds the permission to the add role permission params

func (*AddRolePermissionParams) WithRole

WithRole adds the role to the add role permission params

func (*AddRolePermissionParams) WithTimeout

WithTimeout adds the timeout to the add role permission params

func (*AddRolePermissionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddRolePermissionReader

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

AddRolePermissionReader is a Reader for the AddRolePermission structure.

func (*AddRolePermissionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for roles permissions API

func (*Client) AddRolePermission

func (a *Client) AddRolePermission(params *AddRolePermissionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddRolePermissionCreated, error)

AddRolePermission adds a permission to a role

func (*Client) ListRolePermissions

func (a *Client) ListRolePermissions(params *ListRolePermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRolePermissionsOK, error)

ListRolePermissions lists the role s permissions

func (*Client) RemoveRolePermission

func (a *Client) RemoveRolePermission(params *RemoveRolePermissionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveRolePermissionCreated, error)

RemoveRolePermission removes a permission from a role

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddRolePermission(params *AddRolePermissionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddRolePermissionCreated, error)

	ListRolePermissions(params *ListRolePermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRolePermissionsOK, error)

	RemoveRolePermission(params *RemoveRolePermissionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveRolePermissionCreated, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new roles permissions API client.

type ListRolePermissionsDefault

type ListRolePermissionsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

ListRolePermissionsDefault describes a response with status code -1, with default header values.

unexpected error

func NewListRolePermissionsDefault

func NewListRolePermissionsDefault(code int) *ListRolePermissionsDefault

NewListRolePermissionsDefault creates a ListRolePermissionsDefault with default headers values

func (*ListRolePermissionsDefault) Code

func (o *ListRolePermissionsDefault) Code() int

Code gets the status code for the list role permissions default response

func (*ListRolePermissionsDefault) Error

func (*ListRolePermissionsDefault) GetPayload

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

func (*ListRolePermissionsDefault) IsClientError

func (o *ListRolePermissionsDefault) IsClientError() bool

IsClientError returns true when this list role permissions default response has a 4xx status code

func (*ListRolePermissionsDefault) IsCode

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

IsCode returns true when this list role permissions default response a status code equal to that given

func (*ListRolePermissionsDefault) IsRedirect

func (o *ListRolePermissionsDefault) IsRedirect() bool

IsRedirect returns true when this list role permissions default response has a 3xx status code

func (*ListRolePermissionsDefault) IsServerError

func (o *ListRolePermissionsDefault) IsServerError() bool

IsServerError returns true when this list role permissions default response has a 5xx status code

func (*ListRolePermissionsDefault) IsSuccess

func (o *ListRolePermissionsDefault) IsSuccess() bool

IsSuccess returns true when this list role permissions default response has a 2xx status code

func (*ListRolePermissionsDefault) String

func (o *ListRolePermissionsDefault) String() string

type ListRolePermissionsOK

type ListRolePermissionsOK struct {
	Payload *models.Permissions
}

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

The roles's permissions

func NewListRolePermissionsOK

func NewListRolePermissionsOK() *ListRolePermissionsOK

NewListRolePermissionsOK creates a ListRolePermissionsOK with default headers values

func (*ListRolePermissionsOK) Code

func (o *ListRolePermissionsOK) Code() int

Code gets the status code for the list role permissions o k response

func (*ListRolePermissionsOK) Error

func (o *ListRolePermissionsOK) Error() string

func (*ListRolePermissionsOK) GetPayload

func (o *ListRolePermissionsOK) GetPayload() *models.Permissions

func (*ListRolePermissionsOK) IsClientError

func (o *ListRolePermissionsOK) IsClientError() bool

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

func (*ListRolePermissionsOK) IsCode

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

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

func (*ListRolePermissionsOK) IsRedirect

func (o *ListRolePermissionsOK) IsRedirect() bool

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

func (*ListRolePermissionsOK) IsServerError

func (o *ListRolePermissionsOK) IsServerError() bool

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

func (*ListRolePermissionsOK) IsSuccess

func (o *ListRolePermissionsOK) IsSuccess() bool

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

func (*ListRolePermissionsOK) String

func (o *ListRolePermissionsOK) String() string

type ListRolePermissionsParams

type ListRolePermissionsParams struct {

	/* Role.

	   The name of the role whose permissions should be listed
	*/
	Role string

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

ListRolePermissionsParams contains all the parameters to send to the API endpoint

for the list role permissions operation.

Typically these are written to a http.Request.

func NewListRolePermissionsParams

func NewListRolePermissionsParams() *ListRolePermissionsParams

NewListRolePermissionsParams creates a new ListRolePermissionsParams 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 NewListRolePermissionsParamsWithContext

func NewListRolePermissionsParamsWithContext(ctx context.Context) *ListRolePermissionsParams

NewListRolePermissionsParamsWithContext creates a new ListRolePermissionsParams object with the ability to set a context for a request.

func NewListRolePermissionsParamsWithHTTPClient

func NewListRolePermissionsParamsWithHTTPClient(client *http.Client) *ListRolePermissionsParams

NewListRolePermissionsParamsWithHTTPClient creates a new ListRolePermissionsParams object with the ability to set a custom HTTPClient for a request.

func NewListRolePermissionsParamsWithTimeout

func NewListRolePermissionsParamsWithTimeout(timeout time.Duration) *ListRolePermissionsParams

NewListRolePermissionsParamsWithTimeout creates a new ListRolePermissionsParams object with the ability to set a timeout on a request.

func (*ListRolePermissionsParams) SetContext

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

SetContext adds the context to the list role permissions params

func (*ListRolePermissionsParams) SetDefaults

func (o *ListRolePermissionsParams) SetDefaults()

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

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

func (*ListRolePermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list role permissions params

func (*ListRolePermissionsParams) SetRole

func (o *ListRolePermissionsParams) SetRole(role string)

SetRole adds the role to the list role permissions params

func (*ListRolePermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the list role permissions params

func (*ListRolePermissionsParams) WithContext

WithContext adds the context to the list role permissions params

func (*ListRolePermissionsParams) WithDefaults

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

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

func (*ListRolePermissionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list role permissions params

func (*ListRolePermissionsParams) WithRole

WithRole adds the role to the list role permissions params

func (*ListRolePermissionsParams) WithTimeout

WithTimeout adds the timeout to the list role permissions params

func (*ListRolePermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListRolePermissionsReader

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

ListRolePermissionsReader is a Reader for the ListRolePermissions structure.

func (*ListRolePermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveRolePermissionCreated

type RemoveRolePermissionCreated struct {
}

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

Null response

func NewRemoveRolePermissionCreated

func NewRemoveRolePermissionCreated() *RemoveRolePermissionCreated

NewRemoveRolePermissionCreated creates a RemoveRolePermissionCreated with default headers values

func (*RemoveRolePermissionCreated) Code

func (o *RemoveRolePermissionCreated) Code() int

Code gets the status code for the remove role permission created response

func (*RemoveRolePermissionCreated) Error

func (*RemoveRolePermissionCreated) IsClientError

func (o *RemoveRolePermissionCreated) IsClientError() bool

IsClientError returns true when this remove role permission created response has a 4xx status code

func (*RemoveRolePermissionCreated) IsCode

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

IsCode returns true when this remove role permission created response a status code equal to that given

func (*RemoveRolePermissionCreated) IsRedirect

func (o *RemoveRolePermissionCreated) IsRedirect() bool

IsRedirect returns true when this remove role permission created response has a 3xx status code

func (*RemoveRolePermissionCreated) IsServerError

func (o *RemoveRolePermissionCreated) IsServerError() bool

IsServerError returns true when this remove role permission created response has a 5xx status code

func (*RemoveRolePermissionCreated) IsSuccess

func (o *RemoveRolePermissionCreated) IsSuccess() bool

IsSuccess returns true when this remove role permission created response has a 2xx status code

func (*RemoveRolePermissionCreated) String

func (o *RemoveRolePermissionCreated) String() string

type RemoveRolePermissionDefault

type RemoveRolePermissionDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

RemoveRolePermissionDefault describes a response with status code -1, with default header values.

unexpected error

func NewRemoveRolePermissionDefault

func NewRemoveRolePermissionDefault(code int) *RemoveRolePermissionDefault

NewRemoveRolePermissionDefault creates a RemoveRolePermissionDefault with default headers values

func (*RemoveRolePermissionDefault) Code

func (o *RemoveRolePermissionDefault) Code() int

Code gets the status code for the remove role permission default response

func (*RemoveRolePermissionDefault) Error

func (*RemoveRolePermissionDefault) GetPayload

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

func (*RemoveRolePermissionDefault) IsClientError

func (o *RemoveRolePermissionDefault) IsClientError() bool

IsClientError returns true when this remove role permission default response has a 4xx status code

func (*RemoveRolePermissionDefault) IsCode

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

IsCode returns true when this remove role permission default response a status code equal to that given

func (*RemoveRolePermissionDefault) IsRedirect

func (o *RemoveRolePermissionDefault) IsRedirect() bool

IsRedirect returns true when this remove role permission default response has a 3xx status code

func (*RemoveRolePermissionDefault) IsServerError

func (o *RemoveRolePermissionDefault) IsServerError() bool

IsServerError returns true when this remove role permission default response has a 5xx status code

func (*RemoveRolePermissionDefault) IsSuccess

func (o *RemoveRolePermissionDefault) IsSuccess() bool

IsSuccess returns true when this remove role permission default response has a 2xx status code

func (*RemoveRolePermissionDefault) String

func (o *RemoveRolePermissionDefault) String() string

type RemoveRolePermissionNotFound

type RemoveRolePermissionNotFound struct {
	Payload *models.NotExists
}

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

Role permission does not exist

func NewRemoveRolePermissionNotFound

func NewRemoveRolePermissionNotFound() *RemoveRolePermissionNotFound

NewRemoveRolePermissionNotFound creates a RemoveRolePermissionNotFound with default headers values

func (*RemoveRolePermissionNotFound) Code

Code gets the status code for the remove role permission not found response

func (*RemoveRolePermissionNotFound) Error

func (*RemoveRolePermissionNotFound) GetPayload

func (*RemoveRolePermissionNotFound) IsClientError

func (o *RemoveRolePermissionNotFound) IsClientError() bool

IsClientError returns true when this remove role permission not found response has a 4xx status code

func (*RemoveRolePermissionNotFound) IsCode

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

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

func (*RemoveRolePermissionNotFound) IsRedirect

func (o *RemoveRolePermissionNotFound) IsRedirect() bool

IsRedirect returns true when this remove role permission not found response has a 3xx status code

func (*RemoveRolePermissionNotFound) IsServerError

func (o *RemoveRolePermissionNotFound) IsServerError() bool

IsServerError returns true when this remove role permission not found response has a 5xx status code

func (*RemoveRolePermissionNotFound) IsSuccess

func (o *RemoveRolePermissionNotFound) IsSuccess() bool

IsSuccess returns true when this remove role permission not found response has a 2xx status code

func (*RemoveRolePermissionNotFound) String

type RemoveRolePermissionParams

type RemoveRolePermissionParams struct {

	/* Permission.

	   The permission to remove
	*/
	Permission *models.Permission

	/* Role.

	   The role to remove the permission from
	*/
	Role string

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

RemoveRolePermissionParams contains all the parameters to send to the API endpoint

for the remove role permission operation.

Typically these are written to a http.Request.

func NewRemoveRolePermissionParams

func NewRemoveRolePermissionParams() *RemoveRolePermissionParams

NewRemoveRolePermissionParams creates a new RemoveRolePermissionParams 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 NewRemoveRolePermissionParamsWithContext

func NewRemoveRolePermissionParamsWithContext(ctx context.Context) *RemoveRolePermissionParams

NewRemoveRolePermissionParamsWithContext creates a new RemoveRolePermissionParams object with the ability to set a context for a request.

func NewRemoveRolePermissionParamsWithHTTPClient

func NewRemoveRolePermissionParamsWithHTTPClient(client *http.Client) *RemoveRolePermissionParams

NewRemoveRolePermissionParamsWithHTTPClient creates a new RemoveRolePermissionParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveRolePermissionParamsWithTimeout

func NewRemoveRolePermissionParamsWithTimeout(timeout time.Duration) *RemoveRolePermissionParams

NewRemoveRolePermissionParamsWithTimeout creates a new RemoveRolePermissionParams object with the ability to set a timeout on a request.

func (*RemoveRolePermissionParams) SetContext

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

SetContext adds the context to the remove role permission params

func (*RemoveRolePermissionParams) SetDefaults

func (o *RemoveRolePermissionParams) SetDefaults()

SetDefaults hydrates default values in the remove role permission params (not the query body).

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

func (*RemoveRolePermissionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove role permission params

func (*RemoveRolePermissionParams) SetPermission

func (o *RemoveRolePermissionParams) SetPermission(permission *models.Permission)

SetPermission adds the permission to the remove role permission params

func (*RemoveRolePermissionParams) SetRole

func (o *RemoveRolePermissionParams) SetRole(role string)

SetRole adds the role to the remove role permission params

func (*RemoveRolePermissionParams) SetTimeout

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

SetTimeout adds the timeout to the remove role permission params

func (*RemoveRolePermissionParams) WithContext

WithContext adds the context to the remove role permission params

func (*RemoveRolePermissionParams) WithDefaults

WithDefaults hydrates default values in the remove role permission params (not the query body).

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

func (*RemoveRolePermissionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove role permission params

func (*RemoveRolePermissionParams) WithPermission

WithPermission adds the permission to the remove role permission params

func (*RemoveRolePermissionParams) WithRole

WithRole adds the role to the remove role permission params

func (*RemoveRolePermissionParams) WithTimeout

WithTimeout adds the timeout to the remove role permission params

func (*RemoveRolePermissionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveRolePermissionReader

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

RemoveRolePermissionReader is a Reader for the RemoveRolePermission structure.

func (*RemoveRolePermissionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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