user_data_v3

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: 16 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 user data v3 API

func (*Client) GetUserLeaderboardRankingsAdminV3 deprecated

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

GetUserLeaderboardRankingsAdminV3 get user rankings

Required permission 'ADMIN:NAMESPACE:{namespace}:LEADERBOARD [READ]'

Get user leaderboard rankings

func (*Client) GetUserLeaderboardRankingsAdminV3Short

func (a *Client) GetUserLeaderboardRankingsAdminV3Short(params *GetUserLeaderboardRankingsAdminV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserLeaderboardRankingsAdminV3OK, error)

GetUserLeaderboardRankingsAdminV3Short get user rankings

Required permission 'ADMIN:NAMESPACE:{namespace}:LEADERBOARD [READ]'

Get user leaderboard rankings

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 user data v3 API client.

type GetUserLeaderboardRankingsAdminV3Forbidden

type GetUserLeaderboardRankingsAdminV3Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserLeaderboardRankingsAdminV3Forbidden handles this case with default header values.

Forbidden

func NewGetUserLeaderboardRankingsAdminV3Forbidden

func NewGetUserLeaderboardRankingsAdminV3Forbidden() *GetUserLeaderboardRankingsAdminV3Forbidden

NewGetUserLeaderboardRankingsAdminV3Forbidden creates a GetUserLeaderboardRankingsAdminV3Forbidden with default headers values

func (*GetUserLeaderboardRankingsAdminV3Forbidden) Error

func (*GetUserLeaderboardRankingsAdminV3Forbidden) GetPayload

func (*GetUserLeaderboardRankingsAdminV3Forbidden) ToJSONString

type GetUserLeaderboardRankingsAdminV3InternalServerError

type GetUserLeaderboardRankingsAdminV3InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserLeaderboardRankingsAdminV3InternalServerError handles this case with default header values.

Internal Server Error

func NewGetUserLeaderboardRankingsAdminV3InternalServerError

func NewGetUserLeaderboardRankingsAdminV3InternalServerError() *GetUserLeaderboardRankingsAdminV3InternalServerError

NewGetUserLeaderboardRankingsAdminV3InternalServerError creates a GetUserLeaderboardRankingsAdminV3InternalServerError with default headers values

func (*GetUserLeaderboardRankingsAdminV3InternalServerError) Error

func (*GetUserLeaderboardRankingsAdminV3InternalServerError) GetPayload

func (*GetUserLeaderboardRankingsAdminV3InternalServerError) ToJSONString

type GetUserLeaderboardRankingsAdminV3NotFound

type GetUserLeaderboardRankingsAdminV3NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserLeaderboardRankingsAdminV3NotFound handles this case with default header values.

Not Found

func NewGetUserLeaderboardRankingsAdminV3NotFound

func NewGetUserLeaderboardRankingsAdminV3NotFound() *GetUserLeaderboardRankingsAdminV3NotFound

NewGetUserLeaderboardRankingsAdminV3NotFound creates a GetUserLeaderboardRankingsAdminV3NotFound with default headers values

func (*GetUserLeaderboardRankingsAdminV3NotFound) Error

func (*GetUserLeaderboardRankingsAdminV3NotFound) GetPayload

func (*GetUserLeaderboardRankingsAdminV3NotFound) ToJSONString

type GetUserLeaderboardRankingsAdminV3OK

type GetUserLeaderboardRankingsAdminV3OK struct {
	Payload *leaderboardclientmodels.ModelsGetAllUserLeaderboardsRespV3
}

GetUserLeaderboardRankingsAdminV3OK handles this case with default header values.

OK

func NewGetUserLeaderboardRankingsAdminV3OK

func NewGetUserLeaderboardRankingsAdminV3OK() *GetUserLeaderboardRankingsAdminV3OK

NewGetUserLeaderboardRankingsAdminV3OK creates a GetUserLeaderboardRankingsAdminV3OK with default headers values

func (*GetUserLeaderboardRankingsAdminV3OK) Error

