member_request

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 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 Client

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

Client for member request API

func (*Client) GetGroupInvitationRequestPublicV1

  GetGroupInvitationRequestPublicV1 gets group invitation request list

  <p>Required valid user authentication </p>
			<p>This endpoint is used to Get Group Invitation Request List</p>
			<p>Get Group Invitation Request List for specific group. It will check any group invitation for this user</p>
			<p>Action Code: 73502</p>

func (*Client) GetGroupJoinRequestPublicV1

  GetGroupJoinRequestPublicV1 gets group join request list

  <p>Required valid user authentication </p>
			<p>Required Member Role Permission: "GROUP:JOIN [READ]"</p>
			<p>This endpoint is used to Get Group Join Request List</p>
			<p>Get Group Join Request List for specific group. Group members needs to have permission and also belong to the group to access this endpoint</p>
			<p>Action Code: 73501</p>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetGroupInvitationRequestPublicV1BadRequest

type GetGroupInvitationRequestPublicV1BadRequest struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetGroupInvitationRequestPublicV1BadRequest 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 NewGetGroupInvitationRequestPublicV1BadRequest

func NewGetGroupInvitationRequestPublicV1BadRequest() *GetGroupInvitationRequestPublicV1BadRequest

NewGetGroupInvitationRequestPublicV1BadRequest creates a GetGroupInvitationRequestPublicV1BadRequest with default headers values

func (*GetGroupInvitationRequestPublicV1BadRequest) Error

func (*GetGroupInvitationRequestPublicV1BadRequest) GetPayload

type GetGroupInvitationRequestPublicV1Forbidden

type GetGroupInvitationRequestPublicV1Forbidden struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetGroupInvitationRequestPublicV1Forbidden 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></table>

func NewGetGroupInvitationRequestPublicV1Forbidden

func NewGetGroupInvitationRequestPublicV1Forbidden() *GetGroupInvitationRequestPublicV1Forbidden

NewGetGroupInvitationRequestPublicV1Forbidden creates a GetGroupInvitationRequestPublicV1Forbidden with default headers values

func (*GetGroupInvitationRequestPublicV1Forbidden) Error

func (*GetGroupInvitationRequestPublicV1Forbidden) GetPayload

type GetGroupInvitationRequestPublicV1InternalServerError

type GetGroupInvitationRequestPublicV1InternalServerError struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetGroupInvitationRequestPublicV1InternalServerError handles this case with default header values.

Internal Server Error

func NewGetGroupInvitationRequestPublicV1InternalServerError

func NewGetGroupInvitationRequestPublicV1InternalServerError() *GetGroupInvitationRequestPublicV1InternalServerError

NewGetGroupInvitationRequestPublicV1InternalServerError creates a GetGroupInvitationRequestPublicV1InternalServerError with default headers values

func (*GetGroupInvitationRequestPublicV1InternalServerError) Error

func (*GetGroupInvitationRequestPublicV1InternalServerError) GetPayload

type GetGroupInvitationRequestPublicV1OK

type GetGroupInvitationRequestPublicV1OK struct {
	Payload *groupclientmodels.ModelsGetMemberRequestsListResponseV1
}

GetGroupInvitationRequestPublicV1OK handles this case with default header values.

OK

func NewGetGroupInvitationRequestPublicV1OK

func NewGetGroupInvitationRequestPublicV1OK() *GetGroupInvitationRequestPublicV1OK

NewGetGroupInvitationRequestPublicV1OK creates a GetGroupInvitationRequestPublicV1OK with default headers values

func (*GetGroupInvitationRequestPublicV1OK) Error

func (*GetGroupInvitationRequestPublicV1OK) GetPayload

type GetGroupInvitationRequestPublicV1Params

type GetGroupInvitationRequestPublicV1Params 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
}

GetGroupInvitationRequestPublicV1Params contains all the parameters to send to the API endpoint for the get group invitation request public v1 operation typically these are written to a http.Request

func NewGetGroupInvitationRequestPublicV1Params

func NewGetGroupInvitationRequestPublicV1Params() *GetGroupInvitationRequestPublicV1Params

NewGetGroupInvitationRequestPublicV1Params creates a new GetGroupInvitationRequestPublicV1Params object with the default values initialized.

func NewGetGroupInvitationRequestPublicV1ParamsWithContext

func NewGetGroupInvitationRequestPublicV1ParamsWithContext(ctx context.Context) *GetGroupInvitationRequestPublicV1Params

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

func NewGetGroupInvitationRequestPublicV1ParamsWithHTTPClient

func NewGetGroupInvitationRequestPublicV1ParamsWithHTTPClient(client *http.Client) *GetGroupInvitationRequestPublicV1Params

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

func NewGetGroupInvitationRequestPublicV1ParamsWithTimeout

