Documentation ¶
Index ¶
- type AdminAnonymizeUserAchievementInternalServerError
- type AdminAnonymizeUserAchievementNoContent
- type AdminAnonymizeUserAchievementParams
- func NewAdminAnonymizeUserAchievementParams() *AdminAnonymizeUserAchievementParams
- func NewAdminAnonymizeUserAchievementParamsWithContext(ctx context.Context) *AdminAnonymizeUserAchievementParams
- func NewAdminAnonymizeUserAchievementParamsWithHTTPClient(client *http.Client) *AdminAnonymizeUserAchievementParams
- func NewAdminAnonymizeUserAchievementParamsWithTimeout(timeout time.Duration) *AdminAnonymizeUserAchievementParams
- func (o *AdminAnonymizeUserAchievementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminAnonymizeUserAchievementParams) SetContext(ctx context.Context)
- func (o *AdminAnonymizeUserAchievementParams) SetHTTPClient(client *http.Client)
- func (o *AdminAnonymizeUserAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminAnonymizeUserAchievementParams) SetNamespace(namespace string)
- func (o *AdminAnonymizeUserAchievementParams) SetTimeout(timeout time.Duration)
- func (o *AdminAnonymizeUserAchievementParams) SetUserID(userID string)
- func (o *AdminAnonymizeUserAchievementParams) WithContext(ctx context.Context) *AdminAnonymizeUserAchievementParams
- func (o *AdminAnonymizeUserAchievementParams) WithHTTPClient(client *http.Client) *AdminAnonymizeUserAchievementParams
- func (o *AdminAnonymizeUserAchievementParams) WithNamespace(namespace string) *AdminAnonymizeUserAchievementParams
- func (o *AdminAnonymizeUserAchievementParams) WithTimeout(timeout time.Duration) *AdminAnonymizeUserAchievementParams
- func (o *AdminAnonymizeUserAchievementParams) WithUserID(userID string) *AdminAnonymizeUserAchievementParams
- func (o *AdminAnonymizeUserAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminAnonymizeUserAchievementReader
- type AdminAnonymizeUserAchievementUnauthorized
- type Client
- func (a *Client) AdminAnonymizeUserAchievement(params *AdminAnonymizeUserAchievementParams, ...) (*AdminAnonymizeUserAchievementNoContent, ...)deprecated
- func (a *Client) AdminAnonymizeUserAchievementShort(params *AdminAnonymizeUserAchievementParams, ...) (*AdminAnonymizeUserAchievementNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminAnonymizeUserAchievementInternalServerError ¶
type AdminAnonymizeUserAchievementInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
AdminAnonymizeUserAchievementInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminAnonymizeUserAchievementInternalServerError ¶
func NewAdminAnonymizeUserAchievementInternalServerError() *AdminAnonymizeUserAchievementInternalServerError
NewAdminAnonymizeUserAchievementInternalServerError creates a AdminAnonymizeUserAchievementInternalServerError with default headers values
func (*AdminAnonymizeUserAchievementInternalServerError) Error ¶
func (o *AdminAnonymizeUserAchievementInternalServerError) Error() string
func (*AdminAnonymizeUserAchievementInternalServerError) GetPayload ¶
func (o *AdminAnonymizeUserAchievementInternalServerError) GetPayload() *achievementclientmodels.ResponseError
func (*AdminAnonymizeUserAchievementInternalServerError) ToJSONString ¶
func (o *AdminAnonymizeUserAchievementInternalServerError) ToJSONString() string
type AdminAnonymizeUserAchievementNoContent ¶
type AdminAnonymizeUserAchievementNoContent struct { }
AdminAnonymizeUserAchievementNoContent handles this case with default header values.
No Content
func NewAdminAnonymizeUserAchievementNoContent ¶
func NewAdminAnonymizeUserAchievementNoContent() *AdminAnonymizeUserAchievementNoContent
NewAdminAnonymizeUserAchievementNoContent creates a AdminAnonymizeUserAchievementNoContent with default headers values
func (*AdminAnonymizeUserAchievementNoContent) Error ¶
func (o *AdminAnonymizeUserAchievementNoContent) Error() string
type AdminAnonymizeUserAchievementParams ¶
type AdminAnonymizeUserAchievementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*UserID user id */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminAnonymizeUserAchievementParams contains all the parameters to send to the API endpoint for the admin anonymize user achievement operation typically these are written to a http.Request
func NewAdminAnonymizeUserAchievementParams ¶
func NewAdminAnonymizeUserAchievementParams() *AdminAnonymizeUserAchievementParams
NewAdminAnonymizeUserAchievementParams creates a new AdminAnonymizeUserAchievementParams object with the default values initialized.
func NewAdminAnonymizeUserAchievementParamsWithContext ¶
func NewAdminAnonymizeUserAchievementParamsWithContext(ctx context.Context) *AdminAnonymizeUserAchievementParams
NewAdminAnonymizeUserAchievementParamsWithContext creates a new AdminAnonymizeUserAchievementParams object with the default values initialized, and the ability to set a context for a request
func NewAdminAnonymizeUserAchievementParamsWithHTTPClient ¶
func NewAdminAnonymizeUserAchievementParamsWithHTTPClient(client *http.Client) *AdminAnonymizeUserAchievementParams
NewAdminAnonymizeUserAchievementParamsWithHTTPClient creates a new AdminAnonymizeUserAchievementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminAnonymizeUserAchievementParamsWithTimeout ¶
func NewAdminAnonymizeUserAchievementParamsWithTimeout(timeout time.Duration) *AdminAnonymizeUserAchievementParams
NewAdminAnonymizeUserAchievementParamsWithTimeout creates a new AdminAnonymizeUserAchievementParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminAnonymizeUserAchievementParams) SetAuthInfoWriter ¶
func (o *AdminAnonymizeUserAchievementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin anonymize user achievement params
func (*AdminAnonymizeUserAchievementParams) SetContext ¶
func (o *AdminAnonymizeUserAchievementParams) SetContext(ctx context.Context)
SetContext adds the context to the admin anonymize user achievement params
func (*AdminAnonymizeUserAchievementParams) SetHTTPClient ¶
func (o *AdminAnonymizeUserAchievementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin anonymize user achievement params
func (*AdminAnonymizeUserAchievementParams) SetHTTPClientTransport ¶
func (o *AdminAnonymizeUserAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin anonymize user achievement params
func (*AdminAnonymizeUserAchievementParams) SetNamespace ¶
func (o *AdminAnonymizeUserAchievementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin anonymize user achievement params
func (*AdminAnonymizeUserAchievementParams) SetTimeout ¶
func (o *AdminAnonymizeUserAchievementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin anonymize user achievement params
func (*AdminAnonymizeUserAchievementParams) SetUserID ¶
func (o *AdminAnonymizeUserAchievementParams) SetUserID(userID string)
SetUserID adds the userId to the admin anonymize user achievement params
func (*AdminAnonymizeUserAchievementParams) WithContext ¶
func (o *AdminAnonymizeUserAchievementParams) WithContext(ctx context.Context) *AdminAnonymizeUserAchievementParams
WithContext adds the context to the admin anonymize user achievement params
func (*AdminAnonymizeUserAchievementParams) WithHTTPClient ¶
func (o *AdminAnonymizeUserAchievementParams) WithHTTPClient(client *http.Client) *AdminAnonymizeUserAchievementParams
WithHTTPClient adds the HTTPClient to the admin anonymize user achievement params
func (*AdminAnonymizeUserAchievementParams) WithNamespace ¶
func (o *AdminAnonymizeUserAchievementParams) WithNamespace(namespace string) *AdminAnonymizeUserAchievementParams
WithNamespace adds the namespace to the admin anonymize user achievement params
func (*AdminAnonymizeUserAchievementParams) WithTimeout ¶
func (o *AdminAnonymizeUserAchievementParams) WithTimeout(timeout time.Duration) *AdminAnonymizeUserAchievementParams
WithTimeout adds the timeout to the admin anonymize user achievement params
func (*AdminAnonymizeUserAchievementParams) WithUserID ¶
func (o *AdminAnonymizeUserAchievementParams) WithUserID(userID string) *AdminAnonymizeUserAchievementParams
WithUserID adds the userID to the admin anonymize user achievement params
func (*AdminAnonymizeUserAchievementParams) WriteToRequest ¶
func (o *AdminAnonymizeUserAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminAnonymizeUserAchievementReader ¶
type AdminAnonymizeUserAchievementReader struct {
// contains filtered or unexported fields
}
AdminAnonymizeUserAchievementReader is a Reader for the AdminAnonymizeUserAchievement structure.
func (*AdminAnonymizeUserAchievementReader) ReadResponse ¶
func (o *AdminAnonymizeUserAchievementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminAnonymizeUserAchievementUnauthorized ¶
type AdminAnonymizeUserAchievementUnauthorized struct {
}AdminAnonymizeUserAchievementUnauthorized handles this case with default header values.
Unauthorized
func NewAdminAnonymizeUserAchievementUnauthorized ¶
func NewAdminAnonymizeUserAchievementUnauthorized() *AdminAnonymizeUserAchievementUnauthorized
NewAdminAnonymizeUserAchievementUnauthorized creates a AdminAnonymizeUserAchievementUnauthorized with default headers values
func (*AdminAnonymizeUserAchievementUnauthorized) Error ¶
func (o *AdminAnonymizeUserAchievementUnauthorized) Error() string
func (*AdminAnonymizeUserAchievementUnauthorized) GetPayload ¶
func (o *AdminAnonymizeUserAchievementUnauthorized) GetPayload() *achievementclientmodels.ResponseError
func (*AdminAnonymizeUserAchievementUnauthorized) ToJSONString ¶
func (o *AdminAnonymizeUserAchievementUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for anonymization API
func (*Client) AdminAnonymizeUserAchievement
deprecated
func (a *Client) AdminAnonymizeUserAchievement(params *AdminAnonymizeUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAnonymizeUserAchievementNoContent, *AdminAnonymizeUserAchievementUnauthorized, *AdminAnonymizeUserAchievementInternalServerError, error)
Deprecated: Use AdminAnonymizeUserAchievementShort instead.
AdminAnonymizeUserAchievement anonymizes user s achievement <p>This API will delete specified user achievement<p> <p>Required permission <code>ADMIN:NAMESPACE:{namespace}:USER:{userId}:ANONYMIZATION [DELETE]</code> </p>
func (*Client) AdminAnonymizeUserAchievementShort ¶
func (a *Client) AdminAnonymizeUserAchievementShort(params *AdminAnonymizeUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAnonymizeUserAchievementNoContent, error)
AdminAnonymizeUserAchievementShort anonymizes user s achievement <p>This API will delete specified user achievement<p> <p>Required permission <code>ADMIN:NAMESPACE:{namespace}:USER:{userId}:ANONYMIZATION [DELETE]</code> </p>
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminAnonymizeUserAchievement(params *AdminAnonymizeUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAnonymizeUserAchievementNoContent, *AdminAnonymizeUserAchievementUnauthorized, *AdminAnonymizeUserAchievementInternalServerError, error) AdminAnonymizeUserAchievementShort(params *AdminAnonymizeUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAnonymizeUserAchievementNoContent, 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 anonymization API client.