user_data

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 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 API

func (*Client) GetUserLeaderboardRankingsAdminV1 deprecated

Deprecated: Use GetUserLeaderboardRankingsAdminV1Short instead.

  GetUserLeaderboardRankingsAdminV1 gets user rankings

  <p>Required permission 'ADMIN:NAMESPACE:{namespace}:LEADERBOARD [READ]'</p>
			<p>Get user leaderboard rankings</p>

func (*Client) GetUserLeaderboardRankingsAdminV1Short added in v0.8.0

func (a *Client) GetUserLeaderboardRankingsAdminV1Short(params *GetUserLeaderboardRankingsAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserLeaderboardRankingsAdminV1OK, error)
  GetUserLeaderboardRankingsAdminV1Short gets user rankings

  <p>Required permission 'ADMIN:NAMESPACE:{namespace}:LEADERBOARD [READ]'</p>
			<p>Get user leaderboard rankings</p>

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 API client.

type GetUserLeaderboardRankingsAdminV1Forbidden

type GetUserLeaderboardRankingsAdminV1Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserLeaderboardRankingsAdminV1Forbidden handles this case with default header values.

Forbidden

func NewGetUserLeaderboardRankingsAdminV1Forbidden

func NewGetUserLeaderboardRankingsAdminV1Forbidden() *GetUserLeaderboardRankingsAdminV1Forbidden

NewGetUserLeaderboardRankingsAdminV1Forbidden creates a GetUserLeaderboardRankingsAdminV1Forbidden with default headers values

func (*GetUserLeaderboardRankingsAdminV1Forbidden) Error

func (*GetUserLeaderboardRankingsAdminV1Forbidden) GetPayload

func (*GetUserLeaderboardRankingsAdminV1Forbidden) ToJSONString added in v0.25.0

type GetUserLeaderboardRankingsAdminV1InternalServerError

type GetUserLeaderboardRankingsAdminV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserLeaderboardRankingsAdminV1InternalServerError handles this case with default header values.

Internal Server Error

func NewGetUserLeaderboardRankingsAdminV1InternalServerError

func NewGetUserLeaderboardRankingsAdminV1InternalServerError() *GetUserLeaderboardRankingsAdminV1InternalServerError

NewGetUserLeaderboardRankingsAdminV1InternalServerError creates a GetUserLeaderboardRankingsAdminV1InternalServerError with default headers values

func (*GetUserLeaderboardRankingsAdminV1InternalServerError) Error

func (*GetUserLeaderboardRankingsAdminV1InternalServerError) GetPayload

func (*GetUserLeaderboardRankingsAdminV1InternalServerError) ToJSONString added in v0.25.0

type GetUserLeaderboardRankingsAdminV1NotFound

type GetUserLeaderboardRankingsAdminV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserLeaderboardRankingsAdminV1NotFound handles this case with default header values.

Not Found

func NewGetUserLeaderboardRankingsAdminV1NotFound

func NewGetUserLeaderboardRankingsAdminV1NotFound() *GetUserLeaderboardRankingsAdminV1NotFound

NewGetUserLeaderboardRankingsAdminV1NotFound creates a GetUserLeaderboardRankingsAdminV1NotFound with default headers values

func (*GetUserLeaderboardRankingsAdminV1NotFound) Error

func (*GetUserLeaderboardRankingsAdminV1NotFound) GetPayload

func (*GetUserLeaderboardRankingsAdminV1NotFound) ToJSONString added in v0.25.0

type GetUserLeaderboardRankingsAdminV1OK

type GetUserLeaderboardRankingsAdminV1OK struct {
	Payload *leaderboardclientmodels.ModelsGetAllUserLeaderboardsResp
}

GetUserLeaderboardRankingsAdminV1OK handles this case with default header values.

OK

func NewGetUserLeaderboardRankingsAdminV1OK

func NewGetUserLeaderboardRankingsAdminV1OK() *GetUserLeaderboardRankingsAdminV1OK

NewGetUserLeaderboardRankingsAdminV1OK creates a GetUserLeaderboardRankingsAdminV1OK with default headers values

func (*GetUserLeaderboardRankingsAdminV1OK) Error

func (*GetUserLeaderboardRankingsAdminV1OK) GetPayload

func (*GetUserLeaderboardRankingsAdminV1OK) ToJSONString added in v0.25.0

