Documentation ¶
Index ¶
- type Client
- func (a *Client) RetrieveEligibilitiesPublic(params *RetrieveEligibilitiesPublicParams, ...) (*RetrieveEligibilitiesPublicOK, error)
- func (a *Client) RetrieveEligibilitiesPublicIndirect(params *RetrieveEligibilitiesPublicIndirectParams, ...) (*RetrieveEligibilitiesPublicIndirectOK, error)
- func (a *Client) RetrieveEligibilitiesPublicIndirectShort(params *RetrieveEligibilitiesPublicIndirectParams, ...) (*RetrieveEligibilitiesPublicIndirectOK, error)
- func (a *Client) RetrieveEligibilitiesPublicShort(params *RetrieveEligibilitiesPublicParams, ...) (*RetrieveEligibilitiesPublicOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type RetrieveEligibilitiesPublicIndirectOK
- type RetrieveEligibilitiesPublicIndirectParams
- func NewRetrieveEligibilitiesPublicIndirectParams() *RetrieveEligibilitiesPublicIndirectParams
- func NewRetrieveEligibilitiesPublicIndirectParamsWithContext(ctx context.Context) *RetrieveEligibilitiesPublicIndirectParams
- func NewRetrieveEligibilitiesPublicIndirectParamsWithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicIndirectParams
- func NewRetrieveEligibilitiesPublicIndirectParamsWithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetClientID(clientID string)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetContext(ctx context.Context)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetCountryCode(countryCode string)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetNamespace(namespace string)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetUserID(userID string)
- func (o *RetrieveEligibilitiesPublicIndirectParams) WithClientID(clientID string) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) WithContext(ctx context.Context) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) WithCountryCode(countryCode string) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) WithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) WithNamespace(namespace string) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) WithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) WithUserID(userID string) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveEligibilitiesPublicIndirectReader
- type RetrieveEligibilitiesPublicOK
- type RetrieveEligibilitiesPublicParams
- func NewRetrieveEligibilitiesPublicParams() *RetrieveEligibilitiesPublicParams
- func NewRetrieveEligibilitiesPublicParamsWithContext(ctx context.Context) *RetrieveEligibilitiesPublicParams
- func NewRetrieveEligibilitiesPublicParamsWithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicParams
- func NewRetrieveEligibilitiesPublicParamsWithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicParams
- func (o *RetrieveEligibilitiesPublicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveEligibilitiesPublicParams) SetContext(ctx context.Context)
- func (o *RetrieveEligibilitiesPublicParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveEligibilitiesPublicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveEligibilitiesPublicParams) SetNamespace(namespace string)
- func (o *RetrieveEligibilitiesPublicParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveEligibilitiesPublicParams) WithContext(ctx context.Context) *RetrieveEligibilitiesPublicParams
- func (o *RetrieveEligibilitiesPublicParams) WithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicParams
- func (o *RetrieveEligibilitiesPublicParams) WithNamespace(namespace string) *RetrieveEligibilitiesPublicParams
- func (o *RetrieveEligibilitiesPublicParams) WithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicParams
- func (o *RetrieveEligibilitiesPublicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveEligibilitiesPublicReader
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 eligibilities API
func (*Client) RetrieveEligibilitiesPublic ¶
func (a *Client) RetrieveEligibilitiesPublic(params *RetrieveEligibilitiesPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicOK, error)
RetrieveEligibilitiesPublic checks user legal eligibility
Retrieve the active policies and its conformance status by user.<br>This process supports cross-namespace checking, that means if the active policy already accepted by the same user in other namespace, then it will be considered as eligible.<br/><br/>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
func (*Client) RetrieveEligibilitiesPublicIndirect ¶
func (a *Client) RetrieveEligibilitiesPublicIndirect(params *RetrieveEligibilitiesPublicIndirectParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicIndirectOK, error)
RetrieveEligibilitiesPublicIndirect 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>: login user</li></ul>
func (*Client) RetrieveEligibilitiesPublicIndirectShort ¶ added in v0.8.0
func (a *Client) RetrieveEligibilitiesPublicIndirectShort(params *RetrieveEligibilitiesPublicIndirectParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicIndirectOK, error)
func (*Client) RetrieveEligibilitiesPublicShort ¶ added in v0.8.0
func (a *Client) RetrieveEligibilitiesPublicShort(params *RetrieveEligibilitiesPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { RetrieveEligibilitiesPublic(params *RetrieveEligibilitiesPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicOK, error) RetrieveEligibilitiesPublicShort(params *RetrieveEligibilitiesPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicOK, error) RetrieveEligibilitiesPublicIndirect(params *RetrieveEligibilitiesPublicIndirectParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicIndirectOK, error) RetrieveEligibilitiesPublicIndirectShort(params *RetrieveEligibilitiesPublicIndirectParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicIndirectOK, 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 eligibilities API client.
type RetrieveEligibilitiesPublicIndirectOK ¶
type RetrieveEligibilitiesPublicIndirectOK struct {
Payload *legalclientmodels.RetrieveUserEligibilitiesIndirectResponse
}
RetrieveEligibilitiesPublicIndirectOK handles this case with default header values.
successful operation
func NewRetrieveEligibilitiesPublicIndirectOK ¶
func NewRetrieveEligibilitiesPublicIndirectOK() *RetrieveEligibilitiesPublicIndirectOK
NewRetrieveEligibilitiesPublicIndirectOK creates a RetrieveEligibilitiesPublicIndirectOK with default headers values
func (*RetrieveEligibilitiesPublicIndirectOK) Error ¶
func (o *RetrieveEligibilitiesPublicIndirectOK) Error() string
func (*RetrieveEligibilitiesPublicIndirectOK) GetPayload ¶
func (o *RetrieveEligibilitiesPublicIndirectOK) GetPayload() *legalclientmodels.RetrieveUserEligibilitiesIndirectResponse
type RetrieveEligibilitiesPublicIndirectParams ¶
type RetrieveEligibilitiesPublicIndirectParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ClientID Client Id */ ClientID string /*CountryCode Country Code */ CountryCode string /*Namespace Namespace */ Namespace string /*UserID User Id */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveEligibilitiesPublicIndirectParams contains all the parameters to send to the API endpoint for the retrieve eligibilities public indirect operation typically these are written to a http.Request
func NewRetrieveEligibilitiesPublicIndirectParams ¶
func NewRetrieveEligibilitiesPublicIndirectParams() *RetrieveEligibilitiesPublicIndirectParams
NewRetrieveEligibilitiesPublicIndirectParams creates a new RetrieveEligibilitiesPublicIndirectParams object with the default values initialized.
func NewRetrieveEligibilitiesPublicIndirectParamsWithContext ¶
func NewRetrieveEligibilitiesPublicIndirectParamsWithContext(ctx context.Context) *RetrieveEligibilitiesPublicIndirectParams
NewRetrieveEligibilitiesPublicIndirectParamsWithContext creates a new RetrieveEligibilitiesPublicIndirectParams object with the default values initialized, and the ability to set a context for a request
func NewRetrieveEligibilitiesPublicIndirectParamsWithHTTPClient ¶
func NewRetrieveEligibilitiesPublicIndirectParamsWithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicIndirectParams
NewRetrieveEligibilitiesPublicIndirectParamsWithHTTPClient creates a new RetrieveEligibilitiesPublicIndirectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveEligibilitiesPublicIndirectParamsWithTimeout ¶
func NewRetrieveEligibilitiesPublicIndirectParamsWithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicIndirectParams
NewRetrieveEligibilitiesPublicIndirectParamsWithTimeout creates a new RetrieveEligibilitiesPublicIndirectParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveEligibilitiesPublicIndirectParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RetrieveEligibilitiesPublicIndirectParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetClientID ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) SetClientID(clientID string)
SetClientID adds the clientId to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetContext ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetCountryCode ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) SetCountryCode(countryCode string)
SetCountryCode adds the countryCode to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetHTTPClient ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RetrieveEligibilitiesPublicIndirectParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetNamespace ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetTimeout ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetUserID ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) SetUserID(userID string)
SetUserID adds the userId to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WithClientID ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WithClientID(clientID string) *RetrieveEligibilitiesPublicIndirectParams
WithClientID adds the clientID to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WithContext ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WithContext(ctx context.Context) *RetrieveEligibilitiesPublicIndirectParams
WithContext adds the context to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WithCountryCode ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WithCountryCode(countryCode string) *RetrieveEligibilitiesPublicIndirectParams
WithCountryCode adds the countryCode to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WithHTTPClient ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicIndirectParams
WithHTTPClient adds the HTTPClient to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WithNamespace ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WithNamespace(namespace string) *RetrieveEligibilitiesPublicIndirectParams
WithNamespace adds the namespace to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WithTimeout ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicIndirectParams
WithTimeout adds the timeout to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WithUserID ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WithUserID(userID string) *RetrieveEligibilitiesPublicIndirectParams
WithUserID adds the userID to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WriteToRequest ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveEligibilitiesPublicIndirectReader ¶
type RetrieveEligibilitiesPublicIndirectReader struct {
// contains filtered or unexported fields
}
RetrieveEligibilitiesPublicIndirectReader is a Reader for the RetrieveEligibilitiesPublicIndirect structure.
func (*RetrieveEligibilitiesPublicIndirectReader) ReadResponse ¶
func (o *RetrieveEligibilitiesPublicIndirectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveEligibilitiesPublicOK ¶
type RetrieveEligibilitiesPublicOK struct {
Payload []*legalclientmodels.RetrieveUserEligibilitiesResponse
}
RetrieveEligibilitiesPublicOK handles this case with default header values.
successful operation
func NewRetrieveEligibilitiesPublicOK ¶
func NewRetrieveEligibilitiesPublicOK() *RetrieveEligibilitiesPublicOK
NewRetrieveEligibilitiesPublicOK creates a RetrieveEligibilitiesPublicOK with default headers values
func (*RetrieveEligibilitiesPublicOK) Error ¶
func (o *RetrieveEligibilitiesPublicOK) Error() string
func (*RetrieveEligibilitiesPublicOK) GetPayload ¶
func (o *RetrieveEligibilitiesPublicOK) GetPayload() []*legalclientmodels.RetrieveUserEligibilitiesResponse
type RetrieveEligibilitiesPublicParams ¶
type RetrieveEligibilitiesPublicParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveEligibilitiesPublicParams contains all the parameters to send to the API endpoint for the retrieve eligibilities public operation typically these are written to a http.Request
func NewRetrieveEligibilitiesPublicParams ¶
func NewRetrieveEligibilitiesPublicParams() *RetrieveEligibilitiesPublicParams
NewRetrieveEligibilitiesPublicParams creates a new RetrieveEligibilitiesPublicParams object with the default values initialized.
func NewRetrieveEligibilitiesPublicParamsWithContext ¶
func NewRetrieveEligibilitiesPublicParamsWithContext(ctx context.Context) *RetrieveEligibilitiesPublicParams
NewRetrieveEligibilitiesPublicParamsWithContext creates a new RetrieveEligibilitiesPublicParams object with the default values initialized, and the ability to set a context for a request
func NewRetrieveEligibilitiesPublicParamsWithHTTPClient ¶
func NewRetrieveEligibilitiesPublicParamsWithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicParams
NewRetrieveEligibilitiesPublicParamsWithHTTPClient creates a new RetrieveEligibilitiesPublicParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveEligibilitiesPublicParamsWithTimeout ¶
func NewRetrieveEligibilitiesPublicParamsWithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicParams
NewRetrieveEligibilitiesPublicParamsWithTimeout creates a new RetrieveEligibilitiesPublicParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveEligibilitiesPublicParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RetrieveEligibilitiesPublicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) SetContext ¶
func (o *RetrieveEligibilitiesPublicParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) SetHTTPClient ¶
func (o *RetrieveEligibilitiesPublicParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RetrieveEligibilitiesPublicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) SetNamespace ¶
func (o *RetrieveEligibilitiesPublicParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) SetTimeout ¶
func (o *RetrieveEligibilitiesPublicParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) WithContext ¶
func (o *RetrieveEligibilitiesPublicParams) WithContext(ctx context.Context) *RetrieveEligibilitiesPublicParams
WithContext adds the context to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) WithHTTPClient ¶
func (o *RetrieveEligibilitiesPublicParams) WithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicParams
WithHTTPClient adds the HTTPClient to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) WithNamespace ¶
func (o *RetrieveEligibilitiesPublicParams) WithNamespace(namespace string) *RetrieveEligibilitiesPublicParams
WithNamespace adds the namespace to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) WithTimeout ¶
func (o *RetrieveEligibilitiesPublicParams) WithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicParams
WithTimeout adds the timeout to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) WriteToRequest ¶
func (o *RetrieveEligibilitiesPublicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveEligibilitiesPublicReader ¶
type RetrieveEligibilitiesPublicReader struct {
// contains filtered or unexported fields
}
RetrieveEligibilitiesPublicReader is a Reader for the RetrieveEligibilitiesPublic structure.
func (*RetrieveEligibilitiesPublicReader) ReadResponse ¶
func (o *RetrieveEligibilitiesPublicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.