admin_user_eligibilities

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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

func (*AdminRetrieveEligibilitiesOK) ToJSONString added in v0.25.0

func (o *AdminRetrieveEligibilitiesOK) ToJSONString() string

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

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

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

Deprecated: Use AdminRetrieveEligibilitiesShort instead.

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)

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

Jump to

Keyboard shortcuts

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