Documentation ¶
Index ¶
- type Client
- func (a *Client) GetUserLeaderboardRankingsAdminV3(params *GetUserLeaderboardRankingsAdminV3Params, ...) (*GetUserLeaderboardRankingsAdminV3OK, ...)deprecated
- func (a *Client) GetUserLeaderboardRankingsAdminV3Short(params *GetUserLeaderboardRankingsAdminV3Params, ...) (*GetUserLeaderboardRankingsAdminV3OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetUserLeaderboardRankingsAdminV3Forbidden
- type GetUserLeaderboardRankingsAdminV3InternalServerError
- type GetUserLeaderboardRankingsAdminV3OK
- type GetUserLeaderboardRankingsAdminV3Params
- func NewGetUserLeaderboardRankingsAdminV3Params() *GetUserLeaderboardRankingsAdminV3Params
- func NewGetUserLeaderboardRankingsAdminV3ParamsWithContext(ctx context.Context) *GetUserLeaderboardRankingsAdminV3Params
- func NewGetUserLeaderboardRankingsAdminV3ParamsWithHTTPClient(client *http.Client) *GetUserLeaderboardRankingsAdminV3Params
- func NewGetUserLeaderboardRankingsAdminV3ParamsWithTimeout(timeout time.Duration) *GetUserLeaderboardRankingsAdminV3Params
- func (o *GetUserLeaderboardRankingsAdminV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserLeaderboardRankingsAdminV3Params) SetContext(ctx context.Context)
- func (o *GetUserLeaderboardRankingsAdminV3Params) SetFlightId(flightId string)
- func (o *GetUserLeaderboardRankingsAdminV3Params) SetHTTPClient(client *http.Client)
- func (o *GetUserLeaderboardRankingsAdminV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserLeaderboardRankingsAdminV3Params) SetLimit(limit *int64)
- func (o *GetUserLeaderboardRankingsAdminV3Params) SetNamespace(namespace string)
- func (o *GetUserLeaderboardRankingsAdminV3Params) SetOffset(offset *int64)
- func (o *GetUserLeaderboardRankingsAdminV3Params) SetTimeout(timeout time.Duration)
- func (o *GetUserLeaderboardRankingsAdminV3Params) SetUserID(userID string)
- func (o *GetUserLeaderboardRankingsAdminV3Params) WithContext(ctx context.Context) *GetUserLeaderboardRankingsAdminV3Params
- func (o *GetUserLeaderboardRankingsAdminV3Params) WithHTTPClient(client *http.Client) *GetUserLeaderboardRankingsAdminV3Params
- func (o *GetUserLeaderboardRankingsAdminV3Params) WithLimit(limit *int64) *GetUserLeaderboardRankingsAdminV3Params
- func (o *GetUserLeaderboardRankingsAdminV3Params) WithNamespace(namespace string) *GetUserLeaderboardRankingsAdminV3Params
- func (o *GetUserLeaderboardRankingsAdminV3Params) WithOffset(offset *int64) *GetUserLeaderboardRankingsAdminV3Params
- func (o *GetUserLeaderboardRankingsAdminV3Params) WithTimeout(timeout time.Duration) *GetUserLeaderboardRankingsAdminV3Params
- func (o *GetUserLeaderboardRankingsAdminV3Params) WithUserID(userID string) *GetUserLeaderboardRankingsAdminV3Params
- func (o *GetUserLeaderboardRankingsAdminV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserLeaderboardRankingsAdminV3Reader
- type GetUserLeaderboardRankingsAdminV3Unauthorized
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
func (a *Client) GetUserLeaderboardRankingsAdminV3(params *GetUserLeaderboardRankingsAdminV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserLeaderboardRankingsAdminV3OK, *GetUserLeaderboardRankingsAdminV3Unauthorized, *GetUserLeaderboardRankingsAdminV3Forbidden, *GetUserLeaderboardRankingsAdminV3InternalServerError, error)
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 ¶
type ClientService interface { GetUserLeaderboardRankingsAdminV3(params *GetUserLeaderboardRankingsAdminV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserLeaderboardRankingsAdminV3OK, *GetUserLeaderboardRankingsAdminV3Unauthorized, *GetUserLeaderboardRankingsAdminV3Forbidden, *GetUserLeaderboardRankingsAdminV3InternalServerError, error) GetUserLeaderboardRankingsAdminV3Short(params *GetUserLeaderboardRankingsAdminV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserLeaderboardRankingsAdminV3OK, 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 v3 API client.
type GetUserLeaderboardRankingsAdminV3Forbidden ¶
type GetUserLeaderboardRankingsAdminV3Forbidden struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
GetUserLeaderboardRankingsAdminV3Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewGetUserLeaderboardRankingsAdminV3Forbidden ¶
func NewGetUserLeaderboardRankingsAdminV3Forbidden() *GetUserLeaderboardRankingsAdminV3Forbidden
NewGetUserLeaderboardRankingsAdminV3Forbidden creates a GetUserLeaderboardRankingsAdminV3Forbidden with default headers values
func (*GetUserLeaderboardRankingsAdminV3Forbidden) Error ¶
func (o *GetUserLeaderboardRankingsAdminV3Forbidden) Error() string
func (*GetUserLeaderboardRankingsAdminV3Forbidden) GetPayload ¶
func (o *GetUserLeaderboardRankingsAdminV3Forbidden) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserLeaderboardRankingsAdminV3Forbidden) ToJSONString ¶
func (o *GetUserLeaderboardRankingsAdminV3Forbidden) ToJSONString() string
type GetUserLeaderboardRankingsAdminV3InternalServerError ¶
type GetUserLeaderboardRankingsAdminV3InternalServerError struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
GetUserLeaderboardRankingsAdminV3InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewGetUserLeaderboardRankingsAdminV3InternalServerError ¶
func NewGetUserLeaderboardRankingsAdminV3InternalServerError() *GetUserLeaderboardRankingsAdminV3InternalServerError
NewGetUserLeaderboardRankingsAdminV3InternalServerError creates a GetUserLeaderboardRankingsAdminV3InternalServerError with default headers values
func (*GetUserLeaderboardRankingsAdminV3InternalServerError) Error ¶
func (o *GetUserLeaderboardRankingsAdminV3InternalServerError) Error() string
func (*GetUserLeaderboardRankingsAdminV3InternalServerError) GetPayload ¶
func (o *GetUserLeaderboardRankingsAdminV3InternalServerError) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserLeaderboardRankingsAdminV3InternalServerError) ToJSONString ¶
func (o *GetUserLeaderboardRankingsAdminV3InternalServerError) ToJSONString() string
type GetUserLeaderboardRankingsAdminV3OK ¶
type GetUserLeaderboardRankingsAdminV3OK struct {
Payload *leaderboardclientmodels.ModelsGetAllUserLeaderboardsRespV3
}
GetUserLeaderboardRankingsAdminV3OK handles this case with default header values.
User rankings retrieved
func NewGetUserLeaderboardRankingsAdminV3OK ¶
func NewGetUserLeaderboardRankingsAdminV3OK() *GetUserLeaderboardRankingsAdminV3OK
NewGetUserLeaderboardRankingsAdminV3OK creates a GetUserLeaderboardRankingsAdminV3OK with default headers values
func (*GetUserLeaderboardRankingsAdminV3OK) Error ¶
func (o *GetUserLeaderboardRankingsAdminV3OK) Error() string
func (*GetUserLeaderboardRankingsAdminV3OK) GetPayload ¶
func (o *GetUserLeaderboardRankingsAdminV3OK) GetPayload() *leaderboardclientmodels.ModelsGetAllUserLeaderboardsRespV3
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 // XFlightId is an optional parameter from this SDK XFlightId *string // 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 ¶
func (o *GetUserLeaderboardRankingsAdminV3Params) SetContext(ctx context.Context)
SetContext adds the context to the get user leaderboard rankings admin v3 params
func (*GetUserLeaderboardRankingsAdminV3Params) SetFlightId ¶ added in v0.63.0
func (o *GetUserLeaderboardRankingsAdminV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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 ¶
func (o *GetUserLeaderboardRankingsAdminV3Params) WithContext(ctx context.Context) *GetUserLeaderboardRankingsAdminV3Params
WithContext adds the context to the get user leaderboard rankings admin v3 params
func (*GetUserLeaderboardRankingsAdminV3Params) WithHTTPClient ¶
func (o *GetUserLeaderboardRankingsAdminV3Params) WithHTTPClient(client *http.Client) *GetUserLeaderboardRankingsAdminV3Params
WithHTTPClient adds the HTTPClient to the get user leaderboard rankings admin v3 params
func (*GetUserLeaderboardRankingsAdminV3Params) WithLimit ¶
func (o *GetUserLeaderboardRankingsAdminV3Params) WithLimit(limit *int64) *GetUserLeaderboardRankingsAdminV3Params
WithLimit adds the limit to the get user leaderboard rankings admin v3 params
func (*GetUserLeaderboardRankingsAdminV3Params) WithNamespace ¶
func (o *GetUserLeaderboardRankingsAdminV3Params) WithNamespace(namespace string) *GetUserLeaderboardRankingsAdminV3Params
WithNamespace adds the namespace to the get user leaderboard rankings admin v3 params
func (*GetUserLeaderboardRankingsAdminV3Params) WithOffset ¶
func (o *GetUserLeaderboardRankingsAdminV3Params) WithOffset(offset *int64) *GetUserLeaderboardRankingsAdminV3Params
WithOffset adds the offset to the get user leaderboard rankings admin v3 params
func (*GetUserLeaderboardRankingsAdminV3Params) WithTimeout ¶
func (o *GetUserLeaderboardRankingsAdminV3Params) WithTimeout(timeout time.Duration) *GetUserLeaderboardRankingsAdminV3Params
WithTimeout adds the timeout to the get user leaderboard rankings admin v3 params
func (*GetUserLeaderboardRankingsAdminV3Params) WithUserID ¶
func (o *GetUserLeaderboardRankingsAdminV3Params) WithUserID(userID string) *GetUserLeaderboardRankingsAdminV3Params
WithUserID adds the userID to the get user leaderboard rankings admin v3 params
func (*GetUserLeaderboardRankingsAdminV3Params) WriteToRequest ¶
func (o *GetUserLeaderboardRankingsAdminV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}GetUserLeaderboardRankingsAdminV3Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewGetUserLeaderboardRankingsAdminV3Unauthorized ¶
func NewGetUserLeaderboardRankingsAdminV3Unauthorized() *GetUserLeaderboardRankingsAdminV3Unauthorized
NewGetUserLeaderboardRankingsAdminV3Unauthorized creates a GetUserLeaderboardRankingsAdminV3Unauthorized with default headers values
func (*GetUserLeaderboardRankingsAdminV3Unauthorized) Error ¶
func (o *GetUserLeaderboardRankingsAdminV3Unauthorized) Error() string
func (*GetUserLeaderboardRankingsAdminV3Unauthorized) GetPayload ¶
func (o *GetUserLeaderboardRankingsAdminV3Unauthorized) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserLeaderboardRankingsAdminV3Unauthorized) ToJSONString ¶
func (o *GetUserLeaderboardRankingsAdminV3Unauthorized) ToJSONString() string