Documentation
¶
Index ¶
- type Client
- func (a *Client) RetrieveAcceptedAgreements1(params *RetrieveAcceptedAgreements1Params, ...) (*RetrieveAcceptedAgreements1OK, error)deprecated
- func (a *Client) RetrieveAcceptedAgreements1Short(params *RetrieveAcceptedAgreements1Params, ...) (*RetrieveAcceptedAgreements1OK, error)
- func (a *Client) RetrieveAcceptedAgreementsForMultiUsers(params *RetrieveAcceptedAgreementsForMultiUsersParams, ...) (*RetrieveAcceptedAgreementsForMultiUsersOK, error)deprecated
- func (a *Client) RetrieveAcceptedAgreementsForMultiUsersShort(params *RetrieveAcceptedAgreementsForMultiUsersParams, ...) (*RetrieveAcceptedAgreementsForMultiUsersOK, error)
- func (a *Client) RetrieveAllUsersByPolicyVersion1(params *RetrieveAllUsersByPolicyVersion1Params, ...) (*RetrieveAllUsersByPolicyVersion1OK, *RetrieveAllUsersByPolicyVersion1NotFound, ...)deprecated
- func (a *Client) RetrieveAllUsersByPolicyVersion1Short(params *RetrieveAllUsersByPolicyVersion1Params, ...) (*RetrieveAllUsersByPolicyVersion1OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type RetrieveAcceptedAgreements1OK
- type RetrieveAcceptedAgreements1Params
- func NewRetrieveAcceptedAgreements1Params() *RetrieveAcceptedAgreements1Params
- func NewRetrieveAcceptedAgreements1ParamsWithContext(ctx context.Context) *RetrieveAcceptedAgreements1Params
- func NewRetrieveAcceptedAgreements1ParamsWithHTTPClient(client *http.Client) *RetrieveAcceptedAgreements1Params
- func NewRetrieveAcceptedAgreements1ParamsWithTimeout(timeout time.Duration) *RetrieveAcceptedAgreements1Params
- func (o *RetrieveAcceptedAgreements1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveAcceptedAgreements1Params) SetContext(ctx context.Context)
- func (o *RetrieveAcceptedAgreements1Params) SetExcludeOtherNamespacesPolicies(excludeOtherNamespacesPolicies *bool)
- func (o *RetrieveAcceptedAgreements1Params) SetHTTPClient(client *http.Client)
- func (o *RetrieveAcceptedAgreements1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveAcceptedAgreements1Params) SetNamespace(namespace string)
- func (o *RetrieveAcceptedAgreements1Params) SetTimeout(timeout time.Duration)
- func (o *RetrieveAcceptedAgreements1Params) SetUserID(userID string)
- func (o *RetrieveAcceptedAgreements1Params) WithContext(ctx context.Context) *RetrieveAcceptedAgreements1Params
- func (o *RetrieveAcceptedAgreements1Params) WithExcludeOtherNamespacesPolicies(excludeOtherNamespacesPolicies *bool) *RetrieveAcceptedAgreements1Params
- func (o *RetrieveAcceptedAgreements1Params) WithHTTPClient(client *http.Client) *RetrieveAcceptedAgreements1Params
- func (o *RetrieveAcceptedAgreements1Params) WithNamespace(namespace string) *RetrieveAcceptedAgreements1Params
- func (o *RetrieveAcceptedAgreements1Params) WithTimeout(timeout time.Duration) *RetrieveAcceptedAgreements1Params
- func (o *RetrieveAcceptedAgreements1Params) WithUserID(userID string) *RetrieveAcceptedAgreements1Params
- func (o *RetrieveAcceptedAgreements1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveAcceptedAgreements1Reader
- type RetrieveAcceptedAgreementsForMultiUsersOK
- type RetrieveAcceptedAgreementsForMultiUsersParams
- func NewRetrieveAcceptedAgreementsForMultiUsersParams() *RetrieveAcceptedAgreementsForMultiUsersParams
- func NewRetrieveAcceptedAgreementsForMultiUsersParamsWithContext(ctx context.Context) *RetrieveAcceptedAgreementsForMultiUsersParams
- func NewRetrieveAcceptedAgreementsForMultiUsersParamsWithHTTPClient(client *http.Client) *RetrieveAcceptedAgreementsForMultiUsersParams
- func NewRetrieveAcceptedAgreementsForMultiUsersParamsWithTimeout(timeout time.Duration) *RetrieveAcceptedAgreementsForMultiUsersParams
- func (o *RetrieveAcceptedAgreementsForMultiUsersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveAcceptedAgreementsForMultiUsersParams) SetBody(body *legalclientmodels.UsersAgreementsRequest)
- func (o *RetrieveAcceptedAgreementsForMultiUsersParams) SetContext(ctx context.Context)
- func (o *RetrieveAcceptedAgreementsForMultiUsersParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveAcceptedAgreementsForMultiUsersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveAcceptedAgreementsForMultiUsersParams) SetNamespace(namespace string)
- func (o *RetrieveAcceptedAgreementsForMultiUsersParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveAcceptedAgreementsForMultiUsersParams) WithBody(body *legalclientmodels.UsersAgreementsRequest) *RetrieveAcceptedAgreementsForMultiUsersParams
- func (o *RetrieveAcceptedAgreementsForMultiUsersParams) WithContext(ctx context.Context) *RetrieveAcceptedAgreementsForMultiUsersParams
- func (o *RetrieveAcceptedAgreementsForMultiUsersParams) WithHTTPClient(client *http.Client) *RetrieveAcceptedAgreementsForMultiUsersParams
- func (o *RetrieveAcceptedAgreementsForMultiUsersParams) WithNamespace(namespace string) *RetrieveAcceptedAgreementsForMultiUsersParams
- func (o *RetrieveAcceptedAgreementsForMultiUsersParams) WithTimeout(timeout time.Duration) *RetrieveAcceptedAgreementsForMultiUsersParams
- func (o *RetrieveAcceptedAgreementsForMultiUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveAcceptedAgreementsForMultiUsersReader
- type RetrieveAllUsersByPolicyVersion1NotFound
- type RetrieveAllUsersByPolicyVersion1OK
- type RetrieveAllUsersByPolicyVersion1Params
- func NewRetrieveAllUsersByPolicyVersion1Params() *RetrieveAllUsersByPolicyVersion1Params
- func NewRetrieveAllUsersByPolicyVersion1ParamsWithContext(ctx context.Context) *RetrieveAllUsersByPolicyVersion1Params
- func NewRetrieveAllUsersByPolicyVersion1ParamsWithHTTPClient(client *http.Client) *RetrieveAllUsersByPolicyVersion1Params
- func NewRetrieveAllUsersByPolicyVersion1ParamsWithTimeout(timeout time.Duration) *RetrieveAllUsersByPolicyVersion1Params
- func (o *RetrieveAllUsersByPolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveAllUsersByPolicyVersion1Params) SetContext(ctx context.Context)
- func (o *RetrieveAllUsersByPolicyVersion1Params) SetConvertGameUserID(convertGameUserID *bool)
- func (o *RetrieveAllUsersByPolicyVersion1Params) SetHTTPClient(client *http.Client)
- func (o *RetrieveAllUsersByPolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveAllUsersByPolicyVersion1Params) SetKeyword(keyword *string)
- func (o *RetrieveAllUsersByPolicyVersion1Params) SetLimit(limit *int32)
- func (o *RetrieveAllUsersByPolicyVersion1Params) SetNamespace(namespace string)
- func (o *RetrieveAllUsersByPolicyVersion1Params) SetOffset(offset *int32)
- func (o *RetrieveAllUsersByPolicyVersion1Params) SetPolicyVersionID(policyVersionID string)
- func (o *RetrieveAllUsersByPolicyVersion1Params) SetTimeout(timeout time.Duration)
- func (o *RetrieveAllUsersByPolicyVersion1Params) WithContext(ctx context.Context) *RetrieveAllUsersByPolicyVersion1Params
- func (o *RetrieveAllUsersByPolicyVersion1Params) WithConvertGameUserID(convertGameUserID *bool) *RetrieveAllUsersByPolicyVersion1Params
- func (o *RetrieveAllUsersByPolicyVersion1Params) WithHTTPClient(client *http.Client) *RetrieveAllUsersByPolicyVersion1Params
- func (o *RetrieveAllUsersByPolicyVersion1Params) WithKeyword(keyword *string) *RetrieveAllUsersByPolicyVersion1Params
- func (o *RetrieveAllUsersByPolicyVersion1Params) WithLimit(limit *int32) *RetrieveAllUsersByPolicyVersion1Params
- func (o *RetrieveAllUsersByPolicyVersion1Params) WithNamespace(namespace string) *RetrieveAllUsersByPolicyVersion1Params
- func (o *RetrieveAllUsersByPolicyVersion1Params) WithOffset(offset *int32) *RetrieveAllUsersByPolicyVersion1Params
- func (o *RetrieveAllUsersByPolicyVersion1Params) WithPolicyVersionID(policyVersionID string) *RetrieveAllUsersByPolicyVersion1Params
- func (o *RetrieveAllUsersByPolicyVersion1Params) WithTimeout(timeout time.Duration) *RetrieveAllUsersByPolicyVersion1Params
- func (o *RetrieveAllUsersByPolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveAllUsersByPolicyVersion1Reader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for agreement with namespace API
func (*Client) RetrieveAcceptedAgreements1
deprecated
func (a *Client) RetrieveAcceptedAgreements1(params *RetrieveAcceptedAgreements1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAcceptedAgreements1OK, error)
Deprecated: 2022-08-10 - Use RetrieveAcceptedAgreements1Short instead.
RetrieveAcceptedAgreements1 retrieve accepted legal agreements This API will return all accepted Legal Agreements for specified user. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrieveAcceptedAgreements1Short ¶
func (a *Client) RetrieveAcceptedAgreements1Short(params *RetrieveAcceptedAgreements1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAcceptedAgreements1OK, error)
RetrieveAcceptedAgreements1Short retrieve accepted legal agreements This API will return all accepted Legal Agreements for specified user. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrieveAcceptedAgreementsForMultiUsers
deprecated
added in
v0.40.0
func (a *Client) RetrieveAcceptedAgreementsForMultiUsers(params *RetrieveAcceptedAgreementsForMultiUsersParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAcceptedAgreementsForMultiUsersOK, error)
Deprecated: 2022-08-10 - Use RetrieveAcceptedAgreementsForMultiUsersShort instead.
RetrieveAcceptedAgreementsForMultiUsers retrieve accepted legal agreements for multi users This API will return all accepted Legal Agreements for each user, including agreements of game users if publisher user has corresponding game accountOther detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrieveAcceptedAgreementsForMultiUsersShort ¶ added in v0.40.0
func (a *Client) RetrieveAcceptedAgreementsForMultiUsersShort(params *RetrieveAcceptedAgreementsForMultiUsersParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAcceptedAgreementsForMultiUsersOK, error)
RetrieveAcceptedAgreementsForMultiUsersShort retrieve accepted legal agreements for multi users This API will return all accepted Legal Agreements for each user, including agreements of game users if publisher user has corresponding game accountOther detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrieveAllUsersByPolicyVersion1
deprecated
func (a *Client) RetrieveAllUsersByPolicyVersion1(params *RetrieveAllUsersByPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllUsersByPolicyVersion1OK, *RetrieveAllUsersByPolicyVersion1NotFound, error)
Deprecated: 2022-08-10 - Use RetrieveAllUsersByPolicyVersion1Short instead.
RetrieveAllUsersByPolicyVersion1 retrieve all users accepting legal agreements This API will return all users who has accepted a specific policy version.Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) RetrieveAllUsersByPolicyVersion1Short ¶
func (a *Client) RetrieveAllUsersByPolicyVersion1Short(params *RetrieveAllUsersByPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllUsersByPolicyVersion1OK, error)
RetrieveAllUsersByPolicyVersion1Short retrieve all users accepting legal agreements This API will return all users who has accepted a specific policy version.Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:LEGAL", action=2 (READ)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { RetrieveAcceptedAgreementsForMultiUsers(params *RetrieveAcceptedAgreementsForMultiUsersParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAcceptedAgreementsForMultiUsersOK, error) RetrieveAcceptedAgreementsForMultiUsersShort(params *RetrieveAcceptedAgreementsForMultiUsersParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAcceptedAgreementsForMultiUsersOK, error) RetrieveAcceptedAgreements1(params *RetrieveAcceptedAgreements1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAcceptedAgreements1OK, error) RetrieveAcceptedAgreements1Short(params *RetrieveAcceptedAgreements1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAcceptedAgreements1OK, error) RetrieveAllUsersByPolicyVersion1(params *RetrieveAllUsersByPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllUsersByPolicyVersion1OK, *RetrieveAllUsersByPolicyVersion1NotFound, error) RetrieveAllUsersByPolicyVersion1Short(params *RetrieveAllUsersByPolicyVersion1Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveAllUsersByPolicyVersion1OK, 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 with namespace API client.
type RetrieveAcceptedAgreements1OK ¶
type RetrieveAcceptedAgreements1OK struct {
Payload []*legalclientmodels.RetrieveAcceptedAgreementResponse
}
RetrieveAcceptedAgreements1OK handles this case with default header values.
successful operation
func NewRetrieveAcceptedAgreements1OK ¶
func NewRetrieveAcceptedAgreements1OK() *RetrieveAcceptedAgreements1OK
NewRetrieveAcceptedAgreements1OK creates a RetrieveAcceptedAgreements1OK with default headers values
func (*RetrieveAcceptedAgreements1OK) Error ¶
func (o *RetrieveAcceptedAgreements1OK) Error() string
func (*RetrieveAcceptedAgreements1OK) GetPayload ¶
func (o *RetrieveAcceptedAgreements1OK) GetPayload() []*legalclientmodels.RetrieveAcceptedAgreementResponse
func (*RetrieveAcceptedAgreements1OK) ToJSONString ¶
func (o *RetrieveAcceptedAgreements1OK) ToJSONString() string
type RetrieveAcceptedAgreements1Params ¶
type RetrieveAcceptedAgreements1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*UserID User Id */ UserID string /*ExcludeOtherNamespacesPolicies If it is true, API will only query the policy in this path namespace */ ExcludeOtherNamespacesPolicies *bool AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveAcceptedAgreements1Params contains all the parameters to send to the API endpoint for the retrieve accepted agreements 1 operation typically these are written to a http.Request
func NewRetrieveAcceptedAgreements1Params ¶
func NewRetrieveAcceptedAgreements1Params() *RetrieveAcceptedAgreements1Params
NewRetrieveAcceptedAgreements1Params creates a new RetrieveAcceptedAgreements1Params object with the default values initialized.
func NewRetrieveAcceptedAgreements1ParamsWithContext ¶
func NewRetrieveAcceptedAgreements1ParamsWithContext(ctx context.Context) *RetrieveAcceptedAgreements1Params
NewRetrieveAcceptedAgreements1ParamsWithContext creates a new RetrieveAcceptedAgreements1Params object with the default values initialized, and the ability to set a context for a request
func NewRetrieveAcceptedAgreements1ParamsWithHTTPClient ¶
func NewRetrieveAcceptedAgreements1ParamsWithHTTPClient(client *http.Client) *RetrieveAcceptedAgreements1Params
NewRetrieveAcceptedAgreements1ParamsWithHTTPClient creates a new RetrieveAcceptedAgreements1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveAcceptedAgreements1ParamsWithTimeout ¶
func NewRetrieveAcceptedAgreements1ParamsWithTimeout(timeout time.Duration) *RetrieveAcceptedAgreements1Params
NewRetrieveAcceptedAgreements1ParamsWithTimeout creates a new RetrieveAcceptedAgreements1Params object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveAcceptedAgreements1Params) SetAuthInfoWriter ¶
func (o *RetrieveAcceptedAgreements1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve accepted agreements 1 params
func (*RetrieveAcceptedAgreements1Params) SetContext ¶
func (o *RetrieveAcceptedAgreements1Params) SetContext(ctx context.Context)
SetContext adds the context to the retrieve accepted agreements 1 params
func (*RetrieveAcceptedAgreements1Params) SetExcludeOtherNamespacesPolicies ¶ added in v0.46.0
func (o *RetrieveAcceptedAgreements1Params) SetExcludeOtherNamespacesPolicies(excludeOtherNamespacesPolicies *bool)
SetExcludeOtherNamespacesPolicies adds the excludeOtherNamespacesPolicies to the retrieve accepted agreements 1 params
func (*RetrieveAcceptedAgreements1Params) SetHTTPClient ¶
func (o *RetrieveAcceptedAgreements1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve accepted agreements 1 params
func (*RetrieveAcceptedAgreements1Params) SetHTTPClientTransport ¶
func (o *RetrieveAcceptedAgreements1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve accepted agreements 1 params
func (*RetrieveAcceptedAgreements1Params) SetNamespace ¶
func (o *RetrieveAcceptedAgreements1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve accepted agreements 1 params
func (*RetrieveAcceptedAgreements1Params) SetTimeout ¶
func (o *RetrieveAcceptedAgreements1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve accepted agreements 1 params
func (*RetrieveAcceptedAgreements1Params) SetUserID ¶
func (o *RetrieveAcceptedAgreements1Params) SetUserID(userID string)
SetUserID adds the userId to the retrieve accepted agreements 1 params
func (*RetrieveAcceptedAgreements1Params) WithContext ¶
func (o *RetrieveAcceptedAgreements1Params) WithContext(ctx context.Context) *RetrieveAcceptedAgreements1Params
WithContext adds the context to the retrieve accepted agreements 1 params
func (*RetrieveAcceptedAgreements1Params) WithExcludeOtherNamespacesPolicies ¶ added in v0.46.0
func (o *RetrieveAcceptedAgreements1Params) WithExcludeOtherNamespacesPolicies(excludeOtherNamespacesPolicies *bool) *RetrieveAcceptedAgreements1Params
WithExcludeOtherNamespacesPolicies adds the excludeOtherNamespacesPolicies to the retrieve accepted agreements 1 params
func (*RetrieveAcceptedAgreements1Params) WithHTTPClient ¶
func (o *RetrieveAcceptedAgreements1Params) WithHTTPClient(client *http.Client) *RetrieveAcceptedAgreements1Params
WithHTTPClient adds the HTTPClient to the retrieve accepted agreements 1 params
func (*RetrieveAcceptedAgreements1Params) WithNamespace ¶
func (o *RetrieveAcceptedAgreements1Params) WithNamespace(namespace string) *RetrieveAcceptedAgreements1Params
WithNamespace adds the namespace to the retrieve accepted agreements 1 params
func (*RetrieveAcceptedAgreements1Params) WithTimeout ¶
func (o *RetrieveAcceptedAgreements1Params) WithTimeout(timeout time.Duration) *RetrieveAcceptedAgreements1Params
WithTimeout adds the timeout to the retrieve accepted agreements 1 params
func (*RetrieveAcceptedAgreements1Params) WithUserID ¶
func (o *RetrieveAcceptedAgreements1Params) WithUserID(userID string) *RetrieveAcceptedAgreements1Params
WithUserID adds the userID to the retrieve accepted agreements 1 params
func (*RetrieveAcceptedAgreements1Params) WriteToRequest ¶
func (o *RetrieveAcceptedAgreements1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveAcceptedAgreements1Reader ¶
type RetrieveAcceptedAgreements1Reader struct {
// contains filtered or unexported fields
}
RetrieveAcceptedAgreements1Reader is a Reader for the RetrieveAcceptedAgreements1 structure.
func (*RetrieveAcceptedAgreements1Reader) ReadResponse ¶
func (o *RetrieveAcceptedAgreements1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveAcceptedAgreementsForMultiUsersOK ¶ added in v0.40.0
type RetrieveAcceptedAgreementsForMultiUsersOK struct {
Payload []*legalclientmodels.UserAgreementsResponse
}
RetrieveAcceptedAgreementsForMultiUsersOK handles this case with default header values.
successful operation
func NewRetrieveAcceptedAgreementsForMultiUsersOK ¶ added in v0.40.0
func NewRetrieveAcceptedAgreementsForMultiUsersOK() *RetrieveAcceptedAgreementsForMultiUsersOK
NewRetrieveAcceptedAgreementsForMultiUsersOK creates a RetrieveAcceptedAgreementsForMultiUsersOK with default headers values
func (*RetrieveAcceptedAgreementsForMultiUsersOK) Error ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersOK) Error() string
func (*RetrieveAcceptedAgreementsForMultiUsersOK) GetPayload ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersOK) GetPayload() []*legalclientmodels.UserAgreementsResponse
func (*RetrieveAcceptedAgreementsForMultiUsersOK) ToJSONString ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersOK) ToJSONString() string
type RetrieveAcceptedAgreementsForMultiUsersParams ¶ added in v0.40.0
type RetrieveAcceptedAgreementsForMultiUsersParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *legalclientmodels.UsersAgreementsRequest /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveAcceptedAgreementsForMultiUsersParams contains all the parameters to send to the API endpoint for the retrieve accepted agreements for multi users operation typically these are written to a http.Request
func NewRetrieveAcceptedAgreementsForMultiUsersParams ¶ added in v0.40.0
func NewRetrieveAcceptedAgreementsForMultiUsersParams() *RetrieveAcceptedAgreementsForMultiUsersParams
NewRetrieveAcceptedAgreementsForMultiUsersParams creates a new RetrieveAcceptedAgreementsForMultiUsersParams object with the default values initialized.
func NewRetrieveAcceptedAgreementsForMultiUsersParamsWithContext ¶ added in v0.40.0
func NewRetrieveAcceptedAgreementsForMultiUsersParamsWithContext(ctx context.Context) *RetrieveAcceptedAgreementsForMultiUsersParams
NewRetrieveAcceptedAgreementsForMultiUsersParamsWithContext creates a new RetrieveAcceptedAgreementsForMultiUsersParams object with the default values initialized, and the ability to set a context for a request
func NewRetrieveAcceptedAgreementsForMultiUsersParamsWithHTTPClient ¶ added in v0.40.0
func NewRetrieveAcceptedAgreementsForMultiUsersParamsWithHTTPClient(client *http.Client) *RetrieveAcceptedAgreementsForMultiUsersParams
NewRetrieveAcceptedAgreementsForMultiUsersParamsWithHTTPClient creates a new RetrieveAcceptedAgreementsForMultiUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveAcceptedAgreementsForMultiUsersParamsWithTimeout ¶ added in v0.40.0
func NewRetrieveAcceptedAgreementsForMultiUsersParamsWithTimeout(timeout time.Duration) *RetrieveAcceptedAgreementsForMultiUsersParams
NewRetrieveAcceptedAgreementsForMultiUsersParamsWithTimeout creates a new RetrieveAcceptedAgreementsForMultiUsersParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveAcceptedAgreementsForMultiUsersParams) SetAuthInfoWriter ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve accepted agreements for multi users params
func (*RetrieveAcceptedAgreementsForMultiUsersParams) SetBody ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersParams) SetBody(body *legalclientmodels.UsersAgreementsRequest)
SetBody adds the body to the retrieve accepted agreements for multi users params
func (*RetrieveAcceptedAgreementsForMultiUsersParams) SetContext ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve accepted agreements for multi users params
func (*RetrieveAcceptedAgreementsForMultiUsersParams) SetHTTPClient ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve accepted agreements for multi users params
func (*RetrieveAcceptedAgreementsForMultiUsersParams) SetHTTPClientTransport ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve accepted agreements for multi users params
func (*RetrieveAcceptedAgreementsForMultiUsersParams) SetNamespace ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve accepted agreements for multi users params
func (*RetrieveAcceptedAgreementsForMultiUsersParams) SetTimeout ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve accepted agreements for multi users params
func (*RetrieveAcceptedAgreementsForMultiUsersParams) WithBody ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersParams) WithBody(body *legalclientmodels.UsersAgreementsRequest) *RetrieveAcceptedAgreementsForMultiUsersParams
WithBody adds the body to the retrieve accepted agreements for multi users params
func (*RetrieveAcceptedAgreementsForMultiUsersParams) WithContext ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersParams) WithContext(ctx context.Context) *RetrieveAcceptedAgreementsForMultiUsersParams
WithContext adds the context to the retrieve accepted agreements for multi users params
func (*RetrieveAcceptedAgreementsForMultiUsersParams) WithHTTPClient ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersParams) WithHTTPClient(client *http.Client) *RetrieveAcceptedAgreementsForMultiUsersParams
WithHTTPClient adds the HTTPClient to the retrieve accepted agreements for multi users params
func (*RetrieveAcceptedAgreementsForMultiUsersParams) WithNamespace ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersParams) WithNamespace(namespace string) *RetrieveAcceptedAgreementsForMultiUsersParams
WithNamespace adds the namespace to the retrieve accepted agreements for multi users params
func (*RetrieveAcceptedAgreementsForMultiUsersParams) WithTimeout ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersParams) WithTimeout(timeout time.Duration) *RetrieveAcceptedAgreementsForMultiUsersParams
WithTimeout adds the timeout to the retrieve accepted agreements for multi users params
func (*RetrieveAcceptedAgreementsForMultiUsersParams) WriteToRequest ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveAcceptedAgreementsForMultiUsersReader ¶ added in v0.40.0
type RetrieveAcceptedAgreementsForMultiUsersReader struct {
// contains filtered or unexported fields
}
RetrieveAcceptedAgreementsForMultiUsersReader is a Reader for the RetrieveAcceptedAgreementsForMultiUsers structure.
func (*RetrieveAcceptedAgreementsForMultiUsersReader) ReadResponse ¶ added in v0.40.0
func (o *RetrieveAcceptedAgreementsForMultiUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveAllUsersByPolicyVersion1NotFound ¶
type RetrieveAllUsersByPolicyVersion1NotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveAllUsersByPolicyVersion1NotFound 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 NewRetrieveAllUsersByPolicyVersion1NotFound ¶
func NewRetrieveAllUsersByPolicyVersion1NotFound() *RetrieveAllUsersByPolicyVersion1NotFound
NewRetrieveAllUsersByPolicyVersion1NotFound creates a RetrieveAllUsersByPolicyVersion1NotFound with default headers values
func (*RetrieveAllUsersByPolicyVersion1NotFound) Error ¶
func (o *RetrieveAllUsersByPolicyVersion1NotFound) Error() string
func (*RetrieveAllUsersByPolicyVersion1NotFound) GetPayload ¶
func (o *RetrieveAllUsersByPolicyVersion1NotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveAllUsersByPolicyVersion1NotFound) ToJSONString ¶
func (o *RetrieveAllUsersByPolicyVersion1NotFound) ToJSONString() string
type RetrieveAllUsersByPolicyVersion1OK ¶
type RetrieveAllUsersByPolicyVersion1OK struct {
Payload *legalclientmodels.PagedRetrieveUserAcceptedAgreementResponse
}
RetrieveAllUsersByPolicyVersion1OK handles this case with default header values.
successful operation
func NewRetrieveAllUsersByPolicyVersion1OK ¶
func NewRetrieveAllUsersByPolicyVersion1OK() *RetrieveAllUsersByPolicyVersion1OK
NewRetrieveAllUsersByPolicyVersion1OK creates a RetrieveAllUsersByPolicyVersion1OK with default headers values
func (*RetrieveAllUsersByPolicyVersion1OK) Error ¶
func (o *RetrieveAllUsersByPolicyVersion1OK) Error() string
func (*RetrieveAllUsersByPolicyVersion1OK) GetPayload ¶
func (o *RetrieveAllUsersByPolicyVersion1OK) GetPayload() *legalclientmodels.PagedRetrieveUserAcceptedAgreementResponse
func (*RetrieveAllUsersByPolicyVersion1OK) ToJSONString ¶
func (o *RetrieveAllUsersByPolicyVersion1OK) ToJSONString() string
type RetrieveAllUsersByPolicyVersion1Params ¶
type RetrieveAllUsersByPolicyVersion1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*ConvertGameUserID [Only for publisher legal scenario] If it is true, when a game user accept this publisher legal, API will return publisher user id */ ConvertGameUserID *bool /*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 }
RetrieveAllUsersByPolicyVersion1Params contains all the parameters to send to the API endpoint for the retrieve all users by policy version 1 operation typically these are written to a http.Request
func NewRetrieveAllUsersByPolicyVersion1Params ¶
func NewRetrieveAllUsersByPolicyVersion1Params() *RetrieveAllUsersByPolicyVersion1Params
NewRetrieveAllUsersByPolicyVersion1Params creates a new RetrieveAllUsersByPolicyVersion1Params object with the default values initialized.
func NewRetrieveAllUsersByPolicyVersion1ParamsWithContext ¶
func NewRetrieveAllUsersByPolicyVersion1ParamsWithContext(ctx context.Context) *RetrieveAllUsersByPolicyVersion1Params
NewRetrieveAllUsersByPolicyVersion1ParamsWithContext creates a new RetrieveAllUsersByPolicyVersion1Params object with the default values initialized, and the ability to set a context for a request
func NewRetrieveAllUsersByPolicyVersion1ParamsWithHTTPClient ¶
func NewRetrieveAllUsersByPolicyVersion1ParamsWithHTTPClient(client *http.Client) *RetrieveAllUsersByPolicyVersion1Params
NewRetrieveAllUsersByPolicyVersion1ParamsWithHTTPClient creates a new RetrieveAllUsersByPolicyVersion1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveAllUsersByPolicyVersion1ParamsWithTimeout ¶
func NewRetrieveAllUsersByPolicyVersion1ParamsWithTimeout(timeout time.Duration) *RetrieveAllUsersByPolicyVersion1Params
NewRetrieveAllUsersByPolicyVersion1ParamsWithTimeout creates a new RetrieveAllUsersByPolicyVersion1Params object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveAllUsersByPolicyVersion1Params) SetAuthInfoWriter ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) SetContext ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) SetContext(ctx context.Context)
SetContext adds the context to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) SetConvertGameUserID ¶ added in v0.46.0
func (o *RetrieveAllUsersByPolicyVersion1Params) SetConvertGameUserID(convertGameUserID *bool)
SetConvertGameUserID adds the convertGameUserId to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) SetHTTPClient ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) SetHTTPClientTransport ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) SetKeyword ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) SetKeyword(keyword *string)
SetKeyword adds the keyword to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) SetLimit ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) SetLimit(limit *int32)
SetLimit adds the limit to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) SetNamespace ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) SetOffset ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) SetOffset(offset *int32)
SetOffset adds the offset to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) SetPolicyVersionID ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) SetPolicyVersionID(policyVersionID string)
SetPolicyVersionID adds the policyVersionId to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) SetTimeout ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) WithContext ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) WithContext(ctx context.Context) *RetrieveAllUsersByPolicyVersion1Params
WithContext adds the context to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) WithConvertGameUserID ¶ added in v0.46.0
func (o *RetrieveAllUsersByPolicyVersion1Params) WithConvertGameUserID(convertGameUserID *bool) *RetrieveAllUsersByPolicyVersion1Params
WithConvertGameUserID adds the convertGameUserID to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) WithHTTPClient ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) WithHTTPClient(client *http.Client) *RetrieveAllUsersByPolicyVersion1Params
WithHTTPClient adds the HTTPClient to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) WithKeyword ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) WithKeyword(keyword *string) *RetrieveAllUsersByPolicyVersion1Params
WithKeyword adds the keyword to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) WithLimit ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) WithLimit(limit *int32) *RetrieveAllUsersByPolicyVersion1Params
WithLimit adds the limit to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) WithNamespace ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) WithNamespace(namespace string) *RetrieveAllUsersByPolicyVersion1Params
WithNamespace adds the namespace to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) WithOffset ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) WithOffset(offset *int32) *RetrieveAllUsersByPolicyVersion1Params
WithOffset adds the offset to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) WithPolicyVersionID ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) WithPolicyVersionID(policyVersionID string) *RetrieveAllUsersByPolicyVersion1Params
WithPolicyVersionID adds the policyVersionID to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) WithTimeout ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) WithTimeout(timeout time.Duration) *RetrieveAllUsersByPolicyVersion1Params
WithTimeout adds the timeout to the retrieve all users by policy version 1 params
func (*RetrieveAllUsersByPolicyVersion1Params) WriteToRequest ¶
func (o *RetrieveAllUsersByPolicyVersion1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveAllUsersByPolicyVersion1Reader ¶
type RetrieveAllUsersByPolicyVersion1Reader struct {
// contains filtered or unexported fields
}
RetrieveAllUsersByPolicyVersion1Reader is a Reader for the RetrieveAllUsersByPolicyVersion1 structure.
func (*RetrieveAllUsersByPolicyVersion1Reader) ReadResponse ¶
func (o *RetrieveAllUsersByPolicyVersion1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- agreement_with_namespace_client.go
- retrieve_accepted_agreements_1_parameters.go
- retrieve_accepted_agreements_1_responses.go
- retrieve_accepted_agreements_for_multi_users_parameters.go
- retrieve_accepted_agreements_for_multi_users_responses.go
- retrieve_all_users_by_policy_version_1_parameters.go
- retrieve_all_users_by_policy_version_1_responses.go