user_action

package
v0.49.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BanUsersBadRequest

type BanUsersBadRequest struct {
	Payload *basicclientmodels.ErrorEntity
}

BanUsersBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11621</td><td>Invalid EQU8 api key in namespace [{namespace}]</td></tr></table>

func NewBanUsersBadRequest

func NewBanUsersBadRequest() *BanUsersBadRequest

NewBanUsersBadRequest creates a BanUsersBadRequest with default headers values

func (*BanUsersBadRequest) Error

func (o *BanUsersBadRequest) Error() string

func (*BanUsersBadRequest) GetPayload

func (*BanUsersBadRequest) ToJSONString added in v0.25.0

func (o *BanUsersBadRequest) ToJSONString() string

type BanUsersInternalServerError

type BanUsersInternalServerError struct {
	Payload *basicclientmodels.ErrorEntity
}

BanUsersInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewBanUsersInternalServerError

func NewBanUsersInternalServerError() *BanUsersInternalServerError

NewBanUsersInternalServerError creates a BanUsersInternalServerError with default headers values

func (*BanUsersInternalServerError) Error

func (*BanUsersInternalServerError) GetPayload

func (*BanUsersInternalServerError) ToJSONString added in v0.25.0

func (o *BanUsersInternalServerError) ToJSONString() string

type BanUsersNotFound

type BanUsersNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

BanUsersNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11041</td><td>Equ8 config not found in namespace [{namespace}]</td></tr></table>

func NewBanUsersNotFound

func NewBanUsersNotFound() *BanUsersNotFound

NewBanUsersNotFound creates a BanUsersNotFound with default headers values

func (*BanUsersNotFound) Error

func (o *BanUsersNotFound) Error() string

func (*BanUsersNotFound) GetPayload

func (*BanUsersNotFound) ToJSONString added in v0.25.0

func (o *BanUsersNotFound) ToJSONString() string

type BanUsersOK added in v0.22.0

type BanUsersOK struct {
}

BanUsersOK handles this case with default header values.

successful operation

func NewBanUsersOK added in v0.22.0

func NewBanUsersOK() *BanUsersOK

NewBanUsersOK creates a BanUsersOK with default headers values

func (*BanUsersOK) Error added in v0.22.0

func (o *BanUsersOK) Error() string

type BanUsersParams

type BanUsersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *basicclientmodels.UserBanRequest
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

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

BanUsersParams contains all the parameters to send to the API endpoint for the ban users operation typically these are written to a http.Request

func NewBanUsersParams

func NewBanUsersParams() *BanUsersParams

NewBanUsersParams creates a new BanUsersParams object with the default values initialized.

func NewBanUsersParamsWithContext

func NewBanUsersParamsWithContext(ctx context.Context) *BanUsersParams

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

func NewBanUsersParamsWithHTTPClient

func NewBanUsersParamsWithHTTPClient(client *http.Client) *BanUsersParams

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

func NewBanUsersParamsWithTimeout

func NewBanUsersParamsWithTimeout(timeout time.Duration) *BanUsersParams

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

func (*BanUsersParams) SetAuthInfoWriter added in v0.17.0