func (*GetUserLeaderboardRankingsAdminV3OK) GetPayload

func (*GetUserLeaderboardRankingsAdminV3OK) ToJSONString

func (o *GetUserLeaderboardRankingsAdminV3OK) ToJSONString() string

type GetUserLeaderboardRankingsAdminV3Params

type GetUserLeaderboardRankingsAdminV3Params struct {

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

	*/
	Namespace string
	/*UserID
	  User ID

	*/
	UserID string
	/*Limit
	  size of displayed data

	*/
	Limit *int64
	/*Offset
	  The start position that points to query data

	*/
	Offset *int64

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

GetUserLeaderboardRankingsAdminV3Params contains all the parameters to send to the API endpoint for the get user leaderboard rankings admin v3 operation typically these are written to a http.Request

func NewGetUserLeaderboardRankingsAdminV3Params

func NewGetUserLeaderboardRankingsAdminV3Params() *GetUserLeaderboardRankingsAdminV3Params

NewGetUserLeaderboardRankingsAdminV3Params creates a new GetUserLeaderboardRankingsAdminV3Params object with the default values initialized.

func NewGetUserLeaderboardRankingsAdminV3ParamsWithContext

func NewGetUserLeaderboardRankingsAdminV3ParamsWithContext(ctx context.Context) *GetUserLeaderboardRankingsAdminV3Params

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

func NewGetUserLeaderboardRankingsAdminV3ParamsWithHTTPClient

func NewGetUserLeaderboardRankingsAdminV3ParamsWithHTTPClient(client *http.Client) *GetUserLeaderboardRankingsAdminV3Params

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

func NewGetUserLeaderboardRankingsAdminV3ParamsWithTimeout

func NewGetUserLeaderboardRankingsAdminV3ParamsWithTimeout(timeout time.Duration) *GetUserLeaderboardRankingsAdminV3Params

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

func (*GetUserLeaderboardRankingsAdminV3Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) SetContext

SetContext adds the context to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) SetLimit

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

SetLimit adds the limit to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) SetNamespace

func (o *GetUserLeaderboardRankingsAdminV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) SetOffset

func (o *GetUserLeaderboardRankingsAdminV3Params) SetOffset(offset *int64)

SetOffset adds the offset to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) SetTimeout

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

SetTimeout adds the timeout to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) SetUserID

func (o *GetUserLeaderboardRankingsAdminV3Params) SetUserID(userID string)

SetUserID adds the userId to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) WithContext

WithContext adds the context to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) WithLimit

WithLimit adds the limit to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) WithNamespace

WithNamespace adds the namespace to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) WithOffset

WithOffset adds the offset to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) WithTimeout

WithTimeout adds the timeout to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) WithUserID

WithUserID adds the userID to the get user leaderboard rankings admin v3 params

func (*GetUserLeaderboardRankingsAdminV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserLeaderboardRankingsAdminV3Reader

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

GetUserLeaderboardRankingsAdminV3Reader is a Reader for the GetUserLeaderboardRankingsAdminV3 structure.

func (*GetUserLeaderboardRankingsAdminV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserLeaderboardRankingsAdminV3Unauthorized

type GetUserLeaderboardRankingsAdminV3Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserLeaderboardRankingsAdminV3Unauthorized handles this case with default header values.

Unauthorized

func NewGetUserLeaderboardRankingsAdminV3Unauthorized

func NewGetUserLeaderboardRankingsAdminV3Unauthorized() *GetUserLeaderboardRankingsAdminV3Unauthorized

NewGetUserLeaderboardRankingsAdminV3Unauthorized creates a GetUserLeaderboardRankingsAdminV3Unauthorized with default headers values

func (*GetUserLeaderboardRankingsAdminV3Unauthorized) Error

func (*GetUserLeaderboardRankingsAdminV3Unauthorized) GetPayload

func (*GetUserLeaderboardRankingsAdminV3Unauthorized) ToJSONString

Jump to

Keyboard shortcuts

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