group_roles

package
v0.0.0-...-f573b6e Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignRoleToGroupMemberAdminV1BadRequest

type AssignRoleToGroupMemberAdminV1BadRequest struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

AssignRoleToGroupMemberAdminV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewAssignRoleToGroupMemberAdminV1BadRequest

func NewAssignRoleToGroupMemberAdminV1BadRequest() *AssignRoleToGroupMemberAdminV1BadRequest

NewAssignRoleToGroupMemberAdminV1BadRequest creates a AssignRoleToGroupMemberAdminV1BadRequest with default headers values

func (*AssignRoleToGroupMemberAdminV1BadRequest) Error

func (*AssignRoleToGroupMemberAdminV1BadRequest) GetPayload

type AssignRoleToGroupMemberAdminV1Forbidden

type AssignRoleToGroupMemberAdminV1Forbidden struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

AssignRoleToGroupMemberAdminV1Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20022</td><td>token is not user token</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAssignRoleToGroupMemberAdminV1Forbidden

func NewAssignRoleToGroupMemberAdminV1Forbidden() *AssignRoleToGroupMemberAdminV1Forbidden

NewAssignRoleToGroupMemberAdminV1Forbidden creates a AssignRoleToGroupMemberAdminV1Forbidden with default headers values

func (*AssignRoleToGroupMemberAdminV1Forbidden) Error

func (*AssignRoleToGroupMemberAdminV1Forbidden) GetPayload

type AssignRoleToGroupMemberAdminV1InternalServerError

type AssignRoleToGroupMemberAdminV1InternalServerError struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

AssignRoleToGroupMemberAdminV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAssignRoleToGroupMemberAdminV1InternalServerError

func NewAssignRoleToGroupMemberAdminV1InternalServerError() *AssignRoleToGroupMemberAdminV1InternalServerError

NewAssignRoleToGroupMemberAdminV1InternalServerError creates a AssignRoleToGroupMemberAdminV1InternalServerError with default headers values

func (*AssignRoleToGroupMemberAdminV1InternalServerError) Error

func (*AssignRoleToGroupMemberAdminV1InternalServerError) GetPayload

type AssignRoleToGroupMemberAdminV1NotFound

type AssignRoleToGroupMemberAdminV1NotFound struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

AssignRoleToGroupMemberAdminV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>73232</td><td>member role not found</td></tr></table>

func NewAssignRoleToGroupMemberAdminV1NotFound

func NewAssignRoleToGroupMemberAdminV1NotFound() *AssignRoleToGroupMemberAdminV1NotFound

NewAssignRoleToGroupMemberAdminV1NotFound creates a AssignRoleToGroupMemberAdminV1NotFound with default headers values

func (*AssignRoleToGroupMemberAdminV1NotFound) Error

func (*AssignRoleToGroupMemberAdminV1NotFound) GetPayload

type AssignRoleToGroupMemberAdminV1OK

type AssignRoleToGroupMemberAdminV1OK struct {
	Payload *groupclientmodels.ModelsUpdateMemberRoleResponseV1
}

AssignRoleToGroupMemberAdminV1OK handles this case with default header values.

OK

func NewAssignRoleToGroupMemberAdminV1OK

func NewAssignRoleToGroupMemberAdminV1OK() *AssignRoleToGroupMemberAdminV1OK

NewAssignRoleToGroupMemberAdminV1OK creates a AssignRoleToGroupMemberAdminV1OK with default headers values

func (*AssignRoleToGroupMemberAdminV1OK) Error

func (*AssignRoleToGroupMemberAdminV1OK) GetPayload

type AssignRoleToGroupMemberAdminV1Params

