permission_of_role_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for permission of role controller API

func (*Client) ListPermissionOfRole

func (a *Client) ListPermissionOfRole(params *ListPermissionOfRoleParams, authInfo runtime.ClientAuthInfoWriter) (*ListPermissionOfRoleOK, error)

ListPermissionOfRole lists

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ListPermissionOfRole(params *ListPermissionOfRoleParams, authInfo runtime.ClientAuthInfoWriter) (*ListPermissionOfRoleOK, 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 permission of role controller API client.

type ListPermissionOfRoleBadRequest

type ListPermissionOfRoleBadRequest struct {
	Payload *models.APIResult
}

ListPermissionOfRoleBadRequest handles this case with default header values.

Bad Request

func NewListPermissionOfRoleBadRequest

func NewListPermissionOfRoleBadRequest() *ListPermissionOfRoleBadRequest

NewListPermissionOfRoleBadRequest creates a ListPermissionOfRoleBadRequest with default headers values

func (*ListPermissionOfRoleBadRequest) Error

func (*ListPermissionOfRoleBadRequest) GetPayload

type ListPermissionOfRoleConflict

type ListPermissionOfRoleConflict struct {
	Payload *models.APIResult
}

ListPermissionOfRoleConflict handles this case with default header values.

Conflict

func NewListPermissionOfRoleConflict

func NewListPermissionOfRoleConflict() *ListPermissionOfRoleConflict

NewListPermissionOfRoleConflict creates a ListPermissionOfRoleConflict with default headers values

func (*ListPermissionOfRoleConflict) Error

func (*ListPermissionOfRoleConflict) GetPayload

type ListPermissionOfRoleForbidden

type ListPermissionOfRoleForbidden struct {
	Payload *models.APIResult
}

ListPermissionOfRoleForbidden handles this case with default header values.

Forbidden

func NewListPermissionOfRoleForbidden

func NewListPermissionOfRoleForbidden() *ListPermissionOfRoleForbidden

NewListPermissionOfRoleForbidden creates a ListPermissionOfRoleForbidden with default headers values

func (*ListPermissionOfRoleForbidden) Error

func (*ListPermissionOfRoleForbidden) GetPayload

type ListPermissionOfRoleInternalServerError

type ListPermissionOfRoleInternalServerError struct {
	Payload *models.APIResult
}

ListPermissionOfRoleInternalServerError handles this case with default header values.

Internal Server Error

func NewListPermissionOfRoleInternalServerError

func NewListPermissionOfRoleInternalServerError() *ListPermissionOfRoleInternalServerError

NewListPermissionOfRoleInternalServerError creates a ListPermissionOfRoleInternalServerError with default headers values

func (*ListPermissionOfRoleInternalServerError) Error

func (*ListPermissionOfRoleInternalServerError) GetPayload

type ListPermissionOfRoleNotFound

type ListPermissionOfRoleNotFound struct {
	Payload *models.APIResult
}

ListPermissionOfRoleNotFound handles this case with default header values.

Not Found

func NewListPermissionOfRoleNotFound

func NewListPermissionOfRoleNotFound() *ListPermissionOfRoleNotFound

NewListPermissionOfRoleNotFound creates a ListPermissionOfRoleNotFound with default headers values

func (*ListPermissionOfRoleNotFound) Error

func (*ListPermissionOfRoleNotFound) GetPayload

type ListPermissionOfRoleOK

type ListPermissionOfRoleOK struct {
	Payload *models.APIResultListPermission
}

ListPermissionOfRoleOK handles this case with default header values.

OK

func NewListPermissionOfRoleOK

func NewListPermissionOfRoleOK() *ListPermissionOfRoleOK

NewListPermissionOfRoleOK creates a ListPermissionOfRoleOK with default headers values

func (*ListPermissionOfRoleOK) Error

func (o *ListPermissionOfRoleOK) Error() string

func (*ListPermissionOfRoleOK) GetPayload

type ListPermissionOfRoleParams

type ListPermissionOfRoleParams struct {

	/*Fields
	  Output fields

	*/
	Fields *string
	/*ParentID
	  parentId

	*/
	ParentID string

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

ListPermissionOfRoleParams contains all the parameters to send to the API endpoint for the list permission of role operation typically these are written to a http.Request

func NewListPermissionOfRoleParams

func NewListPermissionOfRoleParams() *ListPermissionOfRoleParams

NewListPermissionOfRoleParams creates a new ListPermissionOfRoleParams object with the default values initialized.

func NewListPermissionOfRoleParamsWithContext

func NewListPermissionOfRoleParamsWithContext(ctx context.Context) *ListPermissionOfRoleParams

NewListPermissionOfRoleParamsWithContext creates a new ListPermissionOfRoleParams object with the default values initialized, and the ability to set a context for a request

func NewListPermissionOfRoleParamsWithHTTPClient

func NewListPermissionOfRoleParamsWithHTTPClient(client *http.Client) *ListPermissionOfRoleParams

NewListPermissionOfRoleParamsWithHTTPClient creates a new ListPermissionOfRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListPermissionOfRoleParamsWithTimeout

func NewListPermissionOfRoleParamsWithTimeout(timeout time.Duration) *ListPermissionOfRoleParams

NewListPermissionOfRoleParamsWithTimeout creates a new ListPermissionOfRoleParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListPermissionOfRoleParams) SetContext

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

SetContext adds the context to the list permission of role params

func (*ListPermissionOfRoleParams) SetFields

func (o *ListPermissionOfRoleParams) SetFields(fields *string)

SetFields adds the fields to the list permission of role params

func (*ListPermissionOfRoleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list permission of role params

func (*ListPermissionOfRoleParams) SetParentID

func (o *ListPermissionOfRoleParams) SetParentID(parentID string)

SetParentID adds the parentId to the list permission of role params

func (*ListPermissionOfRoleParams) SetTimeout

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

SetTimeout adds the timeout to the list permission of role params

func (*ListPermissionOfRoleParams) WithContext

WithContext adds the context to the list permission of role params

func (*ListPermissionOfRoleParams) WithFields

WithFields adds the fields to the list permission of role params

func (*ListPermissionOfRoleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list permission of role params

func (*ListPermissionOfRoleParams) WithParentID

WithParentID adds the parentID to the list permission of role params

func (*ListPermissionOfRoleParams) WithTimeout

WithTimeout adds the timeout to the list permission of role params

func (*ListPermissionOfRoleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListPermissionOfRoleReader

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

ListPermissionOfRoleReader is a Reader for the ListPermissionOfRole structure.

func (*ListPermissionOfRoleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPermissionOfRoleUnauthorized

type ListPermissionOfRoleUnauthorized struct {
	Payload *models.APIResult
}

ListPermissionOfRoleUnauthorized handles this case with default header values.

Unauthorized

func NewListPermissionOfRoleUnauthorized

func NewListPermissionOfRoleUnauthorized() *ListPermissionOfRoleUnauthorized

NewListPermissionOfRoleUnauthorized creates a ListPermissionOfRoleUnauthorized with default headers values

func (*ListPermissionOfRoleUnauthorized) Error

func (*ListPermissionOfRoleUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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