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) SetContext(ctx context.Context)
- func (o *AnonymizeUserProfileParams) SetHTTPClient(client *http.Client)
- 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
- 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
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
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 { /*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 ¶
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
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for anonymization API
func (*Client) AnonymizeUserProfile ¶
func (a *Client) AnonymizeUserProfile(params *AnonymizeUserProfileParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserProfileNoContent, *AnonymizeUserProfileBadRequest, *AnonymizeUserProfileUnauthorized, *AnonymizeUserProfileForbidden, error)
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 ¶
type ClientService interface { AnonymizeUserProfile(params *AnonymizeUserProfileParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserProfileNoContent, *AnonymizeUserProfileBadRequest, *AnonymizeUserProfileUnauthorized, *AnonymizeUserProfileForbidden, 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.