role

package
v0.0.0-...-f51c1d0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for role API

func (*Client) RoleDeleteRole

func (a *Client) RoleDeleteRole(params *RoleDeleteRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleDeleteRoleOK, error)

RoleDeleteRole deletes role role

role delete

func (*Client) RoleGetRoleDetail

func (a *Client) RoleGetRoleDetail(params *RoleGetRoleDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleGetRoleDetailOK, error)

RoleGetRoleDetail gets role detail role

role detail

func (*Client) RoleGetRoleList

func (a *Client) RoleGetRoleList(params *RoleGetRoleListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleGetRoleListOK, error)

RoleGetRoleList gets role list role

role list

func (*Client) RoleUpdateRole

func (a *Client) RoleUpdateRole(params *RoleUpdateRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleUpdateRoleOK, error)

RoleUpdateRole updates role role

update 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 {
	RoleDeleteRole(params *RoleDeleteRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleDeleteRoleOK, error)

	RoleGetRoleDetail(params *RoleGetRoleDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleGetRoleDetailOK, error)

	RoleGetRoleList(params *RoleGetRoleListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleGetRoleListOK, error)

	RoleUpdateRole(params *RoleUpdateRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleUpdateRoleOK, 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 role API client.

type RoleDeleteRoleOK

type RoleDeleteRoleOK struct {
}
RoleDeleteRoleOK describes a response with status code 200, with default header values.

OK response.

func NewRoleDeleteRoleOK

func NewRoleDeleteRoleOK() *RoleDeleteRoleOK

NewRoleDeleteRoleOK creates a RoleDeleteRoleOK with default headers values

func (*RoleDeleteRoleOK) Error

func (o *RoleDeleteRoleOK) Error() string

type RoleDeleteRoleParams

type RoleDeleteRoleParams struct {

	/* Authorization.

	   api key auth
	*/
	Authorization *string

	/* RoleID.

	   Role ID

	   Format: int64
	*/
	RoleID int64

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

RoleDeleteRoleParams contains all the parameters to send to the API endpoint

for the role delete role operation.

Typically these are written to a http.Request.

func NewRoleDeleteRoleParams

func NewRoleDeleteRoleParams() *RoleDeleteRoleParams

NewRoleDeleteRoleParams creates a new RoleDeleteRoleParams 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 NewRoleDeleteRoleParamsWithContext

func NewRoleDeleteRoleParamsWithContext(ctx context.Context) *RoleDeleteRoleParams

NewRoleDeleteRoleParamsWithContext creates a new RoleDeleteRoleParams object with the ability to set a context for a request.

func NewRoleDeleteRoleParamsWithHTTPClient

func NewRoleDeleteRoleParamsWithHTTPClient(client *http.Client) *RoleDeleteRoleParams

NewRoleDeleteRoleParamsWithHTTPClient creates a new RoleDeleteRoleParams object with the ability to set a custom HTTPClient for a request.

func NewRoleDeleteRoleParamsWithTimeout

func NewRoleDeleteRoleParamsWithTimeout(timeout time.Duration) *RoleDeleteRoleParams

NewRoleDeleteRoleParamsWithTimeout creates a new RoleDeleteRoleParams object with the ability to set a timeout on a request.

func (*RoleDeleteRoleParams) SetAuthorization

func (o *RoleDeleteRoleParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the role delete role params

func (*RoleDeleteRoleParams) SetContext

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

SetContext adds the context to the role delete role params

func (*RoleDeleteRoleParams) SetDefaults

func (o *RoleDeleteRoleParams) SetDefaults()

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

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

func (*RoleDeleteRoleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the role delete role params

func (*RoleDeleteRoleParams) SetRoleID

func (o *RoleDeleteRoleParams) SetRoleID(roleID int64)

SetRoleID adds the roleId to the role delete role params

func (*RoleDeleteRoleParams) SetTimeout

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

SetTimeout adds the timeout to the role delete role params

func (*RoleDeleteRoleParams) WithAuthorization

func (o *RoleDeleteRoleParams) WithAuthorization(authorization *string) *RoleDeleteRoleParams

WithAuthorization adds the authorization to the role delete role params

func (*RoleDeleteRoleParams) WithContext

WithContext adds the context to the role delete role params

func (*RoleDeleteRoleParams) WithDefaults

func (o *RoleDeleteRoleParams) WithDefaults() *RoleDeleteRoleParams

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

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

func (*RoleDeleteRoleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the role delete role params

func (*RoleDeleteRoleParams) WithRoleID

func (o *RoleDeleteRoleParams) WithRoleID(roleID int64) *RoleDeleteRoleParams

WithRoleID adds the roleID to the role delete role params

func (*RoleDeleteRoleParams) WithTimeout

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

WithTimeout adds the timeout to the role delete role params

func (*RoleDeleteRoleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RoleDeleteRoleReader

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

RoleDeleteRoleReader is a Reader for the RoleDeleteRole structure.

func (*RoleDeleteRoleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RoleGetRoleDetailOK

type RoleGetRoleDetailOK struct {
	Payload *models.RoleGetRoleDetailResponseBody
}
RoleGetRoleDetailOK describes a response with status code 200, with default header values.

OK response.

func NewRoleGetRoleDetailOK

func NewRoleGetRoleDetailOK() *RoleGetRoleDetailOK

NewRoleGetRoleDetailOK creates a RoleGetRoleDetailOK with default headers values

func (*RoleGetRoleDetailOK) Error

func (o *RoleGetRoleDetailOK) Error() string

func (*RoleGetRoleDetailOK) GetPayload

type RoleGetRoleDetailParams

type RoleGetRoleDetailParams struct {

	/* Authorization.

	   api key auth
	*/
	Authorization *string

	/* RoleID.

	   Role ID

	   Format: int64
	*/
	RoleID int64

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

RoleGetRoleDetailParams contains all the parameters to send to the API endpoint

for the role get role detail operation.

Typically these are written to a http.Request.

func NewRoleGetRoleDetailParams

func NewRoleGetRoleDetailParams() *RoleGetRoleDetailParams

NewRoleGetRoleDetailParams creates a new RoleGetRoleDetailParams 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 NewRoleGetRoleDetailParamsWithContext

func NewRoleGetRoleDetailParamsWithContext(ctx context.Context) *RoleGetRoleDetailParams

NewRoleGetRoleDetailParamsWithContext creates a new RoleGetRoleDetailParams object with the ability to set a context for a request.

func NewRoleGetRoleDetailParamsWithHTTPClient

func NewRoleGetRoleDetailParamsWithHTTPClient(client *http.Client) *RoleGetRoleDetailParams

NewRoleGetRoleDetailParamsWithHTTPClient creates a new RoleGetRoleDetailParams object with the ability to set a custom HTTPClient for a request.

func NewRoleGetRoleDetailParamsWithTimeout

func NewRoleGetRoleDetailParamsWithTimeout(timeout time.Duration) *RoleGetRoleDetailParams

NewRoleGetRoleDetailParamsWithTimeout creates a new RoleGetRoleDetailParams object with the ability to set a timeout on a request.

func (*RoleGetRoleDetailParams) SetAuthorization

func (o *RoleGetRoleDetailParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the role get role detail params

func (*RoleGetRoleDetailParams) SetContext

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

SetContext adds the context to the role get role detail params

func (*RoleGetRoleDetailParams) SetDefaults

func (o *RoleGetRoleDetailParams) SetDefaults()

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

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

func (*RoleGetRoleDetailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the role get role detail params

func (*RoleGetRoleDetailParams) SetRoleID

func (o *RoleGetRoleDetailParams) SetRoleID(roleID int64)

SetRoleID adds the roleId to the role get role detail params

func (*RoleGetRoleDetailParams) SetTimeout

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

SetTimeout adds the timeout to the role get role detail params

func (*RoleGetRoleDetailParams) WithAuthorization

func (o *RoleGetRoleDetailParams) WithAuthorization(authorization *string) *RoleGetRoleDetailParams

WithAuthorization adds the authorization to the role get role detail params

func (*RoleGetRoleDetailParams) WithContext

WithContext adds the context to the role get role detail params

func (*RoleGetRoleDetailParams) WithDefaults

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

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

func (*RoleGetRoleDetailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the role get role detail params

func (*RoleGetRoleDetailParams) WithRoleID

func (o *RoleGetRoleDetailParams) WithRoleID(roleID int64) *RoleGetRoleDetailParams

WithRoleID adds the roleID to the role get role detail params

func (*RoleGetRoleDetailParams) WithTimeout

WithTimeout adds the timeout to the role get role detail params

func (*RoleGetRoleDetailParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RoleGetRoleDetailReader

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

RoleGetRoleDetailReader is a Reader for the RoleGetRoleDetail structure.

func (*RoleGetRoleDetailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RoleGetRoleListOK

type RoleGetRoleListOK struct {
	Payload *models.RoleGetRoleListResponseBody
}
RoleGetRoleListOK describes a response with status code 200, with default header values.

OK response.

func NewRoleGetRoleListOK

func NewRoleGetRoleListOK() *RoleGetRoleListOK

NewRoleGetRoleListOK creates a RoleGetRoleListOK with default headers values

func (*RoleGetRoleListOK) Error

func (o *RoleGetRoleListOK) Error() string

func (*RoleGetRoleListOK) GetPayload

type RoleGetRoleListParams

type RoleGetRoleListParams struct {

	/* Authorization.

	   api key auth
	*/
	Authorization *string

	/* FilterCveID.

	   CveID filter
	*/
	FilterCveID *string

	/* Limit.

	   Limit (default: 20, max: 100)

	   Default: 20
	*/
	Limit *int64

	/* Offset.

	   Offset
	*/
	Offset *int64

	/* Page.

	   Page Number (default: 1)

	   Default: 1
	*/
	Page *int64

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

RoleGetRoleListParams contains all the parameters to send to the API endpoint

for the role get role list operation.

Typically these are written to a http.Request.

func NewRoleGetRoleListParams

func NewRoleGetRoleListParams() *RoleGetRoleListParams

NewRoleGetRoleListParams creates a new RoleGetRoleListParams 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 NewRoleGetRoleListParamsWithContext

func NewRoleGetRoleListParamsWithContext(ctx context.Context) *RoleGetRoleListParams

NewRoleGetRoleListParamsWithContext creates a new RoleGetRoleListParams object with the ability to set a context for a request.

func NewRoleGetRoleListParamsWithHTTPClient

func NewRoleGetRoleListParamsWithHTTPClient(client *http.Client) *RoleGetRoleListParams

NewRoleGetRoleListParamsWithHTTPClient creates a new RoleGetRoleListParams object with the ability to set a custom HTTPClient for a request.

func NewRoleGetRoleListParamsWithTimeout

func NewRoleGetRoleListParamsWithTimeout(timeout time.Duration) *RoleGetRoleListParams

NewRoleGetRoleListParamsWithTimeout creates a new RoleGetRoleListParams object with the ability to set a timeout on a request.

func (*RoleGetRoleListParams) SetAuthorization

func (o *RoleGetRoleListParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the role get role list params

func (*RoleGetRoleListParams) SetContext

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

SetContext adds the context to the role get role list params

func (*RoleGetRoleListParams) SetDefaults

func (o *RoleGetRoleListParams) SetDefaults()

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

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

func (*RoleGetRoleListParams) SetFilterCveID

func (o *RoleGetRoleListParams) SetFilterCveID(filterCveID *string)

SetFilterCveID adds the filterCveId to the role get role list params

func (*RoleGetRoleListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the role get role list params

func (*RoleGetRoleListParams) SetLimit

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

SetLimit adds the limit to the role get role list params

func (*RoleGetRoleListParams) SetOffset

func (o *RoleGetRoleListParams) SetOffset(offset *int64)

SetOffset adds the offset to the role get role list params

func (*RoleGetRoleListParams) SetPage

func (o *RoleGetRoleListParams) SetPage(page *int64)

SetPage adds the page to the role get role list params

func (*RoleGetRoleListParams) SetTimeout

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

SetTimeout adds the timeout to the role get role list params

func (*RoleGetRoleListParams) WithAuthorization

func (o *RoleGetRoleListParams) WithAuthorization(authorization *string) *RoleGetRoleListParams

WithAuthorization adds the authorization to the role get role list params

func (*RoleGetRoleListParams) WithContext

WithContext adds the context to the role get role list params

func (*RoleGetRoleListParams) WithDefaults

func (o *RoleGetRoleListParams) WithDefaults() *RoleGetRoleListParams

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

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

func (*RoleGetRoleListParams) WithFilterCveID

func (o *RoleGetRoleListParams) WithFilterCveID(filterCveID *string) *RoleGetRoleListParams

WithFilterCveID adds the filterCveID to the role get role list params

func (*RoleGetRoleListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the role get role list params

func (*RoleGetRoleListParams) WithLimit

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

WithLimit adds the limit to the role get role list params

func (*RoleGetRoleListParams) WithOffset

func (o *RoleGetRoleListParams) WithOffset(offset *int64) *RoleGetRoleListParams

WithOffset adds the offset to the role get role list params

func (*RoleGetRoleListParams) WithPage

WithPage adds the page to the role get role list params

func (*RoleGetRoleListParams) WithTimeout

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

WithTimeout adds the timeout to the role get role list params

func (*RoleGetRoleListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RoleGetRoleListReader

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

RoleGetRoleListReader is a Reader for the RoleGetRoleList structure.

func (*RoleGetRoleListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RoleUpdateRoleOK

type RoleUpdateRoleOK struct {
	Payload *models.RoleUpdateRoleResponseBody
}
RoleUpdateRoleOK describes a response with status code 200, with default header values.

OK response.

func NewRoleUpdateRoleOK

func NewRoleUpdateRoleOK() *RoleUpdateRoleOK

NewRoleUpdateRoleOK creates a RoleUpdateRoleOK with default headers values

func (*RoleUpdateRoleOK) Error

func (o *RoleUpdateRoleOK) Error() string

func (*RoleUpdateRoleOK) GetPayload

type RoleUpdateRoleParams

type RoleUpdateRoleParams struct {

	/* Authorization.

	   api key auth
	*/
	Authorization *string

	// UpdateRoleRequestBody.
	UpdateRoleRequestBody *models.RoleUpdateRoleRequestBody

	/* RoleID.

	   Role ID

	   Format: int64
	*/
	RoleID int64

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

RoleUpdateRoleParams contains all the parameters to send to the API endpoint

for the role update role operation.

Typically these are written to a http.Request.

func NewRoleUpdateRoleParams

func NewRoleUpdateRoleParams() *RoleUpdateRoleParams

NewRoleUpdateRoleParams creates a new RoleUpdateRoleParams 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 NewRoleUpdateRoleParamsWithContext

func NewRoleUpdateRoleParamsWithContext(ctx context.Context) *RoleUpdateRoleParams

NewRoleUpdateRoleParamsWithContext creates a new RoleUpdateRoleParams object with the ability to set a context for a request.

func NewRoleUpdateRoleParamsWithHTTPClient

func NewRoleUpdateRoleParamsWithHTTPClient(client *http.Client) *RoleUpdateRoleParams

NewRoleUpdateRoleParamsWithHTTPClient creates a new RoleUpdateRoleParams object with the ability to set a custom HTTPClient for a request.

func NewRoleUpdateRoleParamsWithTimeout

func NewRoleUpdateRoleParamsWithTimeout(timeout time.Duration) *RoleUpdateRoleParams

NewRoleUpdateRoleParamsWithTimeout creates a new RoleUpdateRoleParams object with the ability to set a timeout on a request.

func (*RoleUpdateRoleParams) SetAuthorization

func (o *RoleUpdateRoleParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the role update role params

func (*RoleUpdateRoleParams) SetContext

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

SetContext adds the context to the role update role params

func (*RoleUpdateRoleParams) SetDefaults

func (o *RoleUpdateRoleParams) SetDefaults()

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

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

func (*RoleUpdateRoleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the role update role params

func (*RoleUpdateRoleParams) SetRoleID

func (o *RoleUpdateRoleParams) SetRoleID(roleID int64)

SetRoleID adds the roleId to the role update role params

func (*RoleUpdateRoleParams) SetTimeout

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

SetTimeout adds the timeout to the role update role params

func (*RoleUpdateRoleParams) SetUpdateRoleRequestBody

func (o *RoleUpdateRoleParams) SetUpdateRoleRequestBody(updateRoleRequestBody *models.RoleUpdateRoleRequestBody)

SetUpdateRoleRequestBody adds the updateRoleRequestBody to the role update role params

func (*RoleUpdateRoleParams) WithAuthorization

func (o *RoleUpdateRoleParams) WithAuthorization(authorization *string) *RoleUpdateRoleParams

WithAuthorization adds the authorization to the role update role params

func (*RoleUpdateRoleParams) WithContext

WithContext adds the context to the role update role params

func (*RoleUpdateRoleParams) WithDefaults

func (o *RoleUpdateRoleParams) WithDefaults() *RoleUpdateRoleParams

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

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

func (*RoleUpdateRoleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the role update role params

func (*RoleUpdateRoleParams) WithRoleID

func (o *RoleUpdateRoleParams) WithRoleID(roleID int64) *RoleUpdateRoleParams

WithRoleID adds the roleID to the role update role params

func (*RoleUpdateRoleParams) WithTimeout

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

WithTimeout adds the timeout to the role update role params

func (*RoleUpdateRoleParams) WithUpdateRoleRequestBody

func (o *RoleUpdateRoleParams) WithUpdateRoleRequestBody(updateRoleRequestBody *models.RoleUpdateRoleRequestBody) *RoleUpdateRoleParams

WithUpdateRoleRequestBody adds the updateRoleRequestBody to the role update role params

func (*RoleUpdateRoleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RoleUpdateRoleReader

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

RoleUpdateRoleReader is a Reader for the RoleUpdateRole structure.

func (*RoleUpdateRoleReader) ReadResponse

func (o *RoleUpdateRoleReader) 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