func (o *BanUsersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the ban users params

func (*BanUsersParams) SetBody

SetBody adds the body to the ban users params

func (*BanUsersParams) SetContext

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

SetContext adds the context to the ban users params

func (*BanUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ban users params

func (*BanUsersParams) SetHTTPClientTransport added in v0.19.0

func (o *BanUsersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the ban users params

func (*BanUsersParams) SetNamespace

func (o *BanUsersParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the ban users params

func (*BanUsersParams) SetTimeout

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

SetTimeout adds the timeout to the ban users params

func (*BanUsersParams) WithBody

WithBody adds the body to the ban users params

func (*BanUsersParams) WithContext

func (o *BanUsersParams) WithContext(ctx context.Context) *BanUsersParams

WithContext adds the context to the ban users params

func (*BanUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ban users params

func (*BanUsersParams) WithNamespace

func (o *BanUsersParams) WithNamespace(namespace string) *BanUsersParams

WithNamespace adds the namespace to the ban users params

func (*BanUsersParams) WithTimeout

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

WithTimeout adds the timeout to the ban users params

func (*BanUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type BanUsersReader

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

BanUsersReader is a Reader for the BanUsers structure.

func (*BanUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BanUsersUnprocessableEntity

type BanUsersUnprocessableEntity struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

BanUsersUnprocessableEntity 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 NewBanUsersUnprocessableEntity

func NewBanUsersUnprocessableEntity() *BanUsersUnprocessableEntity

NewBanUsersUnprocessableEntity creates a BanUsersUnprocessableEntity with default headers values

func (*BanUsersUnprocessableEntity) Error

func (*BanUsersUnprocessableEntity) GetPayload

func (*BanUsersUnprocessableEntity) ToJSONString added in v0.25.0

func (o *BanUsersUnprocessableEntity) ToJSONString() string

type Client

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

Client for user action API

func (*Client) BanUsers deprecated

Deprecated: 2022-08-10 - Use BanUsersShort instead.

BanUsers ban user(temporarily or permanently) Ban user. actionId: 1 means permanent ban, actionId: 10 means Temporary ban.Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:ACTION" , action=4 (UPDATE)

func (*Client) BanUsersShort added in v0.8.0

func (a *Client) BanUsersShort(params *BanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*BanUsersOK, error)

BanUsersShort ban user(temporarily or permanently) Ban user. actionId: 1 means permanent ban, actionId: 10 means Temporary ban.Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:ACTION" , action=4 (UPDATE)

func (*Client) GetActions deprecated

Deprecated: 2022-08-10 - Use GetActionsShort instead.

GetActions get configured actions Get configured actions. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:ACTION" , action=2 (READ)

func (*Client) GetActionsShort added in v0.8.0

func (a *Client) GetActionsShort(params *GetActionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActionsOK, error)

GetActionsShort get configured actions Get configured actions. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:ACTION" , action=2 (READ)

func (*Client) GetBannedUsers deprecated

Deprecated: 2022-08-10 - Use GetBannedUsersShort instead.

GetBannedUsers get banned user Get banned status. Unbanned users will not return, for example: request has 8 userIds, only 5 of then were banned, then the api will these 5 user status.Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:ACTION" , action=2 (READ)

func (*Client) GetBannedUsersShort added in v0.8.0

func (a *Client) GetBannedUsersShort(params *GetBannedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetBannedUsersOK, error)

GetBannedUsersShort get banned user Get banned status. Unbanned users will not return, for example: request has 8 userIds, only 5 of then were banned, then the api will these 5 user status.Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:ACTION" , action=2 (READ)

func (*Client) GetUserStatus deprecated

Deprecated: 2022-08-10 - Use GetUserStatusShort instead.

GetUserStatus get user status Get user status. If actionId does not exist, then the user is not banned.If actionId and expires exist, then the user is temporarily banned, if expires does not exist, then the user is permanently banned.Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:ACTION" , action=2 (READ)

func (*Client) GetUserStatusShort added in v0.8.0

func (a *Client) GetUserStatusShort(params *GetUserStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatusOK, error)

GetUserStatusShort get user status Get user status. If actionId does not exist, then the user is not banned.If actionId and expires exist, then the user is temporarily banned, if expires does not exist, then the user is permanently banned.Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:ACTION" , action=2 (READ)

func (*Client) PublicReportUser deprecated

Deprecated: 2022-08-10 - Use PublicReportUserShort instead.

PublicReportUser report a game user This API is used to report a game user.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ACTION", action=1 (CREATE)

func (*Client) PublicReportUserShort added in v0.8.0

func (a *Client) PublicReportUserShort(params *PublicReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*PublicReportUserCreated, error)

PublicReportUserShort report a game user This API is used to report a game user.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ACTION", action=1 (CREATE)

func (*Client) ReportUser deprecated

Deprecated: 2022-08-10 - Use ReportUserShort instead.

ReportUser report a game player(for game service) This API is for game service to report a game player.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ACTION", action=1 (CREATE)

func (*Client) ReportUserShort added in v0.8.0

func (a *Client) ReportUserShort(params *ReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*ReportUserCreated, error)

ReportUserShort report a game player(for game service) This API is for game service to report a game player.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ACTION", action=1 (CREATE)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UnBanUsers deprecated

Deprecated: 2022-08-10 - Use UnBanUsersShort instead.

UnBanUsers unban user Unban user. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:ACTION" , action=4 (UPDATE)

func (*Client) UnBanUsersShort added in v0.8.0

func (a *Client) UnBanUsersShort(params *UnBanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*UnBanUsersOK, error)

UnBanUsersShort unban user Unban user. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:ACTION" , action=4 (UPDATE)

type ClientService

type ClientService interface {
	GetActions(params *GetActionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActionsOK, *GetActionsBadRequest, *GetActionsNotFound, *GetActionsInternalServerError, error)
	GetActionsShort(params *GetActionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActionsOK, error)
	BanUsers(params *BanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*BanUsersOK, *BanUsersBadRequest, *BanUsersNotFound, *BanUsersUnprocessableEntity, *BanUsersInternalServerError, error)
	BanUsersShort(params *BanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*BanUsersOK, error)
	GetBannedUsers(params *GetBannedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetBannedUsersOK, *GetBannedUsersBadRequest, *GetBannedUsersNotFound, *GetBannedUsersUnprocessableEntity, *GetBannedUsersInternalServerError, error)
	GetBannedUsersShort(params *GetBannedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetBannedUsersOK, error)
	ReportUser(params *ReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*ReportUserCreated, *ReportUserUnprocessableEntity, error)
	ReportUserShort(params *ReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*ReportUserCreated, error)
	GetUserStatus(params *GetUserStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatusOK, *GetUserStatusBadRequest, *GetUserStatusNotFound, *GetUserStatusUnprocessableEntity, *GetUserStatusInternalServerError, error)
	GetUserStatusShort(params *GetUserStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatusOK, error)
	UnBanUsers(params *UnBanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*UnBanUsersOK, *UnBanUsersBadRequest, *UnBanUsersNotFound, *UnBanUsersUnprocessableEntity, *UnBanUsersInternalServerError, error)
	UnBanUsersShort(params *UnBanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*UnBanUsersOK, error)
	PublicReportUser(params *PublicReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*PublicReportUserCreated, *PublicReportUserBadRequest, *PublicReportUserUnprocessableEntity, error)
	PublicReportUserShort(params *PublicReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*PublicReportUserCreated, 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 user action API client.

type GetActionsBadRequest

type GetActionsBadRequest struct {
	Payload *basicclientmodels.ErrorEntity
}

GetActionsBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11621</td><td>Invalid EQU8 api key in namespace [{namespace}]</td></tr></table>

func NewGetActionsBadRequest

func NewGetActionsBadRequest() *GetActionsBadRequest

NewGetActionsBadRequest creates a GetActionsBadRequest with default headers values

func (*GetActionsBadRequest) Error

func (o *GetActionsBadRequest) Error() string

func (*GetActionsBadRequest) GetPayload

func (*GetActionsBadRequest) ToJSONString added in v0.25.0

func (o *GetActionsBadRequest) ToJSONString() string

type GetActionsInternalServerError

type GetActionsInternalServerError struct {
	Payload *basicclientmodels.ErrorEntity
}

GetActionsInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewGetActionsInternalServerError

func NewGetActionsInternalServerError() *GetActionsInternalServerError

NewGetActionsInternalServerError creates a GetActionsInternalServerError with default headers values

func (*GetActionsInternalServerError) Error

func (*GetActionsInternalServerError) GetPayload

func (*GetActionsInternalServerError) ToJSONString added in v0.25.0

func (o *GetActionsInternalServerError) ToJSONString() string

type GetActionsNotFound

type GetActionsNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

GetActionsNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11041</td><td>Equ8 config not found in namespace [{namespace}]</td></tr></table>

func NewGetActionsNotFound

func NewGetActionsNotFound() *GetActionsNotFound

NewGetActionsNotFound creates a GetActionsNotFound with default headers values

func (*GetActionsNotFound) Error

func (o *GetActionsNotFound) Error() string

func (*GetActionsNotFound) GetPayload

func (*GetActionsNotFound) ToJSONString added in v0.25.0

func (o *GetActionsNotFound) ToJSONString() string

type GetActionsOK

type GetActionsOK struct {
	Payload []*basicclientmodels.Action
}

GetActionsOK handles this case with default header values.

successful operation

func NewGetActionsOK

func NewGetActionsOK() *GetActionsOK

NewGetActionsOK creates a GetActionsOK with default headers values

func (*GetActionsOK) Error

func (o *GetActionsOK) Error() string

func (*GetActionsOK) GetPayload

func (o *GetActionsOK) GetPayload() []*basicclientmodels.Action

func (*GetActionsOK) ToJSONString added in v0.25.0

func (o *GetActionsOK) ToJSONString() string

type GetActionsParams

type GetActionsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

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

GetActionsParams contains all the parameters to send to the API endpoint for the get actions operation typically these are written to a http.Request

func NewGetActionsParams

func NewGetActionsParams() *GetActionsParams

NewGetActionsParams creates a new GetActionsParams object with the default values initialized.

func NewGetActionsParamsWithContext

func NewGetActionsParamsWithContext(ctx context.Context) *GetActionsParams

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

func NewGetActionsParamsWithHTTPClient

func NewGetActionsParamsWithHTTPClient(client *http.Client) *GetActionsParams

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

func NewGetActionsParamsWithTimeout

func NewGetActionsParamsWithTimeout(timeout time.Duration) *GetActionsParams

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

func (*GetActionsParams) SetAuthInfoWriter added in v0.17.0

func (o *GetActionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get actions params

func (*GetActionsParams) SetContext

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

SetContext adds the context to the get actions params

func (*GetActionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get actions params

func (*GetActionsParams) SetHTTPClientTransport added in v0.19.0

func (o *GetActionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get actions params

func (*GetActionsParams) SetNamespace

func (o *GetActionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get actions params

func (*GetActionsParams) SetTimeout

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

SetTimeout adds the timeout to the get actions params

func (*GetActionsParams) WithContext

func (o *GetActionsParams) WithContext(ctx context.Context) *GetActionsParams

WithContext adds the context to the get actions params

func (*GetActionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get actions params

func (*GetActionsParams) WithNamespace

func (o *GetActionsParams) WithNamespace(namespace string) *GetActionsParams

WithNamespace adds the namespace to the get actions params

func (*GetActionsParams) WithTimeout

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

WithTimeout adds the timeout to the get actions params

func (*GetActionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetActionsReader

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

GetActionsReader is a Reader for the GetActions structure.

func (*GetActionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBannedUsersBadRequest

type GetBannedUsersBadRequest struct {
	Payload *basicclientmodels.ErrorEntity
}

GetBannedUsersBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11621</td><td>Invalid EQU8 api key in namespace [{namespace}]</td></tr></table>

func NewGetBannedUsersBadRequest

func NewGetBannedUsersBadRequest() *GetBannedUsersBadRequest

NewGetBannedUsersBadRequest creates a GetBannedUsersBadRequest with default headers values

func (*GetBannedUsersBadRequest) Error

func (o *GetBannedUsersBadRequest) Error() string

func (*GetBannedUsersBadRequest) GetPayload

func (*GetBannedUsersBadRequest) ToJSONString added in v0.25.0

func (o *GetBannedUsersBadRequest) ToJSONString() string

type GetBannedUsersInternalServerError

type GetBannedUsersInternalServerError struct {
	Payload *basicclientmodels.ErrorEntity
}

GetBannedUsersInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewGetBannedUsersInternalServerError

func NewGetBannedUsersInternalServerError() *GetBannedUsersInternalServerError

NewGetBannedUsersInternalServerError creates a GetBannedUsersInternalServerError with default headers values

func (*GetBannedUsersInternalServerError) Error

func (*GetBannedUsersInternalServerError) GetPayload

func (*GetBannedUsersInternalServerError) ToJSONString added in v0.25.0

func (o *GetBannedUsersInternalServerError) ToJSONString() string

type GetBannedUsersNotFound

type GetBannedUsersNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

GetBannedUsersNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11641</td><td>Equ8 config not found in namespace [{namespace}]</td></tr></table>

func NewGetBannedUsersNotFound

func NewGetBannedUsersNotFound() *GetBannedUsersNotFound

NewGetBannedUsersNotFound creates a GetBannedUsersNotFound with default headers values

func (*GetBannedUsersNotFound) Error

func (o *GetBannedUsersNotFound) Error() string

func (*GetBannedUsersNotFound) GetPayload

func (*GetBannedUsersNotFound) ToJSONString added in v0.25.0

func (o *GetBannedUsersNotFound) ToJSONString() string

type GetBannedUsersOK

type GetBannedUsersOK struct {
	Payload []*basicclientmodels.ADTOObjectForEQU8UserBanStatus
}

GetBannedUsersOK handles this case with default header values.

successful operation

func NewGetBannedUsersOK

func NewGetBannedUsersOK() *GetBannedUsersOK

NewGetBannedUsersOK creates a GetBannedUsersOK with default headers values

func (*GetBannedUsersOK) Error

func (o *GetBannedUsersOK) Error() string

func (*GetBannedUsersOK) GetPayload

func (*GetBannedUsersOK) ToJSONString added in v0.25.0

func (o *GetBannedUsersOK) ToJSONString() string

type GetBannedUsersParams

type GetBannedUsersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserIds
	  user ids

	*/
	UserIds []string

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

GetBannedUsersParams contains all the parameters to send to the API endpoint for the get banned users operation typically these are written to a http.Request

func NewGetBannedUsersParams

func NewGetBannedUsersParams() *GetBannedUsersParams

NewGetBannedUsersParams creates a new GetBannedUsersParams object with the default values initialized.

func NewGetBannedUsersParamsWithContext

func NewGetBannedUsersParamsWithContext(ctx context.Context) *GetBannedUsersParams

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

func NewGetBannedUsersParamsWithHTTPClient

func NewGetBannedUsersParamsWithHTTPClient(client *http.Client) *GetBannedUsersParams

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

func NewGetBannedUsersParamsWithTimeout

func NewGetBannedUsersParamsWithTimeout(timeout time.Duration) *GetBannedUsersParams

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

func (*GetBannedUsersParams) SetAuthInfoWriter added in v0.17.0

func (o *GetBannedUsersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get banned users params

func (*GetBannedUsersParams) SetContext

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

SetContext adds the context to the get banned users params

func (*GetBannedUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get banned users params

func (*GetBannedUsersParams) SetHTTPClientTransport added in v0.19.0

func (o *GetBannedUsersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get banned users params

func (*GetBannedUsersParams) SetNamespace

func (o *GetBannedUsersParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get banned users params

func (*GetBannedUsersParams) SetTimeout

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

SetTimeout adds the timeout to the get banned users params

func (*GetBannedUsersParams) SetUserIds

func (o *GetBannedUsersParams) SetUserIds(userIds []string)

SetUserIds adds the userIds to the get banned users params

func (*GetBannedUsersParams) WithContext

WithContext adds the context to the get banned users params

func (*GetBannedUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get banned users params

func (*GetBannedUsersParams) WithNamespace

func (o *GetBannedUsersParams) WithNamespace(namespace string) *GetBannedUsersParams

WithNamespace adds the namespace to the get banned users params

func (*GetBannedUsersParams) WithTimeout

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

WithTimeout adds the timeout to the get banned users params

func (*GetBannedUsersParams) WithUserIds

func (o *GetBannedUsersParams) WithUserIds(userIds []string) *GetBannedUsersParams

WithUserIds adds the userIds to the get banned users params

func (*GetBannedUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBannedUsersReader

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

GetBannedUsersReader is a Reader for the GetBannedUsers structure.

func (*GetBannedUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBannedUsersUnprocessableEntity

type GetBannedUsersUnprocessableEntity struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

GetBannedUsersUnprocessableEntity 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 NewGetBannedUsersUnprocessableEntity

func NewGetBannedUsersUnprocessableEntity() *GetBannedUsersUnprocessableEntity

NewGetBannedUsersUnprocessableEntity creates a GetBannedUsersUnprocessableEntity with default headers values

func (*GetBannedUsersUnprocessableEntity) Error

func (*GetBannedUsersUnprocessableEntity) GetPayload

func (*GetBannedUsersUnprocessableEntity) ToJSONString added in v0.25.0

func (o *GetBannedUsersUnprocessableEntity) ToJSONString() string

type GetUserStatusBadRequest

type GetUserStatusBadRequest struct {
	Payload *basicclientmodels.ErrorEntity
}

GetUserStatusBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11621</td><td>Invalid EQU8 api key in namespace [{namespace}]</td></tr></table>

func NewGetUserStatusBadRequest

func NewGetUserStatusBadRequest() *GetUserStatusBadRequest

NewGetUserStatusBadRequest creates a GetUserStatusBadRequest with default headers values

func (*GetUserStatusBadRequest) Error

func (o *GetUserStatusBadRequest) Error() string

func (*GetUserStatusBadRequest) GetPayload

func (*GetUserStatusBadRequest) ToJSONString added in v0.25.0

func (o *GetUserStatusBadRequest) ToJSONString() string

type GetUserStatusInternalServerError

type GetUserStatusInternalServerError struct {
	Payload *basicclientmodels.ErrorEntity
}

GetUserStatusInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewGetUserStatusInternalServerError

func NewGetUserStatusInternalServerError() *GetUserStatusInternalServerError

NewGetUserStatusInternalServerError creates a GetUserStatusInternalServerError with default headers values

func (*GetUserStatusInternalServerError) Error

func (*GetUserStatusInternalServerError) GetPayload

func (*GetUserStatusInternalServerError) ToJSONString added in v0.25.0

func (o *GetUserStatusInternalServerError) ToJSONString() string

type GetUserStatusNotFound

type GetUserStatusNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

GetUserStatusNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11641</td><td>Equ8 config not found in namespace [{namespace}]</td></tr></table>

func NewGetUserStatusNotFound

func NewGetUserStatusNotFound() *GetUserStatusNotFound

NewGetUserStatusNotFound creates a GetUserStatusNotFound with default headers values

func (*GetUserStatusNotFound) Error

func (o *GetUserStatusNotFound) Error() string

func (*GetUserStatusNotFound) GetPayload

func (*GetUserStatusNotFound) ToJSONString added in v0.25.0

func (o *GetUserStatusNotFound) ToJSONString() string

type GetUserStatusOK

type GetUserStatusOK struct {
	Payload *basicclientmodels.ADTOObjectForEQU8UserStatus
}

GetUserStatusOK handles this case with default header values.

successful operation

func NewGetUserStatusOK

func NewGetUserStatusOK() *GetUserStatusOK

NewGetUserStatusOK creates a GetUserStatusOK with default headers values

func (*GetUserStatusOK) Error

func (o *GetUserStatusOK) Error() string

func (*GetUserStatusOK) GetPayload

func (*GetUserStatusOK) ToJSONString added in v0.25.0

func (o *GetUserStatusOK) ToJSONString() string

type GetUserStatusParams

type GetUserStatusParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

GetUserStatusParams contains all the parameters to send to the API endpoint for the get user status operation typically these are written to a http.Request

func NewGetUserStatusParams

func NewGetUserStatusParams() *GetUserStatusParams

NewGetUserStatusParams creates a new GetUserStatusParams object with the default values initialized.

func NewGetUserStatusParamsWithContext

func NewGetUserStatusParamsWithContext(ctx context.Context) *GetUserStatusParams

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

func NewGetUserStatusParamsWithHTTPClient

func NewGetUserStatusParamsWithHTTPClient(client *http.Client) *GetUserStatusParams

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

func NewGetUserStatusParamsWithTimeout

func NewGetUserStatusParamsWithTimeout(timeout time.Duration) *GetUserStatusParams

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

func (*GetUserStatusParams) SetAuthInfoWriter added in v0.17.0

func (o *GetUserStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get user status params

func (*GetUserStatusParams) SetContext

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

SetContext adds the context to the get user status params

func (*GetUserStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user status params

func (*GetUserStatusParams) SetHTTPClientTransport added in v0.19.0

func (o *GetUserStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get user status params

func (*GetUserStatusParams) SetNamespace

func (o *GetUserStatusParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user status params

func (*GetUserStatusParams) SetTimeout

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

SetTimeout adds the timeout to the get user status params

func (*GetUserStatusParams) SetUserID

func (o *GetUserStatusParams) SetUserID(userID string)

SetUserID adds the userId to the get user status params

func (*GetUserStatusParams) WithContext

WithContext adds the context to the get user status params

func (*GetUserStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user status params

func (*GetUserStatusParams) WithNamespace

func (o *GetUserStatusParams) WithNamespace(namespace string) *GetUserStatusParams

WithNamespace adds the namespace to the get user status params

func (*GetUserStatusParams) WithTimeout

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

WithTimeout adds the timeout to the get user status params

func (*GetUserStatusParams) WithUserID

func (o *GetUserStatusParams) WithUserID(userID string) *GetUserStatusParams

WithUserID adds the userID to the get user status params

func (*GetUserStatusParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserStatusReader

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

GetUserStatusReader is a Reader for the GetUserStatus structure.

func (*GetUserStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserStatusUnprocessableEntity

type GetUserStatusUnprocessableEntity struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

GetUserStatusUnprocessableEntity 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 NewGetUserStatusUnprocessableEntity

func NewGetUserStatusUnprocessableEntity() *GetUserStatusUnprocessableEntity

NewGetUserStatusUnprocessableEntity creates a GetUserStatusUnprocessableEntity with default headers values

func (*GetUserStatusUnprocessableEntity) Error

func (*GetUserStatusUnprocessableEntity) GetPayload

func (*GetUserStatusUnprocessableEntity) ToJSONString added in v0.25.0

func (o *GetUserStatusUnprocessableEntity) ToJSONString() string

type PublicReportUserBadRequest

type PublicReportUserBadRequest struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicReportUserBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20026</td><td>publisher namespace not allowed</td></tr></table>

func NewPublicReportUserBadRequest

func NewPublicReportUserBadRequest() *PublicReportUserBadRequest

NewPublicReportUserBadRequest creates a PublicReportUserBadRequest with default headers values

func (*PublicReportUserBadRequest) Error

func (*PublicReportUserBadRequest) GetPayload

func (*PublicReportUserBadRequest) ToJSONString added in v0.25.0

func (o *PublicReportUserBadRequest) ToJSONString() string

type PublicReportUserCreated added in v0.22.0

type PublicReportUserCreated struct {
}

PublicReportUserCreated handles this case with default header values.

successful operation

func NewPublicReportUserCreated added in v0.22.0

func NewPublicReportUserCreated() *PublicReportUserCreated

NewPublicReportUserCreated creates a PublicReportUserCreated with default headers values

func (*PublicReportUserCreated) Error added in v0.22.0

func (o *PublicReportUserCreated) Error() string

type PublicReportUserParams

type PublicReportUserParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *basicclientmodels.UserReportRequest
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  reporter user id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

PublicReportUserParams contains all the parameters to send to the API endpoint for the public report user operation typically these are written to a http.Request

func NewPublicReportUserParams

func NewPublicReportUserParams() *PublicReportUserParams

NewPublicReportUserParams creates a new PublicReportUserParams object with the default values initialized.

func NewPublicReportUserParamsWithContext

func NewPublicReportUserParamsWithContext(ctx context.Context) *PublicReportUserParams

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

func NewPublicReportUserParamsWithHTTPClient

func NewPublicReportUserParamsWithHTTPClient(client *http.Client) *PublicReportUserParams

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

func NewPublicReportUserParamsWithTimeout

func NewPublicReportUserParamsWithTimeout(timeout time.Duration) *PublicReportUserParams

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

func (*PublicReportUserParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicReportUserParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public report user params

func (*PublicReportUserParams) SetBody

SetBody adds the body to the public report user params

func (*PublicReportUserParams) SetContext

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

SetContext adds the context to the public report user params

func (*PublicReportUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public report user params

func (*PublicReportUserParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicReportUserParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public report user params

func (*PublicReportUserParams) SetNamespace

func (o *PublicReportUserParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public report user params

func (*PublicReportUserParams) SetTimeout

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

SetTimeout adds the timeout to the public report user params

func (*PublicReportUserParams) SetUserID

func (o *PublicReportUserParams) SetUserID(userID string)

SetUserID adds the userId to the public report user params

func (*PublicReportUserParams) WithBody

WithBody adds the body to the public report user params

func (*PublicReportUserParams) WithContext

WithContext adds the context to the public report user params

func (*PublicReportUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public report user params

func (*PublicReportUserParams) WithNamespace

func (o *PublicReportUserParams) WithNamespace(namespace string) *PublicReportUserParams

WithNamespace adds the namespace to the public report user params

func (*PublicReportUserParams) WithTimeout

WithTimeout adds the timeout to the public report user params

func (*PublicReportUserParams) WithUserID

func (o *PublicReportUserParams) WithUserID(userID string) *PublicReportUserParams

WithUserID adds the userID to the public report user params

func (*PublicReportUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicReportUserReader

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

PublicReportUserReader is a Reader for the PublicReportUser structure.

func (*PublicReportUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicReportUserUnprocessableEntity

type PublicReportUserUnprocessableEntity struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

PublicReportUserUnprocessableEntity 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 NewPublicReportUserUnprocessableEntity

func NewPublicReportUserUnprocessableEntity() *PublicReportUserUnprocessableEntity

NewPublicReportUserUnprocessableEntity creates a PublicReportUserUnprocessableEntity with default headers values

func (*PublicReportUserUnprocessableEntity) Error

func (*PublicReportUserUnprocessableEntity) GetPayload

func (*PublicReportUserUnprocessableEntity) ToJSONString added in v0.25.0

func (o *PublicReportUserUnprocessableEntity) ToJSONString() string

type ReportUserCreated added in v0.22.0

type ReportUserCreated struct {
}

ReportUserCreated handles this case with default header values.

successful operation

func NewReportUserCreated added in v0.22.0

func NewReportUserCreated() *ReportUserCreated

NewReportUserCreated creates a ReportUserCreated with default headers values

func (*ReportUserCreated) Error added in v0.22.0

func (o *ReportUserCreated) Error() string

type ReportUserParams

type ReportUserParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *basicclientmodels.UserReportRequest
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

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

ReportUserParams contains all the parameters to send to the API endpoint for the report user operation typically these are written to a http.Request

func NewReportUserParams

func NewReportUserParams() *ReportUserParams

NewReportUserParams creates a new ReportUserParams object with the default values initialized.

func NewReportUserParamsWithContext

func NewReportUserParamsWithContext(ctx context.Context) *ReportUserParams

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

func NewReportUserParamsWithHTTPClient

func NewReportUserParamsWithHTTPClient(client *http.Client) *ReportUserParams

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

func NewReportUserParamsWithTimeout

func NewReportUserParamsWithTimeout(timeout time.Duration) *ReportUserParams

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

func (*ReportUserParams) SetAuthInfoWriter added in v0.17.0

func (o *ReportUserParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the report user params

func (*ReportUserParams) SetBody

SetBody adds the body to the report user params

func (*ReportUserParams) SetContext

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

SetContext adds the context to the report user params

func (*ReportUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the report user params

func (*ReportUserParams) SetHTTPClientTransport added in v0.19.0

func (o *ReportUserParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the report user params

func (*ReportUserParams) SetNamespace

func (o *ReportUserParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the report user params

func (*ReportUserParams) SetTimeout

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

SetTimeout adds the timeout to the report user params

func (*ReportUserParams) WithBody

WithBody adds the body to the report user params

func (*ReportUserParams) WithContext

func (o *ReportUserParams) WithContext(ctx context.Context) *ReportUserParams

WithContext adds the context to the report user params

func (*ReportUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the report user params

func (*ReportUserParams) WithNamespace

func (o *ReportUserParams) WithNamespace(namespace string) *ReportUserParams

WithNamespace adds the namespace to the report user params

func (*ReportUserParams) WithTimeout

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

WithTimeout adds the timeout to the report user params

func (*ReportUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReportUserReader

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

ReportUserReader is a Reader for the ReportUser structure.

func (*ReportUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReportUserUnprocessableEntity

type ReportUserUnprocessableEntity struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

ReportUserUnprocessableEntity 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 NewReportUserUnprocessableEntity

func NewReportUserUnprocessableEntity() *ReportUserUnprocessableEntity

NewReportUserUnprocessableEntity creates a ReportUserUnprocessableEntity with default headers values

func (*ReportUserUnprocessableEntity) Error

func (*ReportUserUnprocessableEntity) GetPayload

func (*ReportUserUnprocessableEntity) ToJSONString added in v0.25.0

func (o *ReportUserUnprocessableEntity) ToJSONString() string

type UnBanUsersBadRequest

type UnBanUsersBadRequest struct {
	Payload *basicclientmodels.ErrorEntity
}

UnBanUsersBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11621</td><td>Invalid EQU8 api key in namespace [{namespace}]</td></tr></table>

func NewUnBanUsersBadRequest

func NewUnBanUsersBadRequest() *UnBanUsersBadRequest

NewUnBanUsersBadRequest creates a UnBanUsersBadRequest with default headers values

func (*UnBanUsersBadRequest) Error

func (o *UnBanUsersBadRequest) Error() string

func (*UnBanUsersBadRequest) GetPayload

func (*UnBanUsersBadRequest) ToJSONString added in v0.25.0

func (o *UnBanUsersBadRequest) ToJSONString() string

type UnBanUsersInternalServerError

type UnBanUsersInternalServerError struct {
	Payload *basicclientmodels.ErrorEntity
}

UnBanUsersInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewUnBanUsersInternalServerError

func NewUnBanUsersInternalServerError() *UnBanUsersInternalServerError

NewUnBanUsersInternalServerError creates a UnBanUsersInternalServerError with default headers values

func (*UnBanUsersInternalServerError) Error

func (*UnBanUsersInternalServerError) GetPayload

func (*UnBanUsersInternalServerError) ToJSONString added in v0.25.0

func (o *UnBanUsersInternalServerError) ToJSONString() string

type UnBanUsersNotFound

type UnBanUsersNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

UnBanUsersNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11041</td><td>Equ8 config not found in namespace [{namespace}]</td></tr></table>

func NewUnBanUsersNotFound

func NewUnBanUsersNotFound() *UnBanUsersNotFound

NewUnBanUsersNotFound creates a UnBanUsersNotFound with default headers values

func (*UnBanUsersNotFound) Error

func (o *UnBanUsersNotFound) Error() string

func (*UnBanUsersNotFound) GetPayload

func (*UnBanUsersNotFound) ToJSONString added in v0.25.0

func (o *UnBanUsersNotFound) ToJSONString() string

type UnBanUsersOK added in v0.22.0

type UnBanUsersOK struct {
}

UnBanUsersOK handles this case with default header values.

successful operation

func NewUnBanUsersOK added in v0.22.0

func NewUnBanUsersOK() *UnBanUsersOK

NewUnBanUsersOK creates a UnBanUsersOK with default headers values

func (*UnBanUsersOK) Error added in v0.22.0

func (o *UnBanUsersOK) Error() string

type UnBanUsersParams

type UnBanUsersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *basicclientmodels.ADTOForUnbanUserAPICall
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

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

UnBanUsersParams contains all the parameters to send to the API endpoint for the un ban users operation typically these are written to a http.Request

func NewUnBanUsersParams

func NewUnBanUsersParams() *UnBanUsersParams

NewUnBanUsersParams creates a new UnBanUsersParams object with the default values initialized.

func NewUnBanUsersParamsWithContext

func NewUnBanUsersParamsWithContext(ctx context.Context) *UnBanUsersParams

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

func NewUnBanUsersParamsWithHTTPClient

func NewUnBanUsersParamsWithHTTPClient(client *http.Client) *UnBanUsersParams

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

func NewUnBanUsersParamsWithTimeout

func NewUnBanUsersParamsWithTimeout(timeout time.Duration) *UnBanUsersParams

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

func (*UnBanUsersParams) SetAuthInfoWriter added in v0.17.0

func (o *UnBanUsersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the un ban users params

func (*UnBanUsersParams) SetBody

SetBody adds the body to the un ban users params

func (*UnBanUsersParams) SetContext

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

SetContext adds the context to the un ban users params

func (*UnBanUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the un ban users params

func (*UnBanUsersParams) SetHTTPClientTransport added in v0.19.0

func (o *UnBanUsersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the un ban users params

func (*UnBanUsersParams) SetNamespace

func (o *UnBanUsersParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the un ban users params

func (*UnBanUsersParams) SetTimeout

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

SetTimeout adds the timeout to the un ban users params

func (*UnBanUsersParams) WithBody

WithBody adds the body to the un ban users params

func (*UnBanUsersParams) WithContext

func (o *UnBanUsersParams) WithContext(ctx context.Context) *UnBanUsersParams

WithContext adds the context to the un ban users params

func (*UnBanUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the un ban users params

func (*UnBanUsersParams) WithNamespace

func (o *UnBanUsersParams) WithNamespace(namespace string) *UnBanUsersParams

WithNamespace adds the namespace to the un ban users params

func (*UnBanUsersParams) WithTimeout

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

WithTimeout adds the timeout to the un ban users params

func (*UnBanUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UnBanUsersReader

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

UnBanUsersReader is a Reader for the UnBanUsers structure.

func (*UnBanUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UnBanUsersUnprocessableEntity

type UnBanUsersUnprocessableEntity struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

UnBanUsersUnprocessableEntity 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 NewUnBanUsersUnprocessableEntity

func NewUnBanUsersUnprocessableEntity() *UnBanUsersUnprocessableEntity

NewUnBanUsersUnprocessableEntity creates a UnBanUsersUnprocessableEntity with default headers values

func (*UnBanUsersUnprocessableEntity) Error

func (*UnBanUsersUnprocessableEntity) GetPayload

func (*UnBanUsersUnprocessableEntity) ToJSONString added in v0.25.0

func (o *UnBanUsersUnprocessableEntity) ToJSONString() string

Jump to

Keyboard shortcuts

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