Documentation ¶
Index ¶
- type AnonymizeUserProfileBadRequest
- type AnonymizeUserProfileForbidden
- type AnonymizeUserProfileNoContent
- type AnonymizeUserProfileParams
- func NewAnonymizeUserProfileParams() *AnonymizeUserProfileParams
- func NewAnonymizeUserProfileParamsWithContext(ctx context.Context) *AnonymizeUserProfileParams
- func NewAnonymizeUserProfileParamsWithHTTPClient(client *http.Client) *AnonymizeUserProfileParams
- func NewAnonymizeUserProfileParamsWithTimeout(timeout time.Duration) *AnonymizeUserProfileParams
- func (o *AnonymizeUserProfileParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AnonymizeUserProfileParams) SetContext(ctx context.Context)
- func (o *AnonymizeUserProfileParams) SetHTTPClient(client *http.Client)
- func (o *AnonymizeUserProfileParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AnonymizeUserProfileParams) SetNamespace(namespace string)
- func (o *AnonymizeUserProfileParams) SetTimeout(timeout time.Duration)
- func (o *AnonymizeUserProfileParams) SetUserID(userID string)
- func (o *AnonymizeUserProfileParams) WithContext(ctx context.Context) *AnonymizeUserProfileParams
- func (o *AnonymizeUserProfileParams) WithHTTPClient(client *http.Client) *AnonymizeUserProfileParams
- func (o *AnonymizeUserProfileParams) WithNamespace(namespace string) *AnonymizeUserProfileParams
- func (o *AnonymizeUserProfileParams) WithTimeout(timeout time.Duration) *AnonymizeUserProfileParams
- func (o *AnonymizeUserProfileParams) WithUserID(userID string) *AnonymizeUserProfileParams
- func (o *AnonymizeUserProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AnonymizeUserProfileReader
- type AnonymizeUserProfileUnauthorized
- type Client
- func (a *Client) AnonymizeUserProfile(params *AnonymizeUserProfileParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserProfileNoContent, *AnonymizeUserProfileBadRequest, ...)deprecated
- func (a *Client) AnonymizeUserProfileShort(params *AnonymizeUserProfileParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserProfileNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
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 (o *AnonymizeUserProfileBadRequest) Error() string
func (*AnonymizeUserProfileBadRequest) GetPayload ¶
func (o *AnonymizeUserProfileBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
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 (o *AnonymizeUserProfileForbidden) Error() string
func (*AnonymizeUserProfileForbidden) GetPayload ¶
func (o *AnonymizeUserProfileForbidden) GetPayload() *basicclientmodels.ErrorEntity
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 ¶
func (o *AnonymizeUserProfileNoContent) Error() string
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 ¶
func (o *AnonymizeUserProfileParams) WithContext(ctx context.Context) *AnonymizeUserProfileParams
WithContext adds the context to the anonymize user profile params
func (*AnonymizeUserProfileParams) WithHTTPClient ¶
func (o *AnonymizeUserProfileParams) WithHTTPClient(client *http.Client) *AnonymizeUserProfileParams
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 ¶
func (o *AnonymizeUserProfileParams) WithTimeout(timeout time.Duration) *AnonymizeUserProfileParams
WithTimeout adds the timeout to the anonymize user profile params
func (*AnonymizeUserProfileParams) WithUserID ¶
func (o *AnonymizeUserProfileParams) WithUserID(userID string) *AnonymizeUserProfileParams
WithUserID adds the userID to the anonymize user profile params
func (*AnonymizeUserProfileParams) WriteToRequest ¶
func (o *AnonymizeUserProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AnonymizeUserProfileUnauthorized) Error() string
func (*AnonymizeUserProfileUnauthorized) GetPayload ¶
func (o *AnonymizeUserProfileUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
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
func (a *Client) AnonymizeUserProfile(params *AnonymizeUserProfileParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserProfileNoContent, *AnonymizeUserProfileBadRequest, *AnonymizeUserProfileUnauthorized, *AnonymizeUserProfileForbidden, error)
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 ¶
type ClientService interface { AnonymizeUserProfile(params *AnonymizeUserProfileParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserProfileNoContent, *AnonymizeUserProfileBadRequest, *AnonymizeUserProfileUnauthorized, *AnonymizeUserProfileForbidden, error) AnonymizeUserProfileShort(params *AnonymizeUserProfileParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserProfileNoContent, 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.