anonymization

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 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
	// 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) 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: Use AnonymizeUserAgreementShort instead.

AnonymizeUserAgreement anonymizes user s agreement record

This API will anonymize agreement record for specified user. Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:*:LEGAL&#34;, action=8 (DELETE)&lt;/li&gt;&lt;/ul&gt;

func (*Client) AnonymizeUserAgreementShort added in v0.8.0

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

AnonymizeUserAgreementShort anonymizes user s agreement record

This API will anonymize agreement record for specified user. Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:*:LEGAL&#34;, action=8 (DELETE)&lt;/li&gt;&lt;/ul&gt;

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