func NewGetGroupInvitationRequestPublicV1ParamsWithTimeout(timeout time.Duration) *GetGroupInvitationRequestPublicV1Params

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

func (*GetGroupInvitationRequestPublicV1Params) SetContext

SetContext adds the context to the get group invitation request public v1 params

func (*GetGroupInvitationRequestPublicV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get group invitation request public v1 params

func (*GetGroupInvitationRequestPublicV1Params) SetLimit

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

SetLimit adds the limit to the get group invitation request public v1 params

func (*GetGroupInvitationRequestPublicV1Params) SetNamespace

func (o *GetGroupInvitationRequestPublicV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get group invitation request public v1 params

func (*GetGroupInvitationRequestPublicV1Params) SetOffset

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

SetOffset adds the offset to the get group invitation request public v1 params

func (*GetGroupInvitationRequestPublicV1Params) SetTimeout

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

SetTimeout adds the timeout to the get group invitation request public v1 params

func (*GetGroupInvitationRequestPublicV1Params) WithContext

WithContext adds the context to the get group invitation request public v1 params

func (*GetGroupInvitationRequestPublicV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get group invitation request public v1 params

func (*GetGroupInvitationRequestPublicV1Params) WithLimit

WithLimit adds the limit to the get group invitation request public v1 params

func (*GetGroupInvitationRequestPublicV1Params) WithNamespace

WithNamespace adds the namespace to the get group invitation request public v1 params

func (*GetGroupInvitationRequestPublicV1Params) WithOffset

WithOffset adds the offset to the get group invitation request public v1 params

func (*GetGroupInvitationRequestPublicV1Params) WithTimeout

WithTimeout adds the timeout to the get group invitation request public v1 params

func (*GetGroupInvitationRequestPublicV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGroupInvitationRequestPublicV1Reader

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

GetGroupInvitationRequestPublicV1Reader is a Reader for the GetGroupInvitationRequestPublicV1 structure.

func (*GetGroupInvitationRequestPublicV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGroupInvitationRequestPublicV1Unauthorized

type GetGroupInvitationRequestPublicV1Unauthorized struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetGroupInvitationRequestPublicV1Unauthorized 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 NewGetGroupInvitationRequestPublicV1Unauthorized

func NewGetGroupInvitationRequestPublicV1Unauthorized() *GetGroupInvitationRequestPublicV1Unauthorized

NewGetGroupInvitationRequestPublicV1Unauthorized creates a GetGroupInvitationRequestPublicV1Unauthorized with default headers values

func (*GetGroupInvitationRequestPublicV1Unauthorized) Error

func (*GetGroupInvitationRequestPublicV1Unauthorized) GetPayload

type GetGroupJoinRequestPublicV1BadRequest

type GetGroupJoinRequestPublicV1BadRequest struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetGroupJoinRequestPublicV1BadRequest 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 NewGetGroupJoinRequestPublicV1BadRequest

func NewGetGroupJoinRequestPublicV1BadRequest() *GetGroupJoinRequestPublicV1BadRequest

NewGetGroupJoinRequestPublicV1BadRequest creates a GetGroupJoinRequestPublicV1BadRequest with default headers values

func (*GetGroupJoinRequestPublicV1BadRequest) Error

func (*GetGroupJoinRequestPublicV1BadRequest) GetPayload

type GetGroupJoinRequestPublicV1Forbidden

type GetGroupJoinRequestPublicV1Forbidden struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetGroupJoinRequestPublicV1Forbidden 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>73036</td><td>insufficient member role permission</td></tr></table>

func NewGetGroupJoinRequestPublicV1Forbidden

func NewGetGroupJoinRequestPublicV1Forbidden() *GetGroupJoinRequestPublicV1Forbidden

NewGetGroupJoinRequestPublicV1Forbidden creates a GetGroupJoinRequestPublicV1Forbidden with default headers values

func (*GetGroupJoinRequestPublicV1Forbidden) Error

func (*GetGroupJoinRequestPublicV1Forbidden) GetPayload

type GetGroupJoinRequestPublicV1InternalServerError

type GetGroupJoinRequestPublicV1InternalServerError struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetGroupJoinRequestPublicV1InternalServerError handles this case with default header values.

Internal Server Error

func NewGetGroupJoinRequestPublicV1InternalServerError

func NewGetGroupJoinRequestPublicV1InternalServerError() *GetGroupJoinRequestPublicV1InternalServerError

NewGetGroupJoinRequestPublicV1InternalServerError creates a GetGroupJoinRequestPublicV1InternalServerError with default headers values

func (*GetGroupJoinRequestPublicV1InternalServerError) Error

func (*GetGroupJoinRequestPublicV1InternalServerError) GetPayload

type GetGroupJoinRequestPublicV1OK

type GetGroupJoinRequestPublicV1OK struct {
	Payload *groupclientmodels.ModelsGetMemberRequestsListResponseV1
}

GetGroupJoinRequestPublicV1OK handles this case with default header values.

OK

func NewGetGroupJoinRequestPublicV1OK

func NewGetGroupJoinRequestPublicV1OK() *GetGroupJoinRequestPublicV1OK

NewGetGroupJoinRequestPublicV1OK creates a GetGroupJoinRequestPublicV1OK with default headers values

func (*GetGroupJoinRequestPublicV1OK) Error

func (*GetGroupJoinRequestPublicV1OK) GetPayload

type GetGroupJoinRequestPublicV1Params

type GetGroupJoinRequestPublicV1Params struct {

	/*GroupID
	  Group ID

	*/
	GroupID string
	/*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
}

GetGroupJoinRequestPublicV1Params contains all the parameters to send to the API endpoint for the get group join request public v1 operation typically these are written to a http.Request

func NewGetGroupJoinRequestPublicV1Params

func NewGetGroupJoinRequestPublicV1Params() *GetGroupJoinRequestPublicV1Params

NewGetGroupJoinRequestPublicV1Params creates a new GetGroupJoinRequestPublicV1Params object with the default values initialized.

func NewGetGroupJoinRequestPublicV1ParamsWithContext

func NewGetGroupJoinRequestPublicV1ParamsWithContext(ctx context.Context) *GetGroupJoinRequestPublicV1Params

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

func NewGetGroupJoinRequestPublicV1ParamsWithHTTPClient

func NewGetGroupJoinRequestPublicV1ParamsWithHTTPClient(client *http.Client) *GetGroupJoinRequestPublicV1Params

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

func NewGetGroupJoinRequestPublicV1ParamsWithTimeout

func NewGetGroupJoinRequestPublicV1ParamsWithTimeout(timeout time.Duration) *GetGroupJoinRequestPublicV1Params

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

func (*GetGroupJoinRequestPublicV1Params) SetContext

SetContext adds the context to the get group join request public v1 params

func (*GetGroupJoinRequestPublicV1Params) SetGroupID

func (o *GetGroupJoinRequestPublicV1Params) SetGroupID(groupID string)

SetGroupID adds the groupId to the get group join request public v1 params

func (*GetGroupJoinRequestPublicV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get group join request public v1 params

func (*GetGroupJoinRequestPublicV1Params) SetLimit

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

SetLimit adds the limit to the get group join request public v1 params

func (*GetGroupJoinRequestPublicV1Params) SetNamespace

func (o *GetGroupJoinRequestPublicV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get group join request public v1 params

func (*GetGroupJoinRequestPublicV1Params) SetOffset

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

SetOffset adds the offset to the get group join request public v1 params

func (*GetGroupJoinRequestPublicV1Params) SetTimeout

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

SetTimeout adds the timeout to the get group join request public v1 params

func (*GetGroupJoinRequestPublicV1Params) WithContext

WithContext adds the context to the get group join request public v1 params

func (*GetGroupJoinRequestPublicV1Params) WithGroupID

WithGroupID adds the groupID to the get group join request public v1 params

func (*GetGroupJoinRequestPublicV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get group join request public v1 params

func (*GetGroupJoinRequestPublicV1Params) WithLimit

WithLimit adds the limit to the get group join request public v1 params

func (*GetGroupJoinRequestPublicV1Params) WithNamespace

WithNamespace adds the namespace to the get group join request public v1 params

func (*GetGroupJoinRequestPublicV1Params) WithOffset

WithOffset adds the offset to the get group join request public v1 params

func (*GetGroupJoinRequestPublicV1Params) WithTimeout

WithTimeout adds the timeout to the get group join request public v1 params

func (*GetGroupJoinRequestPublicV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGroupJoinRequestPublicV1Reader

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

GetGroupJoinRequestPublicV1Reader is a Reader for the GetGroupJoinRequestPublicV1 structure.

func (*GetGroupJoinRequestPublicV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGroupJoinRequestPublicV1Unauthorized

type GetGroupJoinRequestPublicV1Unauthorized struct {
	Payload *groupclientmodels.ResponseErrorResponse
}

GetGroupJoinRequestPublicV1Unauthorized 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 NewGetGroupJoinRequestPublicV1Unauthorized

func NewGetGroupJoinRequestPublicV1Unauthorized() *GetGroupJoinRequestPublicV1Unauthorized

NewGetGroupJoinRequestPublicV1Unauthorized creates a GetGroupJoinRequestPublicV1Unauthorized with default headers values

func (*GetGroupJoinRequestPublicV1Unauthorized) Error

func (*GetGroupJoinRequestPublicV1Unauthorized) GetPayload

Jump to

Keyboard shortcuts

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