eligibilities

package
v0.23.0 Latest Latest
Warning

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

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

Documentation

Index

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

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 (*RetrieveEligibilitiesPublicIndirectOK) GetPayload

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

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

SetTimeout adds the timeout to the retrieve eligibilities public indirect params

func (*RetrieveEligibilitiesPublicIndirectParams) SetUserID

SetUserID adds the userId to the retrieve eligibilities public indirect params

func (*RetrieveEligibilitiesPublicIndirectParams) WithClientID

WithClientID adds the clientID to the retrieve eligibilities public indirect params

func (*RetrieveEligibilitiesPublicIndirectParams) WithContext

WithContext adds the context to the retrieve eligibilities public indirect params

func (*RetrieveEligibilitiesPublicIndirectParams) WithCountryCode

WithCountryCode adds the countryCode to the retrieve eligibilities public indirect params

func (*RetrieveEligibilitiesPublicIndirectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve eligibilities public indirect params

func (*RetrieveEligibilitiesPublicIndirectParams) WithNamespace

WithNamespace adds the namespace to the retrieve eligibilities public indirect params

func (*RetrieveEligibilitiesPublicIndirectParams) WithTimeout

WithTimeout adds the timeout to the retrieve eligibilities public indirect params

func (*RetrieveEligibilitiesPublicIndirectParams) WithUserID

WithUserID adds the userID to the retrieve eligibilities public indirect params

func (*RetrieveEligibilitiesPublicIndirectParams) WriteToRequest

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 (*RetrieveEligibilitiesPublicOK) GetPayload

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

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

WithContext adds the context to the retrieve eligibilities public params

func (*RetrieveEligibilitiesPublicParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve eligibilities public params

func (*RetrieveEligibilitiesPublicParams) WithNamespace

WithNamespace adds the namespace to the retrieve eligibilities public params

func (*RetrieveEligibilitiesPublicParams) WithTimeout

WithTimeout adds the timeout to the retrieve eligibilities public params

func (*RetrieveEligibilitiesPublicParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL