agreement

package
v0.60.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptVersionedPolicyBadRequest added in v0.34.0

type AcceptVersionedPolicyBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

AcceptVersionedPolicyBadRequest handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40045</td><td>errors.net.accelbyte.platform.legal.user_id_needed</td></tr><tr><td>40035</td><td>errors.net.accelbyte.platform.legal.invalid_localize_policy_version_id</td></tr></table>

func NewAcceptVersionedPolicyBadRequest added in v0.34.0

func NewAcceptVersionedPolicyBadRequest() *AcceptVersionedPolicyBadRequest

NewAcceptVersionedPolicyBadRequest creates a AcceptVersionedPolicyBadRequest with default headers values

func (*AcceptVersionedPolicyBadRequest) Error added in v0.34.0

func (*AcceptVersionedPolicyBadRequest) GetPayload added in v0.34.0

func (*AcceptVersionedPolicyBadRequest) ToJSONString added in v0.34.0

func (o *AcceptVersionedPolicyBadRequest) ToJSONString() string

type AcceptVersionedPolicyCreated

type AcceptVersionedPolicyCreated struct {
}

AcceptVersionedPolicyCreated handles this case with default header values.

successful anonymize

func NewAcceptVersionedPolicyCreated

func NewAcceptVersionedPolicyCreated() *AcceptVersionedPolicyCreated

NewAcceptVersionedPolicyCreated creates a AcceptVersionedPolicyCreated with default headers values

func (*AcceptVersionedPolicyCreated) Error

type AcceptVersionedPolicyParams

type AcceptVersionedPolicyParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LocalizedPolicyVersionID
	  Localized Policy Version Id

	*/
	LocalizedPolicyVersionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

AcceptVersionedPolicyParams contains all the parameters to send to the API endpoint for the accept versioned policy operation typically these are written to a http.Request

func NewAcceptVersionedPolicyParams

func NewAcceptVersionedPolicyParams() *AcceptVersionedPolicyParams

NewAcceptVersionedPolicyParams creates a new AcceptVersionedPolicyParams object with the default values initialized.

func NewAcceptVersionedPolicyParamsWithContext

func NewAcceptVersionedPolicyParamsWithContext(ctx context.Context) *AcceptVersionedPolicyParams

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

func NewAcceptVersionedPolicyParamsWithHTTPClient

func NewAcceptVersionedPolicyParamsWithHTTPClient(client *http.Client) *AcceptVersionedPolicyParams

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

func NewAcceptVersionedPolicyParamsWithTimeout

func NewAcceptVersionedPolicyParamsWithTimeout(timeout time.Duration) *AcceptVersionedPolicyParams

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

func (*AcceptVersionedPolicyParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the accept versioned policy params

func (*AcceptVersionedPolicyParams) SetContext

func (o *AcceptVersionedPolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the accept versioned policy params

func (*AcceptVersionedPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the accept versioned policy params

func (*AcceptVersionedPolicyParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the accept versioned policy params

func (*AcceptVersionedPolicyParams) SetLocalizedPolicyVersionID

func (o *AcceptVersionedPolicyParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)

SetLocalizedPolicyVersionID adds the localizedPolicyVersionId to the accept versioned policy params

func (*AcceptVersionedPolicyParams) SetTimeout

func (o *AcceptVersionedPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the accept versioned policy params

func (*AcceptVersionedPolicyParams) WithContext

WithContext adds the context to the accept versioned policy params

func (*AcceptVersionedPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the accept versioned policy params

func (*AcceptVersionedPolicyParams) WithLocalizedPolicyVersionID

func (o *AcceptVersionedPolicyParams) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *AcceptVersionedPolicyParams

WithLocalizedPolicyVersionID adds the localizedPolicyVersionID to the accept versioned policy params

func (*AcceptVersionedPolicyParams) WithTimeout

WithTimeout adds the timeout to the accept versioned policy params

func (*AcceptVersionedPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AcceptVersionedPolicyReader

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

AcceptVersionedPolicyReader is a Reader for the AcceptVersionedPolicy structure.

func (*AcceptVersionedPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkAcceptVersionedPolicyBadRequest added in v0.34.0

type BulkAcceptVersionedPolicyBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

BulkAcceptVersionedPolicyBadRequest handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40045</td><td>errors.net.accelbyte.platform.legal.user_id_needed</td></tr><tr><td>40035</td><td>errors.net.accelbyte.platform.legal.invalid_localize_policy_version_id</td></tr></table>

func NewBulkAcceptVersionedPolicyBadRequest added in v0.34.0

func NewBulkAcceptVersionedPolicyBadRequest() *BulkAcceptVersionedPolicyBadRequest

NewBulkAcceptVersionedPolicyBadRequest creates a BulkAcceptVersionedPolicyBadRequest with default headers values

func (*BulkAcceptVersionedPolicyBadRequest) Error added in v0.34.0

func (*BulkAcceptVersionedPolicyBadRequest) GetPayload added in v0.34.0

func (*BulkAcceptVersionedPolicyBadRequest) ToJSONString added in v0.34.0

func (o *BulkAcceptVersionedPolicyBadRequest) ToJSONString() string

type BulkAcceptVersionedPolicyCreated

type BulkAcceptVersionedPolicyCreated struct {
	Payload *legalclientmodels.AcceptAgreementResponse
}

BulkAcceptVersionedPolicyCreated handles this case with default header values.

successful operation

func NewBulkAcceptVersionedPolicyCreated

func NewBulkAcceptVersionedPolicyCreated() *BulkAcceptVersionedPolicyCreated

NewBulkAcceptVersionedPolicyCreated creates a BulkAcceptVersionedPolicyCreated with default headers values

func (*BulkAcceptVersionedPolicyCreated) Error

func (*BulkAcceptVersionedPolicyCreated) GetPayload

func (*BulkAcceptVersionedPolicyCreated) ToJSONString added in v0.25.0

func (o *BulkAcceptVersionedPolicyCreated) ToJSONString() string

type BulkAcceptVersionedPolicyParams

type BulkAcceptVersionedPolicyParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body []*legalclientmodels.AcceptAgreementRequest

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

BulkAcceptVersionedPolicyParams contains all the parameters to send to the API endpoint for the bulk accept versioned policy operation typically these are written to a http.Request

func NewBulkAcceptVersionedPolicyParams

func NewBulkAcceptVersionedPolicyParams() *BulkAcceptVersionedPolicyParams

NewBulkAcceptVersionedPolicyParams creates a new BulkAcceptVersionedPolicyParams object with the default values initialized.

func NewBulkAcceptVersionedPolicyParamsWithContext

func NewBulkAcceptVersionedPolicyParamsWithContext(ctx context.Context) *BulkAcceptVersionedPolicyParams

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

func NewBulkAcceptVersionedPolicyParamsWithHTTPClient

func NewBulkAcceptVersionedPolicyParamsWithHTTPClient(client *http.Client) *BulkAcceptVersionedPolicyParams

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

func NewBulkAcceptVersionedPolicyParamsWithTimeout

func NewBulkAcceptVersionedPolicyParamsWithTimeout(timeout time.Duration) *BulkAcceptVersionedPolicyParams

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

func (*BulkAcceptVersionedPolicyParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the bulk accept versioned policy params

func (*BulkAcceptVersionedPolicyParams) SetBody

SetBody adds the body to the bulk accept versioned policy params

func (*BulkAcceptVersionedPolicyParams) SetContext

func (o *BulkAcceptVersionedPolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the bulk accept versioned policy params

func (*BulkAcceptVersionedPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk accept versioned policy params

func (*BulkAcceptVersionedPolicyParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the bulk accept versioned policy params

func (*BulkAcceptVersionedPolicyParams) SetTimeout

func (o *BulkAcceptVersionedPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the bulk accept versioned policy params

func (*BulkAcceptVersionedPolicyParams) WithBody

WithBody adds the body to the bulk accept versioned policy params

func (*BulkAcceptVersionedPolicyParams) WithContext

WithContext adds the context to the bulk accept versioned policy params

func (*BulkAcceptVersionedPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk accept versioned policy params

func (*BulkAcceptVersionedPolicyParams) WithTimeout

WithTimeout adds the timeout to the bulk accept versioned policy params

func (*BulkAcceptVersionedPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkAcceptVersionedPolicyReader

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

BulkAcceptVersionedPolicyReader is a Reader for the BulkAcceptVersionedPolicy structure.

func (*BulkAcceptVersionedPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangePreferenceConsent1BadRequest added in v0.15.0

type ChangePreferenceConsent1BadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

ChangePreferenceConsent1BadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>40017</td><td>Policy with id : [{policyId}] is not marketing preference</td></tr><tr><td>40045</td><td>errors.net.accelbyte.platform.legal.user_id_needed</td></tr></table>

func NewChangePreferenceConsent1BadRequest added in v0.15.0

func NewChangePreferenceConsent1BadRequest() *ChangePreferenceConsent1BadRequest

NewChangePreferenceConsent1BadRequest creates a ChangePreferenceConsent1BadRequest with default headers values

func (*ChangePreferenceConsent1BadRequest) Error added in v0.15.0

func (*ChangePreferenceConsent1BadRequest) GetPayload added in v0.15.0

func (*ChangePreferenceConsent1BadRequest) ToJSONString added in v0.25.0

func (o *ChangePreferenceConsent1BadRequest) ToJSONString() string

type ChangePreferenceConsent1OK added in v0.15.0

type ChangePreferenceConsent1OK struct {
}

ChangePreferenceConsent1OK handles this case with default header values.

Successful operation

func NewChangePreferenceConsent1OK added in v0.15.0

func NewChangePreferenceConsent1OK() *ChangePreferenceConsent1OK

NewChangePreferenceConsent1OK creates a ChangePreferenceConsent1OK with default headers values

func (*ChangePreferenceConsent1OK) Error added in v0.15.0

type ChangePreferenceConsent1Params added in v0.15.0

type ChangePreferenceConsent1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body []*legalclientmodels.AcceptAgreementRequest

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

ChangePreferenceConsent1Params contains all the parameters to send to the API endpoint for the change preference consent 1 operation typically these are written to a http.Request

func NewChangePreferenceConsent1Params added in v0.15.0

func NewChangePreferenceConsent1Params() *ChangePreferenceConsent1Params

NewChangePreferenceConsent1Params creates a new ChangePreferenceConsent1Params object with the default values initialized.

func NewChangePreferenceConsent1ParamsWithContext added in v0.15.0

func NewChangePreferenceConsent1ParamsWithContext(ctx context.Context) *ChangePreferenceConsent1Params

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

func NewChangePreferenceConsent1ParamsWithHTTPClient added in v0.15.0

func NewChangePreferenceConsent1ParamsWithHTTPClient(client *http.Client) *ChangePreferenceConsent1Params

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

func NewChangePreferenceConsent1ParamsWithTimeout added in v0.15.0

func NewChangePreferenceConsent1ParamsWithTimeout(timeout time.Duration) *ChangePreferenceConsent1Params

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

func (*ChangePreferenceConsent1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) SetBody added in v0.15.0

SetBody adds the body to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) SetContext added in v0.15.0

func (o *ChangePreferenceConsent1Params) SetContext(ctx context.Context)

SetContext adds the context to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) SetTimeout added in v0.15.0

func (o *ChangePreferenceConsent1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) WithBody added in v0.15.0

WithBody adds the body to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) WithContext added in v0.15.0

WithContext adds the context to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type ChangePreferenceConsent1Reader added in v0.15.0

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

ChangePreferenceConsent1Reader is a Reader for the ChangePreferenceConsent1 structure.

func (*ChangePreferenceConsent1Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type ChangePreferenceConsentNotFound added in v0.34.0

type ChangePreferenceConsentNotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

ChangePreferenceConsentNotFound 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 NewChangePreferenceConsentNotFound added in v0.34.0

func NewChangePreferenceConsentNotFound() *ChangePreferenceConsentNotFound

NewChangePreferenceConsentNotFound creates a ChangePreferenceConsentNotFound with default headers values

func (*ChangePreferenceConsentNotFound) Error added in v0.34.0

func (*ChangePreferenceConsentNotFound) GetPayload added in v0.34.0

func (*ChangePreferenceConsentNotFound) ToJSONString added in v0.34.0

func (o *ChangePreferenceConsentNotFound) ToJSONString() string

type ChangePreferenceConsentOK

type ChangePreferenceConsentOK struct {
}

ChangePreferenceConsentOK handles this case with default header values.

operation successful

func NewChangePreferenceConsentOK

func NewChangePreferenceConsentOK() *ChangePreferenceConsentOK

NewChangePreferenceConsentOK creates a ChangePreferenceConsentOK with default headers values

func (*ChangePreferenceConsentOK) Error

func (o *ChangePreferenceConsentOK) Error() string

type ChangePreferenceConsentParams

type ChangePreferenceConsentParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body []*legalclientmodels.AcceptAgreementRequest
	/*Namespace
	  namespace

	*/
	Namespace string
	/*UserID
	  User Id

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

ChangePreferenceConsentParams contains all the parameters to send to the API endpoint for the change preference consent operation typically these are written to a http.Request

func NewChangePreferenceConsentParams

func NewChangePreferenceConsentParams() *ChangePreferenceConsentParams

NewChangePreferenceConsentParams creates a new ChangePreferenceConsentParams object with the default values initialized.

func NewChangePreferenceConsentParamsWithContext

func NewChangePreferenceConsentParamsWithContext(ctx context.Context) *ChangePreferenceConsentParams

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

func NewChangePreferenceConsentParamsWithHTTPClient

func NewChangePreferenceConsentParamsWithHTTPClient(client *http.Client) *ChangePreferenceConsentParams

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

func NewChangePreferenceConsentParamsWithTimeout

func NewChangePreferenceConsentParamsWithTimeout(timeout time.Duration) *ChangePreferenceConsentParams

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

func (*ChangePreferenceConsentParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the change preference consent params

func (*ChangePreferenceConsentParams) SetBody

SetBody adds the body to the change preference consent params

func (*ChangePreferenceConsentParams) SetContext

func (o *ChangePreferenceConsentParams) SetContext(ctx context.Context)

SetContext adds the context to the change preference consent params

func (*ChangePreferenceConsentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change preference consent params

func (*ChangePreferenceConsentParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the change preference consent params

func (*ChangePreferenceConsentParams) SetNamespace added in v0.15.0

func (o *ChangePreferenceConsentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the change preference consent params

func (*ChangePreferenceConsentParams) SetTimeout

func (o *ChangePreferenceConsentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the change preference consent params

func (*ChangePreferenceConsentParams) SetUserID added in v0.15.0

func (o *ChangePreferenceConsentParams) SetUserID(userID string)

SetUserID adds the userId to the change preference consent params

func (*ChangePreferenceConsentParams) WithBody

WithBody adds the body to the change preference consent params

func (*ChangePreferenceConsentParams) WithContext

WithContext adds the context to the change preference consent params

func (*ChangePreferenceConsentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change preference consent params

func (*ChangePreferenceConsentParams) WithNamespace added in v0.15.0

WithNamespace adds the namespace to the change preference consent params

func (*ChangePreferenceConsentParams) WithTimeout

WithTimeout adds the timeout to the change preference consent params

func (*ChangePreferenceConsentParams) WithUserID added in v0.15.0

WithUserID adds the userID to the change preference consent params

func (*ChangePreferenceConsentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangePreferenceConsentReader

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

ChangePreferenceConsentReader is a Reader for the ChangePreferenceConsent structure.

func (*ChangePreferenceConsentReader) ReadResponse

func (o *ChangePreferenceConsentReader) 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 agreement API

func (*Client) AcceptVersionedPolicy deprecated

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

AcceptVersionedPolicy accept a policy version Accepts a legal policy version. Supply with localized version policy id to accept an agreement. Other detail info:

  • Required permission : login user

func (*Client) AcceptVersionedPolicyShort added in v0.8.0

func (a *Client) AcceptVersionedPolicyShort(params *AcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*AcceptVersionedPolicyCreated, error)

AcceptVersionedPolicyShort accept a policy version Accepts a legal policy version. Supply with localized version policy id to accept an agreement. Other detail info:

  • Required permission : login user

func (*Client) BulkAcceptVersionedPolicy deprecated

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

BulkAcceptVersionedPolicy bulk accept policy versions Accepts many legal policy versions all at once. Supply with localized version policy id to accept an agreement. Other detail info:

  • Required permission : login user

func (*Client) BulkAcceptVersionedPolicyShort added in v0.8.0

func (a *Client) BulkAcceptVersionedPolicyShort(params *BulkAcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAcceptVersionedPolicyCreated, error)

BulkAcceptVersionedPolicyShort bulk accept policy versions Accepts many legal policy versions all at once. Supply with localized version policy id to accept an agreement. Other detail info:

  • Required permission : login user

func (*Client) ChangePreferenceConsent deprecated

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

ChangePreferenceConsent change preference consent This API will Update Preference Consent. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=4 (UPDATE)

func (*Client) ChangePreferenceConsent1 deprecated added in v0.15.0

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

ChangePreferenceConsent1 accept/revoke marketing preference consent Change marketing preference consent. Other detail info:

  • Required permission : login user

func (*Client) ChangePreferenceConsent1Short added in v0.15.0

func (a *Client) ChangePreferenceConsent1Short(params *ChangePreferenceConsent1Params, authInfo runtime.ClientAuthInfoWriter) (*ChangePreferenceConsent1OK, error)

ChangePreferenceConsent1Short accept/revoke marketing preference consent Change marketing preference consent. Other detail info:

  • Required permission : login user

func (*Client) ChangePreferenceConsentShort added in v0.8.0

func (a *Client) ChangePreferenceConsentShort(params *ChangePreferenceConsentParams, authInfo runtime.ClientAuthInfoWriter) (*ChangePreferenceConsentOK, error)

ChangePreferenceConsentShort change preference consent This API will Update Preference Consent. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=4 (UPDATE)

func (*Client) IndirectBulkAcceptVersionedPolicy1 deprecated added in v0.10.0

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

IndirectBulkAcceptVersionedPolicy1 bulk accept policy versions (indirect) Accepts many legal policy versions all at once. Supply with localized version policy id and userId to accept an agreement. This endpoint used by Authentication Service during new user registration. Other detail info:

  • Required permission : login user

func (*Client) IndirectBulkAcceptVersionedPolicy1Short added in v0.10.0

func (a *Client) IndirectBulkAcceptVersionedPolicy1Short(params *IndirectBulkAcceptVersionedPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*IndirectBulkAcceptVersionedPolicy1Created, error)

IndirectBulkAcceptVersionedPolicy1Short bulk accept policy versions (indirect) Accepts many legal policy versions all at once. Supply with localized version policy id and userId to accept an agreement. This endpoint used by Authentication Service during new user registration. Other detail info:

  • Required permission : login user

func (*Client) IndirectBulkAcceptVersionedPolicyV2 deprecated

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

IndirectBulkAcceptVersionedPolicyV2 bulk accept policy versions (indirect) Accepts many legal policy versions all at once. Supply with localized version policy id, version policy id, policy id, userId, namespace, country code and client id to accept an agreement. This endpoint used by APIGateway during new user registration. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:LEGAL", action=1 (CREATE)

func (*Client) IndirectBulkAcceptVersionedPolicyV2Short added in v0.8.0

func (a *Client) IndirectBulkAcceptVersionedPolicyV2Short(params *IndirectBulkAcceptVersionedPolicyV2Params, authInfo runtime.ClientAuthInfoWriter) (*IndirectBulkAcceptVersionedPolicyV2Created, error)

IndirectBulkAcceptVersionedPolicyV2Short bulk accept policy versions (indirect) Accepts many legal policy versions all at once. Supply with localized version policy id, version policy id, policy id, userId, namespace, country code and client id to accept an agreement. This endpoint used by APIGateway during new user registration. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:LEGAL", action=1 (CREATE)

func (*Client) RetrieveAcceptedAgreements deprecated

func (a *Client) RetrieveAcceptedAgreements(params *RetrieveAcceptedAgreementsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAcceptedAgreementsOK, error)

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

RetrieveAcceptedAgreements retrieve accepted legal agreements This API will return all accepted Legal Agreements for specified user. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)

func (*Client) RetrieveAcceptedAgreementsShort added in v0.8.0

func (a *Client) RetrieveAcceptedAgreementsShort(params *RetrieveAcceptedAgreementsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAcceptedAgreementsOK, error)

RetrieveAcceptedAgreementsShort retrieve accepted legal agreements This API will return all accepted Legal Agreements for specified user. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)

func (*Client) RetrieveAgreementsPublic deprecated

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

RetrieveAgreementsPublic retrieve the accepted legal agreements Retrieve accepted Legal Agreements. Other detail info:

  • Required permission : login user

func (*Client) RetrieveAgreementsPublicShort added in v0.8.0

func (a *Client) RetrieveAgreementsPublicShort(params *RetrieveAgreementsPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAgreementsPublicOK, error)

RetrieveAgreementsPublicShort retrieve the accepted legal agreements Retrieve accepted Legal Agreements. Other detail info:

  • Required permission : login user

func (*Client) RetrieveAllUsersByPolicyVersion deprecated

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

RetrieveAllUsersByPolicyVersion retrieve all users accepting legal agreements This API will return all users who has accepted a specific policy version.Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)

func (*Client) RetrieveAllUsersByPolicyVersionShort added in v0.8.0

func (a *Client) RetrieveAllUsersByPolicyVersionShort(params *RetrieveAllUsersByPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllUsersByPolicyVersionOK, error)

RetrieveAllUsersByPolicyVersionShort retrieve all users accepting legal agreements This API will return all users who has accepted a specific policy version.Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ChangePreferenceConsent(params *ChangePreferenceConsentParams, authInfo runtime.ClientAuthInfoWriter) (*ChangePreferenceConsentOK, *ChangePreferenceConsentNotFound, error)
	ChangePreferenceConsentShort(params *ChangePreferenceConsentParams, authInfo runtime.ClientAuthInfoWriter) (*ChangePreferenceConsentOK, error)
	RetrieveAcceptedAgreements(params *RetrieveAcceptedAgreementsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAcceptedAgreementsOK, error)
	RetrieveAcceptedAgreementsShort(params *RetrieveAcceptedAgreementsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAcceptedAgreementsOK, error)
	RetrieveAllUsersByPolicyVersion(params *RetrieveAllUsersByPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllUsersByPolicyVersionOK, *RetrieveAllUsersByPolicyVersionNotFound, error)
	RetrieveAllUsersByPolicyVersionShort(params *RetrieveAllUsersByPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllUsersByPolicyVersionOK, error)
	ChangePreferenceConsent1(params *ChangePreferenceConsent1Params, authInfo runtime.ClientAuthInfoWriter) (*ChangePreferenceConsent1OK, *ChangePreferenceConsent1BadRequest, error)
	ChangePreferenceConsent1Short(params *ChangePreferenceConsent1Params, authInfo runtime.ClientAuthInfoWriter) (*ChangePreferenceConsent1OK, error)
	AcceptVersionedPolicy(params *AcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*AcceptVersionedPolicyCreated, *AcceptVersionedPolicyBadRequest, error)
	AcceptVersionedPolicyShort(params *AcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*AcceptVersionedPolicyCreated, error)
	RetrieveAgreementsPublic(params *RetrieveAgreementsPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAgreementsPublicOK, *RetrieveAgreementsPublicBadRequest, error)
	RetrieveAgreementsPublicShort(params *RetrieveAgreementsPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAgreementsPublicOK, error)
	BulkAcceptVersionedPolicy(params *BulkAcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAcceptVersionedPolicyCreated, *BulkAcceptVersionedPolicyBadRequest, error)
	BulkAcceptVersionedPolicyShort(params *BulkAcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAcceptVersionedPolicyCreated, error)
	IndirectBulkAcceptVersionedPolicyV2(params *IndirectBulkAcceptVersionedPolicyV2Params, authInfo runtime.ClientAuthInfoWriter) (*IndirectBulkAcceptVersionedPolicyV2Created, error)
	IndirectBulkAcceptVersionedPolicyV2Short(params *IndirectBulkAcceptVersionedPolicyV2Params, authInfo runtime.ClientAuthInfoWriter) (*IndirectBulkAcceptVersionedPolicyV2Created, error)
	IndirectBulkAcceptVersionedPolicy1(params *IndirectBulkAcceptVersionedPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*IndirectBulkAcceptVersionedPolicy1Created, *IndirectBulkAcceptVersionedPolicy1NotFound, error)
	IndirectBulkAcceptVersionedPolicy1Short(params *IndirectBulkAcceptVersionedPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*IndirectBulkAcceptVersionedPolicy1Created, 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 agreement API client.

type IndirectBulkAcceptVersionedPolicy1Created added in v0.10.0

type IndirectBulkAcceptVersionedPolicy1Created struct {
	Payload *legalclientmodels.AcceptAgreementResponse
}

IndirectBulkAcceptVersionedPolicy1Created handles this case with default header values.

successful operation

func NewIndirectBulkAcceptVersionedPolicy1Created added in v0.10.0

func NewIndirectBulkAcceptVersionedPolicy1Created() *IndirectBulkAcceptVersionedPolicy1Created

NewIndirectBulkAcceptVersionedPolicy1Created creates a IndirectBulkAcceptVersionedPolicy1Created with default headers values

func (*IndirectBulkAcceptVersionedPolicy1Created) Error added in v0.10.0

func (*IndirectBulkAcceptVersionedPolicy1Created) GetPayload added in v0.10.0

func (*IndirectBulkAcceptVersionedPolicy1Created) ToJSONString added in v0.25.0

type IndirectBulkAcceptVersionedPolicy1NotFound added in v0.34.0

type IndirectBulkAcceptVersionedPolicy1NotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

IndirectBulkAcceptVersionedPolicy1NotFound handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40035</td><td>errors.net.accelbyte.platform.legal.policy_version_not_found</td></tr></table>

func NewIndirectBulkAcceptVersionedPolicy1NotFound added in v0.34.0

func NewIndirectBulkAcceptVersionedPolicy1NotFound() *IndirectBulkAcceptVersionedPolicy1NotFound

NewIndirectBulkAcceptVersionedPolicy1NotFound creates a IndirectBulkAcceptVersionedPolicy1NotFound with default headers values

func (*IndirectBulkAcceptVersionedPolicy1NotFound) Error added in v0.34.0

func (*IndirectBulkAcceptVersionedPolicy1NotFound) GetPayload added in v0.34.0

func (*IndirectBulkAcceptVersionedPolicy1NotFound) ToJSONString added in v0.34.0

type IndirectBulkAcceptVersionedPolicy1Params added in v0.10.0

type IndirectBulkAcceptVersionedPolicy1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body []*legalclientmodels.AcceptAgreementRequest
	/*UserID
	  User Id

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

IndirectBulkAcceptVersionedPolicy1Params contains all the parameters to send to the API endpoint for the indirect bulk accept versioned policy 1 operation typically these are written to a http.Request

func NewIndirectBulkAcceptVersionedPolicy1Params added in v0.10.0

func NewIndirectBulkAcceptVersionedPolicy1Params() *IndirectBulkAcceptVersionedPolicy1Params

NewIndirectBulkAcceptVersionedPolicy1Params creates a new IndirectBulkAcceptVersionedPolicy1Params object with the default values initialized.

func NewIndirectBulkAcceptVersionedPolicy1ParamsWithContext added in v0.10.0

func NewIndirectBulkAcceptVersionedPolicy1ParamsWithContext(ctx context.Context) *IndirectBulkAcceptVersionedPolicy1Params

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

func NewIndirectBulkAcceptVersionedPolicy1ParamsWithHTTPClient added in v0.10.0

func NewIndirectBulkAcceptVersionedPolicy1ParamsWithHTTPClient(client *http.Client) *IndirectBulkAcceptVersionedPolicy1Params

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

func NewIndirectBulkAcceptVersionedPolicy1ParamsWithTimeout added in v0.10.0

func NewIndirectBulkAcceptVersionedPolicy1ParamsWithTimeout(timeout time.Duration) *IndirectBulkAcceptVersionedPolicy1Params

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

func (*IndirectBulkAcceptVersionedPolicy1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the indirect bulk accept versioned policy 1 params

func (*IndirectBulkAcceptVersionedPolicy1Params) SetBody added in v0.10.0

SetBody adds the body to the indirect bulk accept versioned policy 1 params

func (*IndirectBulkAcceptVersionedPolicy1Params) SetContext added in v0.10.0

SetContext adds the context to the indirect bulk accept versioned policy 1 params

func (*IndirectBulkAcceptVersionedPolicy1Params) SetHTTPClient added in v0.10.0

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

SetHTTPClient adds the HTTPClient to the indirect bulk accept versioned policy 1 params

func (*IndirectBulkAcceptVersionedPolicy1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the indirect bulk accept versioned policy 1 params

func (*IndirectBulkAcceptVersionedPolicy1Params) SetTimeout added in v0.10.0

SetTimeout adds the timeout to the indirect bulk accept versioned policy 1 params

func (*IndirectBulkAcceptVersionedPolicy1Params) SetUserID added in v0.10.0

func (o *IndirectBulkAcceptVersionedPolicy1Params) SetUserID(userID string)

SetUserID adds the userId to the indirect bulk accept versioned policy 1 params

func (*IndirectBulkAcceptVersionedPolicy1Params) WithBody added in v0.10.0

WithBody adds the body to the indirect bulk accept versioned policy 1 params

func (*IndirectBulkAcceptVersionedPolicy1Params) WithContext added in v0.10.0

WithContext adds the context to the indirect bulk accept versioned policy 1 params

func (*IndirectBulkAcceptVersionedPolicy1Params) WithHTTPClient added in v0.10.0

WithHTTPClient adds the HTTPClient to the indirect bulk accept versioned policy 1 params

func (*IndirectBulkAcceptVersionedPolicy1Params) WithTimeout added in v0.10.0

WithTimeout adds the timeout to the indirect bulk accept versioned policy 1 params

func (*IndirectBulkAcceptVersionedPolicy1Params) WithUserID added in v0.10.0

WithUserID adds the userID to the indirect bulk accept versioned policy 1 params

func (*IndirectBulkAcceptVersionedPolicy1Params) WriteToRequest added in v0.10.0

WriteToRequest writes these params to a swagger request

type IndirectBulkAcceptVersionedPolicy1Reader added in v0.10.0

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

IndirectBulkAcceptVersionedPolicy1Reader is a Reader for the IndirectBulkAcceptVersionedPolicy1 structure.

func (*IndirectBulkAcceptVersionedPolicy1Reader) ReadResponse added in v0.10.0

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

ReadResponse reads a server response into the received o.

type IndirectBulkAcceptVersionedPolicyV2Created

type IndirectBulkAcceptVersionedPolicyV2Created struct {
	Payload *legalclientmodels.AcceptAgreementResponse
}

IndirectBulkAcceptVersionedPolicyV2Created handles this case with default header values.

successful operation

func NewIndirectBulkAcceptVersionedPolicyV2Created

func NewIndirectBulkAcceptVersionedPolicyV2Created() *IndirectBulkAcceptVersionedPolicyV2Created

NewIndirectBulkAcceptVersionedPolicyV2Created creates a IndirectBulkAcceptVersionedPolicyV2Created with default headers values

func (*IndirectBulkAcceptVersionedPolicyV2Created) Error

func (*IndirectBulkAcceptVersionedPolicyV2Created) GetPayload

func (*IndirectBulkAcceptVersionedPolicyV2Created) ToJSONString added in v0.25.0

type IndirectBulkAcceptVersionedPolicyV2Params

type IndirectBulkAcceptVersionedPolicyV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body []*legalclientmodels.AcceptAgreementRequest
	/*ClientID
	  Client ID

	*/
	ClientID string
	/*CountryCode
	  Country Code

	*/
	CountryCode string
	/*Namespace
	  namespace

	*/
	Namespace string
	/*UserID
	  User Id

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

IndirectBulkAcceptVersionedPolicyV2Params contains all the parameters to send to the API endpoint for the indirect bulk accept versioned policy v2 operation typically these are written to a http.Request

func NewIndirectBulkAcceptVersionedPolicyV2Params

func NewIndirectBulkAcceptVersionedPolicyV2Params() *IndirectBulkAcceptVersionedPolicyV2Params

NewIndirectBulkAcceptVersionedPolicyV2Params creates a new IndirectBulkAcceptVersionedPolicyV2Params object with the default values initialized.

func NewIndirectBulkAcceptVersionedPolicyV2ParamsWithContext

func NewIndirectBulkAcceptVersionedPolicyV2ParamsWithContext(ctx context.Context) *IndirectBulkAcceptVersionedPolicyV2Params

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

func NewIndirectBulkAcceptVersionedPolicyV2ParamsWithHTTPClient

func NewIndirectBulkAcceptVersionedPolicyV2ParamsWithHTTPClient(client *http.Client) *IndirectBulkAcceptVersionedPolicyV2Params

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

func NewIndirectBulkAcceptVersionedPolicyV2ParamsWithTimeout

func NewIndirectBulkAcceptVersionedPolicyV2ParamsWithTimeout(timeout time.Duration) *IndirectBulkAcceptVersionedPolicyV2Params

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

func (*IndirectBulkAcceptVersionedPolicyV2Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) SetBody

SetBody adds the body to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) SetClientID

func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetClientID(clientID string)

SetClientID adds the clientId to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) SetContext

SetContext adds the context to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) SetCountryCode

func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetCountryCode(countryCode string)

SetCountryCode adds the countryCode to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) SetNamespace

func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) SetTimeout

SetTimeout adds the timeout to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) SetUserID

SetUserID adds the userId to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) WithBody

WithBody adds the body to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) WithClientID

WithClientID adds the clientID to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) WithContext

WithContext adds the context to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) WithCountryCode

WithCountryCode adds the countryCode to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) WithNamespace

WithNamespace adds the namespace to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) WithTimeout

WithTimeout adds the timeout to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) WithUserID

WithUserID adds the userID to the indirect bulk accept versioned policy v2 params

func (*IndirectBulkAcceptVersionedPolicyV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type IndirectBulkAcceptVersionedPolicyV2Reader

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

IndirectBulkAcceptVersionedPolicyV2Reader is a Reader for the IndirectBulkAcceptVersionedPolicyV2 structure.

func (*IndirectBulkAcceptVersionedPolicyV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveAcceptedAgreementsOK

type RetrieveAcceptedAgreementsOK struct {
	Payload []*legalclientmodels.RetrieveAcceptedAgreementResponse
}

RetrieveAcceptedAgreementsOK handles this case with default header values.

successful operation

func NewRetrieveAcceptedAgreementsOK

func NewRetrieveAcceptedAgreementsOK() *RetrieveAcceptedAgreementsOK

NewRetrieveAcceptedAgreementsOK creates a RetrieveAcceptedAgreementsOK with default headers values

func (*RetrieveAcceptedAgreementsOK) Error

func (*RetrieveAcceptedAgreementsOK) GetPayload

func (*RetrieveAcceptedAgreementsOK) ToJSONString added in v0.25.0

func (o *RetrieveAcceptedAgreementsOK) ToJSONString() string

type RetrieveAcceptedAgreementsParams

type RetrieveAcceptedAgreementsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*UserID
	  User Id

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

RetrieveAcceptedAgreementsParams contains all the parameters to send to the API endpoint for the retrieve accepted agreements operation typically these are written to a http.Request

func NewRetrieveAcceptedAgreementsParams

func NewRetrieveAcceptedAgreementsParams() *RetrieveAcceptedAgreementsParams

NewRetrieveAcceptedAgreementsParams creates a new RetrieveAcceptedAgreementsParams object with the default values initialized.

func NewRetrieveAcceptedAgreementsParamsWithContext

func NewRetrieveAcceptedAgreementsParamsWithContext(ctx context.Context) *RetrieveAcceptedAgreementsParams

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

func NewRetrieveAcceptedAgreementsParamsWithHTTPClient

func NewRetrieveAcceptedAgreementsParamsWithHTTPClient(client *http.Client) *RetrieveAcceptedAgreementsParams

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

func NewRetrieveAcceptedAgreementsParamsWithTimeout

func NewRetrieveAcceptedAgreementsParamsWithTimeout(timeout time.Duration) *RetrieveAcceptedAgreementsParams

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

func (*RetrieveAcceptedAgreementsParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve accepted agreements params

func (*RetrieveAcceptedAgreementsParams) SetContext

SetContext adds the context to the retrieve accepted agreements params

func (*RetrieveAcceptedAgreementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve accepted agreements params

func (*RetrieveAcceptedAgreementsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve accepted agreements params

func (*RetrieveAcceptedAgreementsParams) SetTimeout

func (o *RetrieveAcceptedAgreementsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the retrieve accepted agreements params

func (*RetrieveAcceptedAgreementsParams) SetUserID

func (o *RetrieveAcceptedAgreementsParams) SetUserID(userID string)

SetUserID adds the userId to the retrieve accepted agreements params

func (*RetrieveAcceptedAgreementsParams) WithContext

WithContext adds the context to the retrieve accepted agreements params

func (*RetrieveAcceptedAgreementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve accepted agreements params

func (*RetrieveAcceptedAgreementsParams) WithTimeout

WithTimeout adds the timeout to the retrieve accepted agreements params

func (*RetrieveAcceptedAgreementsParams) WithUserID

WithUserID adds the userID to the retrieve accepted agreements params

func (*RetrieveAcceptedAgreementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveAcceptedAgreementsReader

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

RetrieveAcceptedAgreementsReader is a Reader for the RetrieveAcceptedAgreements structure.

func (*RetrieveAcceptedAgreementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveAgreementsPublicBadRequest added in v0.34.0

type RetrieveAgreementsPublicBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveAgreementsPublicBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>40045</td><td>errors.net.accelbyte.platform.legal.user_id_needed</td></tr></table>

func NewRetrieveAgreementsPublicBadRequest added in v0.34.0

func NewRetrieveAgreementsPublicBadRequest() *RetrieveAgreementsPublicBadRequest

NewRetrieveAgreementsPublicBadRequest creates a RetrieveAgreementsPublicBadRequest with default headers values

func (*RetrieveAgreementsPublicBadRequest) Error added in v0.34.0

func (*RetrieveAgreementsPublicBadRequest) GetPayload added in v0.34.0

func (*RetrieveAgreementsPublicBadRequest) ToJSONString added in v0.34.0

func (o *RetrieveAgreementsPublicBadRequest) ToJSONString() string

type RetrieveAgreementsPublicOK

type RetrieveAgreementsPublicOK struct {
	Payload []*legalclientmodels.RetrieveAcceptedAgreementResponse
}

RetrieveAgreementsPublicOK handles this case with default header values.

successful operation

func NewRetrieveAgreementsPublicOK

func NewRetrieveAgreementsPublicOK() *RetrieveAgreementsPublicOK

NewRetrieveAgreementsPublicOK creates a RetrieveAgreementsPublicOK with default headers values

func (*RetrieveAgreementsPublicOK) Error

func (*RetrieveAgreementsPublicOK) GetPayload

func (*RetrieveAgreementsPublicOK) ToJSONString added in v0.25.0

func (o *RetrieveAgreementsPublicOK) ToJSONString() string

type RetrieveAgreementsPublicParams

type RetrieveAgreementsPublicParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

RetrieveAgreementsPublicParams contains all the parameters to send to the API endpoint for the retrieve agreements public operation typically these are written to a http.Request

func NewRetrieveAgreementsPublicParams

func NewRetrieveAgreementsPublicParams() *RetrieveAgreementsPublicParams

NewRetrieveAgreementsPublicParams creates a new RetrieveAgreementsPublicParams object with the default values initialized.

func NewRetrieveAgreementsPublicParamsWithContext

func NewRetrieveAgreementsPublicParamsWithContext(ctx context.Context) *RetrieveAgreementsPublicParams

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

func NewRetrieveAgreementsPublicParamsWithHTTPClient

func NewRetrieveAgreementsPublicParamsWithHTTPClient(client *http.Client) *RetrieveAgreementsPublicParams

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

func NewRetrieveAgreementsPublicParamsWithTimeout

func NewRetrieveAgreementsPublicParamsWithTimeout(timeout time.Duration) *RetrieveAgreementsPublicParams

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

func (*RetrieveAgreementsPublicParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve agreements public params

func (*RetrieveAgreementsPublicParams) SetContext

func (o *RetrieveAgreementsPublicParams) SetContext(ctx context.Context)

SetContext adds the context to the retrieve agreements public params

func (*RetrieveAgreementsPublicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve agreements public params

func (*RetrieveAgreementsPublicParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve agreements public params

func (*RetrieveAgreementsPublicParams) SetTimeout

func (o *RetrieveAgreementsPublicParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the retrieve agreements public params

func (*RetrieveAgreementsPublicParams) WithContext

WithContext adds the context to the retrieve agreements public params

func (*RetrieveAgreementsPublicParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve agreements public params

func (*RetrieveAgreementsPublicParams) WithTimeout

WithTimeout adds the timeout to the retrieve agreements public params

func (*RetrieveAgreementsPublicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveAgreementsPublicReader

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

RetrieveAgreementsPublicReader is a Reader for the RetrieveAgreementsPublic structure.

func (*RetrieveAgreementsPublicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveAllUsersByPolicyVersionNotFound

type RetrieveAllUsersByPolicyVersionNotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveAllUsersByPolicyVersionNotFound handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40035</td><td>errors.net.accelbyte.platform.legal.policy_version_not_found</td></tr></table>

func NewRetrieveAllUsersByPolicyVersionNotFound

func NewRetrieveAllUsersByPolicyVersionNotFound() *RetrieveAllUsersByPolicyVersionNotFound

NewRetrieveAllUsersByPolicyVersionNotFound creates a RetrieveAllUsersByPolicyVersionNotFound with default headers values

func (*RetrieveAllUsersByPolicyVersionNotFound) Error

func (*RetrieveAllUsersByPolicyVersionNotFound) GetPayload

func (*RetrieveAllUsersByPolicyVersionNotFound) ToJSONString added in v0.25.0

type RetrieveAllUsersByPolicyVersionOK

type RetrieveAllUsersByPolicyVersionOK struct {
	Payload *legalclientmodels.PagedRetrieveUserAcceptedAgreementResponse
}

RetrieveAllUsersByPolicyVersionOK handles this case with default header values.

successful operation

func NewRetrieveAllUsersByPolicyVersionOK

func NewRetrieveAllUsersByPolicyVersionOK() *RetrieveAllUsersByPolicyVersionOK

NewRetrieveAllUsersByPolicyVersionOK creates a RetrieveAllUsersByPolicyVersionOK with default headers values

func (*RetrieveAllUsersByPolicyVersionOK) Error

func (*RetrieveAllUsersByPolicyVersionOK) GetPayload

func (*RetrieveAllUsersByPolicyVersionOK) ToJSONString added in v0.25.0

func (o *RetrieveAllUsersByPolicyVersionOK) ToJSONString() string

type RetrieveAllUsersByPolicyVersionParams

type RetrieveAllUsersByPolicyVersionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Keyword
	  display name or email or username

	*/
	Keyword *string
	/*Limit
	  limit

	*/
	Limit *int32
	/*Offset
	  offset

	*/
	Offset *int32
	/*PolicyVersionID*/
	PolicyVersionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

RetrieveAllUsersByPolicyVersionParams contains all the parameters to send to the API endpoint for the retrieve all users by policy version operation typically these are written to a http.Request

func NewRetrieveAllUsersByPolicyVersionParams

func NewRetrieveAllUsersByPolicyVersionParams() *RetrieveAllUsersByPolicyVersionParams

NewRetrieveAllUsersByPolicyVersionParams creates a new RetrieveAllUsersByPolicyVersionParams object with the default values initialized.

func NewRetrieveAllUsersByPolicyVersionParamsWithContext

func NewRetrieveAllUsersByPolicyVersionParamsWithContext(ctx context.Context) *RetrieveAllUsersByPolicyVersionParams

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

func NewRetrieveAllUsersByPolicyVersionParamsWithHTTPClient

func NewRetrieveAllUsersByPolicyVersionParamsWithHTTPClient(client *http.Client) *RetrieveAllUsersByPolicyVersionParams

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

func NewRetrieveAllUsersByPolicyVersionParamsWithTimeout

func NewRetrieveAllUsersByPolicyVersionParamsWithTimeout(timeout time.Duration) *RetrieveAllUsersByPolicyVersionParams

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

func (*RetrieveAllUsersByPolicyVersionParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) SetContext

SetContext adds the context to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) SetKeyword

func (o *RetrieveAllUsersByPolicyVersionParams) SetKeyword(keyword *string)

SetKeyword adds the keyword to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) SetLimit

func (o *RetrieveAllUsersByPolicyVersionParams) SetLimit(limit *int32)

SetLimit adds the limit to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) SetOffset

func (o *RetrieveAllUsersByPolicyVersionParams) SetOffset(offset *int32)

SetOffset adds the offset to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) SetPolicyVersionID

func (o *RetrieveAllUsersByPolicyVersionParams) SetPolicyVersionID(policyVersionID string)

SetPolicyVersionID adds the policyVersionId to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) SetTimeout

func (o *RetrieveAllUsersByPolicyVersionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) WithContext

WithContext adds the context to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) WithKeyword

WithKeyword adds the keyword to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) WithLimit

WithLimit adds the limit to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) WithOffset

WithOffset adds the offset to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) WithPolicyVersionID

WithPolicyVersionID adds the policyVersionID to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) WithTimeout

WithTimeout adds the timeout to the retrieve all users by policy version params

func (*RetrieveAllUsersByPolicyVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveAllUsersByPolicyVersionReader

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

RetrieveAllUsersByPolicyVersionReader is a Reader for the RetrieveAllUsersByPolicyVersion structure.

func (*RetrieveAllUsersByPolicyVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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