Documentation
¶
Index ¶
- type BanUsersBadRequest
- type BanUsersInternalServerError
- type BanUsersNoContent
- type BanUsersNotFound
- type BanUsersParams
- func (o *BanUsersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *BanUsersParams) SetBody(body *basicclientmodels.UserBanRequest)
- func (o *BanUsersParams) SetContext(ctx context.Context)
- func (o *BanUsersParams) SetHTTPClient(client *http.Client)
- func (o *BanUsersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *BanUsersParams) SetNamespace(namespace string)
- func (o *BanUsersParams) SetTimeout(timeout time.Duration)
- func (o *BanUsersParams) WithBody(body *basicclientmodels.UserBanRequest) *BanUsersParams
- func (o *BanUsersParams) WithContext(ctx context.Context) *BanUsersParams
- func (o *BanUsersParams) WithHTTPClient(client *http.Client) *BanUsersParams
- func (o *BanUsersParams) WithNamespace(namespace string) *BanUsersParams
- func (o *BanUsersParams) WithTimeout(timeout time.Duration) *BanUsersParams
- func (o *BanUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BanUsersReader
- type BanUsersUnprocessableEntity
- type Client
- func (a *Client) BanUsers(params *BanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*BanUsersNoContent, *BanUsersBadRequest, *BanUsersNotFound, ...)
- func (a *Client) BanUsersShort(params *BanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*BanUsersNoContent, error)
- func (a *Client) GetActions(params *GetActionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActionsOK, *GetActionsBadRequest, *GetActionsNotFound, ...)
- func (a *Client) GetActionsShort(params *GetActionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActionsOK, error)
- func (a *Client) GetBannedUsers(params *GetBannedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetBannedUsersOK, *GetBannedUsersBadRequest, *GetBannedUsersNotFound, ...)
- func (a *Client) GetBannedUsersShort(params *GetBannedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetBannedUsersOK, error)
- func (a *Client) GetUserStatus(params *GetUserStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatusOK, *GetUserStatusBadRequest, *GetUserStatusNotFound, ...)
- func (a *Client) GetUserStatusShort(params *GetUserStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatusOK, error)
- func (a *Client) PublicReportUser(params *PublicReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*PublicReportUserNoContent, *PublicReportUserBadRequest, ...)
- func (a *Client) PublicReportUserShort(params *PublicReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*PublicReportUserNoContent, error)
- func (a *Client) ReportUser(params *ReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*ReportUserNoContent, *ReportUserUnprocessableEntity, error)
- func (a *Client) ReportUserShort(params *ReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*ReportUserNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnBanUsers(params *UnBanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*UnBanUsersNoContent, *UnBanUsersBadRequest, *UnBanUsersNotFound, ...)
- func (a *Client) UnBanUsersShort(params *UnBanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*UnBanUsersNoContent, error)
- type ClientService
- type GetActionsBadRequest
- type GetActionsInternalServerError
- type GetActionsNotFound
- type GetActionsOK
- type GetActionsParams
- func (o *GetActionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetActionsParams) SetContext(ctx context.Context)
- func (o *GetActionsParams) SetHTTPClient(client *http.Client)
- func (o *GetActionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetActionsParams) SetNamespace(namespace string)
- func (o *GetActionsParams) SetTimeout(timeout time.Duration)
- func (o *GetActionsParams) WithContext(ctx context.Context) *GetActionsParams
- func (o *GetActionsParams) WithHTTPClient(client *http.Client) *GetActionsParams
- func (o *GetActionsParams) WithNamespace(namespace string) *GetActionsParams
- func (o *GetActionsParams) WithTimeout(timeout time.Duration) *GetActionsParams
- func (o *GetActionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetActionsReader
- type GetBannedUsersBadRequest
- type GetBannedUsersInternalServerError
- type GetBannedUsersNotFound
- type GetBannedUsersOK
- type GetBannedUsersParams
- func NewGetBannedUsersParams() *GetBannedUsersParams
- func NewGetBannedUsersParamsWithContext(ctx context.Context) *GetBannedUsersParams
- func NewGetBannedUsersParamsWithHTTPClient(client *http.Client) *GetBannedUsersParams
- func NewGetBannedUsersParamsWithTimeout(timeout time.Duration) *GetBannedUsersParams
- func (o *GetBannedUsersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetBannedUsersParams) SetContext(ctx context.Context)
- func (o *GetBannedUsersParams) SetHTTPClient(client *http.Client)
- func (o *GetBannedUsersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetBannedUsersParams) SetNamespace(namespace string)
- func (o *GetBannedUsersParams) SetTimeout(timeout time.Duration)
- func (o *GetBannedUsersParams) SetUserIds(userIds []string)
- func (o *GetBannedUsersParams) WithContext(ctx context.Context) *GetBannedUsersParams
- func (o *GetBannedUsersParams) WithHTTPClient(client *http.Client) *GetBannedUsersParams
- func (o *GetBannedUsersParams) WithNamespace(namespace string) *GetBannedUsersParams
- func (o *GetBannedUsersParams) WithTimeout(timeout time.Duration) *GetBannedUsersParams
- func (o *GetBannedUsersParams) WithUserIds(userIds []string) *GetBannedUsersParams
- func (o *GetBannedUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBannedUsersReader
- type GetBannedUsersUnprocessableEntity
- type GetUserStatusBadRequest
- type GetUserStatusInternalServerError
- type GetUserStatusNotFound
- type GetUserStatusOK
- type GetUserStatusParams
- func (o *GetUserStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserStatusParams) SetContext(ctx context.Context)
- func (o *GetUserStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetUserStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserStatusParams) SetNamespace(namespace string)
- func (o *GetUserStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetUserStatusParams) SetUserID(userID string)
- func (o *GetUserStatusParams) WithContext(ctx context.Context) *GetUserStatusParams
- func (o *GetUserStatusParams) WithHTTPClient(client *http.Client) *GetUserStatusParams
- func (o *GetUserStatusParams) WithNamespace(namespace string) *GetUserStatusParams
- func (o *GetUserStatusParams) WithTimeout(timeout time.Duration) *GetUserStatusParams
- func (o *GetUserStatusParams) WithUserID(userID string) *GetUserStatusParams
- func (o *GetUserStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserStatusReader
- type GetUserStatusUnprocessableEntity
- type PublicReportUserBadRequest
- type PublicReportUserNoContent
- type PublicReportUserParams
- func NewPublicReportUserParams() *PublicReportUserParams
- func NewPublicReportUserParamsWithContext(ctx context.Context) *PublicReportUserParams
- func NewPublicReportUserParamsWithHTTPClient(client *http.Client) *PublicReportUserParams
- func NewPublicReportUserParamsWithTimeout(timeout time.Duration) *PublicReportUserParams
- func (o *PublicReportUserParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicReportUserParams) SetBody(body *basicclientmodels.UserReportRequest)
- func (o *PublicReportUserParams) SetContext(ctx context.Context)
- func (o *PublicReportUserParams) SetHTTPClient(client *http.Client)
- func (o *PublicReportUserParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicReportUserParams) SetNamespace(namespace string)
- func (o *PublicReportUserParams) SetTimeout(timeout time.Duration)
- func (o *PublicReportUserParams) SetUserID(userID string)
- func (o *PublicReportUserParams) WithBody(body *basicclientmodels.UserReportRequest) *PublicReportUserParams
- func (o *PublicReportUserParams) WithContext(ctx context.Context) *PublicReportUserParams
- func (o *PublicReportUserParams) WithHTTPClient(client *http.Client) *PublicReportUserParams
- func (o *PublicReportUserParams) WithNamespace(namespace string) *PublicReportUserParams
- func (o *PublicReportUserParams) WithTimeout(timeout time.Duration) *PublicReportUserParams
- func (o *PublicReportUserParams) WithUserID(userID string) *PublicReportUserParams
- func (o *PublicReportUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicReportUserReader
- type PublicReportUserUnprocessableEntity
- type ReportUserNoContent
- type ReportUserParams
- func (o *ReportUserParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ReportUserParams) SetBody(body *basicclientmodels.UserReportRequest)
- func (o *ReportUserParams) SetContext(ctx context.Context)
- func (o *ReportUserParams) SetHTTPClient(client *http.Client)
- func (o *ReportUserParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ReportUserParams) SetNamespace(namespace string)
- func (o *ReportUserParams) SetTimeout(timeout time.Duration)
- func (o *ReportUserParams) WithBody(body *basicclientmodels.UserReportRequest) *ReportUserParams
- func (o *ReportUserParams) WithContext(ctx context.Context) *ReportUserParams
- func (o *ReportUserParams) WithHTTPClient(client *http.Client) *ReportUserParams
- func (o *ReportUserParams) WithNamespace(namespace string) *ReportUserParams
- func (o *ReportUserParams) WithTimeout(timeout time.Duration) *ReportUserParams
- func (o *ReportUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReportUserReader
- type ReportUserUnprocessableEntity
- type UnBanUsersBadRequest
- type UnBanUsersInternalServerError
- type UnBanUsersNoContent
- type UnBanUsersNotFound
- type UnBanUsersParams
- func (o *UnBanUsersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UnBanUsersParams) SetBody(body *basicclientmodels.ADTOForUnbanUserAPICall)
- func (o *UnBanUsersParams) SetContext(ctx context.Context)
- func (o *UnBanUsersParams) SetHTTPClient(client *http.Client)
- func (o *UnBanUsersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UnBanUsersParams) SetNamespace(namespace string)
- func (o *UnBanUsersParams) SetTimeout(timeout time.Duration)
- func (o *UnBanUsersParams) WithBody(body *basicclientmodels.ADTOForUnbanUserAPICall) *UnBanUsersParams
- func (o *UnBanUsersParams) WithContext(ctx context.Context) *UnBanUsersParams
- func (o *UnBanUsersParams) WithHTTPClient(client *http.Client) *UnBanUsersParams
- func (o *UnBanUsersParams) WithNamespace(namespace string) *UnBanUsersParams
- func (o *UnBanUsersParams) WithTimeout(timeout time.Duration) *UnBanUsersParams
- func (o *UnBanUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnBanUsersReader
- type UnBanUsersUnprocessableEntity
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 (o *BanUsersBadRequest) GetPayload() *basicclientmodels.ErrorEntity
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 (o *BanUsersInternalServerError) Error() string
func (*BanUsersInternalServerError) GetPayload ¶
func (o *BanUsersInternalServerError) GetPayload() *basicclientmodels.ErrorEntity
type BanUsersNoContent ¶ added in v0.16.0
type BanUsersNoContent struct { }
BanUsersNoContent handles this case with default header values.
no content
func NewBanUsersNoContent ¶ added in v0.16.0
func NewBanUsersNoContent() *BanUsersNoContent
NewBanUsersNoContent creates a BanUsersNoContent with default headers values
func (*BanUsersNoContent) Error ¶ added in v0.16.0
func (o *BanUsersNoContent) Error() 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 (o *BanUsersNotFound) GetPayload() *basicclientmodels.ErrorEntity
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 ¶
func (o *BanUsersParams) SetBody(body *basicclientmodels.UserBanRequest)
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 ¶
func (o *BanUsersParams) WithBody(body *basicclientmodels.UserBanRequest) *BanUsersParams
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 (o *BanUsersUnprocessableEntity) Error() string
func (*BanUsersUnprocessableEntity) GetPayload ¶
func (o *BanUsersUnprocessableEntity) GetPayload() *basicclientmodels.ValidationErrorEntity
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for user action API
func (*Client) BanUsers ¶
func (a *Client) BanUsers(params *BanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*BanUsersNoContent, *BanUsersBadRequest, *BanUsersNotFound, *BanUsersUnprocessableEntity, *BanUsersInternalServerError, error)
BanUsers bans user temporarily or permanently
Ban user.<br> actionId: 1 means permanent ban, actionId: 10 means Temporary ban.Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:ACTION"</b>, action=4 <b>(UPDATE)</b></li></ul>
func (*Client) BanUsersShort ¶ added in v0.8.0
func (a *Client) BanUsersShort(params *BanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*BanUsersNoContent, error)
func (*Client) GetActions ¶
func (a *Client) GetActions(params *GetActionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActionsOK, *GetActionsBadRequest, *GetActionsNotFound, *GetActionsInternalServerError, error)
GetActions gets configured actions
Get configured actions.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:ACTION"</b>, action=2 <b>(READ)</b></li></ul>
func (*Client) GetActionsShort ¶ added in v0.8.0
func (a *Client) GetActionsShort(params *GetActionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActionsOK, error)
func (*Client) GetBannedUsers ¶
func (a *Client) GetBannedUsers(params *GetBannedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetBannedUsersOK, *GetBannedUsersBadRequest, *GetBannedUsersNotFound, *GetBannedUsersUnprocessableEntity, *GetBannedUsersInternalServerError, error)
GetBannedUsers gets banned user
Get banned status.<br>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: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:ACTION"</b>, action=2 <b>(READ)</b></li></ul>
func (*Client) GetBannedUsersShort ¶ added in v0.8.0
func (a *Client) GetBannedUsersShort(params *GetBannedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetBannedUsersOK, error)
func (*Client) GetUserStatus ¶
func (a *Client) GetUserStatus(params *GetUserStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatusOK, *GetUserStatusBadRequest, *GetUserStatusNotFound, *GetUserStatusUnprocessableEntity, *GetUserStatusInternalServerError, error)
GetUserStatus gets user status
Get user status.<br>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: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:ACTION"</b>, action=2 <b>(READ)</b></li></ul>
func (*Client) GetUserStatusShort ¶ added in v0.8.0
func (a *Client) GetUserStatusShort(params *GetUserStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatusOK, error)
func (*Client) PublicReportUser ¶
func (a *Client) PublicReportUser(params *PublicReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*PublicReportUserNoContent, *PublicReportUserBadRequest, *PublicReportUserUnprocessableEntity, error)
PublicReportUser reports a game user
This API is used to report a game user.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ACTION", action=1 (CREATE)</li></ul>
func (*Client) PublicReportUserShort ¶ added in v0.8.0
func (a *Client) PublicReportUserShort(params *PublicReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*PublicReportUserNoContent, error)
func (*Client) ReportUser ¶
func (a *Client) ReportUser(params *ReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*ReportUserNoContent, *ReportUserUnprocessableEntity, error)
ReportUser reports a game player for game service
This API is for game service to report a game player.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:ACTION", action=1 (CREATE)</li></ul>
func (*Client) ReportUserShort ¶ added in v0.8.0
func (a *Client) ReportUserShort(params *ReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*ReportUserNoContent, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UnBanUsers ¶
func (a *Client) UnBanUsers(params *UnBanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*UnBanUsersNoContent, *UnBanUsersBadRequest, *UnBanUsersNotFound, *UnBanUsersUnprocessableEntity, *UnBanUsersInternalServerError, error)
UnBanUsers unbans user
Unban user.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:ACTION"</b>, action=4 <b>(UPDATE)</b></li></ul>
func (*Client) UnBanUsersShort ¶ added in v0.8.0
func (a *Client) UnBanUsersShort(params *UnBanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*UnBanUsersNoContent, error)
type ClientService ¶
type ClientService interface { BanUsers(params *BanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*BanUsersNoContent, *BanUsersBadRequest, *BanUsersNotFound, *BanUsersUnprocessableEntity, *BanUsersInternalServerError, error) BanUsersShort(params *BanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*BanUsersNoContent, error) GetActions(params *GetActionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActionsOK, *GetActionsBadRequest, *GetActionsNotFound, *GetActionsInternalServerError, error) GetActionsShort(params *GetActionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActionsOK, error) GetBannedUsers(params *GetBannedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetBannedUsersOK, *GetBannedUsersBadRequest, *GetBannedUsersNotFound, *GetBannedUsersUnprocessableEntity, *GetBannedUsersInternalServerError, error) GetBannedUsersShort(params *GetBannedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetBannedUsersOK, error) GetUserStatus(params *GetUserStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatusOK, *GetUserStatusBadRequest, *GetUserStatusNotFound, *GetUserStatusUnprocessableEntity, *GetUserStatusInternalServerError, error) GetUserStatusShort(params *GetUserStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStatusOK, error) PublicReportUser(params *PublicReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*PublicReportUserNoContent, *PublicReportUserBadRequest, *PublicReportUserUnprocessableEntity, error) PublicReportUserShort(params *PublicReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*PublicReportUserNoContent, error) ReportUser(params *ReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*ReportUserNoContent, *ReportUserUnprocessableEntity, error) ReportUserShort(params *ReportUserParams, authInfo runtime.ClientAuthInfoWriter) (*ReportUserNoContent, error) UnBanUsers(params *UnBanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*UnBanUsersNoContent, *UnBanUsersBadRequest, *UnBanUsersNotFound, *UnBanUsersUnprocessableEntity, *UnBanUsersInternalServerError, error) UnBanUsersShort(params *UnBanUsersParams, authInfo runtime.ClientAuthInfoWriter) (*UnBanUsersNoContent, 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 (o *GetActionsBadRequest) GetPayload() *basicclientmodels.ErrorEntity
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 (o *GetActionsInternalServerError) Error() string
func (*GetActionsInternalServerError) GetPayload ¶
func (o *GetActionsInternalServerError) GetPayload() *basicclientmodels.ErrorEntity
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 (o *GetActionsNotFound) GetPayload() *basicclientmodels.ErrorEntity
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
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 (o *GetBannedUsersBadRequest) GetPayload() *basicclientmodels.ErrorEntity
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 (o *GetBannedUsersInternalServerError) Error() string
func (*GetBannedUsersInternalServerError) GetPayload ¶
func (o *GetBannedUsersInternalServerError) GetPayload() *basicclientmodels.ErrorEntity
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 (o *GetBannedUsersNotFound) GetPayload() *basicclientmodels.ErrorEntity
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 (o *GetBannedUsersOK) GetPayload() []*basicclientmodels.ADTOObjectForEqu8UserBanStatus
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 ¶
func (o *GetBannedUsersParams) WithContext(ctx context.Context) *GetBannedUsersParams
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 (o *GetBannedUsersUnprocessableEntity) Error() string
func (*GetBannedUsersUnprocessableEntity) GetPayload ¶
func (o *GetBannedUsersUnprocessableEntity) GetPayload() *basicclientmodels.ValidationErrorEntity
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 (o *GetUserStatusBadRequest) GetPayload() *basicclientmodels.ErrorEntity
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 (o *GetUserStatusInternalServerError) Error() string
func (*GetUserStatusInternalServerError) GetPayload ¶
func (o *GetUserStatusInternalServerError) GetPayload() *basicclientmodels.ErrorEntity
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 (o *GetUserStatusNotFound) GetPayload() *basicclientmodels.ErrorEntity
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 (o *GetUserStatusOK) GetPayload() *basicclientmodels.ADTOObjectForEqu8UserStatus
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 ¶
func (o *GetUserStatusParams) WithContext(ctx context.Context) *GetUserStatusParams
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 (o *GetUserStatusUnprocessableEntity) Error() string
func (*GetUserStatusUnprocessableEntity) GetPayload ¶
func (o *GetUserStatusUnprocessableEntity) GetPayload() *basicclientmodels.ValidationErrorEntity
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 (o *PublicReportUserBadRequest) Error() string
func (*PublicReportUserBadRequest) GetPayload ¶
func (o *PublicReportUserBadRequest) GetPayload() *basicclientmodels.ErrorEntity
type PublicReportUserNoContent ¶ added in v0.16.0
type PublicReportUserNoContent struct { }
PublicReportUserNoContent handles this case with default header values.
no content
func NewPublicReportUserNoContent ¶ added in v0.16.0
func NewPublicReportUserNoContent() *PublicReportUserNoContent
NewPublicReportUserNoContent creates a PublicReportUserNoContent with default headers values
func (*PublicReportUserNoContent) Error ¶ added in v0.16.0
func (o *PublicReportUserNoContent) 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 ¶
func (o *PublicReportUserParams) SetBody(body *basicclientmodels.UserReportRequest)
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 ¶
func (o *PublicReportUserParams) WithBody(body *basicclientmodels.UserReportRequest) *PublicReportUserParams
WithBody adds the body to the public report user params
func (*PublicReportUserParams) WithContext ¶
func (o *PublicReportUserParams) WithContext(ctx context.Context) *PublicReportUserParams
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 ¶
func (o *PublicReportUserParams) WithTimeout(timeout time.Duration) *PublicReportUserParams
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 ¶
func (o *PublicReportUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicReportUserUnprocessableEntity) Error() string
func (*PublicReportUserUnprocessableEntity) GetPayload ¶
func (o *PublicReportUserUnprocessableEntity) GetPayload() *basicclientmodels.ValidationErrorEntity
type ReportUserNoContent ¶ added in v0.16.0
type ReportUserNoContent struct { }
ReportUserNoContent handles this case with default header values.
no content
func NewReportUserNoContent ¶ added in v0.16.0
func NewReportUserNoContent() *ReportUserNoContent
NewReportUserNoContent creates a ReportUserNoContent with default headers values
func (*ReportUserNoContent) Error ¶ added in v0.16.0
func (o *ReportUserNoContent) 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 ¶
func (o *ReportUserParams) SetBody(body *basicclientmodels.UserReportRequest)
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 ¶
func (o *ReportUserParams) WithBody(body *basicclientmodels.UserReportRequest) *ReportUserParams
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 (o *ReportUserUnprocessableEntity) Error() string
func (*ReportUserUnprocessableEntity) GetPayload ¶
func (o *ReportUserUnprocessableEntity) GetPayload() *basicclientmodels.ValidationErrorEntity
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 (o *UnBanUsersBadRequest) GetPayload() *basicclientmodels.ErrorEntity
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 (o *UnBanUsersInternalServerError) Error() string
func (*UnBanUsersInternalServerError) GetPayload ¶
func (o *UnBanUsersInternalServerError) GetPayload() *basicclientmodels.ErrorEntity
type UnBanUsersNoContent ¶ added in v0.16.0
type UnBanUsersNoContent struct { }
UnBanUsersNoContent handles this case with default header values.
no content
func NewUnBanUsersNoContent ¶ added in v0.16.0
func NewUnBanUsersNoContent() *UnBanUsersNoContent
NewUnBanUsersNoContent creates a UnBanUsersNoContent with default headers values
func (*UnBanUsersNoContent) Error ¶ added in v0.16.0
func (o *UnBanUsersNoContent) Error() 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 (o *UnBanUsersNotFound) GetPayload() *basicclientmodels.ErrorEntity
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 ¶
func (o *UnBanUsersParams) SetBody(body *basicclientmodels.ADTOForUnbanUserAPICall)
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 ¶
func (o *UnBanUsersParams) WithBody(body *basicclientmodels.ADTOForUnbanUserAPICall) *UnBanUsersParams
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 (o *UnBanUsersUnprocessableEntity) Error() string
func (*UnBanUsersUnprocessableEntity) GetPayload ¶
func (o *UnBanUsersUnprocessableEntity) GetPayload() *basicclientmodels.ValidationErrorEntity
Source Files
¶
- ban_users_parameters.go
- ban_users_responses.go
- get_actions_parameters.go
- get_actions_responses.go
- get_banned_users_parameters.go
- get_banned_users_responses.go
- get_user_status_parameters.go
- get_user_status_responses.go
- public_report_user_parameters.go
- public_report_user_responses.go
- report_user_parameters.go
- report_user_responses.go
- un_ban_users_parameters.go
- un_ban_users_responses.go
- user_action_client.go