anonymization

package
v0.73.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 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 AnonymizeUserAgreementNoContent

type AnonymizeUserAgreementNoContent struct {
}

AnonymizeUserAgreementNoContent handles this case with default header values.

successful anonymize

func NewAnonymizeUserAgreementNoContent

func NewAnonymizeUserAgreementNoContent() *AnonymizeUserAgreementNoContent

NewAnonymizeUserAgreementNoContent creates a AnonymizeUserAgreementNoContent with default headers values

func (*AnonymizeUserAgreementNoContent) Error

type AnonymizeUserAgreementNotFound

type AnonymizeUserAgreementNotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

AnonymizeUserAgreementNotFound handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40045</td><td>errors.net.accelbyte.platform.legal.user_agreement_not_found</td></tr></table>

func NewAnonymizeUserAgreementNotFound

func NewAnonymizeUserAgreementNotFound() *AnonymizeUserAgreementNotFound

NewAnonymizeUserAgreementNotFound creates a AnonymizeUserAgreementNotFound with default headers values

func (*AnonymizeUserAgreementNotFound) Error

func (*AnonymizeUserAgreementNotFound) GetPayload

func (*AnonymizeUserAgreementNotFound) ToJSONString added in v0.25.0

func (o *AnonymizeUserAgreementNotFound) ToJSONString() string

type AnonymizeUserAgreementParams

type AnonymizeUserAgreementParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*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
}

AnonymizeUserAgreementParams contains all the parameters to send to the API endpoint for the anonymize user agreement operation typically these are written to a http.Request

func NewAnonymizeUserAgreementParams

func NewAnonymizeUserAgreementParams() *AnonymizeUserAgreementParams

NewAnonymizeUserAgreementParams creates a new AnonymizeUserAgreementParams object with the default values initialized.

func NewAnonymizeUserAgreementParamsWithContext

func NewAnonymizeUserAgreementParamsWithContext(ctx context.Context) *AnonymizeUserAgreementParams

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

func NewAnonymizeUserAgreementParamsWithHTTPClient

func NewAnonymizeUserAgreementParamsWithHTTPClient(client *http.Client) *AnonymizeUserAgreementParams

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

func NewAnonymizeUserAgreementParamsWithTimeout

func NewAnonymizeUserAgreementParamsWithTimeout(timeout time.Duration) *AnonymizeUserAgreementParams

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

func (*AnonymizeUserAgreementParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the anonymize user agreement params

func (*AnonymizeUserAgreementParams) SetContext

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

SetContext adds the context to the anonymize user agreement params

func (*AnonymizeUserAgreementParams) SetFlightId added in v0.63.0

func (o *AnonymizeUserAgreementParams) SetFlightId(flightId string)

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

func (*AnonymizeUserAgreementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the anonymize user agreement params

func (*AnonymizeUserAgreementParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the anonymize user agreement params

func (*AnonymizeUserAgreementParams) SetTimeout

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

SetTimeout adds the timeout to the anonymize user agreement params

func (*AnonymizeUserAgreementParams) SetUserID

func (o *AnonymizeUserAgreementParams) SetUserID(userID string)

SetUserID adds the userId to the anonymize user agreement params

func (*AnonymizeUserAgreementParams) WithContext

WithContext adds the context to the anonymize user agreement params

func (*AnonymizeUserAgreementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the anonymize user agreement params

func (*AnonymizeUserAgreementParams) WithTimeout

WithTimeout adds the timeout to the anonymize user agreement params

func (*AnonymizeUserAgreementParams) WithUserID

WithUserID adds the userID to the anonymize user agreement params

func (*AnonymizeUserAgreementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AnonymizeUserAgreementReader

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

AnonymizeUserAgreementReader is a Reader for the AnonymizeUserAgreement structure.

func (*AnonymizeUserAgreementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for anonymization API

func (*Client) AnonymizeUserAgreement deprecated

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

AnonymizeUserAgreement anonymize user's agreement record This API will anonymize agreement record for specified user.

func (*Client) AnonymizeUserAgreementShort added in v0.8.0

func (a *Client) AnonymizeUserAgreementShort(params *AnonymizeUserAgreementParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserAgreementNoContent, error)

AnonymizeUserAgreementShort anonymize user's agreement record This API will anonymize agreement record for specified user.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AnonymizeUserAgreement(params *AnonymizeUserAgreementParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserAgreementNoContent, *AnonymizeUserAgreementNotFound, error)
	AnonymizeUserAgreementShort(params *AnonymizeUserAgreementParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserAgreementNoContent, 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.

Jump to

Keyboard shortcuts

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