Documentation ¶
Index ¶
- type AdminRetrieveEligibilitiesOK
- type AdminRetrieveEligibilitiesParams
- func NewAdminRetrieveEligibilitiesParams() *AdminRetrieveEligibilitiesParams
- func NewAdminRetrieveEligibilitiesParamsWithContext(ctx context.Context) *AdminRetrieveEligibilitiesParams
- func NewAdminRetrieveEligibilitiesParamsWithHTTPClient(client *http.Client) *AdminRetrieveEligibilitiesParams
- func NewAdminRetrieveEligibilitiesParamsWithTimeout(timeout time.Duration) *AdminRetrieveEligibilitiesParams
- func (o *AdminRetrieveEligibilitiesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminRetrieveEligibilitiesParams) SetClientID(clientID string)
- func (o *AdminRetrieveEligibilitiesParams) SetContext(ctx context.Context)
- func (o *AdminRetrieveEligibilitiesParams) SetCountryCode(countryCode string)
- func (o *AdminRetrieveEligibilitiesParams) SetHTTPClient(client *http.Client)
- func (o *AdminRetrieveEligibilitiesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminRetrieveEligibilitiesParams) SetNamespace(namespace string)
- func (o *AdminRetrieveEligibilitiesParams) SetPublisherUserID(publisherUserID *string)
- func (o *AdminRetrieveEligibilitiesParams) SetTimeout(timeout time.Duration)
- func (o *AdminRetrieveEligibilitiesParams) SetUserID(userID string)
- func (o *AdminRetrieveEligibilitiesParams) WithClientID(clientID string) *AdminRetrieveEligibilitiesParams
- func (o *AdminRetrieveEligibilitiesParams) WithContext(ctx context.Context) *AdminRetrieveEligibilitiesParams
- func (o *AdminRetrieveEligibilitiesParams) WithCountryCode(countryCode string) *AdminRetrieveEligibilitiesParams
- func (o *AdminRetrieveEligibilitiesParams) WithHTTPClient(client *http.Client) *AdminRetrieveEligibilitiesParams
- func (o *AdminRetrieveEligibilitiesParams) WithNamespace(namespace string) *AdminRetrieveEligibilitiesParams
- func (o *AdminRetrieveEligibilitiesParams) WithPublisherUserID(publisherUserID *string) *AdminRetrieveEligibilitiesParams
- func (o *AdminRetrieveEligibilitiesParams) WithTimeout(timeout time.Duration) *AdminRetrieveEligibilitiesParams
- func (o *AdminRetrieveEligibilitiesParams) WithUserID(userID string) *AdminRetrieveEligibilitiesParams
- func (o *AdminRetrieveEligibilitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminRetrieveEligibilitiesReader
- type Client
- func (a *Client) AdminRetrieveEligibilities(params *AdminRetrieveEligibilitiesParams, ...) (*AdminRetrieveEligibilitiesOK, error)
- func (a *Client) AdminRetrieveEligibilitiesShort(params *AdminRetrieveEligibilitiesParams, ...) (*AdminRetrieveEligibilitiesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminRetrieveEligibilitiesOK ¶
type AdminRetrieveEligibilitiesOK struct {
Payload *legalclientmodels.RetrieveUserEligibilitiesIndirectResponse
}
AdminRetrieveEligibilitiesOK handles this case with default header values.
successful operation
func NewAdminRetrieveEligibilitiesOK ¶
func NewAdminRetrieveEligibilitiesOK() *AdminRetrieveEligibilitiesOK
NewAdminRetrieveEligibilitiesOK creates a AdminRetrieveEligibilitiesOK with default headers values
func (*AdminRetrieveEligibilitiesOK) Error ¶
func (o *AdminRetrieveEligibilitiesOK) Error() string
func (*AdminRetrieveEligibilitiesOK) GetPayload ¶
func (o *AdminRetrieveEligibilitiesOK) GetPayload() *legalclientmodels.RetrieveUserEligibilitiesIndirectResponse
type AdminRetrieveEligibilitiesParams ¶
type AdminRetrieveEligibilitiesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ClientID Client Id */ ClientID string /*CountryCode Country Code */ CountryCode string /*Namespace Namespace */ Namespace string /*PublisherUserID Publisher user Id */ PublisherUserID *string /*UserID User Id */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminRetrieveEligibilitiesParams contains all the parameters to send to the API endpoint for the admin retrieve eligibilities operation typically these are written to a http.Request
func NewAdminRetrieveEligibilitiesParams ¶
func NewAdminRetrieveEligibilitiesParams() *AdminRetrieveEligibilitiesParams
NewAdminRetrieveEligibilitiesParams creates a new AdminRetrieveEligibilitiesParams object with the default values initialized.
func NewAdminRetrieveEligibilitiesParamsWithContext ¶
func NewAdminRetrieveEligibilitiesParamsWithContext(ctx context.Context) *AdminRetrieveEligibilitiesParams
NewAdminRetrieveEligibilitiesParamsWithContext creates a new AdminRetrieveEligibilitiesParams object with the default values initialized, and the ability to set a context for a request
func NewAdminRetrieveEligibilitiesParamsWithHTTPClient ¶
func NewAdminRetrieveEligibilitiesParamsWithHTTPClient(client *http.Client) *AdminRetrieveEligibilitiesParams
NewAdminRetrieveEligibilitiesParamsWithHTTPClient creates a new AdminRetrieveEligibilitiesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminRetrieveEligibilitiesParamsWithTimeout ¶
func NewAdminRetrieveEligibilitiesParamsWithTimeout(timeout time.Duration) *AdminRetrieveEligibilitiesParams
NewAdminRetrieveEligibilitiesParamsWithTimeout creates a new AdminRetrieveEligibilitiesParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminRetrieveEligibilitiesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminRetrieveEligibilitiesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) SetClientID ¶
func (o *AdminRetrieveEligibilitiesParams) SetClientID(clientID string)
SetClientID adds the clientId to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) SetContext ¶
func (o *AdminRetrieveEligibilitiesParams) SetContext(ctx context.Context)
SetContext adds the context to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) SetCountryCode ¶
func (o *AdminRetrieveEligibilitiesParams) SetCountryCode(countryCode string)
SetCountryCode adds the countryCode to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) SetHTTPClient ¶
func (o *AdminRetrieveEligibilitiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminRetrieveEligibilitiesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) SetNamespace ¶
func (o *AdminRetrieveEligibilitiesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) SetPublisherUserID ¶
func (o *AdminRetrieveEligibilitiesParams) SetPublisherUserID(publisherUserID *string)
SetPublisherUserID adds the publisherUserId to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) SetTimeout ¶
func (o *AdminRetrieveEligibilitiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) SetUserID ¶
func (o *AdminRetrieveEligibilitiesParams) SetUserID(userID string)
SetUserID adds the userId to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) WithClientID ¶
func (o *AdminRetrieveEligibilitiesParams) WithClientID(clientID string) *AdminRetrieveEligibilitiesParams
WithClientID adds the clientID to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) WithContext ¶
func (o *AdminRetrieveEligibilitiesParams) WithContext(ctx context.Context) *AdminRetrieveEligibilitiesParams
WithContext adds the context to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) WithCountryCode ¶
func (o *AdminRetrieveEligibilitiesParams) WithCountryCode(countryCode string) *AdminRetrieveEligibilitiesParams
WithCountryCode adds the countryCode to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) WithHTTPClient ¶
func (o *AdminRetrieveEligibilitiesParams) WithHTTPClient(client *http.Client) *AdminRetrieveEligibilitiesParams
WithHTTPClient adds the HTTPClient to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) WithNamespace ¶
func (o *AdminRetrieveEligibilitiesParams) WithNamespace(namespace string) *AdminRetrieveEligibilitiesParams
WithNamespace adds the namespace to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) WithPublisherUserID ¶
func (o *AdminRetrieveEligibilitiesParams) WithPublisherUserID(publisherUserID *string) *AdminRetrieveEligibilitiesParams
WithPublisherUserID adds the publisherUserID to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) WithTimeout ¶
func (o *AdminRetrieveEligibilitiesParams) WithTimeout(timeout time.Duration) *AdminRetrieveEligibilitiesParams
WithTimeout adds the timeout to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) WithUserID ¶
func (o *AdminRetrieveEligibilitiesParams) WithUserID(userID string) *AdminRetrieveEligibilitiesParams
WithUserID adds the userID to the admin retrieve eligibilities params
func (*AdminRetrieveEligibilitiesParams) WriteToRequest ¶
func (o *AdminRetrieveEligibilitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminRetrieveEligibilitiesReader ¶
type AdminRetrieveEligibilitiesReader struct {
// contains filtered or unexported fields
}
AdminRetrieveEligibilitiesReader is a Reader for the AdminRetrieveEligibilities structure.
func (*AdminRetrieveEligibilitiesReader) ReadResponse ¶
func (o *AdminRetrieveEligibilitiesReader) 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 admin user eligibilities API
func (*Client) AdminRetrieveEligibilities ¶
func (a *Client) AdminRetrieveEligibilities(params *AdminRetrieveEligibilitiesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRetrieveEligibilitiesOK, error)
AdminRetrieveEligibilities checks user legal eligibility
Retrieve the active policies and its conformance status by userThis process only supports cross-namespace checking between game namespace and publisher namespace , that means if the active policy already accepted by the same user in publisher namespace, then it will also be considered as eligible in non-publisher namespace.<br/><br/>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:LEGAL", action=2 (READ)</li></ul>
func (*Client) AdminRetrieveEligibilitiesShort ¶
func (a *Client) AdminRetrieveEligibilitiesShort(params *AdminRetrieveEligibilitiesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRetrieveEligibilitiesOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminRetrieveEligibilities(params *AdminRetrieveEligibilitiesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRetrieveEligibilitiesOK, error) AdminRetrieveEligibilitiesShort(params *AdminRetrieveEligibilitiesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRetrieveEligibilitiesOK, 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 admin user eligibilities API client.