anonymization

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnonymizeUserProfileBadRequest

type AnonymizeUserProfileBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

AnonymizeUserProfileBadRequest 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 NewAnonymizeUserProfileBadRequest

func NewAnonymizeUserProfileBadRequest() *AnonymizeUserProfileBadRequest

NewAnonymizeUserProfileBadRequest creates a AnonymizeUserProfileBadRequest with default headers values

func (*AnonymizeUserProfileBadRequest) Error

func (*AnonymizeUserProfileBadRequest) GetPayload

type AnonymizeUserProfileForbidden

type AnonymizeUserProfileForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

AnonymizeUserProfileForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewAnonymizeUserProfileForbidden

func NewAnonymizeUserProfileForbidden() *AnonymizeUserProfileForbidden

NewAnonymizeUserProfileForbidden creates a AnonymizeUserProfileForbidden with default headers values

func (*AnonymizeUserProfileForbidden) Error

func (*AnonymizeUserProfileForbidden) GetPayload

type AnonymizeUserProfileNoContent

type AnonymizeUserProfileNoContent struct {
}

AnonymizeUserProfileNoContent handles this case with default header values.

Anonymized profile successfully

func NewAnonymizeUserProfileNoContent

func NewAnonymizeUserProfileNoContent() *AnonymizeUserProfileNoContent

NewAnonymizeUserProfileNoContent creates a AnonymizeUserProfileNoContent with default headers values

func (*AnonymizeUserProfileNoContent) Error

type AnonymizeUserProfileParams

type AnonymizeUserProfileParams struct {

	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user id, should follow UUID version 4 without hyphen

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewAnonymizeUserProfileParams

func NewAnonymizeUserProfileParams() *AnonymizeUserProfileParams

NewAnonymizeUserProfileParams creates a new AnonymizeUserProfileParams object with the default values initialized.

func NewAnonymizeUserProfileParamsWithContext

func NewAnonymizeUserProfileParamsWithContext(ctx context.Context) *AnonymizeUserProfileParams

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

func NewAnonymizeUserProfileParamsWithHTTPClient

func NewAnonymizeUserProfileParamsWithHTTPClient(client *http.Client) *AnonymizeUserProfileParams

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

func NewAnonymizeUserProfileParamsWithTimeout

func NewAnonymizeUserProfileParamsWithTimeout(timeout time.Duration) *AnonymizeUserProfileParams

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

func (*AnonymizeUserProfileParams) SetContext

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

SetContext adds the context to the anonymize user profile params

func (*AnonymizeUserProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the anonymize user profile params

func (*AnonymizeUserProfileParams) SetNamespace

func (o *AnonymizeUserProfileParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the anonymize user profile params

func (*AnonymizeUserProfileParams) SetTimeout

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

SetTimeout adds the timeout to the anonymize user profile params

func (*AnonymizeUserProfileParams) SetUserID

func (o *AnonymizeUserProfileParams) SetUserID(userID string)

SetUserID adds the userId to the anonymize user profile params

func (*AnonymizeUserProfileParams) WithContext

WithContext adds the context to the anonymize user profile params

func (*AnonymizeUserProfileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the anonymize user profile params

func (*AnonymizeUserProfileParams) WithNamespace

func (o *AnonymizeUserProfileParams) WithNamespace(namespace string) *AnonymizeUserProfileParams

WithNamespace adds the namespace to the anonymize user profile params

func (*AnonymizeUserProfileParams) WithTimeout

WithTimeout adds the timeout to the anonymize user profile params

func (*AnonymizeUserProfileParams) WithUserID

WithUserID adds the userID to the anonymize user profile params

func (*AnonymizeUserProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AnonymizeUserProfileReader

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

AnonymizeUserProfileReader is a Reader for the AnonymizeUserProfile structure.

func (*AnonymizeUserProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AnonymizeUserProfileUnauthorized

type AnonymizeUserProfileUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

AnonymizeUserProfileUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAnonymizeUserProfileUnauthorized

func NewAnonymizeUserProfileUnauthorized() *AnonymizeUserProfileUnauthorized

NewAnonymizeUserProfileUnauthorized creates a AnonymizeUserProfileUnauthorized with default headers values

func (*AnonymizeUserProfileUnauthorized) Error

func (*AnonymizeUserProfileUnauthorized) GetPayload

type Client

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

Client for anonymization API

func (*Client) AnonymizeUserProfile

AnonymizeUserProfile anonymizes user profile

Anonymize user profile.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&lt;b&gt;&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:ANONYMIZATION&#34;&lt;/b&gt;, action=8 &lt;b&gt;(DELETE)&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Action code&lt;/i&gt;: 11501&lt;/li&gt;&lt;/ul&gt;

func (*Client) AnonymizeUserProfileShort added in v0.8.0

func (a *Client) AnonymizeUserProfileShort(params *AnonymizeUserProfileParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserProfileNoContent, error)

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