Documentation ¶
Index ¶
- type AnonymizeUserAgreementNoContent
- type AnonymizeUserAgreementNotFound
- type AnonymizeUserAgreementParams
- func NewAnonymizeUserAgreementParams() *AnonymizeUserAgreementParams
- func NewAnonymizeUserAgreementParamsWithContext(ctx context.Context) *AnonymizeUserAgreementParams
- func NewAnonymizeUserAgreementParamsWithHTTPClient(client *http.Client) *AnonymizeUserAgreementParams
- func NewAnonymizeUserAgreementParamsWithTimeout(timeout time.Duration) *AnonymizeUserAgreementParams
- func (o *AnonymizeUserAgreementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AnonymizeUserAgreementParams) SetContext(ctx context.Context)
- func (o *AnonymizeUserAgreementParams) SetHTTPClient(client *http.Client)
- func (o *AnonymizeUserAgreementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AnonymizeUserAgreementParams) SetTimeout(timeout time.Duration)
- func (o *AnonymizeUserAgreementParams) SetUserID(userID string)
- func (o *AnonymizeUserAgreementParams) WithContext(ctx context.Context) *AnonymizeUserAgreementParams
- func (o *AnonymizeUserAgreementParams) WithHTTPClient(client *http.Client) *AnonymizeUserAgreementParams
- func (o *AnonymizeUserAgreementParams) WithTimeout(timeout time.Duration) *AnonymizeUserAgreementParams
- func (o *AnonymizeUserAgreementParams) WithUserID(userID string) *AnonymizeUserAgreementParams
- func (o *AnonymizeUserAgreementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AnonymizeUserAgreementReader
- type Client
- func (a *Client) AnonymizeUserAgreement(params *AnonymizeUserAgreementParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserAgreementNoContent, *AnonymizeUserAgreementNotFound, error)
- func (a *Client) AnonymizeUserAgreementShort(params *AnonymizeUserAgreementParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserAgreementNoContent, 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 AnonymizeUserAgreementNoContent ¶
type AnonymizeUserAgreementNoContent struct { }
AnonymizeUserAgreementNoContent handles this case with default header values.
Anonymize successfully
func NewAnonymizeUserAgreementNoContent ¶
func NewAnonymizeUserAgreementNoContent() *AnonymizeUserAgreementNoContent
NewAnonymizeUserAgreementNoContent creates a AnonymizeUserAgreementNoContent with default headers values
func (*AnonymizeUserAgreementNoContent) Error ¶
func (o *AnonymizeUserAgreementNoContent) Error() string
type AnonymizeUserAgreementNotFound ¶
type AnonymizeUserAgreementNotFound struct {
Payload *legalclientmodels.ErrorEntity
}
AnonymizeUserAgreementNotFound handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40047</td><td>errors.net.accelbyte.platform.legal.user_agreement_not_found</td></tr></table>
func NewAnonymizeUserAgreementNotFound ¶
func NewAnonymizeUserAgreementNotFound() *AnonymizeUserAgreementNotFound
NewAnonymizeUserAgreementNotFound creates a AnonymizeUserAgreementNotFound with default headers values
func (*AnonymizeUserAgreementNotFound) Error ¶
func (o *AnonymizeUserAgreementNotFound) Error() string
func (*AnonymizeUserAgreementNotFound) GetPayload ¶
func (o *AnonymizeUserAgreementNotFound) GetPayload() *legalclientmodels.ErrorEntity
type AnonymizeUserAgreementParams ¶
type AnonymizeUserAgreementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*UserID User Id */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AnonymizeUserAgreementParams contains all the parameters to send to the API endpoint for the anonymize user agreement operation typically these are written to a http.Request
func NewAnonymizeUserAgreementParams ¶
func NewAnonymizeUserAgreementParams() *AnonymizeUserAgreementParams
NewAnonymizeUserAgreementParams creates a new AnonymizeUserAgreementParams object with the default values initialized.
func NewAnonymizeUserAgreementParamsWithContext ¶
func NewAnonymizeUserAgreementParamsWithContext(ctx context.Context) *AnonymizeUserAgreementParams
NewAnonymizeUserAgreementParamsWithContext creates a new AnonymizeUserAgreementParams object with the default values initialized, and the ability to set a context for a request
func NewAnonymizeUserAgreementParamsWithHTTPClient ¶
func NewAnonymizeUserAgreementParamsWithHTTPClient(client *http.Client) *AnonymizeUserAgreementParams
NewAnonymizeUserAgreementParamsWithHTTPClient creates a new AnonymizeUserAgreementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAnonymizeUserAgreementParamsWithTimeout ¶
func NewAnonymizeUserAgreementParamsWithTimeout(timeout time.Duration) *AnonymizeUserAgreementParams
NewAnonymizeUserAgreementParamsWithTimeout creates a new AnonymizeUserAgreementParams object with the default values initialized, and the ability to set a timeout on a request
func (*AnonymizeUserAgreementParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AnonymizeUserAgreementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the anonymize user agreement params
func (*AnonymizeUserAgreementParams) SetContext ¶
func (o *AnonymizeUserAgreementParams) SetContext(ctx context.Context)
SetContext adds the context to the anonymize user agreement params
func (*AnonymizeUserAgreementParams) SetHTTPClient ¶
func (o *AnonymizeUserAgreementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the anonymize user agreement params
func (*AnonymizeUserAgreementParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AnonymizeUserAgreementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the anonymize user agreement params
func (*AnonymizeUserAgreementParams) SetTimeout ¶
func (o *AnonymizeUserAgreementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the anonymize user agreement params
func (*AnonymizeUserAgreementParams) SetUserID ¶
func (o *AnonymizeUserAgreementParams) SetUserID(userID string)
SetUserID adds the userId to the anonymize user agreement params
func (*AnonymizeUserAgreementParams) WithContext ¶
func (o *AnonymizeUserAgreementParams) WithContext(ctx context.Context) *AnonymizeUserAgreementParams
WithContext adds the context to the anonymize user agreement params
func (*AnonymizeUserAgreementParams) WithHTTPClient ¶
func (o *AnonymizeUserAgreementParams) WithHTTPClient(client *http.Client) *AnonymizeUserAgreementParams
WithHTTPClient adds the HTTPClient to the anonymize user agreement params
func (*AnonymizeUserAgreementParams) WithTimeout ¶
func (o *AnonymizeUserAgreementParams) WithTimeout(timeout time.Duration) *AnonymizeUserAgreementParams
WithTimeout adds the timeout to the anonymize user agreement params
func (*AnonymizeUserAgreementParams) WithUserID ¶
func (o *AnonymizeUserAgreementParams) WithUserID(userID string) *AnonymizeUserAgreementParams
WithUserID adds the userID to the anonymize user agreement params
func (*AnonymizeUserAgreementParams) WriteToRequest ¶
func (o *AnonymizeUserAgreementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AnonymizeUserAgreementReader ¶
type AnonymizeUserAgreementReader struct {
// contains filtered or unexported fields
}
AnonymizeUserAgreementReader is a Reader for the AnonymizeUserAgreement structure.
func (*AnonymizeUserAgreementReader) ReadResponse ¶
func (o *AnonymizeUserAgreementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for anonymization API
func (*Client) AnonymizeUserAgreement ¶
func (a *Client) AnonymizeUserAgreement(params *AnonymizeUserAgreementParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserAgreementNoContent, *AnonymizeUserAgreementNotFound, error)
AnonymizeUserAgreement anonymizes user s agreement record
This API will anonymize agreement record for specified user. Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=8 (DELETE)</li></ul>
func (*Client) AnonymizeUserAgreementShort ¶ added in v0.8.0
func (a *Client) AnonymizeUserAgreementShort(params *AnonymizeUserAgreementParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserAgreementNoContent, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AnonymizeUserAgreement(params *AnonymizeUserAgreementParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserAgreementNoContent, *AnonymizeUserAgreementNotFound, error) AnonymizeUserAgreementShort(params *AnonymizeUserAgreementParams, authInfo runtime.ClientAuthInfoWriter) (*AnonymizeUserAgreementNoContent, 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.