func (o *GetUserLeaderboardRankingsAdminV1OK) ToJSONString() string

type GetUserLeaderboardRankingsAdminV1Params

type GetUserLeaderboardRankingsAdminV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Limit
	  size of displayed data

	*/
	Limit *int64
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  The start position that points to query data

	*/
	Offset *int64
	/*UserID
	  User ID

	*/
	UserID string

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

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

func NewGetUserLeaderboardRankingsAdminV1Params

func NewGetUserLeaderboardRankingsAdminV1Params() *GetUserLeaderboardRankingsAdminV1Params

NewGetUserLeaderboardRankingsAdminV1Params creates a new GetUserLeaderboardRankingsAdminV1Params object with the default values initialized.

func NewGetUserLeaderboardRankingsAdminV1ParamsWithContext

func NewGetUserLeaderboardRankingsAdminV1ParamsWithContext(ctx context.Context) *GetUserLeaderboardRankingsAdminV1Params

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

func NewGetUserLeaderboardRankingsAdminV1ParamsWithHTTPClient

func NewGetUserLeaderboardRankingsAdminV1ParamsWithHTTPClient(client *http.Client) *GetUserLeaderboardRankingsAdminV1Params

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

func NewGetUserLeaderboardRankingsAdminV1ParamsWithTimeout

func NewGetUserLeaderboardRankingsAdminV1ParamsWithTimeout(timeout time.Duration) *GetUserLeaderboardRankingsAdminV1Params

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

func (*GetUserLeaderboardRankingsAdminV1Params) SetAuthInfoWriter added in v0.17.0

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

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

func (*GetUserLeaderboardRankingsAdminV1Params) SetContext

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

func (*GetUserLeaderboardRankingsAdminV1Params) SetHTTPClient

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

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

func (*GetUserLeaderboardRankingsAdminV1Params) SetHTTPClientTransport added in v0.19.0

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

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

func (*GetUserLeaderboardRankingsAdminV1Params) SetLimit

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

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

func (*GetUserLeaderboardRankingsAdminV1Params) SetNamespace

func (o *GetUserLeaderboardRankingsAdminV1Params) SetNamespace(namespace string)

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

func (*GetUserLeaderboardRankingsAdminV1Params) SetOffset

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

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

func (*GetUserLeaderboardRankingsAdminV1Params) SetTimeout

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

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

func (*GetUserLeaderboardRankingsAdminV1Params) SetUserID

func (o *GetUserLeaderboardRankingsAdminV1Params) SetUserID(userID string)

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

func (*GetUserLeaderboardRankingsAdminV1Params) WithContext

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

func (*GetUserLeaderboardRankingsAdminV1Params) WithHTTPClient

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

func (*GetUserLeaderboardRankingsAdminV1Params) WithLimit

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

func (*GetUserLeaderboardRankingsAdminV1Params) WithNamespace

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

func (*GetUserLeaderboardRankingsAdminV1Params) WithOffset

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

func (*GetUserLeaderboardRankingsAdminV1Params) WithTimeout

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

func (*GetUserLeaderboardRankingsAdminV1Params) WithUserID

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

func (*GetUserLeaderboardRankingsAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserLeaderboardRankingsAdminV1Reader

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

GetUserLeaderboardRankingsAdminV1Reader is a Reader for the GetUserLeaderboardRankingsAdminV1 structure.

func (*GetUserLeaderboardRankingsAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserLeaderboardRankingsAdminV1Unauthorized

type GetUserLeaderboardRankingsAdminV1Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserLeaderboardRankingsAdminV1Unauthorized handles this case with default header values.

Unauthorized

func NewGetUserLeaderboardRankingsAdminV1Unauthorized

func NewGetUserLeaderboardRankingsAdminV1Unauthorized() *GetUserLeaderboardRankingsAdminV1Unauthorized

NewGetUserLeaderboardRankingsAdminV1Unauthorized creates a GetUserLeaderboardRankingsAdminV1Unauthorized with default headers values

func (*GetUserLeaderboardRankingsAdminV1Unauthorized) Error

func (*GetUserLeaderboardRankingsAdminV1Unauthorized) GetPayload

func (*GetUserLeaderboardRankingsAdminV1Unauthorized) ToJSONString added in v0.25.0

Jump to

Keyboard shortcuts

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