anonymization

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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 (*AdminAnonymizeUserAchievementInternalServerError) GetPayload

func (*AdminAnonymizeUserAchievementInternalServerError) ToJSONString

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

SetContext adds the context to the admin anonymize user achievement params

func (*AdminAnonymizeUserAchievementParams) SetFlightId

func (o *AdminAnonymizeUserAchievementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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

WithContext adds the context to the admin anonymize user achievement params

func (*AdminAnonymizeUserAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin anonymize user achievement params

func (*AdminAnonymizeUserAchievementParams) WithNamespace

WithNamespace adds the namespace to the admin anonymize user achievement params

func (*AdminAnonymizeUserAchievementParams) WithTimeout

WithTimeout adds the timeout to the admin anonymize user achievement params

func (*AdminAnonymizeUserAchievementParams) WithUserID

WithUserID adds the userID to the admin anonymize user achievement params

func (*AdminAnonymizeUserAchievementParams) WriteToRequest

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 {
	Payload *achievementclientmodels.ResponseError
}

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 (*AdminAnonymizeUserAchievementUnauthorized) GetPayload

func (*AdminAnonymizeUserAchievementUnauthorized) ToJSONString

type Client

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

Client for anonymization API

func (*Client) AdminAnonymizeUserAchievement deprecated

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

AdminAnonymizeUserAchievement anonymize user's achievement

This API will delete specified user achievement

Required permission `ADMIN:NAMESPACE:{namespace}:USER:{userId}:ANONYMIZATION [DELETE]`

func (*Client) AdminAnonymizeUserAchievementShort

func (a *Client) AdminAnonymizeUserAchievementShort(params *AdminAnonymizeUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAnonymizeUserAchievementNoContent, error)

AdminAnonymizeUserAchievementShort anonymize user's achievement

This API will delete specified user achievement

Required permission `ADMIN:NAMESPACE:{namespace}:USER:{userId}:ANONYMIZATION [DELETE]`

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

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.

Jump to

Keyboard shortcuts

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