Documentation ¶
Index ¶
- type AcceptVersionedPolicyCreated
- type AcceptVersionedPolicyParams
- func NewAcceptVersionedPolicyParams() *AcceptVersionedPolicyParams
- func NewAcceptVersionedPolicyParamsWithContext(ctx context.Context) *AcceptVersionedPolicyParams
- func NewAcceptVersionedPolicyParamsWithHTTPClient(client *http.Client) *AcceptVersionedPolicyParams
- func NewAcceptVersionedPolicyParamsWithTimeout(timeout time.Duration) *AcceptVersionedPolicyParams
- func (o *AcceptVersionedPolicyParams) SetContext(ctx context.Context)
- func (o *AcceptVersionedPolicyParams) SetHTTPClient(client *http.Client)
- func (o *AcceptVersionedPolicyParams) SetLocalizedPolicyVersionID(localizedPolicyVersionID string)
- func (o *AcceptVersionedPolicyParams) SetTimeout(timeout time.Duration)
- func (o *AcceptVersionedPolicyParams) WithContext(ctx context.Context) *AcceptVersionedPolicyParams
- func (o *AcceptVersionedPolicyParams) WithHTTPClient(client *http.Client) *AcceptVersionedPolicyParams
- func (o *AcceptVersionedPolicyParams) WithLocalizedPolicyVersionID(localizedPolicyVersionID string) *AcceptVersionedPolicyParams
- func (o *AcceptVersionedPolicyParams) WithTimeout(timeout time.Duration) *AcceptVersionedPolicyParams
- func (o *AcceptVersionedPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AcceptVersionedPolicyReader
- type BulkAcceptVersionedPolicyCreated
- type BulkAcceptVersionedPolicyParams
- func NewBulkAcceptVersionedPolicyParams() *BulkAcceptVersionedPolicyParams
- func NewBulkAcceptVersionedPolicyParamsWithContext(ctx context.Context) *BulkAcceptVersionedPolicyParams
- func NewBulkAcceptVersionedPolicyParamsWithHTTPClient(client *http.Client) *BulkAcceptVersionedPolicyParams
- func NewBulkAcceptVersionedPolicyParamsWithTimeout(timeout time.Duration) *BulkAcceptVersionedPolicyParams
- func (o *BulkAcceptVersionedPolicyParams) SetBody(body []*legalclientmodels.AcceptAgreementRequest)
- func (o *BulkAcceptVersionedPolicyParams) SetContext(ctx context.Context)
- func (o *BulkAcceptVersionedPolicyParams) SetHTTPClient(client *http.Client)
- func (o *BulkAcceptVersionedPolicyParams) SetTimeout(timeout time.Duration)
- func (o *BulkAcceptVersionedPolicyParams) WithBody(body []*legalclientmodels.AcceptAgreementRequest) *BulkAcceptVersionedPolicyParams
- func (o *BulkAcceptVersionedPolicyParams) WithContext(ctx context.Context) *BulkAcceptVersionedPolicyParams
- func (o *BulkAcceptVersionedPolicyParams) WithHTTPClient(client *http.Client) *BulkAcceptVersionedPolicyParams
- func (o *BulkAcceptVersionedPolicyParams) WithTimeout(timeout time.Duration) *BulkAcceptVersionedPolicyParams
- func (o *BulkAcceptVersionedPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkAcceptVersionedPolicyReader
- type ChangePreferenceConsent1BadRequest
- type ChangePreferenceConsent1OK
- type ChangePreferenceConsent1Params
- func NewChangePreferenceConsent1Params() *ChangePreferenceConsent1Params
- func NewChangePreferenceConsent1ParamsWithContext(ctx context.Context) *ChangePreferenceConsent1Params
- func NewChangePreferenceConsent1ParamsWithHTTPClient(client *http.Client) *ChangePreferenceConsent1Params
- func NewChangePreferenceConsent1ParamsWithTimeout(timeout time.Duration) *ChangePreferenceConsent1Params
- func (o *ChangePreferenceConsent1Params) SetBody(body []*legalclientmodels.AcceptAgreementRequest)
- func (o *ChangePreferenceConsent1Params) SetContext(ctx context.Context)
- func (o *ChangePreferenceConsent1Params) SetHTTPClient(client *http.Client)
- func (o *ChangePreferenceConsent1Params) SetTimeout(timeout time.Duration)
- func (o *ChangePreferenceConsent1Params) WithBody(body []*legalclientmodels.AcceptAgreementRequest) *ChangePreferenceConsent1Params
- func (o *ChangePreferenceConsent1Params) WithContext(ctx context.Context) *ChangePreferenceConsent1Params
- func (o *ChangePreferenceConsent1Params) WithHTTPClient(client *http.Client) *ChangePreferenceConsent1Params
- func (o *ChangePreferenceConsent1Params) WithTimeout(timeout time.Duration) *ChangePreferenceConsent1Params
- func (o *ChangePreferenceConsent1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangePreferenceConsent1Reader
- type ChangePreferenceConsentOK
- type ChangePreferenceConsentParams
- func NewChangePreferenceConsentParams() *ChangePreferenceConsentParams
- func NewChangePreferenceConsentParamsWithContext(ctx context.Context) *ChangePreferenceConsentParams
- func NewChangePreferenceConsentParamsWithHTTPClient(client *http.Client) *ChangePreferenceConsentParams
- func NewChangePreferenceConsentParamsWithTimeout(timeout time.Duration) *ChangePreferenceConsentParams
- func (o *ChangePreferenceConsentParams) SetBody(body []*legalclientmodels.AcceptAgreementRequest)
- func (o *ChangePreferenceConsentParams) SetContext(ctx context.Context)
- func (o *ChangePreferenceConsentParams) SetHTTPClient(client *http.Client)
- func (o *ChangePreferenceConsentParams) SetNamespace(namespace string)
- func (o *ChangePreferenceConsentParams) SetTimeout(timeout time.Duration)
- func (o *ChangePreferenceConsentParams) SetUserID(userID string)
- func (o *ChangePreferenceConsentParams) WithBody(body []*legalclientmodels.AcceptAgreementRequest) *ChangePreferenceConsentParams
- func (o *ChangePreferenceConsentParams) WithContext(ctx context.Context) *ChangePreferenceConsentParams
- func (o *ChangePreferenceConsentParams) WithHTTPClient(client *http.Client) *ChangePreferenceConsentParams
- func (o *ChangePreferenceConsentParams) WithNamespace(namespace string) *ChangePreferenceConsentParams
- func (o *ChangePreferenceConsentParams) WithTimeout(timeout time.Duration) *ChangePreferenceConsentParams
- func (o *ChangePreferenceConsentParams) WithUserID(userID string) *ChangePreferenceConsentParams
- func (o *ChangePreferenceConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangePreferenceConsentReader
- type Client
- func (a *Client) AcceptVersionedPolicy(params *AcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*AcceptVersionedPolicyCreated, error)
- func (a *Client) AcceptVersionedPolicyShort(params *AcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*AcceptVersionedPolicyCreated, error)
- func (a *Client) BulkAcceptVersionedPolicy(params *BulkAcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAcceptVersionedPolicyCreated, error)
- func (a *Client) BulkAcceptVersionedPolicyShort(params *BulkAcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAcceptVersionedPolicyCreated, error)
- func (a *Client) ChangePreferenceConsent(params *ChangePreferenceConsentParams, authInfo runtime.ClientAuthInfoWriter) (*ChangePreferenceConsentOK, error)
- func (a *Client) ChangePreferenceConsent1(params *ChangePreferenceConsent1Params, authInfo runtime.ClientAuthInfoWriter) (*ChangePreferenceConsent1OK, *ChangePreferenceConsent1BadRequest, error)
- func (a *Client) ChangePreferenceConsent1Short(params *ChangePreferenceConsent1Params, authInfo runtime.ClientAuthInfoWriter) (*ChangePreferenceConsent1OK, error)
- func (a *Client) ChangePreferenceConsentShort(params *ChangePreferenceConsentParams, authInfo runtime.ClientAuthInfoWriter) (*ChangePreferenceConsentOK, error)
- func (a *Client) IndirectBulkAcceptVersionedPolicy1(params *IndirectBulkAcceptVersionedPolicy1Params, ...) (*IndirectBulkAcceptVersionedPolicy1Created, error)
- func (a *Client) IndirectBulkAcceptVersionedPolicy1Short(params *IndirectBulkAcceptVersionedPolicy1Params, ...) (*IndirectBulkAcceptVersionedPolicy1Created, error)
- func (a *Client) IndirectBulkAcceptVersionedPolicyV2(params *IndirectBulkAcceptVersionedPolicyV2Params, ...) (*IndirectBulkAcceptVersionedPolicyV2Created, error)
- func (a *Client) IndirectBulkAcceptVersionedPolicyV2Short(params *IndirectBulkAcceptVersionedPolicyV2Params, ...) (*IndirectBulkAcceptVersionedPolicyV2Created, error)
- func (a *Client) RetrieveAcceptedAgreements(params *RetrieveAcceptedAgreementsParams, ...) (*RetrieveAcceptedAgreementsOK, error)
- func (a *Client) RetrieveAcceptedAgreementsShort(params *RetrieveAcceptedAgreementsParams, ...) (*RetrieveAcceptedAgreementsOK, error)
- func (a *Client) RetrieveAgreementsPublic(params *RetrieveAgreementsPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAgreementsPublicOK, error)
- func (a *Client) RetrieveAgreementsPublicShort(params *RetrieveAgreementsPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAgreementsPublicOK, error)
- func (a *Client) RetrieveAllUsersByPolicyVersion(params *RetrieveAllUsersByPolicyVersionParams, ...) (*RetrieveAllUsersByPolicyVersionOK, *RetrieveAllUsersByPolicyVersionNotFound, ...)
- func (a *Client) RetrieveAllUsersByPolicyVersionShort(params *RetrieveAllUsersByPolicyVersionParams, ...) (*RetrieveAllUsersByPolicyVersionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type IndirectBulkAcceptVersionedPolicy1Created
- type IndirectBulkAcceptVersionedPolicy1Params
- func NewIndirectBulkAcceptVersionedPolicy1Params() *IndirectBulkAcceptVersionedPolicy1Params
- func NewIndirectBulkAcceptVersionedPolicy1ParamsWithContext(ctx context.Context) *IndirectBulkAcceptVersionedPolicy1Params
- func NewIndirectBulkAcceptVersionedPolicy1ParamsWithHTTPClient(client *http.Client) *IndirectBulkAcceptVersionedPolicy1Params
- func NewIndirectBulkAcceptVersionedPolicy1ParamsWithTimeout(timeout time.Duration) *IndirectBulkAcceptVersionedPolicy1Params
- func (o *IndirectBulkAcceptVersionedPolicy1Params) SetBody(body []*legalclientmodels.AcceptAgreementRequest)
- func (o *IndirectBulkAcceptVersionedPolicy1Params) SetContext(ctx context.Context)
- func (o *IndirectBulkAcceptVersionedPolicy1Params) SetHTTPClient(client *http.Client)
- func (o *IndirectBulkAcceptVersionedPolicy1Params) SetTimeout(timeout time.Duration)
- func (o *IndirectBulkAcceptVersionedPolicy1Params) SetUserID(userID string)
- func (o *IndirectBulkAcceptVersionedPolicy1Params) WithBody(body []*legalclientmodels.AcceptAgreementRequest) *IndirectBulkAcceptVersionedPolicy1Params
- func (o *IndirectBulkAcceptVersionedPolicy1Params) WithContext(ctx context.Context) *IndirectBulkAcceptVersionedPolicy1Params
- func (o *IndirectBulkAcceptVersionedPolicy1Params) WithHTTPClient(client *http.Client) *IndirectBulkAcceptVersionedPolicy1Params
- func (o *IndirectBulkAcceptVersionedPolicy1Params) WithTimeout(timeout time.Duration) *IndirectBulkAcceptVersionedPolicy1Params
- func (o *IndirectBulkAcceptVersionedPolicy1Params) WithUserID(userID string) *IndirectBulkAcceptVersionedPolicy1Params
- func (o *IndirectBulkAcceptVersionedPolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IndirectBulkAcceptVersionedPolicy1Reader
- type IndirectBulkAcceptVersionedPolicyV2Created
- type IndirectBulkAcceptVersionedPolicyV2Params
- func NewIndirectBulkAcceptVersionedPolicyV2Params() *IndirectBulkAcceptVersionedPolicyV2Params
- func NewIndirectBulkAcceptVersionedPolicyV2ParamsWithContext(ctx context.Context) *IndirectBulkAcceptVersionedPolicyV2Params
- func NewIndirectBulkAcceptVersionedPolicyV2ParamsWithHTTPClient(client *http.Client) *IndirectBulkAcceptVersionedPolicyV2Params
- func NewIndirectBulkAcceptVersionedPolicyV2ParamsWithTimeout(timeout time.Duration) *IndirectBulkAcceptVersionedPolicyV2Params
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetBody(body []*legalclientmodels.AcceptAgreementRequest)
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetClientID(clientID string)
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetContext(ctx context.Context)
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetCountryCode(countryCode string)
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetHTTPClient(client *http.Client)
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetNamespace(namespace string)
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetTimeout(timeout time.Duration)
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetUserID(userID string)
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithBody(body []*legalclientmodels.AcceptAgreementRequest) *IndirectBulkAcceptVersionedPolicyV2Params
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithClientID(clientID string) *IndirectBulkAcceptVersionedPolicyV2Params
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithContext(ctx context.Context) *IndirectBulkAcceptVersionedPolicyV2Params
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithCountryCode(countryCode string) *IndirectBulkAcceptVersionedPolicyV2Params
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithHTTPClient(client *http.Client) *IndirectBulkAcceptVersionedPolicyV2Params
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithNamespace(namespace string) *IndirectBulkAcceptVersionedPolicyV2Params
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithTimeout(timeout time.Duration) *IndirectBulkAcceptVersionedPolicyV2Params
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithUserID(userID string) *IndirectBulkAcceptVersionedPolicyV2Params
- func (o *IndirectBulkAcceptVersionedPolicyV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IndirectBulkAcceptVersionedPolicyV2Reader
- type RetrieveAcceptedAgreementsOK
- type RetrieveAcceptedAgreementsParams
- func NewRetrieveAcceptedAgreementsParams() *RetrieveAcceptedAgreementsParams
- func NewRetrieveAcceptedAgreementsParamsWithContext(ctx context.Context) *RetrieveAcceptedAgreementsParams
- func NewRetrieveAcceptedAgreementsParamsWithHTTPClient(client *http.Client) *RetrieveAcceptedAgreementsParams
- func NewRetrieveAcceptedAgreementsParamsWithTimeout(timeout time.Duration) *RetrieveAcceptedAgreementsParams
- func (o *RetrieveAcceptedAgreementsParams) SetContext(ctx context.Context)
- func (o *RetrieveAcceptedAgreementsParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveAcceptedAgreementsParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveAcceptedAgreementsParams) SetUserID(userID string)
- func (o *RetrieveAcceptedAgreementsParams) WithContext(ctx context.Context) *RetrieveAcceptedAgreementsParams
- func (o *RetrieveAcceptedAgreementsParams) WithHTTPClient(client *http.Client) *RetrieveAcceptedAgreementsParams
- func (o *RetrieveAcceptedAgreementsParams) WithTimeout(timeout time.Duration) *RetrieveAcceptedAgreementsParams
- func (o *RetrieveAcceptedAgreementsParams) WithUserID(userID string) *RetrieveAcceptedAgreementsParams
- func (o *RetrieveAcceptedAgreementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveAcceptedAgreementsReader
- type RetrieveAgreementsPublicOK
- type RetrieveAgreementsPublicParams
- func NewRetrieveAgreementsPublicParams() *RetrieveAgreementsPublicParams
- func NewRetrieveAgreementsPublicParamsWithContext(ctx context.Context) *RetrieveAgreementsPublicParams
- func NewRetrieveAgreementsPublicParamsWithHTTPClient(client *http.Client) *RetrieveAgreementsPublicParams
- func NewRetrieveAgreementsPublicParamsWithTimeout(timeout time.Duration) *RetrieveAgreementsPublicParams
- func (o *RetrieveAgreementsPublicParams) SetContext(ctx context.Context)
- func (o *RetrieveAgreementsPublicParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveAgreementsPublicParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveAgreementsPublicParams) WithContext(ctx context.Context) *RetrieveAgreementsPublicParams
- func (o *RetrieveAgreementsPublicParams) WithHTTPClient(client *http.Client) *RetrieveAgreementsPublicParams
- func (o *RetrieveAgreementsPublicParams) WithTimeout(timeout time.Duration) *RetrieveAgreementsPublicParams
- func (o *RetrieveAgreementsPublicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveAgreementsPublicReader
- type RetrieveAllUsersByPolicyVersionNotFound
- type RetrieveAllUsersByPolicyVersionOK
- type RetrieveAllUsersByPolicyVersionParams
- func NewRetrieveAllUsersByPolicyVersionParams() *RetrieveAllUsersByPolicyVersionParams
- func NewRetrieveAllUsersByPolicyVersionParamsWithContext(ctx context.Context) *RetrieveAllUsersByPolicyVersionParams
- func NewRetrieveAllUsersByPolicyVersionParamsWithHTTPClient(client *http.Client) *RetrieveAllUsersByPolicyVersionParams
- func NewRetrieveAllUsersByPolicyVersionParamsWithTimeout(timeout time.Duration) *RetrieveAllUsersByPolicyVersionParams
- func (o *RetrieveAllUsersByPolicyVersionParams) SetContext(ctx context.Context)
- func (o *RetrieveAllUsersByPolicyVersionParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveAllUsersByPolicyVersionParams) SetKeyword(keyword *string)
- func (o *RetrieveAllUsersByPolicyVersionParams) SetLimit(limit *int32)
- func (o *RetrieveAllUsersByPolicyVersionParams) SetOffset(offset *int32)
- func (o *RetrieveAllUsersByPolicyVersionParams) SetPolicyVersionID(policyVersionID string)
- func (o *RetrieveAllUsersByPolicyVersionParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveAllUsersByPolicyVersionParams) WithContext(ctx context.Context) *RetrieveAllUsersByPolicyVersionParams
- func (o *RetrieveAllUsersByPolicyVersionParams) WithHTTPClient(client *http.Client) *RetrieveAllUsersByPolicyVersionParams
- func (o *RetrieveAllUsersByPolicyVersionParams) WithKeyword(keyword *string) *RetrieveAllUsersByPolicyVersionParams
- func (o *RetrieveAllUsersByPolicyVersionParams) WithLimit(limit *int32) *RetrieveAllUsersByPolicyVersionParams
- func (o *RetrieveAllUsersByPolicyVersionParams) WithOffset(offset *int32) *RetrieveAllUsersByPolicyVersionParams
- func (o *RetrieveAllUsersByPolicyVersionParams) WithPolicyVersionID(policyVersionID string) *RetrieveAllUsersByPolicyVersionParams
- func (o *RetrieveAllUsersByPolicyVersionParams) WithTimeout(timeout time.Duration) *RetrieveAllUsersByPolicyVersionParams
- func (o *RetrieveAllUsersByPolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveAllUsersByPolicyVersionReader
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 ¶
func (o *AcceptVersionedPolicyCreated) Error() string
type AcceptVersionedPolicyParams ¶
type AcceptVersionedPolicyParams struct { /*LocalizedPolicyVersionID Localized Policy Version Id */ LocalizedPolicyVersionID string 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) 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) 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 ¶
func (o *AcceptVersionedPolicyParams) WithContext(ctx context.Context) *AcceptVersionedPolicyParams
WithContext adds the context to the accept versioned policy params
func (*AcceptVersionedPolicyParams) WithHTTPClient ¶
func (o *AcceptVersionedPolicyParams) WithHTTPClient(client *http.Client) *AcceptVersionedPolicyParams
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 ¶
func (o *AcceptVersionedPolicyParams) WithTimeout(timeout time.Duration) *AcceptVersionedPolicyParams
WithTimeout adds the timeout to the accept versioned policy params
func (*AcceptVersionedPolicyParams) WriteToRequest ¶
func (o *AcceptVersionedPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *BulkAcceptVersionedPolicyCreated) Error() string
func (*BulkAcceptVersionedPolicyCreated) GetPayload ¶
func (o *BulkAcceptVersionedPolicyCreated) GetPayload() *legalclientmodels.AcceptAgreementResponse
type BulkAcceptVersionedPolicyParams ¶
type BulkAcceptVersionedPolicyParams struct { /*Body*/ Body []*legalclientmodels.AcceptAgreementRequest 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) SetBody ¶
func (o *BulkAcceptVersionedPolicyParams) SetBody(body []*legalclientmodels.AcceptAgreementRequest)
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) SetTimeout ¶
func (o *BulkAcceptVersionedPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk accept versioned policy params
func (*BulkAcceptVersionedPolicyParams) WithBody ¶
func (o *BulkAcceptVersionedPolicyParams) WithBody(body []*legalclientmodels.AcceptAgreementRequest) *BulkAcceptVersionedPolicyParams
WithBody adds the body to the bulk accept versioned policy params
func (*BulkAcceptVersionedPolicyParams) WithContext ¶
func (o *BulkAcceptVersionedPolicyParams) WithContext(ctx context.Context) *BulkAcceptVersionedPolicyParams
WithContext adds the context to the bulk accept versioned policy params
func (*BulkAcceptVersionedPolicyParams) WithHTTPClient ¶
func (o *BulkAcceptVersionedPolicyParams) WithHTTPClient(client *http.Client) *BulkAcceptVersionedPolicyParams
WithHTTPClient adds the HTTPClient to the bulk accept versioned policy params
func (*BulkAcceptVersionedPolicyParams) WithTimeout ¶
func (o *BulkAcceptVersionedPolicyParams) WithTimeout(timeout time.Duration) *BulkAcceptVersionedPolicyParams
WithTimeout adds the timeout to the bulk accept versioned policy params
func (*BulkAcceptVersionedPolicyParams) WriteToRequest ¶
func (o *BulkAcceptVersionedPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ChangePreferenceConsent1BadRequest) Error() string
func (*ChangePreferenceConsent1BadRequest) GetPayload ¶ added in v0.15.0
func (o *ChangePreferenceConsent1BadRequest) GetPayload() *legalclientmodels.ErrorEntity
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
func (o *ChangePreferenceConsent1OK) Error() string
type ChangePreferenceConsent1Params ¶ added in v0.15.0
type ChangePreferenceConsent1Params struct { /*Body*/ Body []*legalclientmodels.AcceptAgreementRequest 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) SetBody ¶ added in v0.15.0
func (o *ChangePreferenceConsent1Params) SetBody(body []*legalclientmodels.AcceptAgreementRequest)
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) 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
func (o *ChangePreferenceConsent1Params) WithBody(body []*legalclientmodels.AcceptAgreementRequest) *ChangePreferenceConsent1Params
WithBody adds the body to the change preference consent 1 params
func (*ChangePreferenceConsent1Params) WithContext ¶ added in v0.15.0
func (o *ChangePreferenceConsent1Params) WithContext(ctx context.Context) *ChangePreferenceConsent1Params
WithContext adds the context to the change preference consent 1 params
func (*ChangePreferenceConsent1Params) WithHTTPClient ¶ added in v0.15.0
func (o *ChangePreferenceConsent1Params) WithHTTPClient(client *http.Client) *ChangePreferenceConsent1Params
WithHTTPClient adds the HTTPClient to the change preference consent 1 params
func (*ChangePreferenceConsent1Params) WithTimeout ¶ added in v0.15.0
func (o *ChangePreferenceConsent1Params) WithTimeout(timeout time.Duration) *ChangePreferenceConsent1Params
WithTimeout adds the timeout to the change preference consent 1 params
func (*ChangePreferenceConsent1Params) WriteToRequest ¶ added in v0.15.0
func (o *ChangePreferenceConsent1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { /*Body*/ Body []*legalclientmodels.AcceptAgreementRequest /*Namespace namespace */ Namespace string /*UserID User Id */ UserID string 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) SetBody ¶
func (o *ChangePreferenceConsentParams) SetBody(body []*legalclientmodels.AcceptAgreementRequest)
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) 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 ¶
func (o *ChangePreferenceConsentParams) WithBody(body []*legalclientmodels.AcceptAgreementRequest) *ChangePreferenceConsentParams
WithBody adds the body to the change preference consent params
func (*ChangePreferenceConsentParams) WithContext ¶
func (o *ChangePreferenceConsentParams) WithContext(ctx context.Context) *ChangePreferenceConsentParams
WithContext adds the context to the change preference consent params
func (*ChangePreferenceConsentParams) WithHTTPClient ¶
func (o *ChangePreferenceConsentParams) WithHTTPClient(client *http.Client) *ChangePreferenceConsentParams
WithHTTPClient adds the HTTPClient to the change preference consent params
func (*ChangePreferenceConsentParams) WithNamespace ¶ added in v0.15.0
func (o *ChangePreferenceConsentParams) WithNamespace(namespace string) *ChangePreferenceConsentParams
WithNamespace adds the namespace to the change preference consent params
func (*ChangePreferenceConsentParams) WithTimeout ¶
func (o *ChangePreferenceConsentParams) WithTimeout(timeout time.Duration) *ChangePreferenceConsentParams
WithTimeout adds the timeout to the change preference consent params
func (*ChangePreferenceConsentParams) WithUserID ¶ added in v0.15.0
func (o *ChangePreferenceConsentParams) WithUserID(userID string) *ChangePreferenceConsentParams
WithUserID adds the userID to the change preference consent params
func (*ChangePreferenceConsentParams) WriteToRequest ¶
func (o *ChangePreferenceConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
func (*Client) AcceptVersionedPolicyShort ¶ added in v0.8.0
func (a *Client) AcceptVersionedPolicyShort(params *AcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*AcceptVersionedPolicyCreated, error)
func (*Client) BulkAcceptVersionedPolicy ¶
func (a *Client) BulkAcceptVersionedPolicy(params *BulkAcceptVersionedPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*BulkAcceptVersionedPolicyCreated, error)
BulkAcceptVersionedPolicy bulks accept policy versions
Accepts many legal policy versions all at once. Supply with localized version policy id to accept an agreement.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
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
func (a *Client) ChangePreferenceConsent1(params *ChangePreferenceConsent1Params, authInfo runtime.ClientAuthInfoWriter) (*ChangePreferenceConsent1OK, *ChangePreferenceConsent1BadRequest, error)
ChangePreferenceConsent1 accepts revoke marketing preference consent
Change marketing preference consent.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
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
func (a *Client) IndirectBulkAcceptVersionedPolicy1(params *IndirectBulkAcceptVersionedPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*IndirectBulkAcceptVersionedPolicy1Created, error)
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.<br><br/>Available Extra Information to return: <br/><ul><li><b>userIds</b> : List of userId mapping (<b>IMPORTANT: GOING TO DEPRECATE</b>)</li></ul>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
func (*Client) IndirectBulkAcceptVersionedPolicy1Short ¶ added in v0.10.0
func (a *Client) IndirectBulkAcceptVersionedPolicy1Short(params *IndirectBulkAcceptVersionedPolicy1Params, authInfo runtime.ClientAuthInfoWriter) (*IndirectBulkAcceptVersionedPolicy1Created, error)
func (*Client) IndirectBulkAcceptVersionedPolicyV2 ¶
func (a *Client) IndirectBulkAcceptVersionedPolicyV2(params *IndirectBulkAcceptVersionedPolicyV2Params, authInfo runtime.ClientAuthInfoWriter) (*IndirectBulkAcceptVersionedPolicyV2Created, error)
IndirectBulkAcceptVersionedPolicyV2 bulks accept policy versions indirect
<b>IMPORTANT: GOING TO DEPRECATE</b><br/><br/>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.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:LEGAL", action=1 (CREATE)</li></ul>
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: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>
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.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
func (*Client) RetrieveAgreementsPublicShort ¶ added in v0.8.0
func (a *Client) RetrieveAgreementsPublicShort(params *RetrieveAgreementsPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAgreementsPublicOK, error)
func (*Client) RetrieveAllUsersByPolicyVersion ¶
func (a *Client) RetrieveAllUsersByPolicyVersion(params *RetrieveAllUsersByPolicyVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllUsersByPolicyVersionOK, *RetrieveAllUsersByPolicyVersionNotFound, error)
RetrieveAllUsersByPolicyVersion retrieves all users accepting legal agreements
This API will return all users who has accepted a specific policy version.Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:*:LEGAL", action=2 (READ)</li></ul>
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 (o *IndirectBulkAcceptVersionedPolicy1Created) Error() string
func (*IndirectBulkAcceptVersionedPolicy1Created) GetPayload ¶ added in v0.10.0
func (o *IndirectBulkAcceptVersionedPolicy1Created) GetPayload() *legalclientmodels.AcceptAgreementResponse
type IndirectBulkAcceptVersionedPolicy1Params ¶ added in v0.10.0
type IndirectBulkAcceptVersionedPolicy1Params struct { /*Body*/ Body []*legalclientmodels.AcceptAgreementRequest /*UserID User Id */ UserID string 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) SetBody ¶ added in v0.10.0
func (o *IndirectBulkAcceptVersionedPolicy1Params) SetBody(body []*legalclientmodels.AcceptAgreementRequest)
SetBody adds the body to the indirect bulk accept versioned policy 1 params
func (*IndirectBulkAcceptVersionedPolicy1Params) SetContext ¶ added in v0.10.0
func (o *IndirectBulkAcceptVersionedPolicy1Params) SetContext(ctx context.Context)
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) SetTimeout ¶ added in v0.10.0
func (o *IndirectBulkAcceptVersionedPolicy1Params) SetTimeout(timeout time.Duration)
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
func (o *IndirectBulkAcceptVersionedPolicy1Params) WithBody(body []*legalclientmodels.AcceptAgreementRequest) *IndirectBulkAcceptVersionedPolicy1Params
WithBody adds the body to the indirect bulk accept versioned policy 1 params
func (*IndirectBulkAcceptVersionedPolicy1Params) WithContext ¶ added in v0.10.0
func (o *IndirectBulkAcceptVersionedPolicy1Params) WithContext(ctx context.Context) *IndirectBulkAcceptVersionedPolicy1Params
WithContext adds the context to the indirect bulk accept versioned policy 1 params
func (*IndirectBulkAcceptVersionedPolicy1Params) WithHTTPClient ¶ added in v0.10.0
func (o *IndirectBulkAcceptVersionedPolicy1Params) WithHTTPClient(client *http.Client) *IndirectBulkAcceptVersionedPolicy1Params
WithHTTPClient adds the HTTPClient to the indirect bulk accept versioned policy 1 params
func (*IndirectBulkAcceptVersionedPolicy1Params) WithTimeout ¶ added in v0.10.0
func (o *IndirectBulkAcceptVersionedPolicy1Params) WithTimeout(timeout time.Duration) *IndirectBulkAcceptVersionedPolicy1Params
WithTimeout adds the timeout to the indirect bulk accept versioned policy 1 params
func (*IndirectBulkAcceptVersionedPolicy1Params) WithUserID ¶ added in v0.10.0
func (o *IndirectBulkAcceptVersionedPolicy1Params) WithUserID(userID string) *IndirectBulkAcceptVersionedPolicy1Params
WithUserID adds the userID to the indirect bulk accept versioned policy 1 params
func (*IndirectBulkAcceptVersionedPolicy1Params) WriteToRequest ¶ added in v0.10.0
func (o *IndirectBulkAcceptVersionedPolicy1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *IndirectBulkAcceptVersionedPolicyV2Created) Error() string
func (*IndirectBulkAcceptVersionedPolicyV2Created) GetPayload ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Created) GetPayload() *legalclientmodels.AcceptAgreementResponse
type IndirectBulkAcceptVersionedPolicyV2Params ¶
type IndirectBulkAcceptVersionedPolicyV2Params struct { /*Body*/ Body []*legalclientmodels.AcceptAgreementRequest /*ClientID Client ID */ ClientID string /*CountryCode Country Code */ CountryCode string /*Namespace namespace */ Namespace string /*UserID User Id */ UserID string 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) SetBody ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetBody(body []*legalclientmodels.AcceptAgreementRequest)
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 ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetContext(ctx context.Context)
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) SetNamespace ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the indirect bulk accept versioned policy v2 params
func (*IndirectBulkAcceptVersionedPolicyV2Params) SetTimeout ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the indirect bulk accept versioned policy v2 params
func (*IndirectBulkAcceptVersionedPolicyV2Params) SetUserID ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Params) SetUserID(userID string)
SetUserID adds the userId to the indirect bulk accept versioned policy v2 params
func (*IndirectBulkAcceptVersionedPolicyV2Params) WithBody ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithBody(body []*legalclientmodels.AcceptAgreementRequest) *IndirectBulkAcceptVersionedPolicyV2Params
WithBody adds the body to the indirect bulk accept versioned policy v2 params
func (*IndirectBulkAcceptVersionedPolicyV2Params) WithClientID ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithClientID(clientID string) *IndirectBulkAcceptVersionedPolicyV2Params
WithClientID adds the clientID to the indirect bulk accept versioned policy v2 params
func (*IndirectBulkAcceptVersionedPolicyV2Params) WithContext ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithContext(ctx context.Context) *IndirectBulkAcceptVersionedPolicyV2Params
WithContext adds the context to the indirect bulk accept versioned policy v2 params
func (*IndirectBulkAcceptVersionedPolicyV2Params) WithCountryCode ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithCountryCode(countryCode string) *IndirectBulkAcceptVersionedPolicyV2Params
WithCountryCode adds the countryCode to the indirect bulk accept versioned policy v2 params
func (*IndirectBulkAcceptVersionedPolicyV2Params) WithHTTPClient ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithHTTPClient(client *http.Client) *IndirectBulkAcceptVersionedPolicyV2Params
WithHTTPClient adds the HTTPClient to the indirect bulk accept versioned policy v2 params
func (*IndirectBulkAcceptVersionedPolicyV2Params) WithNamespace ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithNamespace(namespace string) *IndirectBulkAcceptVersionedPolicyV2Params
WithNamespace adds the namespace to the indirect bulk accept versioned policy v2 params
func (*IndirectBulkAcceptVersionedPolicyV2Params) WithTimeout ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithTimeout(timeout time.Duration) *IndirectBulkAcceptVersionedPolicyV2Params
WithTimeout adds the timeout to the indirect bulk accept versioned policy v2 params
func (*IndirectBulkAcceptVersionedPolicyV2Params) WithUserID ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Params) WithUserID(userID string) *IndirectBulkAcceptVersionedPolicyV2Params
WithUserID adds the userID to the indirect bulk accept versioned policy v2 params
func (*IndirectBulkAcceptVersionedPolicyV2Params) WriteToRequest ¶
func (o *IndirectBulkAcceptVersionedPolicyV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *RetrieveAcceptedAgreementsOK) Error() string
func (*RetrieveAcceptedAgreementsOK) GetPayload ¶
func (o *RetrieveAcceptedAgreementsOK) GetPayload() []*legalclientmodels.RetrieveAcceptedAgreementResponse
type RetrieveAcceptedAgreementsParams ¶
type RetrieveAcceptedAgreementsParams struct { /*UserID User Id */ UserID string 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) SetContext ¶
func (o *RetrieveAcceptedAgreementsParams) SetContext(ctx context.Context)
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) 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 ¶
func (o *RetrieveAcceptedAgreementsParams) WithContext(ctx context.Context) *RetrieveAcceptedAgreementsParams
WithContext adds the context to the retrieve accepted agreements params
func (*RetrieveAcceptedAgreementsParams) WithHTTPClient ¶
func (o *RetrieveAcceptedAgreementsParams) WithHTTPClient(client *http.Client) *RetrieveAcceptedAgreementsParams
WithHTTPClient adds the HTTPClient to the retrieve accepted agreements params
func (*RetrieveAcceptedAgreementsParams) WithTimeout ¶
func (o *RetrieveAcceptedAgreementsParams) WithTimeout(timeout time.Duration) *RetrieveAcceptedAgreementsParams
WithTimeout adds the timeout to the retrieve accepted agreements params
func (*RetrieveAcceptedAgreementsParams) WithUserID ¶
func (o *RetrieveAcceptedAgreementsParams) WithUserID(userID string) *RetrieveAcceptedAgreementsParams
WithUserID adds the userID to the retrieve accepted agreements params
func (*RetrieveAcceptedAgreementsParams) WriteToRequest ¶
func (o *RetrieveAcceptedAgreementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *RetrieveAgreementsPublicOK) Error() string
func (*RetrieveAgreementsPublicOK) GetPayload ¶
func (o *RetrieveAgreementsPublicOK) GetPayload() []*legalclientmodels.RetrieveAcceptedAgreementResponse
type RetrieveAgreementsPublicParams ¶
type RetrieveAgreementsPublicParams struct { 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) 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) SetTimeout ¶
func (o *RetrieveAgreementsPublicParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve agreements public params
func (*RetrieveAgreementsPublicParams) WithContext ¶
func (o *RetrieveAgreementsPublicParams) WithContext(ctx context.Context) *RetrieveAgreementsPublicParams
WithContext adds the context to the retrieve agreements public params
func (*RetrieveAgreementsPublicParams) WithHTTPClient ¶
func (o *RetrieveAgreementsPublicParams) WithHTTPClient(client *http.Client) *RetrieveAgreementsPublicParams
WithHTTPClient adds the HTTPClient to the retrieve agreements public params
func (*RetrieveAgreementsPublicParams) WithTimeout ¶
func (o *RetrieveAgreementsPublicParams) WithTimeout(timeout time.Duration) *RetrieveAgreementsPublicParams
WithTimeout adds the timeout to the retrieve agreements public params
func (*RetrieveAgreementsPublicParams) WriteToRequest ¶
func (o *RetrieveAgreementsPublicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *RetrieveAllUsersByPolicyVersionNotFound) Error() string
func (*RetrieveAllUsersByPolicyVersionNotFound) GetPayload ¶
func (o *RetrieveAllUsersByPolicyVersionNotFound) GetPayload() *legalclientmodels.ErrorEntity
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 (o *RetrieveAllUsersByPolicyVersionOK) Error() string
func (*RetrieveAllUsersByPolicyVersionOK) GetPayload ¶
func (o *RetrieveAllUsersByPolicyVersionOK) GetPayload() []*legalclientmodels.PagedRetrieveUserAcceptedAgreementResponse
type RetrieveAllUsersByPolicyVersionParams ¶
type RetrieveAllUsersByPolicyVersionParams struct { /*Keyword display name or email or username */ Keyword *string /*Limit limit */ Limit *int32 /*Offset offset */ Offset *int32 /*PolicyVersionID*/ PolicyVersionID string 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) SetContext ¶
func (o *RetrieveAllUsersByPolicyVersionParams) SetContext(ctx context.Context)
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) 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 ¶
func (o *RetrieveAllUsersByPolicyVersionParams) WithContext(ctx context.Context) *RetrieveAllUsersByPolicyVersionParams
WithContext adds the context to the retrieve all users by policy version params
func (*RetrieveAllUsersByPolicyVersionParams) WithHTTPClient ¶
func (o *RetrieveAllUsersByPolicyVersionParams) WithHTTPClient(client *http.Client) *RetrieveAllUsersByPolicyVersionParams
WithHTTPClient adds the HTTPClient to the retrieve all users by policy version params
func (*RetrieveAllUsersByPolicyVersionParams) WithKeyword ¶
func (o *RetrieveAllUsersByPolicyVersionParams) WithKeyword(keyword *string) *RetrieveAllUsersByPolicyVersionParams
WithKeyword adds the keyword to the retrieve all users by policy version params
func (*RetrieveAllUsersByPolicyVersionParams) WithLimit ¶
func (o *RetrieveAllUsersByPolicyVersionParams) WithLimit(limit *int32) *RetrieveAllUsersByPolicyVersionParams
WithLimit adds the limit to the retrieve all users by policy version params
func (*RetrieveAllUsersByPolicyVersionParams) WithOffset ¶
func (o *RetrieveAllUsersByPolicyVersionParams) WithOffset(offset *int32) *RetrieveAllUsersByPolicyVersionParams
WithOffset adds the offset to the retrieve all users by policy version params
func (*RetrieveAllUsersByPolicyVersionParams) WithPolicyVersionID ¶
func (o *RetrieveAllUsersByPolicyVersionParams) WithPolicyVersionID(policyVersionID string) *RetrieveAllUsersByPolicyVersionParams
WithPolicyVersionID adds the policyVersionID to the retrieve all users by policy version params
func (*RetrieveAllUsersByPolicyVersionParams) WithTimeout ¶
func (o *RetrieveAllUsersByPolicyVersionParams) WithTimeout(timeout time.Duration) *RetrieveAllUsersByPolicyVersionParams
WithTimeout adds the timeout to the retrieve all users by policy version params
func (*RetrieveAllUsersByPolicyVersionParams) WriteToRequest ¶
func (o *RetrieveAllUsersByPolicyVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- accept_versioned_policy_parameters.go
- accept_versioned_policy_responses.go
- agreement_client.go
- bulk_accept_versioned_policy_parameters.go
- bulk_accept_versioned_policy_responses.go
- change_preference_consent1_parameters.go
- change_preference_consent1_responses.go
- change_preference_consent_parameters.go
- change_preference_consent_responses.go
- indirect_bulk_accept_versioned_policy1_parameters.go
- indirect_bulk_accept_versioned_policy1_responses.go
- indirect_bulk_accept_versioned_policy_v2_parameters.go
- indirect_bulk_accept_versioned_policy_v2_responses.go
- retrieve_accepted_agreements_parameters.go
- retrieve_accepted_agreements_responses.go
- retrieve_agreements_public_parameters.go
- retrieve_agreements_public_responses.go
- retrieve_all_users_by_policy_version_parameters.go
- retrieve_all_users_by_policy_version_responses.go