data_deletion_s2_s

package
v0.74.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 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 Client

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

Client for data deletion s2 s API

func (*Client) S2SGetListFinishedAccountDeletionRequest deprecated

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

S2SGetListFinishedAccountDeletionRequest get list of finished account deletion requests Scope: account

Get list of finished account deletion requests based on the finished time period. Unfinished deletion requests will not appear here, i.e. have Status **Request**, **Pending** or **In-Progress**.

**Anonymize userId for deleted account:** For user accounts that have been deleted, the **userId** field in this API will be anonymized automatically after **7 days** from the success deletion. This measure is implemented to ensure compliance with GDPR regulations. Please make sure to synchronize the data from this API before it undergoes anonymization.

--- ## This API for S2S integration purpose only

func (*Client) S2SGetListFinishedAccountDeletionRequestShort

func (a *Client) S2SGetListFinishedAccountDeletionRequestShort(params *S2SGetListFinishedAccountDeletionRequestParams, authInfo runtime.ClientAuthInfoWriter) (*S2SGetListFinishedAccountDeletionRequestOK, error)

S2SGetListFinishedAccountDeletionRequestShort get list of finished account deletion requests Scope: account

Get list of finished account deletion requests based on the finished time period. Unfinished deletion requests will not appear here, i.e. have Status **Request**, **Pending** or **In-Progress**.

**Anonymize userId for deleted account:** For user accounts that have been deleted, the **userId** field in this API will be anonymized automatically after **7 days** from the success deletion. This measure is implemented to ensure compliance with GDPR regulations. Please make sure to synchronize the data from this API before it undergoes anonymization.

--- ## This API for S2S integration purpose only

func (*Client) S2SSubmitUserAccountDeletionRequest deprecated

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

S2SSubmitUserAccountDeletionRequest submit user's account deletion request Scope: account

Submit user's account deletion request.

**Limitation:** This API only accepts requests with a publisher userId and does not support game userId requests at this time.

--- ## This API for S2S integration purpose only

**Notes:**

1. This API will **not send GDPR email notification** both for player and admin notification. 2. This API will **perform account deletion immediately** without GDPR grace period (i.e. 28 days grace period).

func (*Client) S2SSubmitUserAccountDeletionRequestShort

func (a *Client) S2SSubmitUserAccountDeletionRequestShort(params *S2SSubmitUserAccountDeletionRequestParams, authInfo runtime.ClientAuthInfoWriter) (*S2SSubmitUserAccountDeletionRequestCreated, error)

S2SSubmitUserAccountDeletionRequestShort submit user's account deletion request Scope: account

Submit user's account deletion request.

**Limitation:** This API only accepts requests with a publisher userId and does not support game userId requests at this time.

--- ## This API for S2S integration purpose only

**Notes:**

1. This API will **not send GDPR email notification** both for player and admin notification. 2. This API will **perform account deletion immediately** without GDPR grace period (i.e. 28 days grace period).

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 data deletion s2 s API client.

type S2SGetListFinishedAccountDeletionRequestBadRequest

type S2SGetListFinishedAccountDeletionRequestBadRequest struct {
	Payload *gdprclientmodels.ResponseError
}

S2SGetListFinishedAccountDeletionRequestBadRequest handles this case with default header values.

Bad Request

func NewS2SGetListFinishedAccountDeletionRequestBadRequest

func NewS2SGetListFinishedAccountDeletionRequestBadRequest() *S2SGetListFinishedAccountDeletionRequestBadRequest

NewS2SGetListFinishedAccountDeletionRequestBadRequest creates a S2SGetListFinishedAccountDeletionRequestBadRequest with default headers values

func (*S2SGetListFinishedAccountDeletionRequestBadRequest) Error

func (*S2SGetListFinishedAccountDeletionRequestBadRequest) GetPayload

func (*S2SGetListFinishedAccountDeletionRequestBadRequest) ToJSONString

type S2SGetListFinishedAccountDeletionRequestForbidden

type S2SGetListFinishedAccountDeletionRequestForbidden struct {
	Payload *gdprclientmodels.ResponseError
}

S2SGetListFinishedAccountDeletionRequestForbidden handles this case with default header values.

Forbidden

func NewS2SGetListFinishedAccountDeletionRequestForbidden

func NewS2SGetListFinishedAccountDeletionRequestForbidden() *S2SGetListFinishedAccountDeletionRequestForbidden

