Documentation ¶
Index ¶
- type Client
- func (a *Client) GetUserLeaderboardRankingsAdminV1(params *GetUserLeaderboardRankingsAdminV1Params, ...) (*GetUserLeaderboardRankingsAdminV1OK, ...)deprecated
- func (a *Client) GetUserLeaderboardRankingsAdminV1Short(params *GetUserLeaderboardRankingsAdminV1Params, ...) (*GetUserLeaderboardRankingsAdminV1OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetUserLeaderboardRankingsAdminV1Forbidden
- type GetUserLeaderboardRankingsAdminV1InternalServerError
- type GetUserLeaderboardRankingsAdminV1NotFound
- type GetUserLeaderboardRankingsAdminV1OK
- type GetUserLeaderboardRankingsAdminV1Params
- func NewGetUserLeaderboardRankingsAdminV1Params() *GetUserLeaderboardRankingsAdminV1Params
- func NewGetUserLeaderboardRankingsAdminV1ParamsWithContext(ctx context.Context) *GetUserLeaderboardRankingsAdminV1Params
- func NewGetUserLeaderboardRankingsAdminV1ParamsWithHTTPClient(client *http.Client) *GetUserLeaderboardRankingsAdminV1Params
- func NewGetUserLeaderboardRankingsAdminV1ParamsWithTimeout(timeout time.Duration) *GetUserLeaderboardRankingsAdminV1Params
- func (o *GetUserLeaderboardRankingsAdminV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserLeaderboardRankingsAdminV1Params) SetContext(ctx context.Context)
- func (o *GetUserLeaderboardRankingsAdminV1Params) SetHTTPClient(client *http.Client)
- func (o *GetUserLeaderboardRankingsAdminV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserLeaderboardRankingsAdminV1Params) SetLimit(limit *int64)
- func (o *GetUserLeaderboardRankingsAdminV1Params) SetNamespace(namespace string)
- func (o *GetUserLeaderboardRankingsAdminV1Params) SetOffset(offset *int64)
- func (o *GetUserLeaderboardRankingsAdminV1Params) SetPreviousVersion(previousVersion *int64)
- func (o *GetUserLeaderboardRankingsAdminV1Params) SetTimeout(timeout time.Duration)
- func (o *GetUserLeaderboardRankingsAdminV1Params) SetUserID(userID string)
- func (o *GetUserLeaderboardRankingsAdminV1Params) WithContext(ctx context.Context) *GetUserLeaderboardRankingsAdminV1Params
- func (o *GetUserLeaderboardRankingsAdminV1Params) WithHTTPClient(client *http.Client) *GetUserLeaderboardRankingsAdminV1Params
- func (o *GetUserLeaderboardRankingsAdminV1Params) WithLimit(limit *int64) *GetUserLeaderboardRankingsAdminV1Params
- func (o *GetUserLeaderboardRankingsAdminV1Params) WithNamespace(namespace string) *GetUserLeaderboardRankingsAdminV1Params
- func (o *GetUserLeaderboardRankingsAdminV1Params) WithOffset(offset *int64) *GetUserLeaderboardRankingsAdminV1Params
- func (o *GetUserLeaderboardRankingsAdminV1Params) WithPreviousVersion(previousVersion *int64) *GetUserLeaderboardRankingsAdminV1Params
- func (o *GetUserLeaderboardRankingsAdminV1Params) WithTimeout(timeout time.Duration) *GetUserLeaderboardRankingsAdminV1Params
- func (o *GetUserLeaderboardRankingsAdminV1Params) WithUserID(userID string) *GetUserLeaderboardRankingsAdminV1Params
- func (o *GetUserLeaderboardRankingsAdminV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserLeaderboardRankingsAdminV1Reader
- type GetUserLeaderboardRankingsAdminV1Unauthorized
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
func (a *Client) GetUserLeaderboardRankingsAdminV1(params *GetUserLeaderboardRankingsAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserLeaderboardRankingsAdminV1OK, *GetUserLeaderboardRankingsAdminV1Unauthorized, *GetUserLeaderboardRankingsAdminV1Forbidden, *GetUserLeaderboardRankingsAdminV1NotFound, *GetUserLeaderboardRankingsAdminV1InternalServerError, error)
Deprecated: 2022-08-10 - Use GetUserLeaderboardRankingsAdminV1Short instead.
GetUserLeaderboardRankingsAdminV1 get user rankings ¶
Required permission 'ADMIN:NAMESPACE:{namespace}:LEADERBOARD [READ]'
Get user leaderboard rankings
func (*Client) GetUserLeaderboardRankingsAdminV1Short ¶ added in v0.8.0
func (a *Client) GetUserLeaderboardRankingsAdminV1Short(params *GetUserLeaderboardRankingsAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserLeaderboardRankingsAdminV1OK, error)
GetUserLeaderboardRankingsAdminV1Short 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 ¶
type ClientService interface { GetUserLeaderboardRankingsAdminV1(params *GetUserLeaderboardRankingsAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserLeaderboardRankingsAdminV1OK, *GetUserLeaderboardRankingsAdminV1Unauthorized, *GetUserLeaderboardRankingsAdminV1Forbidden, *GetUserLeaderboardRankingsAdminV1NotFound, *GetUserLeaderboardRankingsAdminV1InternalServerError, error) GetUserLeaderboardRankingsAdminV1Short(params *GetUserLeaderboardRankingsAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserLeaderboardRankingsAdminV1OK, 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 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 (o *GetUserLeaderboardRankingsAdminV1Forbidden) Error() string
func (*GetUserLeaderboardRankingsAdminV1Forbidden) GetPayload ¶
func (o *GetUserLeaderboardRankingsAdminV1Forbidden) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserLeaderboardRankingsAdminV1Forbidden) ToJSONString ¶ added in v0.25.0
func (o *GetUserLeaderboardRankingsAdminV1Forbidden) ToJSONString() string
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 (o *GetUserLeaderboardRankingsAdminV1InternalServerError) Error() string
func (*GetUserLeaderboardRankingsAdminV1InternalServerError) GetPayload ¶
func (o *GetUserLeaderboardRankingsAdminV1InternalServerError) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserLeaderboardRankingsAdminV1InternalServerError) ToJSONString ¶ added in v0.25.0
func (o *GetUserLeaderboardRankingsAdminV1InternalServerError) ToJSONString() string
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 (o *GetUserLeaderboardRankingsAdminV1NotFound) Error() string
func (*GetUserLeaderboardRankingsAdminV1NotFound) GetPayload ¶
func (o *GetUserLeaderboardRankingsAdminV1NotFound) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserLeaderboardRankingsAdminV1NotFound) ToJSONString ¶ added in v0.25.0
func (o *GetUserLeaderboardRankingsAdminV1NotFound) ToJSONString() string
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 (o *GetUserLeaderboardRankingsAdminV1OK) Error() string
func (*GetUserLeaderboardRankingsAdminV1OK) GetPayload ¶
func (o *GetUserLeaderboardRankingsAdminV1OK) GetPayload() *leaderboardclientmodels.ModelsGetAllUserLeaderboardsResp
func (*GetUserLeaderboardRankingsAdminV1OK) ToJSONString ¶ added in v0.25.0
func (o *GetUserLeaderboardRankingsAdminV1OK) ToJSONString() string
type GetUserLeaderboardRankingsAdminV1Params ¶
type GetUserLeaderboardRankingsAdminV1Params 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 /*PreviousVersion Specify specific version of leaderboard data, < 0 will be archived/history leaderboard data. Currently only support 1 previous version, default value will be 0 (active leaderboard) */ PreviousVersion *int64 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 ¶
func (o *GetUserLeaderboardRankingsAdminV1Params) SetContext(ctx context.Context)
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) SetPreviousVersion ¶ added in v0.47.0
func (o *GetUserLeaderboardRankingsAdminV1Params) SetPreviousVersion(previousVersion *int64)
SetPreviousVersion adds the previousVersion 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 ¶
func (o *GetUserLeaderboardRankingsAdminV1Params) WithContext(ctx context.Context) *GetUserLeaderboardRankingsAdminV1Params
WithContext adds the context to the get user leaderboard rankings admin v1 params
func (*GetUserLeaderboardRankingsAdminV1Params) WithHTTPClient ¶
func (o *GetUserLeaderboardRankingsAdminV1Params) WithHTTPClient(client *http.Client) *GetUserLeaderboardRankingsAdminV1Params
WithHTTPClient adds the HTTPClient to the get user leaderboard rankings admin v1 params
func (*GetUserLeaderboardRankingsAdminV1Params) WithLimit ¶
func (o *GetUserLeaderboardRankingsAdminV1Params) WithLimit(limit *int64) *GetUserLeaderboardRankingsAdminV1Params
WithLimit adds the limit to the get user leaderboard rankings admin v1 params
func (*GetUserLeaderboardRankingsAdminV1Params) WithNamespace ¶
func (o *GetUserLeaderboardRankingsAdminV1Params) WithNamespace(namespace string) *GetUserLeaderboardRankingsAdminV1Params
WithNamespace adds the namespace to the get user leaderboard rankings admin v1 params
func (*GetUserLeaderboardRankingsAdminV1Params) WithOffset ¶
func (o *GetUserLeaderboardRankingsAdminV1Params) WithOffset(offset *int64) *GetUserLeaderboardRankingsAdminV1Params
WithOffset adds the offset to the get user leaderboard rankings admin v1 params
func (*GetUserLeaderboardRankingsAdminV1Params) WithPreviousVersion ¶ added in v0.47.0
func (o *GetUserLeaderboardRankingsAdminV1Params) WithPreviousVersion(previousVersion *int64) *GetUserLeaderboardRankingsAdminV1Params
WithPreviousVersion adds the previousVersion to the get user leaderboard rankings admin v1 params
func (*GetUserLeaderboardRankingsAdminV1Params) WithTimeout ¶
func (o *GetUserLeaderboardRankingsAdminV1Params) WithTimeout(timeout time.Duration) *GetUserLeaderboardRankingsAdminV1Params
WithTimeout adds the timeout to the get user leaderboard rankings admin v1 params
func (*GetUserLeaderboardRankingsAdminV1Params) WithUserID ¶
func (o *GetUserLeaderboardRankingsAdminV1Params) WithUserID(userID string) *GetUserLeaderboardRankingsAdminV1Params
WithUserID adds the userID to the get user leaderboard rankings admin v1 params
func (*GetUserLeaderboardRankingsAdminV1Params) WriteToRequest ¶
func (o *GetUserLeaderboardRankingsAdminV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetUserLeaderboardRankingsAdminV1Unauthorized) Error() string
func (*GetUserLeaderboardRankingsAdminV1Unauthorized) GetPayload ¶
func (o *GetUserLeaderboardRankingsAdminV1Unauthorized) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserLeaderboardRankingsAdminV1Unauthorized) ToJSONString ¶ added in v0.25.0
func (o *GetUserLeaderboardRankingsAdminV1Unauthorized) ToJSONString() string