admin_user_eligibilities

package
v0.61.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 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 AdminRetrieveEligibilitiesBadRequest added in v0.34.0

type AdminRetrieveEligibilitiesBadRequest struct {
	Payload *legalclientmodels.ErrorEntity
}

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

func NewAdminRetrieveEligibilitiesBadRequest() *AdminRetrieveEligibilitiesBadRequest

NewAdminRetrieveEligibilitiesBadRequest creates a AdminRetrieveEligibilitiesBadRequest with default headers values

func (*AdminRetrieveEligibilitiesBadRequest) Error added in v0.34.0

func (*AdminRetrieveEligibilitiesBadRequest) GetPayload added in v0.34.0

func (*AdminRetrieveEligibilitiesBadRequest) ToJSONString added in v0.34.0

func (o *AdminRetrieveEligibilitiesBadRequest) ToJSONString() string

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

func (*AdminRetrieveEligibilitiesOK) ToJSONString added in v0.25.0

func (o *AdminRetrieveEligibilitiesOK) ToJSONString() string

type AdminRetrieveEligibilitiesParams

type AdminRetrieveEligibilitiesParams struct {

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

	*/
	Namespace string
	/*UserID
	  User Id

	*/
	UserID string
	/*PublisherUserID
	  Publisher user Id

	*/
	PublisherUserID *string
	/*ClientID
	  Client Id

	*/
	ClientID string
	/*CountryCode
	  Country Code

	*/
	CountryCode 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

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

WithClientID adds the clientID to the admin retrieve eligibilities params

func (*AdminRetrieveEligibilitiesParams) WithContext

WithContext adds the context to the admin retrieve eligibilities params

func (*AdminRetrieveEligibilitiesParams) WithCountryCode

WithCountryCode adds the countryCode to the admin retrieve eligibilities params

func (*AdminRetrieveEligibilitiesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin retrieve eligibilities params

func (*AdminRetrieveEligibilitiesParams) WithNamespace

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

WithTimeout adds the timeout to the admin retrieve eligibilities params

func (*AdminRetrieveEligibilitiesParams) WithUserID

WithUserID adds the userID to the admin retrieve eligibilities params

func (*AdminRetrieveEligibilitiesParams) WriteToRequest

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 deprecated

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

AdminRetrieveEligibilities 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.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:LEGAL", action=2 (READ)

func (*Client) AdminRetrieveEligibilitiesShort

func (a *Client) AdminRetrieveEligibilitiesShort(params *AdminRetrieveEligibilitiesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRetrieveEligibilitiesOK, error)

AdminRetrieveEligibilitiesShort 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.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}: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 {
	AdminRetrieveEligibilities(params *AdminRetrieveEligibilitiesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRetrieveEligibilitiesOK, *AdminRetrieveEligibilitiesBadRequest, 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.

Jump to

Keyboard shortcuts

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