NewS2SGetListFinishedAccountDeletionRequestForbidden creates a S2SGetListFinishedAccountDeletionRequestForbidden with default headers values

func (*S2SGetListFinishedAccountDeletionRequestForbidden) Error

func (*S2SGetListFinishedAccountDeletionRequestForbidden) GetPayload

func (*S2SGetListFinishedAccountDeletionRequestForbidden) ToJSONString

type S2SGetListFinishedAccountDeletionRequestInternalServerError

type S2SGetListFinishedAccountDeletionRequestInternalServerError struct {
	Payload *gdprclientmodels.ResponseError
}

S2SGetListFinishedAccountDeletionRequestInternalServerError handles this case with default header values.

Internal Server Error

func NewS2SGetListFinishedAccountDeletionRequestInternalServerError

func NewS2SGetListFinishedAccountDeletionRequestInternalServerError() *S2SGetListFinishedAccountDeletionRequestInternalServerError

NewS2SGetListFinishedAccountDeletionRequestInternalServerError creates a S2SGetListFinishedAccountDeletionRequestInternalServerError with default headers values

func (*S2SGetListFinishedAccountDeletionRequestInternalServerError) Error

func (*S2SGetListFinishedAccountDeletionRequestInternalServerError) GetPayload

func (*S2SGetListFinishedAccountDeletionRequestInternalServerError) ToJSONString

type S2SGetListFinishedAccountDeletionRequestOK

type S2SGetListFinishedAccountDeletionRequestOK struct {
	Payload *gdprclientmodels.DTOListFinishedDataDeletion
}

S2SGetListFinishedAccountDeletionRequestOK handles this case with default header values.

OK

func NewS2SGetListFinishedAccountDeletionRequestOK

func NewS2SGetListFinishedAccountDeletionRequestOK() *S2SGetListFinishedAccountDeletionRequestOK

NewS2SGetListFinishedAccountDeletionRequestOK creates a S2SGetListFinishedAccountDeletionRequestOK with default headers values

func (*S2SGetListFinishedAccountDeletionRequestOK) Error

func (*S2SGetListFinishedAccountDeletionRequestOK) GetPayload

func (*S2SGetListFinishedAccountDeletionRequestOK) ToJSONString

type S2SGetListFinishedAccountDeletionRequestParams

type S2SGetListFinishedAccountDeletionRequestParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Publisher Namespace

	*/
	Namespace string
	/*End
	  Finished end time (RFC3339 format, example: 2024-01-01T01:30:59.12Z). Cannot exceed current time. End time is exclusive

	*/
	End string
	/*Start
	  Finished start time (RFC3339 format, example: 2024-01-01T01:30:59.12Z). Start time is inclusive

	*/
	Start string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

S2SGetListFinishedAccountDeletionRequestParams contains all the parameters to send to the API endpoint for the s2s get list finished account deletion request operation typically these are written to a http.Request

func NewS2SGetListFinishedAccountDeletionRequestParams

func NewS2SGetListFinishedAccountDeletionRequestParams() *S2SGetListFinishedAccountDeletionRequestParams

NewS2SGetListFinishedAccountDeletionRequestParams creates a new S2SGetListFinishedAccountDeletionRequestParams object with the default values initialized.

func NewS2SGetListFinishedAccountDeletionRequestParamsWithContext

func NewS2SGetListFinishedAccountDeletionRequestParamsWithContext(ctx context.Context) *S2SGetListFinishedAccountDeletionRequestParams

NewS2SGetListFinishedAccountDeletionRequestParamsWithContext creates a new S2SGetListFinishedAccountDeletionRequestParams object with the default values initialized, and the ability to set a context for a request

func NewS2SGetListFinishedAccountDeletionRequestParamsWithHTTPClient

func NewS2SGetListFinishedAccountDeletionRequestParamsWithHTTPClient(client *http.Client) *S2SGetListFinishedAccountDeletionRequestParams

NewS2SGetListFinishedAccountDeletionRequestParamsWithHTTPClient creates a new S2SGetListFinishedAccountDeletionRequestParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewS2SGetListFinishedAccountDeletionRequestParamsWithTimeout

func NewS2SGetListFinishedAccountDeletionRequestParamsWithTimeout(timeout time.Duration) *S2SGetListFinishedAccountDeletionRequestParams

