recent_player

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminGetRecentPlayerBadRequest added in v0.66.0

type AdminGetRecentPlayerBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetRecentPlayerBadRequest handles this case with default header values.

Bad Request

func NewAdminGetRecentPlayerBadRequest added in v0.66.0

func NewAdminGetRecentPlayerBadRequest() *AdminGetRecentPlayerBadRequest

NewAdminGetRecentPlayerBadRequest creates a AdminGetRecentPlayerBadRequest with default headers values

func (*AdminGetRecentPlayerBadRequest) Error added in v0.66.0

func (*AdminGetRecentPlayerBadRequest) GetPayload added in v0.66.0

func (*AdminGetRecentPlayerBadRequest) ToJSONString added in v0.66.0

func (o *AdminGetRecentPlayerBadRequest) ToJSONString() string

type AdminGetRecentPlayerInternalServerError added in v0.66.0

type AdminGetRecentPlayerInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetRecentPlayerInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetRecentPlayerInternalServerError added in v0.66.0

func NewAdminGetRecentPlayerInternalServerError() *AdminGetRecentPlayerInternalServerError

NewAdminGetRecentPlayerInternalServerError creates a AdminGetRecentPlayerInternalServerError with default headers values

func (*AdminGetRecentPlayerInternalServerError) Error added in v0.66.0

func (*AdminGetRecentPlayerInternalServerError) GetPayload added in v0.66.0

func (*AdminGetRecentPlayerInternalServerError) ToJSONString added in v0.66.0

type AdminGetRecentPlayerNotFound added in v0.66.0

type AdminGetRecentPlayerNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetRecentPlayerNotFound handles this case with default header values.

Not Found

func NewAdminGetRecentPlayerNotFound added in v0.66.0

func NewAdminGetRecentPlayerNotFound() *AdminGetRecentPlayerNotFound

NewAdminGetRecentPlayerNotFound creates a AdminGetRecentPlayerNotFound with default headers values

func (*AdminGetRecentPlayerNotFound) Error added in v0.66.0

func (*AdminGetRecentPlayerNotFound) GetPayload added in v0.66.0

func (*AdminGetRecentPlayerNotFound) ToJSONString added in v0.66.0

func (o *AdminGetRecentPlayerNotFound) ToJSONString() string

type AdminGetRecentPlayerOK added in v0.66.0

type AdminGetRecentPlayerOK struct {
	Payload *sessionclientmodels.ModelsRecentPlayerQueryResponse
}

AdminGetRecentPlayerOK handles this case with default header values.

OK

func NewAdminGetRecentPlayerOK added in v0.66.0

func NewAdminGetRecentPlayerOK() *AdminGetRecentPlayerOK

NewAdminGetRecentPlayerOK creates a AdminGetRecentPlayerOK with default headers values

func (*AdminGetRecentPlayerOK) Error added in v0.66.0

func (o *AdminGetRecentPlayerOK) Error() string

func (*AdminGetRecentPlayerOK) GetPayload added in v0.66.0

func (*AdminGetRecentPlayerOK) ToJSONString added in v0.66.0

func (o *AdminGetRecentPlayerOK) ToJSONString() string

type AdminGetRecentPlayerParams added in v0.66.0

type AdminGetRecentPlayerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Limit
	  Recent Player Limit

	*/
	Limit *int64
	/*UserID
	  recent player UserID. If this field empty, will use UserID from token

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

AdminGetRecentPlayerParams contains all the parameters to send to the API endpoint for the admin get recent player operation typically these are written to a http.Request

func NewAdminGetRecentPlayerParams added in v0.66.0

func NewAdminGetRecentPlayerParams() *AdminGetRecentPlayerParams

NewAdminGetRecentPlayerParams creates a new AdminGetRecentPlayerParams object with the default values initialized.

func NewAdminGetRecentPlayerParamsWithContext added in v0.66.0

func NewAdminGetRecentPlayerParamsWithContext(ctx context.Context) *AdminGetRecentPlayerParams

NewAdminGetRecentPlayerParamsWithContext creates a new AdminGetRecentPlayerParams object with the default values initialized, and the ability to set a context for a request

func NewAdminGetRecentPlayerParamsWithHTTPClient added in v0.66.0

func NewAdminGetRecentPlayerParamsWithHTTPClient(client *http.Client) *AdminGetRecentPlayerParams

NewAdminGetRecentPlayerParamsWithHTTPClient creates a new AdminGetRecentPlayerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetRecentPlayerParamsWithTimeout added in v0.66.0

func NewAdminGetRecentPlayerParamsWithTimeout(timeout time.Duration) *AdminGetRecentPlayerParams

NewAdminGetRecentPlayerParamsWithTimeout creates a new AdminGetRecentPlayerParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetRecentPlayerParams) SetAuthInfoWriter added in v0.66.0

func (o *AdminGetRecentPlayerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get recent player params

func (*AdminGetRecentPlayerParams) SetContext added in v0.66.0

func (o *AdminGetRecentPlayerParams) SetContext(ctx context.Context)

SetContext adds the context to the admin get recent player params

func (*AdminGetRecentPlayerParams) SetFlightId added in v0.66.0

func (o *AdminGetRecentPlayerParams) SetFlightId(flightId string)

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

func (*AdminGetRecentPlayerParams) SetHTTPClient added in v0.66.0

func (o *AdminGetRecentPlayerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the admin get recent player params

func (*AdminGetRecentPlayerParams) SetHTTPClientTransport added in v0.66.0

func (o *AdminGetRecentPlayerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get recent player params

func (*AdminGetRecentPlayerParams) SetLimit added in v0.66.0

func (o *AdminGetRecentPlayerParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin get recent player params

func (*AdminGetRecentPlayerParams) SetNamespace added in v0.66.0

func (o *AdminGetRecentPlayerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get recent player params

func (*AdminGetRecentPlayerParams) SetTimeout added in v0.66.0

func (o *AdminGetRecentPlayerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the admin get recent player params

func (*AdminGetRecentPlayerParams) SetUserID added in v0.66.0

func (o *AdminGetRecentPlayerParams) SetUserID(userID *string)

SetUserID adds the userId to the admin get recent player params

func (*AdminGetRecentPlayerParams) WithContext added in v0.66.0

WithContext adds the context to the admin get recent player params

func (*AdminGetRecentPlayerParams) WithHTTPClient added in v0.66.0

WithHTTPClient adds the HTTPClient to the admin get recent player params

func (*AdminGetRecentPlayerParams) WithLimit added in v0.66.0

WithLimit adds the limit to the admin get recent player params

func (*AdminGetRecentPlayerParams) WithNamespace added in v0.66.0

func (o *AdminGetRecentPlayerParams) WithNamespace(namespace string) *AdminGetRecentPlayerParams

WithNamespace adds the namespace to the admin get recent player params

func (*AdminGetRecentPlayerParams) WithTimeout added in v0.66.0

WithTimeout adds the timeout to the admin get recent player params

func (*AdminGetRecentPlayerParams) WithUserID added in v0.66.0

WithUserID adds the userID to the admin get recent player params

func (*AdminGetRecentPlayerParams) WriteToRequest added in v0.66.0

WriteToRequest writes these params to a swagger request

type AdminGetRecentPlayerReader added in v0.66.0

type AdminGetRecentPlayerReader struct {
	// contains filtered or unexported fields
}

AdminGetRecentPlayerReader is a Reader for the AdminGetRecentPlayer structure.

func (*AdminGetRecentPlayerReader) ReadResponse added in v0.66.0

func (o *AdminGetRecentPlayerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AdminGetRecentPlayerUnauthorized added in v0.66.0

type AdminGetRecentPlayerUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetRecentPlayerUnauthorized handles this case with default header values.

Unauthorized

func NewAdminGetRecentPlayerUnauthorized added in v0.66.0

func NewAdminGetRecentPlayerUnauthorized() *AdminGetRecentPlayerUnauthorized

NewAdminGetRecentPlayerUnauthorized creates a AdminGetRecentPlayerUnauthorized with default headers values

func (*AdminGetRecentPlayerUnauthorized) Error added in v0.66.0

func (*AdminGetRecentPlayerUnauthorized) GetPayload added in v0.66.0

func (*AdminGetRecentPlayerUnauthorized) ToJSONString added in v0.66.0

func (o *AdminGetRecentPlayerUnauthorized) ToJSONString() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for recent player API

func (*Client) AdminGetRecentPlayer deprecated added in v0.66.0

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

AdminGetRecentPlayer query recent player with given user id. Query recent player with given user id.

If user id parameter is empty: 1. Using User Token : It will get the user id from the token 2. Using client token : it will throw an error

func (*Client) AdminGetRecentPlayerShort added in v0.66.0

func (a *Client) AdminGetRecentPlayerShort(params *AdminGetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRecentPlayerOK, error)

AdminGetRecentPlayerShort query recent player with given user id. Query recent player with given user id.

If user id parameter is empty: 1. Using User Token : It will get the user id from the token 2. Using client token : it will throw an error

func (*Client) PublicGetRecentPlayer deprecated

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

PublicGetRecentPlayer query user's recent player Query user's recent player.

func (*Client) PublicGetRecentPlayerShort

func (a *Client) PublicGetRecentPlayerShort(params *PublicGetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetRecentPlayerOK, error)

PublicGetRecentPlayerShort query user's recent player Query user's recent player.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type PublicGetRecentPlayerBadRequest

type PublicGetRecentPlayerBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetRecentPlayerBadRequest handles this case with default header values.

Bad Request

func NewPublicGetRecentPlayerBadRequest

func NewPublicGetRecentPlayerBadRequest() *PublicGetRecentPlayerBadRequest

NewPublicGetRecentPlayerBadRequest creates a PublicGetRecentPlayerBadRequest with default headers values

func (*PublicGetRecentPlayerBadRequest) Error

func (*PublicGetRecentPlayerBadRequest) GetPayload

func (*PublicGetRecentPlayerBadRequest) ToJSONString

func (o *PublicGetRecentPlayerBadRequest) ToJSONString() string

type PublicGetRecentPlayerInternalServerError

type PublicGetRecentPlayerInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetRecentPlayerInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicGetRecentPlayerInternalServerError

func NewPublicGetRecentPlayerInternalServerError() *PublicGetRecentPlayerInternalServerError

NewPublicGetRecentPlayerInternalServerError creates a PublicGetRecentPlayerInternalServerError with default headers values

func (*PublicGetRecentPlayerInternalServerError) Error

func (*PublicGetRecentPlayerInternalServerError) GetPayload

func (*PublicGetRecentPlayerInternalServerError) ToJSONString

type PublicGetRecentPlayerNotFound

type PublicGetRecentPlayerNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetRecentPlayerNotFound handles this case with default header values.

Not Found

func NewPublicGetRecentPlayerNotFound

func NewPublicGetRecentPlayerNotFound() *PublicGetRecentPlayerNotFound

NewPublicGetRecentPlayerNotFound creates a PublicGetRecentPlayerNotFound with default headers values

func (*PublicGetRecentPlayerNotFound) Error

func (*PublicGetRecentPlayerNotFound) GetPayload

func (*PublicGetRecentPlayerNotFound) ToJSONString

func (o *PublicGetRecentPlayerNotFound) ToJSONString() string

type PublicGetRecentPlayerOK

type PublicGetRecentPlayerOK struct {
	Payload *sessionclientmodels.ModelsRecentPlayerQueryResponse
}

PublicGetRecentPlayerOK handles this case with default header values.

OK

func NewPublicGetRecentPlayerOK

func NewPublicGetRecentPlayerOK() *PublicGetRecentPlayerOK

NewPublicGetRecentPlayerOK creates a PublicGetRecentPlayerOK with default headers values

func (*PublicGetRecentPlayerOK) Error

func (o *PublicGetRecentPlayerOK) Error() string

func (*PublicGetRecentPlayerOK) GetPayload

func (*PublicGetRecentPlayerOK) ToJSONString

func (o *PublicGetRecentPlayerOK) ToJSONString() string

type PublicGetRecentPlayerParams

type PublicGetRecentPlayerParams struct {

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

	*/
	Namespace string
	/*Limit
	  Recent Player Limit

	*/
	Limit *int64

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetRecentPlayerParams contains all the parameters to send to the API endpoint for the public get recent player operation typically these are written to a http.Request

func NewPublicGetRecentPlayerParams

func NewPublicGetRecentPlayerParams() *PublicGetRecentPlayerParams

NewPublicGetRecentPlayerParams creates a new PublicGetRecentPlayerParams object with the default values initialized.

func NewPublicGetRecentPlayerParamsWithContext

func NewPublicGetRecentPlayerParamsWithContext(ctx context.Context) *PublicGetRecentPlayerParams

NewPublicGetRecentPlayerParamsWithContext creates a new PublicGetRecentPlayerParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetRecentPlayerParamsWithHTTPClient

func NewPublicGetRecentPlayerParamsWithHTTPClient(client *http.Client) *PublicGetRecentPlayerParams

NewPublicGetRecentPlayerParamsWithHTTPClient creates a new PublicGetRecentPlayerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetRecentPlayerParamsWithTimeout

func NewPublicGetRecentPlayerParamsWithTimeout(timeout time.Duration) *PublicGetRecentPlayerParams

NewPublicGetRecentPlayerParamsWithTimeout creates a new PublicGetRecentPlayerParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetRecentPlayerParams) SetAuthInfoWriter

func (o *PublicGetRecentPlayerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get recent player params

func (*PublicGetRecentPlayerParams) SetContext

func (o *PublicGetRecentPlayerParams) SetContext(ctx context.Context)

SetContext adds the context to the public get recent player params

func (*PublicGetRecentPlayerParams) SetFlightId added in v0.63.0

func (o *PublicGetRecentPlayerParams) SetFlightId(flightId string)

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

func (*PublicGetRecentPlayerParams) SetHTTPClient

func (o *PublicGetRecentPlayerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get recent player params

func (*PublicGetRecentPlayerParams) SetHTTPClientTransport

func (o *PublicGetRecentPlayerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get recent player params

func (*PublicGetRecentPlayerParams) SetLimit

func (o *PublicGetRecentPlayerParams) SetLimit(limit *int64)

SetLimit adds the limit to the public get recent player params

func (*PublicGetRecentPlayerParams) SetNamespace

func (o *PublicGetRecentPlayerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get recent player params

func (*PublicGetRecentPlayerParams) SetTimeout

func (o *PublicGetRecentPlayerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get recent player params

func (*PublicGetRecentPlayerParams) WithContext

WithContext adds the context to the public get recent player params

func (*PublicGetRecentPlayerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get recent player params

func (*PublicGetRecentPlayerParams) WithLimit

WithLimit adds the limit to the public get recent player params

func (*PublicGetRecentPlayerParams) WithNamespace

func (o *PublicGetRecentPlayerParams) WithNamespace(namespace string) *PublicGetRecentPlayerParams

WithNamespace adds the namespace to the public get recent player params

func (*PublicGetRecentPlayerParams) WithTimeout

WithTimeout adds the timeout to the public get recent player params

func (*PublicGetRecentPlayerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetRecentPlayerReader

type PublicGetRecentPlayerReader struct {
	// contains filtered or unexported fields
}

PublicGetRecentPlayerReader is a Reader for the PublicGetRecentPlayer structure.

func (*PublicGetRecentPlayerReader) ReadResponse

func (o *PublicGetRecentPlayerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicGetRecentPlayerUnauthorized

type PublicGetRecentPlayerUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetRecentPlayerUnauthorized handles this case with default header values.

Unauthorized

func NewPublicGetRecentPlayerUnauthorized

func NewPublicGetRecentPlayerUnauthorized() *PublicGetRecentPlayerUnauthorized

NewPublicGetRecentPlayerUnauthorized creates a PublicGetRecentPlayerUnauthorized with default headers values

func (*PublicGetRecentPlayerUnauthorized) Error

func (*PublicGetRecentPlayerUnauthorized) GetPayload

func (*PublicGetRecentPlayerUnauthorized) ToJSONString

func (o *PublicGetRecentPlayerUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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