agreement

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 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

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

func NewAcceptVersionedPolicyBadRequest() *AcceptVersionedPolicyBadRequest

NewAcceptVersionedPolicyBadRequest creates a AcceptVersionedPolicyBadRequest with default headers values

func (*AcceptVersionedPolicyBadRequest) Error

func (*AcceptVersionedPolicyBadRequest) GetPayload

func (*AcceptVersionedPolicyBadRequest) ToJSONString

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *AcceptVersionedPolicyParams) SetFlightId(flightId string)

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

func (*AcceptVersionedPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the accept versioned policy params

func (*AcceptVersionedPolicyParams) SetHTTPClientTransport

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

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

func NewBulkAcceptVersionedPolicyBadRequest() *BulkAcceptVersionedPolicyBadRequest

NewBulkAcceptVersionedPolicyBadRequest creates a BulkAcceptVersionedPolicyBadRequest with default headers values

func (*BulkAcceptVersionedPolicyBadRequest) Error

func (*BulkAcceptVersionedPolicyBadRequest) GetPayload

func (*BulkAcceptVersionedPolicyBadRequest) ToJSONString

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *BulkAcceptVersionedPolicyParams) SetFlightId(flightId string)

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

func (*BulkAcceptVersionedPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk accept versioned policy params

func (*BulkAcceptVersionedPolicyParams) SetHTTPClientTransport

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

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

func NewChangePreferenceConsent1BadRequest() *ChangePreferenceConsent1BadRequest

NewChangePreferenceConsent1BadRequest creates a ChangePreferenceConsent1BadRequest with default headers values

func (*ChangePreferenceConsent1BadRequest) Error

func (*ChangePreferenceConsent1BadRequest) GetPayload

func (*ChangePreferenceConsent1BadRequest) ToJSONString

func (o *ChangePreferenceConsent1BadRequest) ToJSONString() string

type ChangePreferenceConsent1OK

type ChangePreferenceConsent1OK struct {
}

ChangePreferenceConsent1OK handles this case with default header values.

Successful operation

func NewChangePreferenceConsent1OK

func NewChangePreferenceConsent1OK() *ChangePreferenceConsent1OK

NewChangePreferenceConsent1OK creates a ChangePreferenceConsent1OK with default headers values

func (*ChangePreferenceConsent1OK) Error

type ChangePreferenceConsent1Params

type ChangePreferenceConsent1Params struct {

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewChangePreferenceConsent1Params() *ChangePreferenceConsent1Params

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

func NewChangePreferenceConsent1ParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) SetBody

SetBody adds the body to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) SetContext

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

SetContext adds the context to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) SetFlightId

func (o *ChangePreferenceConsent1Params) SetFlightId(flightId string)

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

func (*ChangePreferenceConsent1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) SetHTTPClientTransport

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

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

func (*ChangePreferenceConsent1Params) SetTimeout

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

SetTimeout adds the timeout to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) WithBody

WithBody adds the body to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) WithContext

WithContext adds the context to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) WithTimeout

WithTimeout adds the timeout to the change preference consent 1 params

func (*ChangePreferenceConsent1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangePreferenceConsent1Reader

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

ChangePreferenceConsent1Reader is a Reader for the ChangePreferenceConsent1 structure.

func (*ChangePreferenceConsent1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangePreferenceConsentNotFound

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

func NewChangePreferenceConsentNotFound() *ChangePreferenceConsentNotFound

NewChangePreferenceConsentNotFound creates a ChangePreferenceConsentNotFound with default headers values

func (*ChangePreferenceConsentNotFound) Error

func (*ChangePreferenceConsentNotFound) GetPayload

func (*ChangePreferenceConsentNotFound) ToJSONString

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *ChangePreferenceConsentParams) SetFlightId(flightId string)

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

func (*ChangePreferenceConsentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change preference consent params

func (*ChangePreferenceConsentParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the change preference consent params

func (*ChangePreferenceConsentParams) SetNamespace

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type IndirectBulkAcceptVersionedPolicy1Created struct {
	Payload *legalclientmodels.AcceptAgreementResponse
}

IndirectBulkAcceptVersionedPolicy1Created handles this case with default header values.

successful operation

func NewIndirectBulkAcceptVersionedPolicy1Created

func NewIndirectBulkAcceptVersionedPolicy1Created() *IndirectBulkAcceptVersionedPolicy1Created

NewIndirectBulkAcceptVersionedPolicy1Created creates a IndirectBulkAcceptVersionedPolicy1Created with default headers values

func (*IndirectBulkAcceptVersionedPolicy1Created) Error

func (*IndirectBulkAcceptVersionedPolicy1Created) GetPayload

func (*IndirectBulkAcceptVersionedPolicy1Created) ToJSONString

type IndirectBulkAcceptVersionedPolicy1NotFound

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

func NewIndirectBulkAcceptVersionedPolicy1NotFound() *IndirectBulkAcceptVersionedPolicy1NotFound

NewIndirectBulkAcceptVersionedPolicy1NotFound creates a IndirectBulkAcceptVersionedPolicy1NotFound with default headers values

func (*IndirectBulkAcceptVersionedPolicy1NotFound) Error

func (*IndirectBulkAcceptVersionedPolicy1NotFound) GetPayload

func (*IndirectBulkAcceptVersionedPolicy1NotFound) ToJSONString

type IndirectBulkAcceptVersionedPolicy1Params

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewIndirectBulkAcceptVersionedPolicy1Params() *IndirectBulkAcceptVersionedPolicy1Params

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

func NewIndirectBulkAcceptVersionedPolicy1ParamsWithContext

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

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

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

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

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

func (*IndirectBulkAcceptVersionedPolicy1Params) SetBody

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

func (*IndirectBulkAcceptVersionedPolicy1Params) SetContext

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

func (*IndirectBulkAcceptVersionedPolicy1Params) SetFlightId

func (o *IndirectBulkAcceptVersionedPolicy1Params) SetFlightId(flightId string)

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

func (*IndirectBulkAcceptVersionedPolicy1Params) SetHTTPClient

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

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

func (*IndirectBulkAcceptVersionedPolicy1Params) SetHTTPClientTransport

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

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

func (*IndirectBulkAcceptVersionedPolicy1Params) SetTimeout

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

func (*IndirectBulkAcceptVersionedPolicy1Params) SetUserID

func (o *IndirectBulkAcceptVersionedPolicy1Params) SetUserID(userID string)

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

func (*IndirectBulkAcceptVersionedPolicy1Params) WithBody

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

func (*IndirectBulkAcceptVersionedPolicy1Params) WithContext

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

func (*IndirectBulkAcceptVersionedPolicy1Params) WithHTTPClient

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

func (*IndirectBulkAcceptVersionedPolicy1Params) WithTimeout

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

func (*IndirectBulkAcceptVersionedPolicy1Params) WithUserID

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

func (*IndirectBulkAcceptVersionedPolicy1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type IndirectBulkAcceptVersionedPolicy1Reader

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

IndirectBulkAcceptVersionedPolicy1Reader is a Reader for the IndirectBulkAcceptVersionedPolicy1 structure.

func (*IndirectBulkAcceptVersionedPolicy1Reader) ReadResponse

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetFlightId(flightId string)

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

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

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *RetrieveAcceptedAgreementsParams) SetFlightId(flightId string)

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

func (*RetrieveAcceptedAgreementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve accepted agreements params

func (*RetrieveAcceptedAgreementsParams) SetHTTPClientTransport

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

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

func NewRetrieveAgreementsPublicBadRequest() *RetrieveAgreementsPublicBadRequest

NewRetrieveAgreementsPublicBadRequest creates a RetrieveAgreementsPublicBadRequest with default headers values

func (*RetrieveAgreementsPublicBadRequest) Error

func (*RetrieveAgreementsPublicBadRequest) GetPayload

func (*RetrieveAgreementsPublicBadRequest) ToJSONString

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

func (o *RetrieveAgreementsPublicOK) ToJSONString() string

type RetrieveAgreementsPublicParams

type RetrieveAgreementsPublicParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *RetrieveAgreementsPublicParams) SetFlightId(flightId string)

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

func (*RetrieveAgreementsPublicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retrieve agreements public params

func (*RetrieveAgreementsPublicParams) SetHTTPClientTransport

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

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *RetrieveAllUsersByPolicyVersionParams) SetFlightId(flightId string)

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

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

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