NewS2SGetListFinishedAccountDeletionRequestParamsWithTimeout creates a new S2SGetListFinishedAccountDeletionRequestParams object with the default values initialized, and the ability to set a timeout on a request

func (*S2SGetListFinishedAccountDeletionRequestParams) SetAuthInfoWriter

SetAuthInfoWriter adds the authInfoWriter to the s2s get list finished account deletion request params

func (*S2SGetListFinishedAccountDeletionRequestParams) SetContext

SetContext adds the context to the s2s get list finished account deletion request params

func (*S2SGetListFinishedAccountDeletionRequestParams) SetEnd

SetEnd adds the end to the s2s get list finished account deletion request params

func (*S2SGetListFinishedAccountDeletionRequestParams) SetFlightId

func (o *S2SGetListFinishedAccountDeletionRequestParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*S2SGetListFinishedAccountDeletionRequestParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the s2s get list finished account deletion request params

func (*S2SGetListFinishedAccountDeletionRequestParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the s2s get list finished account deletion request params

func (*S2SGetListFinishedAccountDeletionRequestParams) SetNamespace

func (o *S2SGetListFinishedAccountDeletionRequestParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the s2s get list finished account deletion request params

func (*S2SGetListFinishedAccountDeletionRequestParams) SetStart

SetStart adds the start to the s2s get list finished account deletion request params

func (*S2SGetListFinishedAccountDeletionRequestParams) SetTimeout

SetTimeout adds the timeout to the s2s get list finished account deletion request params

func (*S2SGetListFinishedAccountDeletionRequestParams) WithContext

WithContext adds the context to the s2s get list finished account deletion request params

func (*S2SGetListFinishedAccountDeletionRequestParams) WithEnd

WithEnd adds the end to the s2s get list finished account deletion request params

func (*S2SGetListFinishedAccountDeletionRequestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the s2s get list finished account deletion request params

func (*S2SGetListFinishedAccountDeletionRequestParams) WithNamespace

WithNamespace adds the namespace to the s2s get list finished account deletion request params

func (*S2SGetListFinishedAccountDeletionRequestParams) WithStart

WithStart adds the start to the s2s get list finished account deletion request params

func (*S2SGetListFinishedAccountDeletionRequestParams) WithTimeout

WithTimeout adds the timeout to the s2s get list finished account deletion request params

func (*S2SGetListFinishedAccountDeletionRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type S2SGetListFinishedAccountDeletionRequestReader

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

S2SGetListFinishedAccountDeletionRequestReader is a Reader for the S2SGetListFinishedAccountDeletionRequest structure.

func (*S2SGetListFinishedAccountDeletionRequestReader) ReadResponse

func (o *S2SGetListFinishedAccountDeletionRequestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type S2SGetListFinishedAccountDeletionRequestUnauthorized

type S2SGetListFinishedAccountDeletionRequestUnauthorized struct {
	Payload *gdprclientmodels.ResponseError
}

S2SGetListFinishedAccountDeletionRequestUnauthorized handles this case with default header values.

Unauthorized

func NewS2SGetListFinishedAccountDeletionRequestUnauthorized

func NewS2SGetListFinishedAccountDeletionRequestUnauthorized() *S2SGetListFinishedAccountDeletionRequestUnauthorized

NewS2SGetListFinishedAccountDeletionRequestUnauthorized creates a S2SGetListFinishedAccountDeletionRequestUnauthorized with default headers values

func (*S2SGetListFinishedAccountDeletionRequestUnauthorized) Error

func (*S2SGetListFinishedAccountDeletionRequestUnauthorized) GetPayload

func (*S2SGetListFinishedAccountDeletionRequestUnauthorized) ToJSONString

type S2SSubmitUserAccountDeletionRequestConflict

type S2SSubmitUserAccountDeletionRequestConflict struct {
	Payload *gdprclientmodels.ResponseError
}

S2SSubmitUserAccountDeletionRequestConflict handles this case with default header values.

Conflict

func NewS2SSubmitUserAccountDeletionRequestConflict

func NewS2SSubmitUserAccountDeletionRequestConflict() *S2SSubmitUserAccountDeletionRequestConflict

NewS2SSubmitUserAccountDeletionRequestConflict creates a S2SSubmitUserAccountDeletionRequestConflict with default headers values

func (*S2SSubmitUserAccountDeletionRequestConflict) Error

func (*S2SSubmitUserAccountDeletionRequestConflict) GetPayload

func (*S2SSubmitUserAccountDeletionRequestConflict) ToJSONString

type S2SSubmitUserAccountDeletionRequestCreated

type S2SSubmitUserAccountDeletionRequestCreated struct {
	Payload *gdprclientmodels.ModelsS2SRequestDeleteResponse
}

S2SSubmitUserAccountDeletionRequestCreated handles this case with default header values.

Created

func NewS2SSubmitUserAccountDeletionRequestCreated

func NewS2SSubmitUserAccountDeletionRequestCreated() *S2SSubmitUserAccountDeletionRequestCreated

NewS2SSubmitUserAccountDeletionRequestCreated creates a S2SSubmitUserAccountDeletionRequestCreated with default headers values

func (*S2SSubmitUserAccountDeletionRequestCreated) Error

func (*S2SSubmitUserAccountDeletionRequestCreated) GetPayload

func (*S2SSubmitUserAccountDeletionRequestCreated) ToJSONString

type S2SSubmitUserAccountDeletionRequestForbidden

type S2SSubmitUserAccountDeletionRequestForbidden struct {
	Payload *gdprclientmodels.ResponseError
}

S2SSubmitUserAccountDeletionRequestForbidden handles this case with default header values.

Forbidden

func NewS2SSubmitUserAccountDeletionRequestForbidden

func NewS2SSubmitUserAccountDeletionRequestForbidden() *S2SSubmitUserAccountDeletionRequestForbidden

NewS2SSubmitUserAccountDeletionRequestForbidden creates a S2SSubmitUserAccountDeletionRequestForbidden with default headers values

func (*S2SSubmitUserAccountDeletionRequestForbidden) Error

func (*S2SSubmitUserAccountDeletionRequestForbidden) GetPayload

func (*S2SSubmitUserAccountDeletionRequestForbidden) ToJSONString

type S2SSubmitUserAccountDeletionRequestInternalServerError

type S2SSubmitUserAccountDeletionRequestInternalServerError struct {
	Payload *gdprclientmodels.ResponseError
}

S2SSubmitUserAccountDeletionRequestInternalServerError handles this case with default header values.

Internal Server Error

func NewS2SSubmitUserAccountDeletionRequestInternalServerError

func NewS2SSubmitUserAccountDeletionRequestInternalServerError() *S2SSubmitUserAccountDeletionRequestInternalServerError

NewS2SSubmitUserAccountDeletionRequestInternalServerError creates a S2SSubmitUserAccountDeletionRequestInternalServerError with default headers values

func (*S2SSubmitUserAccountDeletionRequestInternalServerError) Error

func (*S2SSubmitUserAccountDeletionRequestInternalServerError) GetPayload

func (*S2SSubmitUserAccountDeletionRequestInternalServerError) ToJSONString

type S2SSubmitUserAccountDeletionRequestNotFound

type S2SSubmitUserAccountDeletionRequestNotFound struct {
	Payload *gdprclientmodels.ResponseError
}

S2SSubmitUserAccountDeletionRequestNotFound handles this case with default header values.

Not Found

func NewS2SSubmitUserAccountDeletionRequestNotFound

func NewS2SSubmitUserAccountDeletionRequestNotFound() *S2SSubmitUserAccountDeletionRequestNotFound

NewS2SSubmitUserAccountDeletionRequestNotFound creates a S2SSubmitUserAccountDeletionRequestNotFound with default headers values

func (*S2SSubmitUserAccountDeletionRequestNotFound) Error

func (*S2SSubmitUserAccountDeletionRequestNotFound) GetPayload

func (*S2SSubmitUserAccountDeletionRequestNotFound) ToJSONString

type S2SSubmitUserAccountDeletionRequestParams

type S2SSubmitUserAccountDeletionRequestParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Publisher Namespace

	*/
	Namespace string
	/*UserID
	  Publisher User Id

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

S2SSubmitUserAccountDeletionRequestParams contains all the parameters to send to the API endpoint for the s2s submit user account deletion request operation typically these are written to a http.Request

func NewS2SSubmitUserAccountDeletionRequestParams

func NewS2SSubmitUserAccountDeletionRequestParams() *S2SSubmitUserAccountDeletionRequestParams

NewS2SSubmitUserAccountDeletionRequestParams creates a new S2SSubmitUserAccountDeletionRequestParams object with the default values initialized.

func NewS2SSubmitUserAccountDeletionRequestParamsWithContext

func NewS2SSubmitUserAccountDeletionRequestParamsWithContext(ctx context.Context) *S2SSubmitUserAccountDeletionRequestParams

NewS2SSubmitUserAccountDeletionRequestParamsWithContext creates a new S2SSubmitUserAccountDeletionRequestParams object with the default values initialized, and the ability to set a context for a request

func NewS2SSubmitUserAccountDeletionRequestParamsWithHTTPClient

func NewS2SSubmitUserAccountDeletionRequestParamsWithHTTPClient(client *http.Client) *S2SSubmitUserAccountDeletionRequestParams

NewS2SSubmitUserAccountDeletionRequestParamsWithHTTPClient creates a new S2SSubmitUserAccountDeletionRequestParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewS2SSubmitUserAccountDeletionRequestParamsWithTimeout

func NewS2SSubmitUserAccountDeletionRequestParamsWithTimeout(timeout time.Duration) *S2SSubmitUserAccountDeletionRequestParams

NewS2SSubmitUserAccountDeletionRequestParamsWithTimeout creates a new S2SSubmitUserAccountDeletionRequestParams object with the default values initialized, and the ability to set a timeout on a request

func (*S2SSubmitUserAccountDeletionRequestParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the s2s submit user account deletion request params

func (*S2SSubmitUserAccountDeletionRequestParams) SetContext

SetContext adds the context to the s2s submit user account deletion request params

func (*S2SSubmitUserAccountDeletionRequestParams) SetFlightId

func (o *S2SSubmitUserAccountDeletionRequestParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*S2SSubmitUserAccountDeletionRequestParams) SetHTTPClient

func (o *S2SSubmitUserAccountDeletionRequestParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the s2s submit user account deletion request params

func (*S2SSubmitUserAccountDeletionRequestParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the s2s submit user account deletion request params

func (*S2SSubmitUserAccountDeletionRequestParams) SetNamespace

func (o *S2SSubmitUserAccountDeletionRequestParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the s2s submit user account deletion request params

func (*S2SSubmitUserAccountDeletionRequestParams) SetTimeout

SetTimeout adds the timeout to the s2s submit user account deletion request params

func (*S2SSubmitUserAccountDeletionRequestParams) SetUserID

SetUserID adds the userId to the s2s submit user account deletion request params

func (*S2SSubmitUserAccountDeletionRequestParams) WithContext

WithContext adds the context to the s2s submit user account deletion request params

func (*S2SSubmitUserAccountDeletionRequestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the s2s submit user account deletion request params

func (*S2SSubmitUserAccountDeletionRequestParams) WithNamespace

WithNamespace adds the namespace to the s2s submit user account deletion request params

func (*S2SSubmitUserAccountDeletionRequestParams) WithTimeout

WithTimeout adds the timeout to the s2s submit user account deletion request params

func (*S2SSubmitUserAccountDeletionRequestParams) WithUserID

WithUserID adds the userID to the s2s submit user account deletion request params

func (*S2SSubmitUserAccountDeletionRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type S2SSubmitUserAccountDeletionRequestReader

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

S2SSubmitUserAccountDeletionRequestReader is a Reader for the S2SSubmitUserAccountDeletionRequest structure.

func (*S2SSubmitUserAccountDeletionRequestReader) ReadResponse

func (o *S2SSubmitUserAccountDeletionRequestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type S2SSubmitUserAccountDeletionRequestUnauthorized

type S2SSubmitUserAccountDeletionRequestUnauthorized struct {
	Payload *gdprclientmodels.ResponseError
}

S2SSubmitUserAccountDeletionRequestUnauthorized handles this case with default header values.

Unauthorized

func NewS2SSubmitUserAccountDeletionRequestUnauthorized

func NewS2SSubmitUserAccountDeletionRequestUnauthorized() *S2SSubmitUserAccountDeletionRequestUnauthorized

NewS2SSubmitUserAccountDeletionRequestUnauthorized creates a S2SSubmitUserAccountDeletionRequestUnauthorized with default headers values

func (*S2SSubmitUserAccountDeletionRequestUnauthorized) Error

func (*S2SSubmitUserAccountDeletionRequestUnauthorized) GetPayload

func (*S2SSubmitUserAccountDeletionRequestUnauthorized) ToJSONString

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL