anonymization

package
v0.0.0-...-f573b6e Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 AnonymizeUserProfileNotFound

type AnonymizeUserProfileNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

AnonymizeUserProfileNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11540</td><td>user profile not found</td></tr></table>

func NewAnonymizeUserProfileNotFound

func NewAnonymizeUserProfileNotFound() *AnonymizeUserProfileNotFound

NewAnonymizeUserProfileNotFound creates a AnonymizeUserProfileNotFound with default headers values

func (*AnonymizeUserProfileNotFound) Error

func (*AnonymizeUserProfileNotFound) GetPayload

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.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:USER:{userId}:ANONYMIZATION"</b>, action=8 <b>(DELETE)</b></li><li><i>Action code</i>: 11501</li></ul>

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