type AssignRoleToGroupMemberAdminV1Params struct {

	/*Body*/
	Body *groupclientmodels.ModelsAssignRoleToMemberRequestV1
	/*MemberRoleID
	  member Role ID

	*/
	MemberRoleID string
	/*Namespace
	  namespace

	*/
	Namespace string

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

AssignRoleToGroupMemberAdminV1Params contains all the parameters to send to the API endpoint for the assign role to group member admin v1 operation typically these are written to a http.Request

func NewAssignRoleToGroupMemberAdminV1Params

func NewAssignRoleToGroupMemberAdminV1Params() *AssignRoleToGroupMemberAdminV1Params

NewAssignRoleToGroupMemberAdminV1Params creates a new AssignRoleToGroupMemberAdminV1Params object with the default values initialized.

func NewAssignRoleToGroupMemberAdminV1ParamsWithContext

func NewAssignRoleToGroupMemberAdminV1ParamsWithContext(ctx context.Context) *AssignRoleToGroupMemberAdminV1Params

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

func NewAssignRoleToGroupMemberAdminV1ParamsWithHTTPClient

func NewAssignRoleToGroupMemberAdminV1ParamsWithHTTPClient(client *http.Client) *AssignRoleToGroupMemberAdminV1Params

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

func NewAssignRoleToGroupMemberAdminV1ParamsWithTimeout

func NewAssignRoleToGroupMemberAdminV1ParamsWithTimeout(timeout time.Duration) *AssignRoleToGroupMemberAdminV1Params

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

func (*AssignRoleToGroupMemberAdminV1Params) SetBody

SetBody adds the body to the assign role to group member admin v1 params

func (*AssignRoleToGroupMemberAdminV1Params) SetContext

SetContext adds the context to the assign role to group member admin v1 params

func (*AssignRoleToGroupMemberAdminV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the assign role to group member admin v1 params

func (*AssignRoleToGroupMemberAdminV1Params) SetMemberRoleID

func (o *AssignRoleToGroupMemberAdminV1Params) SetMemberRoleID(memberRoleID string)

SetMemberRoleID adds the memberRoleId to the assign role to group member admin v1 params

func (*AssignRoleToGroupMemberAdminV1Params) SetNamespace

func (o *AssignRoleToGroupMemberAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the assign role to group member admin v1 params

func (*AssignRoleToGroupMemberAdminV1Params) SetTimeout

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

SetTimeout adds the timeout to the assign role to group member admin v1 params

func (*AssignRoleToGroupMemberAdminV1Params) WithBody

WithBody adds the body to the assign role to group member admin v1 params

func (*AssignRoleToGroupMemberAdminV1Params) WithContext

WithContext adds the context to the assign role to group member admin v1 params

func (*AssignRoleToGroupMemberAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the assign role to group member admin v1 params

func (*AssignRoleToGroupMemberAdminV1Params) WithMemberRoleID

WithMemberRoleID adds the memberRoleID to the assign role to group member admin v1 params

func (*AssignRoleToGroupMemberAdminV1Params) WithNamespace

WithNamespace adds the namespace to the assign role to group member admin v1 params

func (*AssignRoleToGroupMemberAdminV1Params) WithTimeout

WithTimeout adds the timeout to the assign role to group member admin v1 params

func (*AssignRoleToGroupMemberAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AssignRoleToGroupMemberAdminV1Reader

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

AssignRoleToGroupMemberAdminV1Reader is a Reader for the AssignRoleToGroupMemberAdminV1 structure.

func (*AssignRoleToGroupMemberAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AssignRoleToGroupMemberAdminV1Unauthorized

type AssignRoleToGroupMemberAdminV1Unauthorized struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

AssignRoleToGroupMemberAdminV1Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAssignRoleToGroupMemberAdminV1Unauthorized

func NewAssignRoleToGroupMemberAdminV1Unauthorized() *AssignRoleToGroupMemberAdminV1Unauthorized

NewAssignRoleToGroupMemberAdminV1Unauthorized creates a AssignRoleToGroupMemberAdminV1Unauthorized with default headers values

func (*AssignRoleToGroupMemberAdminV1Unauthorized) Error

func (*AssignRoleToGroupMemberAdminV1Unauthorized) GetPayload

type Client

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

Client for group roles API

func (*Client) AssignRoleToGroupMemberAdminV1

  AssignRoleToGroupMemberAdminV1 assigns role to group member

  Required Member Role Permission: "GROUP:ROLE [UPDATE]</p>
			<p>This endpoint is used to assign role to group member</p>
			<p>Action Code: 73204</p>

func (*Client) CreateMemberRoleAdminV1

  CreateMemberRoleAdminV1 creates new member role

  <p>Required permission ADMIN:NAMESPACE:{namespace}:GROUP:ROLE [CREATE]</p>
			<p>This endpoint is used to create new member role</p>
			<p>Action Code: 73202</p>

func (*Client) DeleteMemberRoleAdminV1

  DeleteMemberRoleAdminV1 deletes member role

  <p>Required permission ADMIN:NAMESPACE:{namespace}:GROUP:ROLE [DELETE]</p>
			<p>This endpoint is used to delete member role. Any member role can't be deleted if the specific role is applied to the configuration (admin and member role)</p>
			<p>Action Code: 73207</p>

func (*Client) DeleteMemberRolePublicV1

  DeleteMemberRolePublicV1 removes role from group member

  Required Member Role Permission: "GROUP:ROLE [UPDATE]"</p>
			<p>This endpoint is used to remove role from group member</p>
			<p>Action Code: 73204</p>

func (*Client) GetMemberRolesListAdminV1

  GetMemberRolesListAdminV1 gets all list of member roles

  <p>Required permission ADMIN:NAMESPACE:{namespace}:GROUP:ROLE [READ]</p>
			<p>This endpoint is used to get list of member roles</p>
			<p>Action Code: 73201</p>

func (*Client) GetMemberRolesListPublicV1

  GetMemberRolesListPublicV1 gets all list of member roles

  <p>Required Member Role Permission: "GROUP:ROLE [READ]"</p>
			<p>This endpoint is used to get list of member roles</p>
			<p>Action Code: 73201</p>

func (*Client) GetSingleMemberRoleAdminV1

  GetSingleMemberRoleAdminV1 gets member role

  <p>Required permission ADMIN:NAMESPACE:{namespace}:GROUP:ROLE [READ]</p>
			<p>This endpoint is used to get member role based on the role ID</p>
			<p>Action Code: 73203</p>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateMemberRoleAdminV1

  UpdateMemberRoleAdminV1 updates member role

  <p>Required permission ADMIN:NAMESPACE:{namespace}:GROUP:ROLE [UPDATE]</p>
			<p>This endpoint is used to get member role</p>
			<p>Action Code: 73204</p>

func (*Client) UpdateMemberRolePermissionAdminV1

  UpdateMemberRolePermissionAdminV1 updates member role permission

  <p>Required permission ADMIN:NAMESPACE:{namespace}:GROUP:ROLE [UPDATE]</p>
			<p>This endpoint is used to update member role permission. It will replace the existing permission based on the request from this endpoint</p>
			<p>Action Code: 73205</p>

type ClientService

type ClientService interface {
	AssignRoleToGroupMemberAdminV1(params *AssignRoleToGroupMemberAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*AssignRoleToGroupMemberAdminV1OK, *AssignRoleToGroupMemberAdminV1BadRequest, *AssignRoleToGroupMemberAdminV1Unauthorized, *AssignRoleToGroupMemberAdminV1Forbidden, *AssignRoleToGroupMemberAdminV1NotFound, *AssignRoleToGroupMemberAdminV1InternalServerError, error)

	CreateMemberRoleAdminV1(params *CreateMemberRoleAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateMemberRoleAdminV1Created, *CreateMemberRoleAdminV1BadRequest, *CreateMemberRoleAdminV1Unauthorized, *CreateMemberRoleAdminV1Forbidden, *CreateMemberRoleAdminV1InternalServerError, error)

	DeleteMemberRoleAdminV1(params *DeleteMemberRoleAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteMemberRoleAdminV1NoContent, *DeleteMemberRoleAdminV1BadRequest, *DeleteMemberRoleAdminV1Unauthorized, *DeleteMemberRoleAdminV1Forbidden, *DeleteMemberRoleAdminV1NotFound, *DeleteMemberRoleAdminV1InternalServerError, error)

	DeleteMemberRolePublicV1(params *DeleteMemberRolePublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteMemberRolePublicV1OK, *DeleteMemberRolePublicV1BadRequest, *DeleteMemberRolePublicV1Unauthorized, *DeleteMemberRolePublicV1Forbidden, *DeleteMemberRolePublicV1NotFound, *DeleteMemberRolePublicV1InternalServerError, error)

	GetMemberRolesListAdminV1(params *GetMemberRolesListAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetMemberRolesListAdminV1OK, *GetMemberRolesListAdminV1BadRequest, *GetMemberRolesListAdminV1Unauthorized, *GetMemberRolesListAdminV1Forbidden, *GetMemberRolesListAdminV1InternalServerError, error)

	GetMemberRolesListPublicV1(params *GetMemberRolesListPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetMemberRolesListPublicV1OK, *GetMemberRolesListPublicV1BadRequest, *GetMemberRolesListPublicV1Unauthorized, *GetMemberRolesListPublicV1Forbidden, *GetMemberRolesListPublicV1InternalServerError, error)

	GetSingleMemberRoleAdminV1(params *GetSingleMemberRoleAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetSingleMemberRoleAdminV1OK, *GetSingleMemberRoleAdminV1BadRequest, *GetSingleMemberRoleAdminV1Unauthorized, *GetSingleMemberRoleAdminV1Forbidden, *GetSingleMemberRoleAdminV1NotFound, *GetSingleMemberRoleAdminV1InternalServerError, error)

	UpdateMemberRoleAdminV1(params *UpdateMemberRoleAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateMemberRoleAdminV1OK, *UpdateMemberRoleAdminV1BadRequest, *UpdateMemberRoleAdminV1Unauthorized, *UpdateMemberRoleAdminV1Forbidden, *UpdateMemberRoleAdminV1NotFound, *UpdateMemberRoleAdminV1InternalServerError, error)

	UpdateMemberRolePermissionAdminV1(params *UpdateMemberRolePermissionAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateMemberRolePermissionAdminV1OK, *UpdateMemberRolePermissionAdminV1BadRequest, *UpdateMemberRolePermissionAdminV1Unauthorized, *UpdateMemberRolePermissionAdminV1Forbidden, *UpdateMemberRolePermissionAdminV1NotFound, *UpdateMemberRolePermissionAdminV1InternalServerError, 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 group roles API client.

type CreateMemberRoleAdminV1BadRequest

type CreateMemberRoleAdminV1BadRequest struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

CreateMemberRoleAdminV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewCreateMemberRoleAdminV1BadRequest

func NewCreateMemberRoleAdminV1BadRequest() *CreateMemberRoleAdminV1BadRequest

NewCreateMemberRoleAdminV1BadRequest creates a CreateMemberRoleAdminV1BadRequest with default headers values

func (*CreateMemberRoleAdminV1BadRequest) Error

func (*CreateMemberRoleAdminV1BadRequest) GetPayload

type CreateMemberRoleAdminV1Created

type CreateMemberRoleAdminV1Created struct {
	Payload *groupclientmodels.ModelsCreateMemberRoleResponseV1
}

CreateMemberRoleAdminV1Created handles this case with default header values.

Created

func NewCreateMemberRoleAdminV1Created

func NewCreateMemberRoleAdminV1Created() *CreateMemberRoleAdminV1Created

NewCreateMemberRoleAdminV1Created creates a CreateMemberRoleAdminV1Created with default headers values

func (*CreateMemberRoleAdminV1Created) Error

func (*CreateMemberRoleAdminV1Created) GetPayload

type CreateMemberRoleAdminV1Forbidden

type CreateMemberRoleAdminV1Forbidden struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

CreateMemberRoleAdminV1Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>20022</td><td>token is not user token</td></tr></table>

func NewCreateMemberRoleAdminV1Forbidden

func NewCreateMemberRoleAdminV1Forbidden() *CreateMemberRoleAdminV1Forbidden

NewCreateMemberRoleAdminV1Forbidden creates a CreateMemberRoleAdminV1Forbidden with default headers values

func (*CreateMemberRoleAdminV1Forbidden) Error

func (*CreateMemberRoleAdminV1Forbidden) GetPayload

type CreateMemberRoleAdminV1InternalServerError

type CreateMemberRoleAdminV1InternalServerError struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

CreateMemberRoleAdminV1InternalServerError handles this case with default header values.

Internal Server Error

func NewCreateMemberRoleAdminV1InternalServerError

func NewCreateMemberRoleAdminV1InternalServerError() *CreateMemberRoleAdminV1InternalServerError

NewCreateMemberRoleAdminV1InternalServerError creates a CreateMemberRoleAdminV1InternalServerError with default headers values

func (*CreateMemberRoleAdminV1InternalServerError) Error

func (*CreateMemberRoleAdminV1InternalServerError) GetPayload

type CreateMemberRoleAdminV1Params

type CreateMemberRoleAdminV1Params struct {

	/*Body*/
	Body *groupclientmodels.ModelsCreateMemberRoleRequestV1
	/*Namespace
	  namespace

	*/
	Namespace string

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

CreateMemberRoleAdminV1Params contains all the parameters to send to the API endpoint for the create member role admin v1 operation typically these are written to a http.Request

func NewCreateMemberRoleAdminV1Params

func NewCreateMemberRoleAdminV1Params() *CreateMemberRoleAdminV1Params

NewCreateMemberRoleAdminV1Params creates a new CreateMemberRoleAdminV1Params object with the default values initialized.

func NewCreateMemberRoleAdminV1ParamsWithContext

func NewCreateMemberRoleAdminV1ParamsWithContext(ctx context.Context) *CreateMemberRoleAdminV1Params

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

func NewCreateMemberRoleAdminV1ParamsWithHTTPClient

func NewCreateMemberRoleAdminV1ParamsWithHTTPClient(client *http.Client) *CreateMemberRoleAdminV1Params

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

func NewCreateMemberRoleAdminV1ParamsWithTimeout

func NewCreateMemberRoleAdminV1ParamsWithTimeout(timeout time.Duration) *CreateMemberRoleAdminV1Params

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

func (*CreateMemberRoleAdminV1Params) SetBody

SetBody adds the body to the create member role admin v1 params

func (*CreateMemberRoleAdminV1Params) SetContext

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

SetContext adds the context to the create member role admin v1 params

func (*CreateMemberRoleAdminV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create member role admin v1 params

func (*CreateMemberRoleAdminV1Params) SetNamespace

func (o *CreateMemberRoleAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the create member role admin v1 params

func (*CreateMemberRoleAdminV1Params) SetTimeout

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

SetTimeout adds the timeout to the create member role admin v1 params

func (*CreateMemberRoleAdminV1Params) WithBody

WithBody adds the body to the create member role admin v1 params

func (*CreateMemberRoleAdminV1Params) WithContext

WithContext adds the context to the create member role admin v1 params

func (*CreateMemberRoleAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create member role admin v1 params

func (*CreateMemberRoleAdminV1Params) WithNamespace

WithNamespace adds the namespace to the create member role admin v1 params

func (*CreateMemberRoleAdminV1Params) WithTimeout

WithTimeout adds the timeout to the create member role admin v1 params

func (*CreateMemberRoleAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateMemberRoleAdminV1Reader

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

CreateMemberRoleAdminV1Reader is a Reader for the CreateMemberRoleAdminV1 structure.

func (*CreateMemberRoleAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateMemberRoleAdminV1Unauthorized

type CreateMemberRoleAdminV1Unauthorized struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

CreateMemberRoleAdminV1Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewCreateMemberRoleAdminV1Unauthorized

func NewCreateMemberRoleAdminV1Unauthorized() *CreateMemberRoleAdminV1Unauthorized

NewCreateMemberRoleAdminV1Unauthorized creates a CreateMemberRoleAdminV1Unauthorized with default headers values

func (*CreateMemberRoleAdminV1Unauthorized) Error

func (*CreateMemberRoleAdminV1Unauthorized) GetPayload

type DeleteMemberRoleAdminV1BadRequest

type DeleteMemberRoleAdminV1BadRequest struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

DeleteMemberRoleAdminV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewDeleteMemberRoleAdminV1BadRequest

func NewDeleteMemberRoleAdminV1BadRequest() *DeleteMemberRoleAdminV1BadRequest

NewDeleteMemberRoleAdminV1BadRequest creates a DeleteMemberRoleAdminV1BadRequest with default headers values

func (*DeleteMemberRoleAdminV1BadRequest) Error

func (*DeleteMemberRoleAdminV1BadRequest) GetPayload

type DeleteMemberRoleAdminV1Forbidden

type DeleteMemberRoleAdminV1Forbidden struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

DeleteMemberRoleAdminV1Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20022</td><td>token is not user token</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewDeleteMemberRoleAdminV1Forbidden

func NewDeleteMemberRoleAdminV1Forbidden() *DeleteMemberRoleAdminV1Forbidden

NewDeleteMemberRoleAdminV1Forbidden creates a DeleteMemberRoleAdminV1Forbidden with default headers values

func (*DeleteMemberRoleAdminV1Forbidden) Error

func (*DeleteMemberRoleAdminV1Forbidden) GetPayload

type DeleteMemberRoleAdminV1InternalServerError

type DeleteMemberRoleAdminV1InternalServerError struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

DeleteMemberRoleAdminV1InternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteMemberRoleAdminV1InternalServerError

func NewDeleteMemberRoleAdminV1InternalServerError() *DeleteMemberRoleAdminV1InternalServerError

NewDeleteMemberRoleAdminV1InternalServerError creates a DeleteMemberRoleAdminV1InternalServerError with default headers values

func (*DeleteMemberRoleAdminV1InternalServerError) Error

func (*DeleteMemberRoleAdminV1InternalServerError) GetPayload

type DeleteMemberRoleAdminV1NoContent

type DeleteMemberRoleAdminV1NoContent struct {
}

DeleteMemberRoleAdminV1NoContent handles this case with default header values.

No Content

func NewDeleteMemberRoleAdminV1NoContent

func NewDeleteMemberRoleAdminV1NoContent() *DeleteMemberRoleAdminV1NoContent

NewDeleteMemberRoleAdminV1NoContent creates a DeleteMemberRoleAdminV1NoContent with default headers values

func (*DeleteMemberRoleAdminV1NoContent) Error

type DeleteMemberRoleAdminV1NotFound

type DeleteMemberRoleAdminV1NotFound struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

DeleteMemberRoleAdminV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>73232</td><td>member role not found</td></tr></table>

func NewDeleteMemberRoleAdminV1NotFound

func NewDeleteMemberRoleAdminV1NotFound() *DeleteMemberRoleAdminV1NotFound

NewDeleteMemberRoleAdminV1NotFound creates a DeleteMemberRoleAdminV1NotFound with default headers values

func (*DeleteMemberRoleAdminV1NotFound) Error

func (*DeleteMemberRoleAdminV1NotFound) GetPayload

type DeleteMemberRoleAdminV1Params

type DeleteMemberRoleAdminV1Params struct {

	/*MemberRoleID
	  member Role ID

	*/
	MemberRoleID string
	/*Namespace
	  namespace

	*/
	Namespace string

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

DeleteMemberRoleAdminV1Params contains all the parameters to send to the API endpoint for the delete member role admin v1 operation typically these are written to a http.Request

func NewDeleteMemberRoleAdminV1Params

func NewDeleteMemberRoleAdminV1Params() *DeleteMemberRoleAdminV1Params

NewDeleteMemberRoleAdminV1Params creates a new DeleteMemberRoleAdminV1Params object with the default values initialized.

func NewDeleteMemberRoleAdminV1ParamsWithContext

func NewDeleteMemberRoleAdminV1ParamsWithContext(ctx context.Context) *DeleteMemberRoleAdminV1Params

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

func NewDeleteMemberRoleAdminV1ParamsWithHTTPClient

func NewDeleteMemberRoleAdminV1ParamsWithHTTPClient(client *http.Client) *DeleteMemberRoleAdminV1Params

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

func NewDeleteMemberRoleAdminV1ParamsWithTimeout

func NewDeleteMemberRoleAdminV1ParamsWithTimeout(timeout time.Duration) *DeleteMemberRoleAdminV1Params

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

func (*DeleteMemberRoleAdminV1Params) SetContext

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

SetContext adds the context to the delete member role admin v1 params

func (*DeleteMemberRoleAdminV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete member role admin v1 params

func (*DeleteMemberRoleAdminV1Params) SetMemberRoleID

func (o *DeleteMemberRoleAdminV1Params) SetMemberRoleID(memberRoleID string)

SetMemberRoleID adds the memberRoleId to the delete member role admin v1 params

func (*DeleteMemberRoleAdminV1Params) SetNamespace

func (o *DeleteMemberRoleAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete member role admin v1 params

func (*DeleteMemberRoleAdminV1Params) SetTimeout

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

SetTimeout adds the timeout to the delete member role admin v1 params

func (*DeleteMemberRoleAdminV1Params) WithContext

WithContext adds the context to the delete member role admin v1 params

func (*DeleteMemberRoleAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete member role admin v1 params

func (*DeleteMemberRoleAdminV1Params) WithMemberRoleID

func (o *DeleteMemberRoleAdminV1Params) WithMemberRoleID(memberRoleID string) *DeleteMemberRoleAdminV1Params

WithMemberRoleID adds the memberRoleID to the delete member role admin v1 params

func (*DeleteMemberRoleAdminV1Params) WithNamespace

WithNamespace adds the namespace to the delete member role admin v1 params

func (*DeleteMemberRoleAdminV1Params) WithTimeout

WithTimeout adds the timeout to the delete member role admin v1 params

func (*DeleteMemberRoleAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteMemberRoleAdminV1Reader

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

DeleteMemberRoleAdminV1Reader is a Reader for the DeleteMemberRoleAdminV1 structure.

func (*DeleteMemberRoleAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteMemberRoleAdminV1Unauthorized

type DeleteMemberRoleAdminV1Unauthorized struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

DeleteMemberRoleAdminV1Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewDeleteMemberRoleAdminV1Unauthorized

func NewDeleteMemberRoleAdminV1Unauthorized() *DeleteMemberRoleAdminV1Unauthorized

NewDeleteMemberRoleAdminV1Unauthorized creates a DeleteMemberRoleAdminV1Unauthorized with default headers values

func (*DeleteMemberRoleAdminV1Unauthorized) Error

func (*DeleteMemberRoleAdminV1Unauthorized) GetPayload

type DeleteMemberRolePublicV1BadRequest

type DeleteMemberRolePublicV1BadRequest struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

DeleteMemberRolePublicV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewDeleteMemberRolePublicV1BadRequest

func NewDeleteMemberRolePublicV1BadRequest() *DeleteMemberRolePublicV1BadRequest

NewDeleteMemberRolePublicV1BadRequest creates a DeleteMemberRolePublicV1BadRequest with default headers values

func (*DeleteMemberRolePublicV1BadRequest) Error

func (*DeleteMemberRolePublicV1BadRequest) GetPayload

type DeleteMemberRolePublicV1Forbidden

type DeleteMemberRolePublicV1Forbidden struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

DeleteMemberRolePublicV1Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20022</td><td>token is not user token</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewDeleteMemberRolePublicV1Forbidden

func NewDeleteMemberRolePublicV1Forbidden() *DeleteMemberRolePublicV1Forbidden

NewDeleteMemberRolePublicV1Forbidden creates a DeleteMemberRolePublicV1Forbidden with default headers values

func (*DeleteMemberRolePublicV1Forbidden) Error

func (*DeleteMemberRolePublicV1Forbidden) GetPayload

type DeleteMemberRolePublicV1InternalServerError

type DeleteMemberRolePublicV1InternalServerError struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

DeleteMemberRolePublicV1InternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteMemberRolePublicV1InternalServerError

func NewDeleteMemberRolePublicV1InternalServerError() *DeleteMemberRolePublicV1InternalServerError

NewDeleteMemberRolePublicV1InternalServerError creates a DeleteMemberRolePublicV1InternalServerError with default headers values

func (*DeleteMemberRolePublicV1InternalServerError) Error

func (*DeleteMemberRolePublicV1InternalServerError) GetPayload

type DeleteMemberRolePublicV1NotFound

type DeleteMemberRolePublicV1NotFound struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

DeleteMemberRolePublicV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>73232</td><td>member role not found</td></tr></table>

func NewDeleteMemberRolePublicV1NotFound

func NewDeleteMemberRolePublicV1NotFound() *DeleteMemberRolePublicV1NotFound

NewDeleteMemberRolePublicV1NotFound creates a DeleteMemberRolePublicV1NotFound with default headers values

func (*DeleteMemberRolePublicV1NotFound) Error

func (*DeleteMemberRolePublicV1NotFound) GetPayload

type DeleteMemberRolePublicV1OK

type DeleteMemberRolePublicV1OK struct {
	Payload *groupclientmodels.ModelsUpdateMemberRoleResponseV1
}

DeleteMemberRolePublicV1OK handles this case with default header values.

OK

func NewDeleteMemberRolePublicV1OK

func NewDeleteMemberRolePublicV1OK() *DeleteMemberRolePublicV1OK

NewDeleteMemberRolePublicV1OK creates a DeleteMemberRolePublicV1OK with default headers values

func (*DeleteMemberRolePublicV1OK) Error

func (*DeleteMemberRolePublicV1OK) GetPayload

type DeleteMemberRolePublicV1Params

type DeleteMemberRolePublicV1Params struct {

	/*Body*/
	Body *groupclientmodels.ModelsRemoveRoleFromMemberRequestV1
	/*MemberRoleID
	  member Role ID

	*/
	MemberRoleID string
	/*Namespace
	  namespace

	*/
	Namespace string

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

DeleteMemberRolePublicV1Params contains all the parameters to send to the API endpoint for the delete member role public v1 operation typically these are written to a http.Request

func NewDeleteMemberRolePublicV1Params

func NewDeleteMemberRolePublicV1Params() *DeleteMemberRolePublicV1Params

NewDeleteMemberRolePublicV1Params creates a new DeleteMemberRolePublicV1Params object with the default values initialized.

func NewDeleteMemberRolePublicV1ParamsWithContext

func NewDeleteMemberRolePublicV1ParamsWithContext(ctx context.Context) *DeleteMemberRolePublicV1Params

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

func NewDeleteMemberRolePublicV1ParamsWithHTTPClient

func NewDeleteMemberRolePublicV1ParamsWithHTTPClient(client *http.Client) *DeleteMemberRolePublicV1Params

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

func NewDeleteMemberRolePublicV1ParamsWithTimeout

func NewDeleteMemberRolePublicV1ParamsWithTimeout(timeout time.Duration) *DeleteMemberRolePublicV1Params

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

func (*DeleteMemberRolePublicV1Params) SetBody

SetBody adds the body to the delete member role public v1 params

func (*DeleteMemberRolePublicV1Params) SetContext

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

SetContext adds the context to the delete member role public v1 params

func (*DeleteMemberRolePublicV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete member role public v1 params

func (*DeleteMemberRolePublicV1Params) SetMemberRoleID

func (o *DeleteMemberRolePublicV1Params) SetMemberRoleID(memberRoleID string)

SetMemberRoleID adds the memberRoleId to the delete member role public v1 params

func (*DeleteMemberRolePublicV1Params) SetNamespace

func (o *DeleteMemberRolePublicV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete member role public v1 params

func (*DeleteMemberRolePublicV1Params) SetTimeout

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

SetTimeout adds the timeout to the delete member role public v1 params

func (*DeleteMemberRolePublicV1Params) WithBody

WithBody adds the body to the delete member role public v1 params

func (*DeleteMemberRolePublicV1Params) WithContext

WithContext adds the context to the delete member role public v1 params

func (*DeleteMemberRolePublicV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete member role public v1 params

func (*DeleteMemberRolePublicV1Params) WithMemberRoleID

func (o *DeleteMemberRolePublicV1Params) WithMemberRoleID(memberRoleID string) *DeleteMemberRolePublicV1Params

WithMemberRoleID adds the memberRoleID to the delete member role public v1 params

func (*DeleteMemberRolePublicV1Params) WithNamespace

WithNamespace adds the namespace to the delete member role public v1 params

func (*DeleteMemberRolePublicV1Params) WithTimeout

WithTimeout adds the timeout to the delete member role public v1 params

func (*DeleteMemberRolePublicV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteMemberRolePublicV1Reader

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

DeleteMemberRolePublicV1Reader is a Reader for the DeleteMemberRolePublicV1 structure.

func (*DeleteMemberRolePublicV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteMemberRolePublicV1Unauthorized

type DeleteMemberRolePublicV1Unauthorized struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

DeleteMemberRolePublicV1Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewDeleteMemberRolePublicV1Unauthorized

func NewDeleteMemberRolePublicV1Unauthorized() *DeleteMemberRolePublicV1Unauthorized

NewDeleteMemberRolePublicV1Unauthorized creates a DeleteMemberRolePublicV1Unauthorized with default headers values

func (*DeleteMemberRolePublicV1Unauthorized) Error

func (*DeleteMemberRolePublicV1Unauthorized) GetPayload

type GetMemberRolesListAdminV1BadRequest

type GetMemberRolesListAdminV1BadRequest struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetMemberRolesListAdminV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetMemberRolesListAdminV1BadRequest

func NewGetMemberRolesListAdminV1BadRequest() *GetMemberRolesListAdminV1BadRequest

NewGetMemberRolesListAdminV1BadRequest creates a GetMemberRolesListAdminV1BadRequest with default headers values

func (*GetMemberRolesListAdminV1BadRequest) Error

func (*GetMemberRolesListAdminV1BadRequest) GetPayload

type GetMemberRolesListAdminV1Forbidden

type GetMemberRolesListAdminV1Forbidden struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetMemberRolesListAdminV1Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewGetMemberRolesListAdminV1Forbidden

func NewGetMemberRolesListAdminV1Forbidden() *GetMemberRolesListAdminV1Forbidden

NewGetMemberRolesListAdminV1Forbidden creates a GetMemberRolesListAdminV1Forbidden with default headers values

func (*GetMemberRolesListAdminV1Forbidden) Error

func (*GetMemberRolesListAdminV1Forbidden) GetPayload

type GetMemberRolesListAdminV1InternalServerError

type GetMemberRolesListAdminV1InternalServerError struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetMemberRolesListAdminV1InternalServerError handles this case with default header values.

Internal Server Error

func NewGetMemberRolesListAdminV1InternalServerError

func NewGetMemberRolesListAdminV1InternalServerError() *GetMemberRolesListAdminV1InternalServerError

NewGetMemberRolesListAdminV1InternalServerError creates a GetMemberRolesListAdminV1InternalServerError with default headers values

func (*GetMemberRolesListAdminV1InternalServerError) Error

func (*GetMemberRolesListAdminV1InternalServerError) GetPayload

type GetMemberRolesListAdminV1OK

type GetMemberRolesListAdminV1OK struct {
	Payload *groupclientmodels.ModelsGetMemberRolesListResponseV1
}

GetMemberRolesListAdminV1OK handles this case with default header values.

OK

func NewGetMemberRolesListAdminV1OK

func NewGetMemberRolesListAdminV1OK() *GetMemberRolesListAdminV1OK

NewGetMemberRolesListAdminV1OK creates a GetMemberRolesListAdminV1OK with default headers values

func (*GetMemberRolesListAdminV1OK) Error

func (*GetMemberRolesListAdminV1OK) GetPayload

type GetMemberRolesListAdminV1Params

type GetMemberRolesListAdminV1Params struct {

	/*Limit
	  size of displayed data

	*/
	Limit *int64
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Offset
	  The start position that points to query data

	*/
	Offset *int64

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

GetMemberRolesListAdminV1Params contains all the parameters to send to the API endpoint for the get member roles list admin v1 operation typically these are written to a http.Request

func NewGetMemberRolesListAdminV1Params

func NewGetMemberRolesListAdminV1Params() *GetMemberRolesListAdminV1Params

NewGetMemberRolesListAdminV1Params creates a new GetMemberRolesListAdminV1Params object with the default values initialized.

func NewGetMemberRolesListAdminV1ParamsWithContext

func NewGetMemberRolesListAdminV1ParamsWithContext(ctx context.Context) *GetMemberRolesListAdminV1Params

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

func NewGetMemberRolesListAdminV1ParamsWithHTTPClient

func NewGetMemberRolesListAdminV1ParamsWithHTTPClient(client *http.Client) *GetMemberRolesListAdminV1Params

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

func NewGetMemberRolesListAdminV1ParamsWithTimeout

func NewGetMemberRolesListAdminV1ParamsWithTimeout(timeout time.Duration) *GetMemberRolesListAdminV1Params

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

func (*GetMemberRolesListAdminV1Params) SetContext

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

SetContext adds the context to the get member roles list admin v1 params

func (*GetMemberRolesListAdminV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get member roles list admin v1 params

func (*GetMemberRolesListAdminV1Params) SetLimit

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

SetLimit adds the limit to the get member roles list admin v1 params

func (*GetMemberRolesListAdminV1Params) SetNamespace

func (o *GetMemberRolesListAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get member roles list admin v1 params

func (*GetMemberRolesListAdminV1Params) SetOffset

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

SetOffset adds the offset to the get member roles list admin v1 params

func (*GetMemberRolesListAdminV1Params) SetTimeout

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

SetTimeout adds the timeout to the get member roles list admin v1 params

func (*GetMemberRolesListAdminV1Params) WithContext

WithContext adds the context to the get member roles list admin v1 params

func (*GetMemberRolesListAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get member roles list admin v1 params

func (*GetMemberRolesListAdminV1Params) WithLimit

WithLimit adds the limit to the get member roles list admin v1 params

func (*GetMemberRolesListAdminV1Params) WithNamespace

WithNamespace adds the namespace to the get member roles list admin v1 params

func (*GetMemberRolesListAdminV1Params) WithOffset

WithOffset adds the offset to the get member roles list admin v1 params

func (*GetMemberRolesListAdminV1Params) WithTimeout

WithTimeout adds the timeout to the get member roles list admin v1 params

func (*GetMemberRolesListAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMemberRolesListAdminV1Reader

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

GetMemberRolesListAdminV1Reader is a Reader for the GetMemberRolesListAdminV1 structure.

func (*GetMemberRolesListAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMemberRolesListAdminV1Unauthorized

type GetMemberRolesListAdminV1Unauthorized struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetMemberRolesListAdminV1Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewGetMemberRolesListAdminV1Unauthorized

func NewGetMemberRolesListAdminV1Unauthorized() *GetMemberRolesListAdminV1Unauthorized

NewGetMemberRolesListAdminV1Unauthorized creates a GetMemberRolesListAdminV1Unauthorized with default headers values

func (*GetMemberRolesListAdminV1Unauthorized) Error

func (*GetMemberRolesListAdminV1Unauthorized) GetPayload

type GetMemberRolesListPublicV1BadRequest

type GetMemberRolesListPublicV1BadRequest struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetMemberRolesListPublicV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetMemberRolesListPublicV1BadRequest

func NewGetMemberRolesListPublicV1BadRequest() *GetMemberRolesListPublicV1BadRequest

NewGetMemberRolesListPublicV1BadRequest creates a GetMemberRolesListPublicV1BadRequest with default headers values

func (*GetMemberRolesListPublicV1BadRequest) Error

func (*GetMemberRolesListPublicV1BadRequest) GetPayload

type GetMemberRolesListPublicV1Forbidden

type GetMemberRolesListPublicV1Forbidden struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetMemberRolesListPublicV1Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewGetMemberRolesListPublicV1Forbidden

func NewGetMemberRolesListPublicV1Forbidden() *GetMemberRolesListPublicV1Forbidden

NewGetMemberRolesListPublicV1Forbidden creates a GetMemberRolesListPublicV1Forbidden with default headers values

func (*GetMemberRolesListPublicV1Forbidden) Error

func (*GetMemberRolesListPublicV1Forbidden) GetPayload

type GetMemberRolesListPublicV1InternalServerError

type GetMemberRolesListPublicV1InternalServerError struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetMemberRolesListPublicV1InternalServerError handles this case with default header values.

Internal Server Error

func NewGetMemberRolesListPublicV1InternalServerError

func NewGetMemberRolesListPublicV1InternalServerError() *GetMemberRolesListPublicV1InternalServerError

NewGetMemberRolesListPublicV1InternalServerError creates a GetMemberRolesListPublicV1InternalServerError with default headers values

func (*GetMemberRolesListPublicV1InternalServerError) Error

func (*GetMemberRolesListPublicV1InternalServerError) GetPayload

type GetMemberRolesListPublicV1OK

type GetMemberRolesListPublicV1OK struct {
	Payload *groupclientmodels.ModelsGetMemberRolesListResponseV1
}

GetMemberRolesListPublicV1OK handles this case with default header values.

OK

func NewGetMemberRolesListPublicV1OK

func NewGetMemberRolesListPublicV1OK() *GetMemberRolesListPublicV1OK

NewGetMemberRolesListPublicV1OK creates a GetMemberRolesListPublicV1OK with default headers values

func (*GetMemberRolesListPublicV1OK) Error

func (*GetMemberRolesListPublicV1OK) GetPayload

type GetMemberRolesListPublicV1Params

type GetMemberRolesListPublicV1Params struct {

	/*Limit
	  size of displayed data

	*/
	Limit *int64
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Offset
	  The start position that points to query data

	*/
	Offset *int64

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

GetMemberRolesListPublicV1Params contains all the parameters to send to the API endpoint for the get member roles list public v1 operation typically these are written to a http.Request

func NewGetMemberRolesListPublicV1Params

func NewGetMemberRolesListPublicV1Params() *GetMemberRolesListPublicV1Params

NewGetMemberRolesListPublicV1Params creates a new GetMemberRolesListPublicV1Params object with the default values initialized.

func NewGetMemberRolesListPublicV1ParamsWithContext

func NewGetMemberRolesListPublicV1ParamsWithContext(ctx context.Context) *GetMemberRolesListPublicV1Params

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

func NewGetMemberRolesListPublicV1ParamsWithHTTPClient

func NewGetMemberRolesListPublicV1ParamsWithHTTPClient(client *http.Client) *GetMemberRolesListPublicV1Params

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

func NewGetMemberRolesListPublicV1ParamsWithTimeout

func NewGetMemberRolesListPublicV1ParamsWithTimeout(timeout time.Duration) *GetMemberRolesListPublicV1Params

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

func (*GetMemberRolesListPublicV1Params) SetContext

SetContext adds the context to the get member roles list public v1 params

func (*GetMemberRolesListPublicV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get member roles list public v1 params

func (*GetMemberRolesListPublicV1Params) SetLimit

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

SetLimit adds the limit to the get member roles list public v1 params

func (*GetMemberRolesListPublicV1Params) SetNamespace

func (o *GetMemberRolesListPublicV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get member roles list public v1 params

func (*GetMemberRolesListPublicV1Params) SetOffset

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

SetOffset adds the offset to the get member roles list public v1 params

func (*GetMemberRolesListPublicV1Params) SetTimeout

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

SetTimeout adds the timeout to the get member roles list public v1 params

func (*GetMemberRolesListPublicV1Params) WithContext

WithContext adds the context to the get member roles list public v1 params

func (*GetMemberRolesListPublicV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get member roles list public v1 params

func (*GetMemberRolesListPublicV1Params) WithLimit

WithLimit adds the limit to the get member roles list public v1 params

func (*GetMemberRolesListPublicV1Params) WithNamespace

WithNamespace adds the namespace to the get member roles list public v1 params

func (*GetMemberRolesListPublicV1Params) WithOffset

WithOffset adds the offset to the get member roles list public v1 params

func (*GetMemberRolesListPublicV1Params) WithTimeout

WithTimeout adds the timeout to the get member roles list public v1 params

func (*GetMemberRolesListPublicV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMemberRolesListPublicV1Reader

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

GetMemberRolesListPublicV1Reader is a Reader for the GetMemberRolesListPublicV1 structure.

func (*GetMemberRolesListPublicV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMemberRolesListPublicV1Unauthorized

type GetMemberRolesListPublicV1Unauthorized struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetMemberRolesListPublicV1Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewGetMemberRolesListPublicV1Unauthorized

func NewGetMemberRolesListPublicV1Unauthorized() *GetMemberRolesListPublicV1Unauthorized

NewGetMemberRolesListPublicV1Unauthorized creates a GetMemberRolesListPublicV1Unauthorized with default headers values

func (*GetMemberRolesListPublicV1Unauthorized) Error

func (*GetMemberRolesListPublicV1Unauthorized) GetPayload

type GetSingleMemberRoleAdminV1BadRequest

type GetSingleMemberRoleAdminV1BadRequest struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetSingleMemberRoleAdminV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetSingleMemberRoleAdminV1BadRequest

func NewGetSingleMemberRoleAdminV1BadRequest() *GetSingleMemberRoleAdminV1BadRequest

NewGetSingleMemberRoleAdminV1BadRequest creates a GetSingleMemberRoleAdminV1BadRequest with default headers values

func (*GetSingleMemberRoleAdminV1BadRequest) Error

func (*GetSingleMemberRoleAdminV1BadRequest) GetPayload

type GetSingleMemberRoleAdminV1Forbidden

type GetSingleMemberRoleAdminV1Forbidden struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetSingleMemberRoleAdminV1Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewGetSingleMemberRoleAdminV1Forbidden

func NewGetSingleMemberRoleAdminV1Forbidden() *GetSingleMemberRoleAdminV1Forbidden

NewGetSingleMemberRoleAdminV1Forbidden creates a GetSingleMemberRoleAdminV1Forbidden with default headers values

func (*GetSingleMemberRoleAdminV1Forbidden) Error

func (*GetSingleMemberRoleAdminV1Forbidden) GetPayload

type GetSingleMemberRoleAdminV1InternalServerError

type GetSingleMemberRoleAdminV1InternalServerError struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetSingleMemberRoleAdminV1InternalServerError handles this case with default header values.

Internal Server Error

func NewGetSingleMemberRoleAdminV1InternalServerError

func NewGetSingleMemberRoleAdminV1InternalServerError() *GetSingleMemberRoleAdminV1InternalServerError

NewGetSingleMemberRoleAdminV1InternalServerError creates a GetSingleMemberRoleAdminV1InternalServerError with default headers values

func (*GetSingleMemberRoleAdminV1InternalServerError) Error

func (*GetSingleMemberRoleAdminV1InternalServerError) GetPayload

type GetSingleMemberRoleAdminV1NotFound

type GetSingleMemberRoleAdminV1NotFound struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetSingleMemberRoleAdminV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>73232</td><td>member role not found</td></tr></table>

func NewGetSingleMemberRoleAdminV1NotFound

func NewGetSingleMemberRoleAdminV1NotFound() *GetSingleMemberRoleAdminV1NotFound

NewGetSingleMemberRoleAdminV1NotFound creates a GetSingleMemberRoleAdminV1NotFound with default headers values

func (*GetSingleMemberRoleAdminV1NotFound) Error

func (*GetSingleMemberRoleAdminV1NotFound) GetPayload

type GetSingleMemberRoleAdminV1OK

type GetSingleMemberRoleAdminV1OK struct {
	Payload *groupclientmodels.ModelsGetMemberRoleResponseV1
}

GetSingleMemberRoleAdminV1OK handles this case with default header values.

OK

func NewGetSingleMemberRoleAdminV1OK

func NewGetSingleMemberRoleAdminV1OK() *GetSingleMemberRoleAdminV1OK

NewGetSingleMemberRoleAdminV1OK creates a GetSingleMemberRoleAdminV1OK with default headers values

func (*GetSingleMemberRoleAdminV1OK) Error

func (*GetSingleMemberRoleAdminV1OK) GetPayload

type GetSingleMemberRoleAdminV1Params

type GetSingleMemberRoleAdminV1Params struct {

	/*MemberRoleID
	  member Role ID

	*/
	MemberRoleID string
	/*Namespace
	  namespace

	*/
	Namespace string

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

GetSingleMemberRoleAdminV1Params contains all the parameters to send to the API endpoint for the get single member role admin v1 operation typically these are written to a http.Request

func NewGetSingleMemberRoleAdminV1Params

func NewGetSingleMemberRoleAdminV1Params() *GetSingleMemberRoleAdminV1Params

NewGetSingleMemberRoleAdminV1Params creates a new GetSingleMemberRoleAdminV1Params object with the default values initialized.

func NewGetSingleMemberRoleAdminV1ParamsWithContext

func NewGetSingleMemberRoleAdminV1ParamsWithContext(ctx context.Context) *GetSingleMemberRoleAdminV1Params

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

func NewGetSingleMemberRoleAdminV1ParamsWithHTTPClient

func NewGetSingleMemberRoleAdminV1ParamsWithHTTPClient(client *http.Client) *GetSingleMemberRoleAdminV1Params

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

func NewGetSingleMemberRoleAdminV1ParamsWithTimeout

func NewGetSingleMemberRoleAdminV1ParamsWithTimeout(timeout time.Duration) *GetSingleMemberRoleAdminV1Params

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

func (*GetSingleMemberRoleAdminV1Params) SetContext

SetContext adds the context to the get single member role admin v1 params

func (*GetSingleMemberRoleAdminV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get single member role admin v1 params

func (*GetSingleMemberRoleAdminV1Params) SetMemberRoleID

func (o *GetSingleMemberRoleAdminV1Params) SetMemberRoleID(memberRoleID string)

SetMemberRoleID adds the memberRoleId to the get single member role admin v1 params

func (*GetSingleMemberRoleAdminV1Params) SetNamespace

func (o *GetSingleMemberRoleAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get single member role admin v1 params

func (*GetSingleMemberRoleAdminV1Params) SetTimeout

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

SetTimeout adds the timeout to the get single member role admin v1 params

func (*GetSingleMemberRoleAdminV1Params) WithContext

WithContext adds the context to the get single member role admin v1 params

func (*GetSingleMemberRoleAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get single member role admin v1 params

func (*GetSingleMemberRoleAdminV1Params) WithMemberRoleID

WithMemberRoleID adds the memberRoleID to the get single member role admin v1 params

func (*GetSingleMemberRoleAdminV1Params) WithNamespace

WithNamespace adds the namespace to the get single member role admin v1 params

func (*GetSingleMemberRoleAdminV1Params) WithTimeout

WithTimeout adds the timeout to the get single member role admin v1 params

func (*GetSingleMemberRoleAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSingleMemberRoleAdminV1Reader

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

GetSingleMemberRoleAdminV1Reader is a Reader for the GetSingleMemberRoleAdminV1 structure.

func (*GetSingleMemberRoleAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSingleMemberRoleAdminV1Unauthorized

type GetSingleMemberRoleAdminV1Unauthorized struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetSingleMemberRoleAdminV1Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewGetSingleMemberRoleAdminV1Unauthorized

func NewGetSingleMemberRoleAdminV1Unauthorized() *GetSingleMemberRoleAdminV1Unauthorized

NewGetSingleMemberRoleAdminV1Unauthorized creates a GetSingleMemberRoleAdminV1Unauthorized with default headers values

func (*GetSingleMemberRoleAdminV1Unauthorized) Error

func (*GetSingleMemberRoleAdminV1Unauthorized) GetPayload

type UpdateMemberRoleAdminV1BadRequest

type UpdateMemberRoleAdminV1BadRequest struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

UpdateMemberRoleAdminV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewUpdateMemberRoleAdminV1BadRequest

func NewUpdateMemberRoleAdminV1BadRequest() *UpdateMemberRoleAdminV1BadRequest

NewUpdateMemberRoleAdminV1BadRequest creates a UpdateMemberRoleAdminV1BadRequest with default headers values

func (*UpdateMemberRoleAdminV1BadRequest) Error

func (*UpdateMemberRoleAdminV1BadRequest) GetPayload

type UpdateMemberRoleAdminV1Forbidden

type UpdateMemberRoleAdminV1Forbidden struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

UpdateMemberRoleAdminV1Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20022</td><td>token is not user token</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewUpdateMemberRoleAdminV1Forbidden

func NewUpdateMemberRoleAdminV1Forbidden() *UpdateMemberRoleAdminV1Forbidden

NewUpdateMemberRoleAdminV1Forbidden creates a UpdateMemberRoleAdminV1Forbidden with default headers values

func (*UpdateMemberRoleAdminV1Forbidden) Error

func (*UpdateMemberRoleAdminV1Forbidden) GetPayload

type UpdateMemberRoleAdminV1InternalServerError

type UpdateMemberRoleAdminV1InternalServerError struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

UpdateMemberRoleAdminV1InternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateMemberRoleAdminV1InternalServerError

func NewUpdateMemberRoleAdminV1InternalServerError() *UpdateMemberRoleAdminV1InternalServerError

NewUpdateMemberRoleAdminV1InternalServerError creates a UpdateMemberRoleAdminV1InternalServerError with default headers values

func (*UpdateMemberRoleAdminV1InternalServerError) Error

func (*UpdateMemberRoleAdminV1InternalServerError) GetPayload

type UpdateMemberRoleAdminV1NotFound

type UpdateMemberRoleAdminV1NotFound struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

UpdateMemberRoleAdminV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>73232</td><td>member role not found</td></tr></table>

func NewUpdateMemberRoleAdminV1NotFound

func NewUpdateMemberRoleAdminV1NotFound() *UpdateMemberRoleAdminV1NotFound

NewUpdateMemberRoleAdminV1NotFound creates a UpdateMemberRoleAdminV1NotFound with default headers values

func (*UpdateMemberRoleAdminV1NotFound) Error

func (*UpdateMemberRoleAdminV1NotFound) GetPayload

type UpdateMemberRoleAdminV1OK

type UpdateMemberRoleAdminV1OK struct {
	Payload *groupclientmodels.ModelsUpdateMemberRoleResponseV1
}

UpdateMemberRoleAdminV1OK handles this case with default header values.

OK

func NewUpdateMemberRoleAdminV1OK

func NewUpdateMemberRoleAdminV1OK() *UpdateMemberRoleAdminV1OK

NewUpdateMemberRoleAdminV1OK creates a UpdateMemberRoleAdminV1OK with default headers values

func (*UpdateMemberRoleAdminV1OK) Error

func (o *UpdateMemberRoleAdminV1OK) Error() string

func (*UpdateMemberRoleAdminV1OK) GetPayload

type UpdateMemberRoleAdminV1Params

type UpdateMemberRoleAdminV1Params struct {

	/*Body*/
	Body *groupclientmodels.ModelsUpdateMemberRoleRequestV1
	/*MemberRoleID
	  member Role ID

	*/
	MemberRoleID string
	/*Namespace
	  namespace

	*/
	Namespace string

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

UpdateMemberRoleAdminV1Params contains all the parameters to send to the API endpoint for the update member role admin v1 operation typically these are written to a http.Request

func NewUpdateMemberRoleAdminV1Params

func NewUpdateMemberRoleAdminV1Params() *UpdateMemberRoleAdminV1Params

NewUpdateMemberRoleAdminV1Params creates a new UpdateMemberRoleAdminV1Params object with the default values initialized.

func NewUpdateMemberRoleAdminV1ParamsWithContext

func NewUpdateMemberRoleAdminV1ParamsWithContext(ctx context.Context) *UpdateMemberRoleAdminV1Params

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

func NewUpdateMemberRoleAdminV1ParamsWithHTTPClient

func NewUpdateMemberRoleAdminV1ParamsWithHTTPClient(client *http.Client) *UpdateMemberRoleAdminV1Params

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

func NewUpdateMemberRoleAdminV1ParamsWithTimeout

func NewUpdateMemberRoleAdminV1ParamsWithTimeout(timeout time.Duration) *UpdateMemberRoleAdminV1Params

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

func (*UpdateMemberRoleAdminV1Params) SetBody

SetBody adds the body to the update member role admin v1 params

func (*UpdateMemberRoleAdminV1Params) SetContext

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

SetContext adds the context to the update member role admin v1 params

func (*UpdateMemberRoleAdminV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update member role admin v1 params

func (*UpdateMemberRoleAdminV1Params) SetMemberRoleID

func (o *UpdateMemberRoleAdminV1Params) SetMemberRoleID(memberRoleID string)

SetMemberRoleID adds the memberRoleId to the update member role admin v1 params

func (*UpdateMemberRoleAdminV1Params) SetNamespace

func (o *UpdateMemberRoleAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the update member role admin v1 params

func (*UpdateMemberRoleAdminV1Params) SetTimeout

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

SetTimeout adds the timeout to the update member role admin v1 params

func (*UpdateMemberRoleAdminV1Params) WithBody

WithBody adds the body to the update member role admin v1 params

func (*UpdateMemberRoleAdminV1Params) WithContext

WithContext adds the context to the update member role admin v1 params

func (*UpdateMemberRoleAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update member role admin v1 params

func (*UpdateMemberRoleAdminV1Params) WithMemberRoleID

func (o *UpdateMemberRoleAdminV1Params) WithMemberRoleID(memberRoleID string) *UpdateMemberRoleAdminV1Params

WithMemberRoleID adds the memberRoleID to the update member role admin v1 params

func (*UpdateMemberRoleAdminV1Params) WithNamespace

WithNamespace adds the namespace to the update member role admin v1 params

func (*UpdateMemberRoleAdminV1Params) WithTimeout

WithTimeout adds the timeout to the update member role admin v1 params

func (*UpdateMemberRoleAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateMemberRoleAdminV1Reader

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

UpdateMemberRoleAdminV1Reader is a Reader for the UpdateMemberRoleAdminV1 structure.

func (*UpdateMemberRoleAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateMemberRoleAdminV1Unauthorized

type UpdateMemberRoleAdminV1Unauthorized struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

UpdateMemberRoleAdminV1Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewUpdateMemberRoleAdminV1Unauthorized

func NewUpdateMemberRoleAdminV1Unauthorized() *UpdateMemberRoleAdminV1Unauthorized

NewUpdateMemberRoleAdminV1Unauthorized creates a UpdateMemberRoleAdminV1Unauthorized with default headers values

func (*UpdateMemberRoleAdminV1Unauthorized) Error

func (*UpdateMemberRoleAdminV1Unauthorized) GetPayload

type UpdateMemberRolePermissionAdminV1BadRequest

type UpdateMemberRolePermissionAdminV1BadRequest struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

UpdateMemberRolePermissionAdminV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewUpdateMemberRolePermissionAdminV1BadRequest

func NewUpdateMemberRolePermissionAdminV1BadRequest() *UpdateMemberRolePermissionAdminV1BadRequest

NewUpdateMemberRolePermissionAdminV1BadRequest creates a UpdateMemberRolePermissionAdminV1BadRequest with default headers values

func (*UpdateMemberRolePermissionAdminV1BadRequest) Error

func (*UpdateMemberRolePermissionAdminV1BadRequest) GetPayload

type UpdateMemberRolePermissionAdminV1Forbidden

type UpdateMemberRolePermissionAdminV1Forbidden struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

UpdateMemberRolePermissionAdminV1Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20022</td><td>token is not user token</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewUpdateMemberRolePermissionAdminV1Forbidden

func NewUpdateMemberRolePermissionAdminV1Forbidden() *UpdateMemberRolePermissionAdminV1Forbidden

NewUpdateMemberRolePermissionAdminV1Forbidden creates a UpdateMemberRolePermissionAdminV1Forbidden with default headers values

func (*UpdateMemberRolePermissionAdminV1Forbidden) Error

func (*UpdateMemberRolePermissionAdminV1Forbidden) GetPayload

type UpdateMemberRolePermissionAdminV1InternalServerError

type UpdateMemberRolePermissionAdminV1InternalServerError struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

UpdateMemberRolePermissionAdminV1InternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateMemberRolePermissionAdminV1InternalServerError

func NewUpdateMemberRolePermissionAdminV1InternalServerError() *UpdateMemberRolePermissionAdminV1InternalServerError

NewUpdateMemberRolePermissionAdminV1InternalServerError creates a UpdateMemberRolePermissionAdminV1InternalServerError with default headers values

func (*UpdateMemberRolePermissionAdminV1InternalServerError) Error

func (*UpdateMemberRolePermissionAdminV1InternalServerError) GetPayload

type UpdateMemberRolePermissionAdminV1NotFound

type UpdateMemberRolePermissionAdminV1NotFound struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

UpdateMemberRolePermissionAdminV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>73232</td><td>member role not found</td></tr></table>

func NewUpdateMemberRolePermissionAdminV1NotFound

func NewUpdateMemberRolePermissionAdminV1NotFound() *UpdateMemberRolePermissionAdminV1NotFound

NewUpdateMemberRolePermissionAdminV1NotFound creates a UpdateMemberRolePermissionAdminV1NotFound with default headers values

func (*UpdateMemberRolePermissionAdminV1NotFound) Error

func (*UpdateMemberRolePermissionAdminV1NotFound) GetPayload

type UpdateMemberRolePermissionAdminV1OK

type UpdateMemberRolePermissionAdminV1OK struct {
	Payload *groupclientmodels.ModelsUpdateMemberRoleResponseV1
}

UpdateMemberRolePermissionAdminV1OK handles this case with default header values.

OK

func NewUpdateMemberRolePermissionAdminV1OK

func NewUpdateMemberRolePermissionAdminV1OK() *UpdateMemberRolePermissionAdminV1OK

NewUpdateMemberRolePermissionAdminV1OK creates a UpdateMemberRolePermissionAdminV1OK with default headers values

func (*UpdateMemberRolePermissionAdminV1OK) Error

func (*UpdateMemberRolePermissionAdminV1OK) GetPayload

type UpdateMemberRolePermissionAdminV1Params

type UpdateMemberRolePermissionAdminV1Params struct {

	/*Body*/
	Body *groupclientmodels.ModelsUpdateMemberRolePermissionsRequestV1
	/*MemberRoleID
	  member Role ID

	*/
	MemberRoleID string
	/*Namespace
	  namespace

	*/
	Namespace string

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

UpdateMemberRolePermissionAdminV1Params contains all the parameters to send to the API endpoint for the update member role permission admin v1 operation typically these are written to a http.Request

func NewUpdateMemberRolePermissionAdminV1Params

func NewUpdateMemberRolePermissionAdminV1Params() *UpdateMemberRolePermissionAdminV1Params

NewUpdateMemberRolePermissionAdminV1Params creates a new UpdateMemberRolePermissionAdminV1Params object with the default values initialized.

func NewUpdateMemberRolePermissionAdminV1ParamsWithContext

func NewUpdateMemberRolePermissionAdminV1ParamsWithContext(ctx context.Context) *UpdateMemberRolePermissionAdminV1Params

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

func NewUpdateMemberRolePermissionAdminV1ParamsWithHTTPClient

func NewUpdateMemberRolePermissionAdminV1ParamsWithHTTPClient(client *http.Client) *UpdateMemberRolePermissionAdminV1Params

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

func NewUpdateMemberRolePermissionAdminV1ParamsWithTimeout

func NewUpdateMemberRolePermissionAdminV1ParamsWithTimeout(timeout time.Duration) *UpdateMemberRolePermissionAdminV1Params

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

func (*UpdateMemberRolePermissionAdminV1Params) SetBody

SetBody adds the body to the update member role permission admin v1 params

func (*UpdateMemberRolePermissionAdminV1Params) SetContext

SetContext adds the context to the update member role permission admin v1 params

func (*UpdateMemberRolePermissionAdminV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update member role permission admin v1 params

func (*UpdateMemberRolePermissionAdminV1Params) SetMemberRoleID

func (o *UpdateMemberRolePermissionAdminV1Params) SetMemberRoleID(memberRoleID string)

SetMemberRoleID adds the memberRoleId to the update member role permission admin v1 params

func (*UpdateMemberRolePermissionAdminV1Params) SetNamespace

func (o *UpdateMemberRolePermissionAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the update member role permission admin v1 params

func (*UpdateMemberRolePermissionAdminV1Params) SetTimeout

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

SetTimeout adds the timeout to the update member role permission admin v1 params

func (*UpdateMemberRolePermissionAdminV1Params) WithBody

WithBody adds the body to the update member role permission admin v1 params

func (*UpdateMemberRolePermissionAdminV1Params) WithContext

WithContext adds the context to the update member role permission admin v1 params

func (*UpdateMemberRolePermissionAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update member role permission admin v1 params

func (*UpdateMemberRolePermissionAdminV1Params) WithMemberRoleID

WithMemberRoleID adds the memberRoleID to the update member role permission admin v1 params

func (*UpdateMemberRolePermissionAdminV1Params) WithNamespace

WithNamespace adds the namespace to the update member role permission admin v1 params

func (*UpdateMemberRolePermissionAdminV1Params) WithTimeout

WithTimeout adds the timeout to the update member role permission admin v1 params

func (*UpdateMemberRolePermissionAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateMemberRolePermissionAdminV1Reader

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

UpdateMemberRolePermissionAdminV1Reader is a Reader for the UpdateMemberRolePermissionAdminV1 structure.

func (*UpdateMemberRolePermissionAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateMemberRolePermissionAdminV1Unauthorized

type UpdateMemberRolePermissionAdminV1Unauthorized struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

UpdateMemberRolePermissionAdminV1Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewUpdateMemberRolePermissionAdminV1Unauthorized

func NewUpdateMemberRolePermissionAdminV1Unauthorized() *UpdateMemberRolePermissionAdminV1Unauthorized

NewUpdateMemberRolePermissionAdminV1Unauthorized creates a UpdateMemberRolePermissionAdminV1Unauthorized with default headers values

func (*UpdateMemberRolePermissionAdminV1Unauthorized) Error

func (*UpdateMemberRolePermissionAdminV1Unauthorized) GetPayload

Jump to

Keyboard shortcuts

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