anonymization

package
v0.59.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 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 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

func (*AnonymizeUserProfileBadRequest) ToJSONString added in v0.25.0

func (o *AnonymizeUserProfileBadRequest) ToJSONString() string

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

func (*AnonymizeUserProfileForbidden) ToJSONString added in v0.25.0

func (o *AnonymizeUserProfileForbidden) ToJSONString() string

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

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

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the anonymize user profile params

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) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport 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

func (*AnonymizeUserProfileUnauthorized) ToJSONString added in v0.25.0

func (o *AnonymizeUserProfileUnauthorized) ToJSONString() string

type Client

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

Client for anonymization API

func (*Client) AnonymizeUserProfile deprecated

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

AnonymizeUserProfile anonymize user profile Anonymize user profile. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:USER:{userId}:ANONYMIZATION" , action=8 (DELETE)
  • Action code : 11501

func (*Client) AnonymizeUserProfileShort added in v0.8.0

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

AnonymizeUserProfileShort anonymize user profile Anonymize user profile. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:USER:{userId}:ANONYMIZATION" , action=8 (DELETE)
  • Action code : 11501

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