{"modulePath":"github.com/AccelByte/accelbyte-go-modular-sdk/basic-sdk","version":"v0.4.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package anonymization\n\n## Types\n\n```go\ntype AnonymizeUserProfileBadRequest struct {\n\tPayload *basicclientmodels.ValidationErrorEntity\n}\n```\nAnonymizeUserProfileBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewAnonymizeUserProfileBadRequest() *AnonymizeUserProfileBadRequest\n```\nNewAnonymizeUserProfileBadRequest creates a AnonymizeUserProfileBadRequest with default headers values\n\n```go\nfunc (o *AnonymizeUserProfileBadRequest) Error() string\n```\n\n```go\nfunc (o *AnonymizeUserProfileBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity\n```\n\n```go\nfunc (o *AnonymizeUserProfileBadRequest) ToJSONString() string\n```\n\n```go\ntype AnonymizeUserProfileForbidden struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nAnonymizeUserProfileForbidden handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20013\u003c/td\u003e\u003ctd\u003einsufficient permission\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewAnonymizeUserProfileForbidden() *AnonymizeUserProfileForbidden\n```\nNewAnonymizeUserProfileForbidden creates a AnonymizeUserProfileForbidden with default headers values\n\n```go\nfunc (o *AnonymizeUserProfileForbidden) Error() string\n```\n\n```go\nfunc (o *AnonymizeUserProfileForbidden) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *AnonymizeUserProfileForbidden) ToJSONString() string\n```\n\n```go\ntype AnonymizeUserProfileNoContent struct {\n}\n```\nAnonymizeUserProfileNoContent handles this case with default header values.\n\n\tAnonymized profile successfully\n\n```go\nfunc NewAnonymizeUserProfileNoContent() *AnonymizeUserProfileNoContent\n```\nNewAnonymizeUserProfileNoContent creates a AnonymizeUserProfileNoContent with default headers values\n\n```go\nfunc (o *AnonymizeUserProfileNoContent) Error() string\n```\n\n```go\ntype AnonymizeUserProfileParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\t/*UserID\n\t  user id, should follow UUID version 4 without hyphen\n\n\t*/\n\tUserID string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nAnonymizeUserProfileParams contains all the parameters to send to the API endpoint for the anonymize user profile operation typically these are written to a http.Request\n\n```go\nfunc NewAnonymizeUserProfileParams() *AnonymizeUserProfileParams\n```\nNewAnonymizeUserProfileParams creates a new AnonymizeUserProfileParams object with the default values initialized.\n\n```go\nfunc NewAnonymizeUserProfileParamsWithContext(ctx context.Context) *AnonymizeUserProfileParams\n```\nNewAnonymizeUserProfileParamsWithContext creates a new AnonymizeUserProfileParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewAnonymizeUserProfileParamsWithHTTPClient(client *http.Client) *AnonymizeUserProfileParams\n```\nNewAnonymizeUserProfileParamsWithHTTPClient creates a new AnonymizeUserProfileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewAnonymizeUserProfileParamsWithTimeout(timeout time.Duration) *AnonymizeUserProfileParams\n```\nNewAnonymizeUserProfileParamsWithTimeout creates a new AnonymizeUserProfileParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *AnonymizeUserProfileParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the anonymize user profile params\n\n```go\nfunc (o *AnonymizeUserProfileParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the anonymize user profile params\n\n```go\nfunc (o *AnonymizeUserProfileParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *AnonymizeUserProfileParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the anonymize user profile params\n\n```go\nfunc (o *AnonymizeUserProfileParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the anonymize user profile params\n\n```go\nfunc (o *AnonymizeUserProfileParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the anonymize user profile params\n\n```go\nfunc (o *AnonymizeUserProfileParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the anonymize user profile params\n\n```go\nfunc (o *AnonymizeUserProfileParams) SetUserID(userID string)\n```\nSetUserID adds the userId to the anonymize user profile params\n\n```go\nfunc (o *AnonymizeUserProfileParams) WithContext(ctx context.Context) *AnonymizeUserProfileParams\n```\nWithContext adds the context to the anonymize user profile params\n\n```go\nfunc (o *AnonymizeUserProfileParams) WithHTTPClient(client *http.Client) *AnonymizeUserProfileParams\n```\nWithHTTPClient adds the HTTPClient to the anonymize user profile params\n\n```go\nfunc (o *AnonymizeUserProfileParams) WithNamespace(namespace string) *AnonymizeUserProfileParams\n```\nWithNamespace adds the namespace to the anonymize user profile params\n\n```go\nfunc (o *AnonymizeUserProfileParams) WithTimeout(timeout time.Duration) *AnonymizeUserProfileParams\n```\nWithTimeout adds the timeout to the anonymize user profile params\n\n```go\nfunc (o *AnonymizeUserProfileParams) WithUserID(userID string) *AnonymizeUserProfileParams\n```\nWithUserID adds the userID to the anonymize user profile params\n\n```go\nfunc (o *AnonymizeUserProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype AnonymizeUserProfileReader struct {\n\t// contains filtered or unexported fields\n}\n```\nAnonymizeUserProfileReader is a Reader for the AnonymizeUserProfile structure.\n\n```go\nfunc (o *AnonymizeUserProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype AnonymizeUserProfileResponse struct {\n\tbasicclientmodels.ApiResponse\n\n\tError400 *basicclientmodels.ValidationErrorEntity\n\tError401 *basicclientmodels.ErrorEntity\n\tError403 *basicclientmodels.ErrorEntity\n}\n```\n\n```go\nfunc (m *AnonymizeUserProfileResponse) Unpack() *basicclientmodels.ApiError\n```\n\n```go\ntype AnonymizeUserProfileUnauthorized struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nAnonymizeUserProfileUnauthorized handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20001\u003c/td\u003e\u003ctd\u003eunauthorized access\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewAnonymizeUserProfileUnauthorized() *AnonymizeUserProfileUnauthorized\n```\nNewAnonymizeUserProfileUnauthorized creates a AnonymizeUserProfileUnauthorized with default headers values\n\n```go\nfunc (o *AnonymizeUserProfileUnauthorized) Error() string\n```\n\n```go\nfunc (o *AnonymizeUserProfileUnauthorized) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *AnonymizeUserProfileUnauthorized) ToJSONString() string\n```\n\n```go\ntype Client struct {\n\t// contains filtered or unexported fields\n}\n```\nClient for anonymization API\n\n```go\nfunc (a *Client) AnonymizeUserProfileShort(params *AnonymizeUserProfileParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserProfileResponse, error)\n```\nAnonymizeUserProfileShort anonymize user profile Anonymize user profile. Other detail info:\n\n  - Action code : 11501\n\n```go\nfunc (a *Client) SetTransport(transport runtime.ClientTransport)\n```\nSetTransport changes the transport on the client\n\n```go\ntype ClientService interface {\n\tAnonymizeUserProfileShort(params *AnonymizeUserProfileParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserProfileResponse, error)\n\n\tSetTransport(transport runtime.ClientTransport)\n}\n```\nClientService is the interface for Client methods\n\n```go\nfunc New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService\n```\nNew creates a new anonymization API client.\n\n","path":"github.com/AccelByte/accelbyte-go-modular-sdk/basic-sdk/pkg/basicclient/anonymization","name":"anonymization","synopsis":"","isRedistributable":true}
