eligibilities

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 15 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 deprecated

Deprecated: 2022-08-10 - Use RetrieveEligibilitiesPublicShort instead.

RetrieveEligibilitiesPublic check user legal eligibility Retrieve the active policies and its conformance status by user. 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.

func (*Client) RetrieveEligibilitiesPublicIndirect deprecated

Deprecated: 2022-08-10 - Use RetrieveEligibilitiesPublicIndirectShort instead.

RetrieveEligibilitiesPublicIndirect check user legal eligibility Retrieve the active policies and its conformance status by user. This 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.

func (*Client) RetrieveEligibilitiesPublicIndirectShort added in v0.8.0

func (a *Client) RetrieveEligibilitiesPublicIndirectShort(params *RetrieveEligibilitiesPublicIndirectParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicIndirectOK, error)

RetrieveEligibilitiesPublicIndirectShort check user legal eligibility Retrieve the active policies and its conformance status by user. This 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.

func (*Client) RetrieveEligibilitiesPublicShort added in v0.8.0

func (a *Client) RetrieveEligibilitiesPublicShort(params *RetrieveEligibilitiesPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicOK, error)

RetrieveEligibilitiesPublicShort check user legal eligibility Retrieve the active policies and its conformance status by user. 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.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

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 RetrieveEligibilitiesPublicBadRequest added in v0.34.0

type RetrieveEligibilitiesPublicBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveEligibilitiesPublicBadRequest handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40045</td><td>errors.net.accelbyte.platform.legal.user_id_needed</td></tr></table>

func NewRetrieveEligibilitiesPublicBadRequest added in v0.34.0

func NewRetrieveEligibilitiesPublicBadRequest() *RetrieveEligibilitiesPublicBadRequest

NewRetrieveEligibilitiesPublicBadRequest creates a RetrieveEligibilitiesPublicBadRequest with default headers values

func (*RetrieveEligibilitiesPublicBadRequest) Error added in v0.34.0

func (*RetrieveEligibilitiesPublicBadRequest) GetPayload added in v0.34.0

func (*RetrieveEligibilitiesPublicBadRequest) ToJSONString added in v0.34.0

type RetrieveEligibilitiesPublicIndirectBadRequest added in v0.34.0

type RetrieveEligibilitiesPublicIndirectBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveEligibilitiesPublicIndirectBadRequest handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40045</td><td>errors.net.accelbyte.platform.legal.user_id_needed</td></tr></table>

func NewRetrieveEligibilitiesPublicIndirectBadRequest added in v0.34.0

func NewRetrieveEligibilitiesPublicIndirectBadRequest() *RetrieveEligibilitiesPublicIndirectBadRequest

NewRetrieveEligibilitiesPublicIndirectBadRequest creates a RetrieveEligibilitiesPublicIndirectBadRequest with default headers values

func (*RetrieveEligibilitiesPublicIndirectBadRequest) Error added in v0.34.0

func (*RetrieveEligibilitiesPublicIndirectBadRequest) GetPayload added in v0.34.0

func (*RetrieveEligibilitiesPublicIndirectBadRequest) ToJSONString added in v0.34.0

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

func (*RetrieveEligibilitiesPublicIndirectOK) ToJSONString added in v0.25.0

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId added in v0.63.0

func (o *RetrieveEligibilitiesPublicIndirectParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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 RetrieveEligibilitiesPublicNotFound added in v0.34.0

type RetrieveEligibilitiesPublicNotFound struct {
	Payload *legalclientmodels.ErrorEntity
}

RetrieveEligibilitiesPublicNotFound handles this case with default header values.

<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40041</td><td>errors.net.accelbyte.platform.legal.policy_not_found</td></tr></table>

func NewRetrieveEligibilitiesPublicNotFound added in v0.34.0

func NewRetrieveEligibilitiesPublicNotFound() *RetrieveEligibilitiesPublicNotFound

NewRetrieveEligibilitiesPublicNotFound creates a RetrieveEligibilitiesPublicNotFound with default headers values

func (*RetrieveEligibilitiesPublicNotFound) Error added in v0.34.0

func (*RetrieveEligibilitiesPublicNotFound) GetPayload added in v0.34.0

func (*RetrieveEligibilitiesPublicNotFound) ToJSONString added in v0.34.0

func (o *RetrieveEligibilitiesPublicNotFound) ToJSONString() string

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

func (*RetrieveEligibilitiesPublicOK) ToJSONString added in v0.25.0

func (o *RetrieveEligibilitiesPublicOK) ToJSONString() string

type RetrieveEligibilitiesPublicParams

type RetrieveEligibilitiesPublicParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId added in v0.63.0

func (o *RetrieveEligibilitiesPublicParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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