agreement

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptVersionedPolicyCreated

type AcceptVersionedPolicyCreated struct {
}

AcceptVersionedPolicyCreated handles this case with default header values.

successful operation

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

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></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

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 ChangePreferenceConsentOK

type ChangePreferenceConsentOK struct {
}

ChangePreferenceConsentOK handles this case with default header values.

successful operation

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

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

AcceptVersionedPolicy accepts a policy version

Accepts a legal policy version. Supply with localized version policy id to accept an agreement.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: login user&lt;/li&gt;&lt;/ul&gt;

func (*Client) AcceptVersionedPolicyShort added in v0.8.0

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

func (*Client) BulkAcceptVersionedPolicy

BulkAcceptVersionedPolicy bulks accept policy versions

Accepts many legal policy versions all at once. Supply with localized version policy id to accept an agreement.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: login user&lt;/li&gt;&lt;/ul&gt;

func (*Client) BulkAcceptVersionedPolicyShort added in v0.8.0

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

func (*Client) ChangePreferenceConsent

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

ChangePreferenceConsent change preference consent API

func (*Client) ChangePreferenceConsent1 added in v0.15.0

ChangePreferenceConsent1 accepts revoke marketing preference consent

Change marketing preference consent.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: login user&lt;/li&gt;&lt;/ul&gt;

func (*Client) ChangePreferenceConsent1Short added in v0.15.0

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

func (*Client) ChangePreferenceConsentShort added in v0.8.0

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

func (*Client) IndirectBulkAcceptVersionedPolicy1 added in v0.10.0

IndirectBulkAcceptVersionedPolicy1 bulks 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.&lt;br&gt;&lt;br/&gt;Available Extra Information to return: &lt;br/&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;userIds&lt;/b&gt; : List of userId mapping (&lt;b&gt;IMPORTANT: GOING TO DEPRECATE&lt;/b&gt;)&lt;/li&gt;&lt;/ul&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: login user&lt;/li&gt;&lt;/ul&gt;

func (*Client) IndirectBulkAcceptVersionedPolicy1Short added in v0.10.0

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

func (*Client) IndirectBulkAcceptVersionedPolicyV2

IndirectBulkAcceptVersionedPolicyV2 bulks accept policy versions indirect

&lt;b&gt;IMPORTANT: GOING TO DEPRECATE&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;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.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;NAMESPACE:{namespace}:LEGAL&#34;, action=1 (CREATE)&lt;/li&gt;&lt;/ul&gt;

func (*Client) IndirectBulkAcceptVersionedPolicyV2Short added in v0.8.0

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

func (*Client) RetrieveAcceptedAgreements

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

RetrieveAcceptedAgreements retrieves accepted legal agreements

This API will return all accepted Legal Agreements for specified user. Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:*:LEGAL&#34;, action=2 (READ)&lt;/li&gt;&lt;/ul&gt;

func (*Client) RetrieveAcceptedAgreementsShort added in v0.8.0

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

func (*Client) RetrieveAgreementsPublic

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

RetrieveAgreementsPublic retrieves the accepted legal agreements

Retrieve accepted Legal Agreements.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: login user&lt;/li&gt;&lt;/ul&gt;

func (*Client) RetrieveAgreementsPublicShort added in v0.8.0

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

func (*Client) RetrieveAllUsersByPolicyVersion

RetrieveAllUsersByPolicyVersion retrieves all users accepting legal agreements

This API will return all users who has accepted a specific policy version.Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:*:LEGAL&#34;, action=2 (READ)&lt;/li&gt;&lt;/ul&gt;

func (*Client) RetrieveAllUsersByPolicyVersionShort added in v0.8.0

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

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

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

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

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

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

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

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