leaderboard_data

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 AdminGetArchivedLeaderboardRankingDataV1HandlerBadRequest

type AdminGetArchivedLeaderboardRankingDataV1HandlerBadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

AdminGetArchivedLeaderboardRankingDataV1HandlerBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>71239</td><td>leaderboard is not archived</td></tr></table>

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerBadRequest

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerBadRequest() *AdminGetArchivedLeaderboardRankingDataV1HandlerBadRequest

NewAdminGetArchivedLeaderboardRankingDataV1HandlerBadRequest creates a AdminGetArchivedLeaderboardRankingDataV1HandlerBadRequest with default headers values

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerBadRequest) Error

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerBadRequest) GetPayload

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerBadRequest) ToJSONString added in v0.25.0

type AdminGetArchivedLeaderboardRankingDataV1HandlerForbidden

type AdminGetArchivedLeaderboardRankingDataV1HandlerForbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

AdminGetArchivedLeaderboardRankingDataV1HandlerForbidden 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 NewAdminGetArchivedLeaderboardRankingDataV1HandlerForbidden

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerForbidden() *AdminGetArchivedLeaderboardRankingDataV1HandlerForbidden

NewAdminGetArchivedLeaderboardRankingDataV1HandlerForbidden creates a AdminGetArchivedLeaderboardRankingDataV1HandlerForbidden with default headers values

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerForbidden) Error

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerForbidden) GetPayload

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerForbidden) ToJSONString added in v0.25.0

type AdminGetArchivedLeaderboardRankingDataV1HandlerInternalServerError

type AdminGetArchivedLeaderboardRankingDataV1HandlerInternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

AdminGetArchivedLeaderboardRankingDataV1HandlerInternalServerError 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 NewAdminGetArchivedLeaderboardRankingDataV1HandlerInternalServerError

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerInternalServerError() *AdminGetArchivedLeaderboardRankingDataV1HandlerInternalServerError

NewAdminGetArchivedLeaderboardRankingDataV1HandlerInternalServerError creates a AdminGetArchivedLeaderboardRankingDataV1HandlerInternalServerError with default headers values

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerInternalServerError) Error

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerInternalServerError) GetPayload

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerInternalServerError) ToJSONString added in v0.25.0

type AdminGetArchivedLeaderboardRankingDataV1HandlerNotFound

type AdminGetArchivedLeaderboardRankingDataV1HandlerNotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

AdminGetArchivedLeaderboardRankingDataV1HandlerNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71230</td><td>leaderboard configuration not found</td></tr></table>

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerNotFound

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerNotFound() *AdminGetArchivedLeaderboardRankingDataV1HandlerNotFound

NewAdminGetArchivedLeaderboardRankingDataV1HandlerNotFound creates a AdminGetArchivedLeaderboardRankingDataV1HandlerNotFound with default headers values

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerNotFound) Error

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerNotFound) GetPayload

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerNotFound) ToJSONString added in v0.25.0

type AdminGetArchivedLeaderboardRankingDataV1HandlerOK

type AdminGetArchivedLeaderboardRankingDataV1HandlerOK struct {
	Payload []*leaderboardclientmodels.ModelsArchiveLeaderboardSignedURLResponse
}

AdminGetArchivedLeaderboardRankingDataV1HandlerOK handles this case with default header values.

leaderboard archive retrieved

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerOK

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerOK() *AdminGetArchivedLeaderboardRankingDataV1HandlerOK

NewAdminGetArchivedLeaderboardRankingDataV1HandlerOK creates a AdminGetArchivedLeaderboardRankingDataV1HandlerOK with default headers values

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerOK) Error

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerOK) GetPayload

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerOK) ToJSONString added in v0.25.0

type AdminGetArchivedLeaderboardRankingDataV1HandlerParams

type AdminGetArchivedLeaderboardRankingDataV1HandlerParams struct {

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

	*/
	Namespace string
	/*Slug
	  slug type of leaderboard

	*/
	Slug *string
	/*LeaderboardCodes
	  list of leaderboard codes split by comma

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

AdminGetArchivedLeaderboardRankingDataV1HandlerParams contains all the parameters to send to the API endpoint for the admin get archived leaderboard ranking data v1 handler operation typically these are written to a http.Request

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerParams

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerParams() *AdminGetArchivedLeaderboardRankingDataV1HandlerParams

NewAdminGetArchivedLeaderboardRankingDataV1HandlerParams creates a new AdminGetArchivedLeaderboardRankingDataV1HandlerParams object with the default values initialized.

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerParamsWithContext

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerParamsWithContext(ctx context.Context) *AdminGetArchivedLeaderboardRankingDataV1HandlerParams

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

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerParamsWithHTTPClient

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerParamsWithHTTPClient(client *http.Client) *AdminGetArchivedLeaderboardRankingDataV1HandlerParams

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

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerParamsWithTimeout

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerParamsWithTimeout(timeout time.Duration) *AdminGetArchivedLeaderboardRankingDataV1HandlerParams

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

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) SetAuthInfoWriter added in v0.17.0

SetAuthInfoWriter adds the authInfoWriter to the admin get archived leaderboard ranking data v1 handler params

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) SetContext

SetContext adds the context to the admin get archived leaderboard ranking data v1 handler params

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) SetFlightId added in v0.63.0

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

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the admin get archived leaderboard ranking data v1 handler params

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin get archived leaderboard ranking data v1 handler params

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) SetLeaderboardCodes

func (o *AdminGetArchivedLeaderboardRankingDataV1HandlerParams) SetLeaderboardCodes(leaderboardCodes string)

SetLeaderboardCodes adds the leaderboardCodes to the admin get archived leaderboard ranking data v1 handler params

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) SetNamespace

SetNamespace adds the namespace to the admin get archived leaderboard ranking data v1 handler params

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) SetSlug

SetSlug adds the slug to the admin get archived leaderboard ranking data v1 handler params

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) SetTimeout

SetTimeout adds the timeout to the admin get archived leaderboard ranking data v1 handler params

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) WithContext

WithContext adds the context to the admin get archived leaderboard ranking data v1 handler params

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get archived leaderboard ranking data v1 handler params

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) WithLeaderboardCodes

WithLeaderboardCodes adds the leaderboardCodes to the admin get archived leaderboard ranking data v1 handler params

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) WithNamespace

WithNamespace adds the namespace to the admin get archived leaderboard ranking data v1 handler params

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) WithSlug

WithSlug adds the slug to the admin get archived leaderboard ranking data v1 handler params

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) WithTimeout

WithTimeout adds the timeout to the admin get archived leaderboard ranking data v1 handler params

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetArchivedLeaderboardRankingDataV1HandlerReader

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

AdminGetArchivedLeaderboardRankingDataV1HandlerReader is a Reader for the AdminGetArchivedLeaderboardRankingDataV1Handler structure.

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetArchivedLeaderboardRankingDataV1HandlerUnauthorized

type AdminGetArchivedLeaderboardRankingDataV1HandlerUnauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

AdminGetArchivedLeaderboardRankingDataV1HandlerUnauthorized 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 NewAdminGetArchivedLeaderboardRankingDataV1HandlerUnauthorized

func NewAdminGetArchivedLeaderboardRankingDataV1HandlerUnauthorized() *AdminGetArchivedLeaderboardRankingDataV1HandlerUnauthorized

NewAdminGetArchivedLeaderboardRankingDataV1HandlerUnauthorized creates a AdminGetArchivedLeaderboardRankingDataV1HandlerUnauthorized with default headers values

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerUnauthorized) Error

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerUnauthorized) GetPayload

func (*AdminGetArchivedLeaderboardRankingDataV1HandlerUnauthorized) ToJSONString added in v0.25.0

type Client

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

Client for leaderboard data API

func (*Client) AdminGetArchivedLeaderboardRankingDataV1Handler deprecated

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

AdminGetArchivedLeaderboardRankingDataV1Handler admin get signed url for archive all time leaderboard ranking data

Admin Get signed url in an all time leaderboard that archived. Notes: This will be a bulk endpoint to get sign url

func (*Client) AdminGetArchivedLeaderboardRankingDataV1HandlerShort added in v0.8.0

AdminGetArchivedLeaderboardRankingDataV1HandlerShort admin get signed url for archive all time leaderboard ranking data

Admin Get signed url in an all time leaderboard that archived. Notes: This will be a bulk endpoint to get sign url

func (*Client) CreateArchivedLeaderboardRankingDataV1Handler deprecated

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

CreateArchivedLeaderboardRankingDataV1Handler archive a leadeboard data ranking

Archive leaderboard ranking data for specified leaderboard codes. NOTE: This will remove all data of the leaderboard on every slug, remove the leaderboard code on stat mapping, and remove the leaderboard on the queue reset. This will be a bulk endpoint

func (*Client) CreateArchivedLeaderboardRankingDataV1HandlerShort added in v0.8.0

CreateArchivedLeaderboardRankingDataV1HandlerShort archive a leadeboard data ranking

Archive leaderboard ranking data for specified leaderboard codes. NOTE: This will remove all data of the leaderboard on every slug, remove the leaderboard code on stat mapping, and remove the leaderboard on the queue reset. This will be a bulk endpoint

func (*Client) DeleteUserRankingAdminV1 deprecated

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

DeleteUserRankingAdminV1 delete user ranking Delete user ranking

Remove entry with provided userId from leaderboard. If leaderboard with given leaderboard code not found, it will return http status not found (404). If the leaderboard is found and no entry found in it, it will still return success (204)

func (*Client) DeleteUserRankingAdminV1Short added in v0.8.0

func (a *Client) DeleteUserRankingAdminV1Short(params *DeleteUserRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRankingAdminV1NoContent, error)

DeleteUserRankingAdminV1Short delete user ranking Delete user ranking

Remove entry with provided userId from leaderboard. If leaderboard with given leaderboard code not found, it will return http status not found (404). If the leaderboard is found and no entry found in it, it will still return success (204)

func (*Client) DeleteUserRankingByLeaderboardCodeAdminV1 deprecated added in v0.42.0

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

DeleteUserRankingByLeaderboardCodeAdminV1 delete all user ranking by leaderboard code

[Test Facility Only]

This endpoint will delete user ranking by leaderboard code

Note: this endpoint only works on development environment.

func (*Client) DeleteUserRankingByLeaderboardCodeAdminV1Short added in v0.42.0

DeleteUserRankingByLeaderboardCodeAdminV1Short delete all user ranking by leaderboard code

[Test Facility Only]

This endpoint will delete user ranking by leaderboard code

Note: this endpoint only works on development environment.

func (*Client) DeleteUserRankingPublicV1 deprecated

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

DeleteUserRankingPublicV1 delete user ranking Delete user ranking

Remove entry with provided userId from leaderboard. If leaderboard with given leaderboard code not found, it will return http status not found (404). If the leaderboard is found and no entry found in it, it will still return success (204)

func (*Client) DeleteUserRankingPublicV1Short added in v0.8.0

func (a *Client) DeleteUserRankingPublicV1Short(params *DeleteUserRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRankingPublicV1NoContent, error)

DeleteUserRankingPublicV1Short delete user ranking Delete user ranking

Remove entry with provided userId from leaderboard. If leaderboard with given leaderboard code not found, it will return http status not found (404). If the leaderboard is found and no entry found in it, it will still return success (204)

func (*Client) DeleteUserRankingsAdminV1 deprecated

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

DeleteUserRankingsAdminV1 delete user ranking across leaderboard(s) Delete user ranking across leaderboard

Remove entry with provided userId from leaderboard.

func (*Client) DeleteUserRankingsAdminV1Short added in v0.8.0

func (a *Client) DeleteUserRankingsAdminV1Short(params *DeleteUserRankingsAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRankingsAdminV1NoContent, error)

DeleteUserRankingsAdminV1Short delete user ranking across leaderboard(s) Delete user ranking across leaderboard

Remove entry with provided userId from leaderboard.

func (*Client) GetAllTimeLeaderboardRankingAdminV1 deprecated

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

GetAllTimeLeaderboardRankingAdminV1 get all time leaderboard ranking data

Get rankings in an all time leaderboard.

func (*Client) GetAllTimeLeaderboardRankingAdminV1Short added in v0.8.0

func (a *Client) GetAllTimeLeaderboardRankingAdminV1Short(params *GetAllTimeLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetAllTimeLeaderboardRankingAdminV1OK, error)

GetAllTimeLeaderboardRankingAdminV1Short get all time leaderboard ranking data

Get rankings in an all time leaderboard.

func (*Client) GetAllTimeLeaderboardRankingPublicV1 deprecated

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

GetAllTimeLeaderboardRankingPublicV1 get all time leaderboard ranking data

Get rankings in an all time leaderboard.

func (*Client) GetAllTimeLeaderboardRankingPublicV1Short added in v0.8.0

func (a *Client) GetAllTimeLeaderboardRankingPublicV1Short(params *GetAllTimeLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetAllTimeLeaderboardRankingPublicV1OK, error)

GetAllTimeLeaderboardRankingPublicV1Short get all time leaderboard ranking data

Get rankings in an all time leaderboard.

func (*Client) GetAllTimeLeaderboardRankingPublicV2 deprecated

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

GetAllTimeLeaderboardRankingPublicV2 get all time leaderboard ranking data Get rankings in an all time leaderboard.

func (*Client) GetAllTimeLeaderboardRankingPublicV2Short added in v0.8.0

func (a *Client) GetAllTimeLeaderboardRankingPublicV2Short(params *GetAllTimeLeaderboardRankingPublicV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetAllTimeLeaderboardRankingPublicV2OK, error)

GetAllTimeLeaderboardRankingPublicV2Short get all time leaderboard ranking data Get rankings in an all time leaderboard.

func (*Client) GetArchivedLeaderboardRankingDataV1Handler deprecated

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

GetArchivedLeaderboardRankingDataV1Handler get signed url for archive all time leaderboard ranking data

Get signed url in an all time leaderboard that archived. NOTE: This will be a bulk endpoint to get sign url

func (*Client) GetArchivedLeaderboardRankingDataV1HandlerShort added in v0.8.0

func (a *Client) GetArchivedLeaderboardRankingDataV1HandlerShort(params *GetArchivedLeaderboardRankingDataV1HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*GetArchivedLeaderboardRankingDataV1HandlerOK, error)

GetArchivedLeaderboardRankingDataV1HandlerShort get signed url for archive all time leaderboard ranking data

Get signed url in an all time leaderboard that archived. NOTE: This will be a bulk endpoint to get sign url

func (*Client) GetCurrentMonthLeaderboardRankingAdminV1Short added in v0.8.0

func (a *Client) GetCurrentMonthLeaderboardRankingAdminV1Short(params *GetCurrentMonthLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentMonthLeaderboardRankingAdminV1OK, error)

GetCurrentMonthLeaderboardRankingAdminV1Short get current month leaderboard ranking data

Get rankings in current month leaderboard.

func (*Client) GetCurrentMonthLeaderboardRankingPublicV1 deprecated

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

GetCurrentMonthLeaderboardRankingPublicV1 get current month leaderboard ranking data

Get rankings in current month leaderboard.

func (*Client) GetCurrentMonthLeaderboardRankingPublicV1Short added in v0.8.0

func (a *Client) GetCurrentMonthLeaderboardRankingPublicV1Short(params *GetCurrentMonthLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentMonthLeaderboardRankingPublicV1OK, error)

GetCurrentMonthLeaderboardRankingPublicV1Short get current month leaderboard ranking data

Get rankings in current month leaderboard.

func (*Client) GetCurrentSeasonLeaderboardRankingAdminV1Short added in v0.8.0

func (a *Client) GetCurrentSeasonLeaderboardRankingAdminV1Short(params *GetCurrentSeasonLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonLeaderboardRankingAdminV1OK, error)

GetCurrentSeasonLeaderboardRankingAdminV1Short get current season leaderboard ranking data

Get rankings in current season leaderboard.

func (*Client) GetCurrentSeasonLeaderboardRankingPublicV1 deprecated

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

GetCurrentSeasonLeaderboardRankingPublicV1 get current season leaderboard ranking data

Get rankings in current season leaderboard.

func (*Client) GetCurrentSeasonLeaderboardRankingPublicV1Short added in v0.8.0

func (a *Client) GetCurrentSeasonLeaderboardRankingPublicV1Short(params *GetCurrentSeasonLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonLeaderboardRankingPublicV1OK, error)

GetCurrentSeasonLeaderboardRankingPublicV1Short get current season leaderboard ranking data

Get rankings in current season leaderboard.

func (*Client) GetCurrentWeekLeaderboardRankingAdminV1Short added in v0.8.0

func (a *Client) GetCurrentWeekLeaderboardRankingAdminV1Short(params *GetCurrentWeekLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentWeekLeaderboardRankingAdminV1OK, error)

GetCurrentWeekLeaderboardRankingAdminV1Short get current week leaderboard ranking data

Get rankings in current week leaderboard.

func (*Client) GetCurrentWeekLeaderboardRankingPublicV1 deprecated

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

GetCurrentWeekLeaderboardRankingPublicV1 get current week leaderboard ranking data

Get rankings in current week leaderboard.

func (*Client) GetCurrentWeekLeaderboardRankingPublicV1Short added in v0.8.0

func (a *Client) GetCurrentWeekLeaderboardRankingPublicV1Short(params *GetCurrentWeekLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentWeekLeaderboardRankingPublicV1OK, error)

GetCurrentWeekLeaderboardRankingPublicV1Short get current week leaderboard ranking data

Get rankings in current week leaderboard.

func (*Client) GetTodayLeaderboardRankingAdminV1 deprecated

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

GetTodayLeaderboardRankingAdminV1 get today leaderboard ranking data

Get rankings in today leaderboard.

func (*Client) GetTodayLeaderboardRankingAdminV1Short added in v0.8.0

func (a *Client) GetTodayLeaderboardRankingAdminV1Short(params *GetTodayLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetTodayLeaderboardRankingAdminV1OK, error)

GetTodayLeaderboardRankingAdminV1Short get today leaderboard ranking data

Get rankings in today leaderboard.

func (*Client) GetTodayLeaderboardRankingPublicV1 deprecated

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

GetTodayLeaderboardRankingPublicV1 get today leaderboard ranking data

Get rankings in today leaderboard.

func (*Client) GetTodayLeaderboardRankingPublicV1Short added in v0.8.0

func (a *Client) GetTodayLeaderboardRankingPublicV1Short(params *GetTodayLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetTodayLeaderboardRankingPublicV1OK, error)

GetTodayLeaderboardRankingPublicV1Short get today leaderboard ranking data

Get rankings in today leaderboard.

func (*Client) GetUserRankingAdminV1 deprecated

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

GetUserRankingAdminV1 get user ranking

Get user ranking in leaderboard

func (*Client) GetUserRankingAdminV1Short added in v0.8.0

func (a *Client) GetUserRankingAdminV1Short(params *GetUserRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserRankingAdminV1OK, error)

GetUserRankingAdminV1Short get user ranking

Get user ranking in leaderboard

func (*Client) GetUserRankingPublicV1 deprecated

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

GetUserRankingPublicV1 get user ranking

Get user ranking in leaderboard

func (*Client) GetUserRankingPublicV1Short added in v0.8.0

func (a *Client) GetUserRankingPublicV1Short(params *GetUserRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserRankingPublicV1OK, error)

GetUserRankingPublicV1Short get user ranking

Get user ranking in leaderboard

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateUserPointAdminV1 deprecated

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

UpdateUserPointAdminV1 update user point

Update user point in a leaderboard. This endpoint uses for test utility only.

Other detail info:

  • Returns: user ranking

func (*Client) UpdateUserPointAdminV1Short added in v0.8.0

func (a *Client) UpdateUserPointAdminV1Short(params *UpdateUserPointAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserPointAdminV1OK, error)

UpdateUserPointAdminV1Short update user point

Update user point in a leaderboard. This endpoint uses for test utility only.

Other detail info:

  • Returns: user ranking

type ClientService

type ClientService interface {
	AdminGetArchivedLeaderboardRankingDataV1Handler(params *AdminGetArchivedLeaderboardRankingDataV1HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetArchivedLeaderboardRankingDataV1HandlerOK, *AdminGetArchivedLeaderboardRankingDataV1HandlerBadRequest, *AdminGetArchivedLeaderboardRankingDataV1HandlerUnauthorized, *AdminGetArchivedLeaderboardRankingDataV1HandlerForbidden, *AdminGetArchivedLeaderboardRankingDataV1HandlerNotFound, *AdminGetArchivedLeaderboardRankingDataV1HandlerInternalServerError, error)
	AdminGetArchivedLeaderboardRankingDataV1HandlerShort(params *AdminGetArchivedLeaderboardRankingDataV1HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetArchivedLeaderboardRankingDataV1HandlerOK, error)
	CreateArchivedLeaderboardRankingDataV1Handler(params *CreateArchivedLeaderboardRankingDataV1HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*CreateArchivedLeaderboardRankingDataV1HandlerCreated, *CreateArchivedLeaderboardRankingDataV1HandlerBadRequest, *CreateArchivedLeaderboardRankingDataV1HandlerUnauthorized, *CreateArchivedLeaderboardRankingDataV1HandlerForbidden, *CreateArchivedLeaderboardRankingDataV1HandlerInternalServerError, error)
	CreateArchivedLeaderboardRankingDataV1HandlerShort(params *CreateArchivedLeaderboardRankingDataV1HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*CreateArchivedLeaderboardRankingDataV1HandlerCreated, error)
	GetAllTimeLeaderboardRankingAdminV1(params *GetAllTimeLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetAllTimeLeaderboardRankingAdminV1OK, *GetAllTimeLeaderboardRankingAdminV1BadRequest, *GetAllTimeLeaderboardRankingAdminV1Unauthorized, *GetAllTimeLeaderboardRankingAdminV1Forbidden, *GetAllTimeLeaderboardRankingAdminV1NotFound, *GetAllTimeLeaderboardRankingAdminV1InternalServerError, error)
	GetAllTimeLeaderboardRankingAdminV1Short(params *GetAllTimeLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetAllTimeLeaderboardRankingAdminV1OK, error)
	GetCurrentMonthLeaderboardRankingAdminV1(params *GetCurrentMonthLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentMonthLeaderboardRankingAdminV1OK, *GetCurrentMonthLeaderboardRankingAdminV1BadRequest, *GetCurrentMonthLeaderboardRankingAdminV1Unauthorized, *GetCurrentMonthLeaderboardRankingAdminV1Forbidden, *GetCurrentMonthLeaderboardRankingAdminV1NotFound, *GetCurrentMonthLeaderboardRankingAdminV1InternalServerError, error)
	GetCurrentMonthLeaderboardRankingAdminV1Short(params *GetCurrentMonthLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentMonthLeaderboardRankingAdminV1OK, error)
	DeleteUserRankingByLeaderboardCodeAdminV1(params *DeleteUserRankingByLeaderboardCodeAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRankingByLeaderboardCodeAdminV1NoContent, *DeleteUserRankingByLeaderboardCodeAdminV1Unauthorized, *DeleteUserRankingByLeaderboardCodeAdminV1Forbidden, *DeleteUserRankingByLeaderboardCodeAdminV1NotFound, *DeleteUserRankingByLeaderboardCodeAdminV1InternalServerError, error)
	DeleteUserRankingByLeaderboardCodeAdminV1Short(params *DeleteUserRankingByLeaderboardCodeAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRankingByLeaderboardCodeAdminV1NoContent, error)
	GetCurrentSeasonLeaderboardRankingAdminV1(params *GetCurrentSeasonLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonLeaderboardRankingAdminV1OK, *GetCurrentSeasonLeaderboardRankingAdminV1BadRequest, *GetCurrentSeasonLeaderboardRankingAdminV1Unauthorized, *GetCurrentSeasonLeaderboardRankingAdminV1Forbidden, *GetCurrentSeasonLeaderboardRankingAdminV1NotFound, *GetCurrentSeasonLeaderboardRankingAdminV1InternalServerError, error)
	GetCurrentSeasonLeaderboardRankingAdminV1Short(params *GetCurrentSeasonLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonLeaderboardRankingAdminV1OK, error)
	GetTodayLeaderboardRankingAdminV1(params *GetTodayLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetTodayLeaderboardRankingAdminV1OK, *GetTodayLeaderboardRankingAdminV1BadRequest, *GetTodayLeaderboardRankingAdminV1Unauthorized, *GetTodayLeaderboardRankingAdminV1Forbidden, *GetTodayLeaderboardRankingAdminV1NotFound, *GetTodayLeaderboardRankingAdminV1InternalServerError, error)
	GetTodayLeaderboardRankingAdminV1Short(params *GetTodayLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetTodayLeaderboardRankingAdminV1OK, error)
	GetUserRankingAdminV1(params *GetUserRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserRankingAdminV1OK, *GetUserRankingAdminV1Unauthorized, *GetUserRankingAdminV1Forbidden, *GetUserRankingAdminV1NotFound, *GetUserRankingAdminV1InternalServerError, error)
	GetUserRankingAdminV1Short(params *GetUserRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserRankingAdminV1OK, error)
	UpdateUserPointAdminV1(params *UpdateUserPointAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserPointAdminV1OK, *UpdateUserPointAdminV1BadRequest, *UpdateUserPointAdminV1Unauthorized, *UpdateUserPointAdminV1Forbidden, *UpdateUserPointAdminV1NotFound, *UpdateUserPointAdminV1InternalServerError, error)
	UpdateUserPointAdminV1Short(params *UpdateUserPointAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserPointAdminV1OK, error)
	DeleteUserRankingAdminV1(params *DeleteUserRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRankingAdminV1NoContent, *DeleteUserRankingAdminV1Unauthorized, *DeleteUserRankingAdminV1Forbidden, *DeleteUserRankingAdminV1NotFound, *DeleteUserRankingAdminV1InternalServerError, error)
	DeleteUserRankingAdminV1Short(params *DeleteUserRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRankingAdminV1NoContent, error)
	GetCurrentWeekLeaderboardRankingAdminV1(params *GetCurrentWeekLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentWeekLeaderboardRankingAdminV1OK, *GetCurrentWeekLeaderboardRankingAdminV1BadRequest, *GetCurrentWeekLeaderboardRankingAdminV1Unauthorized, *GetCurrentWeekLeaderboardRankingAdminV1Forbidden, *GetCurrentWeekLeaderboardRankingAdminV1NotFound, *GetCurrentWeekLeaderboardRankingAdminV1InternalServerError, error)
	GetCurrentWeekLeaderboardRankingAdminV1Short(params *GetCurrentWeekLeaderboardRankingAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentWeekLeaderboardRankingAdminV1OK, error)
	DeleteUserRankingsAdminV1(params *DeleteUserRankingsAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRankingsAdminV1NoContent, *DeleteUserRankingsAdminV1Unauthorized, *DeleteUserRankingsAdminV1Forbidden, *DeleteUserRankingsAdminV1InternalServerError, error)
	DeleteUserRankingsAdminV1Short(params *DeleteUserRankingsAdminV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRankingsAdminV1NoContent, error)
	GetAllTimeLeaderboardRankingPublicV1(params *GetAllTimeLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetAllTimeLeaderboardRankingPublicV1OK, *GetAllTimeLeaderboardRankingPublicV1BadRequest, *GetAllTimeLeaderboardRankingPublicV1NotFound, *GetAllTimeLeaderboardRankingPublicV1InternalServerError, error)
	GetAllTimeLeaderboardRankingPublicV1Short(params *GetAllTimeLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetAllTimeLeaderboardRankingPublicV1OK, error)
	GetArchivedLeaderboardRankingDataV1Handler(params *GetArchivedLeaderboardRankingDataV1HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*GetArchivedLeaderboardRankingDataV1HandlerOK, *GetArchivedLeaderboardRankingDataV1HandlerBadRequest, *GetArchivedLeaderboardRankingDataV1HandlerUnauthorized, *GetArchivedLeaderboardRankingDataV1HandlerForbidden, *GetArchivedLeaderboardRankingDataV1HandlerNotFound, *GetArchivedLeaderboardRankingDataV1HandlerInternalServerError, error)
	GetArchivedLeaderboardRankingDataV1HandlerShort(params *GetArchivedLeaderboardRankingDataV1HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*GetArchivedLeaderboardRankingDataV1HandlerOK, error)
	GetCurrentMonthLeaderboardRankingPublicV1(params *GetCurrentMonthLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentMonthLeaderboardRankingPublicV1OK, *GetCurrentMonthLeaderboardRankingPublicV1BadRequest, *GetCurrentMonthLeaderboardRankingPublicV1NotFound, *GetCurrentMonthLeaderboardRankingPublicV1InternalServerError, error)
	GetCurrentMonthLeaderboardRankingPublicV1Short(params *GetCurrentMonthLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentMonthLeaderboardRankingPublicV1OK, error)
	GetCurrentSeasonLeaderboardRankingPublicV1(params *GetCurrentSeasonLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonLeaderboardRankingPublicV1OK, *GetCurrentSeasonLeaderboardRankingPublicV1BadRequest, *GetCurrentSeasonLeaderboardRankingPublicV1NotFound, *GetCurrentSeasonLeaderboardRankingPublicV1InternalServerError, error)
	GetCurrentSeasonLeaderboardRankingPublicV1Short(params *GetCurrentSeasonLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentSeasonLeaderboardRankingPublicV1OK, error)
	GetTodayLeaderboardRankingPublicV1(params *GetTodayLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetTodayLeaderboardRankingPublicV1OK, *GetTodayLeaderboardRankingPublicV1BadRequest, *GetTodayLeaderboardRankingPublicV1NotFound, *GetTodayLeaderboardRankingPublicV1InternalServerError, error)
	GetTodayLeaderboardRankingPublicV1Short(params *GetTodayLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetTodayLeaderboardRankingPublicV1OK, error)
	GetUserRankingPublicV1(params *GetUserRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserRankingPublicV1OK, *GetUserRankingPublicV1Unauthorized, *GetUserRankingPublicV1Forbidden, *GetUserRankingPublicV1NotFound, *GetUserRankingPublicV1InternalServerError, error)
	GetUserRankingPublicV1Short(params *GetUserRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserRankingPublicV1OK, error)
	DeleteUserRankingPublicV1(params *DeleteUserRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRankingPublicV1NoContent, *DeleteUserRankingPublicV1Unauthorized, *DeleteUserRankingPublicV1Forbidden, *DeleteUserRankingPublicV1NotFound, *DeleteUserRankingPublicV1InternalServerError, error)
	DeleteUserRankingPublicV1Short(params *DeleteUserRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRankingPublicV1NoContent, error)
	GetCurrentWeekLeaderboardRankingPublicV1(params *GetCurrentWeekLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentWeekLeaderboardRankingPublicV1OK, *GetCurrentWeekLeaderboardRankingPublicV1BadRequest, *GetCurrentWeekLeaderboardRankingPublicV1NotFound, *GetCurrentWeekLeaderboardRankingPublicV1InternalServerError, error)
	GetCurrentWeekLeaderboardRankingPublicV1Short(params *GetCurrentWeekLeaderboardRankingPublicV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentWeekLeaderboardRankingPublicV1OK, error)
	GetAllTimeLeaderboardRankingPublicV2(params *GetAllTimeLeaderboardRankingPublicV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetAllTimeLeaderboardRankingPublicV2OK, *GetAllTimeLeaderboardRankingPublicV2BadRequest, *GetAllTimeLeaderboardRankingPublicV2Unauthorized, *GetAllTimeLeaderboardRankingPublicV2Forbidden, *GetAllTimeLeaderboardRankingPublicV2NotFound, *GetAllTimeLeaderboardRankingPublicV2InternalServerError, error)
	GetAllTimeLeaderboardRankingPublicV2Short(params *GetAllTimeLeaderboardRankingPublicV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetAllTimeLeaderboardRankingPublicV2OK, 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 leaderboard data API client.

type CreateArchivedLeaderboardRankingDataV1HandlerBadRequest

type CreateArchivedLeaderboardRankingDataV1HandlerBadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

CreateArchivedLeaderboardRankingDataV1HandlerBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewCreateArchivedLeaderboardRankingDataV1HandlerBadRequest

func NewCreateArchivedLeaderboardRankingDataV1HandlerBadRequest() *CreateArchivedLeaderboardRankingDataV1HandlerBadRequest

NewCreateArchivedLeaderboardRankingDataV1HandlerBadRequest creates a CreateArchivedLeaderboardRankingDataV1HandlerBadRequest with default headers values

func (*CreateArchivedLeaderboardRankingDataV1HandlerBadRequest) Error

func (*CreateArchivedLeaderboardRankingDataV1HandlerBadRequest) GetPayload

func (*CreateArchivedLeaderboardRankingDataV1HandlerBadRequest) ToJSONString added in v0.25.0

type CreateArchivedLeaderboardRankingDataV1HandlerCreated

type CreateArchivedLeaderboardRankingDataV1HandlerCreated struct {
}

CreateArchivedLeaderboardRankingDataV1HandlerCreated handles this case with default header values.

leaderboard data ranking archived

func NewCreateArchivedLeaderboardRankingDataV1HandlerCreated

func NewCreateArchivedLeaderboardRankingDataV1HandlerCreated() *CreateArchivedLeaderboardRankingDataV1HandlerCreated

NewCreateArchivedLeaderboardRankingDataV1HandlerCreated creates a CreateArchivedLeaderboardRankingDataV1HandlerCreated with default headers values

func (*CreateArchivedLeaderboardRankingDataV1HandlerCreated) Error

type CreateArchivedLeaderboardRankingDataV1HandlerForbidden

type CreateArchivedLeaderboardRankingDataV1HandlerForbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

CreateArchivedLeaderboardRankingDataV1HandlerForbidden 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 NewCreateArchivedLeaderboardRankingDataV1HandlerForbidden

func NewCreateArchivedLeaderboardRankingDataV1HandlerForbidden() *CreateArchivedLeaderboardRankingDataV1HandlerForbidden

NewCreateArchivedLeaderboardRankingDataV1HandlerForbidden creates a CreateArchivedLeaderboardRankingDataV1HandlerForbidden with default headers values

func (*CreateArchivedLeaderboardRankingDataV1HandlerForbidden) Error

func (*CreateArchivedLeaderboardRankingDataV1HandlerForbidden) GetPayload

func (*CreateArchivedLeaderboardRankingDataV1HandlerForbidden) ToJSONString added in v0.25.0

type CreateArchivedLeaderboardRankingDataV1HandlerInternalServerError

type CreateArchivedLeaderboardRankingDataV1HandlerInternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

CreateArchivedLeaderboardRankingDataV1HandlerInternalServerError 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 NewCreateArchivedLeaderboardRankingDataV1HandlerInternalServerError

func NewCreateArchivedLeaderboardRankingDataV1HandlerInternalServerError() *CreateArchivedLeaderboardRankingDataV1HandlerInternalServerError

NewCreateArchivedLeaderboardRankingDataV1HandlerInternalServerError creates a CreateArchivedLeaderboardRankingDataV1HandlerInternalServerError with default headers values

func (*CreateArchivedLeaderboardRankingDataV1HandlerInternalServerError) Error

func (*CreateArchivedLeaderboardRankingDataV1HandlerInternalServerError) GetPayload

func (*CreateArchivedLeaderboardRankingDataV1HandlerInternalServerError) ToJSONString added in v0.25.0

type CreateArchivedLeaderboardRankingDataV1HandlerParams

type CreateArchivedLeaderboardRankingDataV1HandlerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *leaderboardclientmodels.ModelsArchiveLeaderboardReq
	/*Namespace
	  namespace of the game

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

CreateArchivedLeaderboardRankingDataV1HandlerParams contains all the parameters to send to the API endpoint for the create archived leaderboard ranking data v1 handler operation typically these are written to a http.Request

func NewCreateArchivedLeaderboardRankingDataV1HandlerParams

func NewCreateArchivedLeaderboardRankingDataV1HandlerParams() *CreateArchivedLeaderboardRankingDataV1HandlerParams

NewCreateArchivedLeaderboardRankingDataV1HandlerParams creates a new CreateArchivedLeaderboardRankingDataV1HandlerParams object with the default values initialized.

func NewCreateArchivedLeaderboardRankingDataV1HandlerParamsWithContext

func NewCreateArchivedLeaderboardRankingDataV1HandlerParamsWithContext(ctx context.Context) *CreateArchivedLeaderboardRankingDataV1HandlerParams

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

func NewCreateArchivedLeaderboardRankingDataV1HandlerParamsWithHTTPClient

func NewCreateArchivedLeaderboardRankingDataV1HandlerParamsWithHTTPClient(client *http.Client) *CreateArchivedLeaderboardRankingDataV1HandlerParams

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

func NewCreateArchivedLeaderboardRankingDataV1HandlerParamsWithTimeout

func NewCreateArchivedLeaderboardRankingDataV1HandlerParamsWithTimeout(timeout time.Duration) *CreateArchivedLeaderboardRankingDataV1HandlerParams

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

func (*CreateArchivedLeaderboardRankingDataV1HandlerParams) SetAuthInfoWriter added in v0.17.0

SetAuthInfoWriter adds the authInfoWriter to the create archived leaderboard ranking data v1 handler params

func (*CreateArchivedLeaderboardRankingDataV1HandlerParams) SetBody

SetBody adds the body to the create archived leaderboard ranking data v1 handler params

func (*CreateArchivedLeaderboardRankingDataV1HandlerParams) SetContext

SetContext adds the context to the create archived leaderboard ranking data v1 handler params

func (*CreateArchivedLeaderboardRankingDataV1HandlerParams) SetFlightId added in v0.63.0

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

func (*CreateArchivedLeaderboardRankingDataV1HandlerParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the create archived leaderboard ranking data v1 handler params

func (*CreateArchivedLeaderboardRankingDataV1HandlerParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the create archived leaderboard ranking data v1 handler params

func (*CreateArchivedLeaderboardRankingDataV1HandlerParams) SetNamespace

SetNamespace adds the namespace to the create archived leaderboard ranking data v1 handler params

func (*CreateArchivedLeaderboardRankingDataV1HandlerParams) SetTimeout

SetTimeout adds the timeout to the create archived leaderboard ranking data v1 handler params

func (*CreateArchivedLeaderboardRankingDataV1HandlerParams) WithBody

WithBody adds the body to the create archived leaderboard ranking data v1 handler params

func (*CreateArchivedLeaderboardRankingDataV1HandlerParams) WithContext

WithContext adds the context to the create archived leaderboard ranking data v1 handler params

func (*CreateArchivedLeaderboardRankingDataV1HandlerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create archived leaderboard ranking data v1 handler params

func (*CreateArchivedLeaderboardRankingDataV1HandlerParams) WithNamespace

WithNamespace adds the namespace to the create archived leaderboard ranking data v1 handler params

func (*CreateArchivedLeaderboardRankingDataV1HandlerParams) WithTimeout

WithTimeout adds the timeout to the create archived leaderboard ranking data v1 handler params

func (*CreateArchivedLeaderboardRankingDataV1HandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateArchivedLeaderboardRankingDataV1HandlerReader

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

CreateArchivedLeaderboardRankingDataV1HandlerReader is a Reader for the CreateArchivedLeaderboardRankingDataV1Handler structure.

func (*CreateArchivedLeaderboardRankingDataV1HandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateArchivedLeaderboardRankingDataV1HandlerUnauthorized

type CreateArchivedLeaderboardRankingDataV1HandlerUnauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

CreateArchivedLeaderboardRankingDataV1HandlerUnauthorized 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 NewCreateArchivedLeaderboardRankingDataV1HandlerUnauthorized

func NewCreateArchivedLeaderboardRankingDataV1HandlerUnauthorized() *CreateArchivedLeaderboardRankingDataV1HandlerUnauthorized

NewCreateArchivedLeaderboardRankingDataV1HandlerUnauthorized creates a CreateArchivedLeaderboardRankingDataV1HandlerUnauthorized with default headers values

func (*CreateArchivedLeaderboardRankingDataV1HandlerUnauthorized) Error

func (*CreateArchivedLeaderboardRankingDataV1HandlerUnauthorized) GetPayload

func (*CreateArchivedLeaderboardRankingDataV1HandlerUnauthorized) ToJSONString added in v0.25.0

type DeleteUserRankingAdminV1Forbidden

type DeleteUserRankingAdminV1Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingAdminV1Forbidden 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 NewDeleteUserRankingAdminV1Forbidden

func NewDeleteUserRankingAdminV1Forbidden() *DeleteUserRankingAdminV1Forbidden

NewDeleteUserRankingAdminV1Forbidden creates a DeleteUserRankingAdminV1Forbidden with default headers values

func (*DeleteUserRankingAdminV1Forbidden) Error

func (*DeleteUserRankingAdminV1Forbidden) GetPayload

func (*DeleteUserRankingAdminV1Forbidden) ToJSONString added in v0.25.0

func (o *DeleteUserRankingAdminV1Forbidden) ToJSONString() string

type DeleteUserRankingAdminV1InternalServerError

type DeleteUserRankingAdminV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingAdminV1InternalServerError 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 NewDeleteUserRankingAdminV1InternalServerError

func NewDeleteUserRankingAdminV1InternalServerError() *DeleteUserRankingAdminV1InternalServerError

NewDeleteUserRankingAdminV1InternalServerError creates a DeleteUserRankingAdminV1InternalServerError with default headers values

func (*DeleteUserRankingAdminV1InternalServerError) Error

func (*DeleteUserRankingAdminV1InternalServerError) GetPayload

func (*DeleteUserRankingAdminV1InternalServerError) ToJSONString added in v0.25.0

type DeleteUserRankingAdminV1NoContent

type DeleteUserRankingAdminV1NoContent struct {
}

DeleteUserRankingAdminV1NoContent handles this case with default header values.

User ranking deleted

func NewDeleteUserRankingAdminV1NoContent

func NewDeleteUserRankingAdminV1NoContent() *DeleteUserRankingAdminV1NoContent

NewDeleteUserRankingAdminV1NoContent creates a DeleteUserRankingAdminV1NoContent with default headers values

func (*DeleteUserRankingAdminV1NoContent) Error

type DeleteUserRankingAdminV1NotFound

type DeleteUserRankingAdminV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingAdminV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71230</td><td>leaderboard configuration not found</td></tr><tr><td>71233</td><td>user ranking data not found</td></tr></table>

func NewDeleteUserRankingAdminV1NotFound

func NewDeleteUserRankingAdminV1NotFound() *DeleteUserRankingAdminV1NotFound

NewDeleteUserRankingAdminV1NotFound creates a DeleteUserRankingAdminV1NotFound with default headers values

func (*DeleteUserRankingAdminV1NotFound) Error

func (*DeleteUserRankingAdminV1NotFound) GetPayload

func (*DeleteUserRankingAdminV1NotFound) ToJSONString added in v0.25.0

func (o *DeleteUserRankingAdminV1NotFound) ToJSONString() string

type DeleteUserRankingAdminV1Params

type DeleteUserRankingAdminV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  User ID used for leaderboard entry

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

DeleteUserRankingAdminV1Params contains all the parameters to send to the API endpoint for the delete user ranking admin v1 operation typically these are written to a http.Request

func NewDeleteUserRankingAdminV1Params

func NewDeleteUserRankingAdminV1Params() *DeleteUserRankingAdminV1Params

NewDeleteUserRankingAdminV1Params creates a new DeleteUserRankingAdminV1Params object with the default values initialized.

func NewDeleteUserRankingAdminV1ParamsWithContext

func NewDeleteUserRankingAdminV1ParamsWithContext(ctx context.Context) *DeleteUserRankingAdminV1Params

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

func NewDeleteUserRankingAdminV1ParamsWithHTTPClient

func NewDeleteUserRankingAdminV1ParamsWithHTTPClient(client *http.Client) *DeleteUserRankingAdminV1Params

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

func NewDeleteUserRankingAdminV1ParamsWithTimeout

func NewDeleteUserRankingAdminV1ParamsWithTimeout(timeout time.Duration) *DeleteUserRankingAdminV1Params

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

func (*DeleteUserRankingAdminV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the delete user ranking admin v1 params

func (*DeleteUserRankingAdminV1Params) SetContext

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

SetContext adds the context to the delete user ranking admin v1 params

func (*DeleteUserRankingAdminV1Params) SetFlightId added in v0.63.0

func (o *DeleteUserRankingAdminV1Params) SetFlightId(flightId string)

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

func (*DeleteUserRankingAdminV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user ranking admin v1 params

func (*DeleteUserRankingAdminV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the delete user ranking admin v1 params

func (*DeleteUserRankingAdminV1Params) SetLeaderboardCode

func (o *DeleteUserRankingAdminV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the delete user ranking admin v1 params

func (*DeleteUserRankingAdminV1Params) SetNamespace

func (o *DeleteUserRankingAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete user ranking admin v1 params

func (*DeleteUserRankingAdminV1Params) SetTimeout

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

SetTimeout adds the timeout to the delete user ranking admin v1 params

func (*DeleteUserRankingAdminV1Params) SetUserID

func (o *DeleteUserRankingAdminV1Params) SetUserID(userID string)

SetUserID adds the userId to the delete user ranking admin v1 params

func (*DeleteUserRankingAdminV1Params) WithContext

WithContext adds the context to the delete user ranking admin v1 params

func (*DeleteUserRankingAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete user ranking admin v1 params

func (*DeleteUserRankingAdminV1Params) WithLeaderboardCode

func (o *DeleteUserRankingAdminV1Params) WithLeaderboardCode(leaderboardCode string) *DeleteUserRankingAdminV1Params

WithLeaderboardCode adds the leaderboardCode to the delete user ranking admin v1 params

func (*DeleteUserRankingAdminV1Params) WithNamespace

WithNamespace adds the namespace to the delete user ranking admin v1 params

func (*DeleteUserRankingAdminV1Params) WithTimeout

WithTimeout adds the timeout to the delete user ranking admin v1 params

func (*DeleteUserRankingAdminV1Params) WithUserID

WithUserID adds the userID to the delete user ranking admin v1 params

func (*DeleteUserRankingAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserRankingAdminV1Reader

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

DeleteUserRankingAdminV1Reader is a Reader for the DeleteUserRankingAdminV1 structure.

func (*DeleteUserRankingAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserRankingAdminV1Unauthorized

type DeleteUserRankingAdminV1Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingAdminV1Unauthorized 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 NewDeleteUserRankingAdminV1Unauthorized

func NewDeleteUserRankingAdminV1Unauthorized() *DeleteUserRankingAdminV1Unauthorized

NewDeleteUserRankingAdminV1Unauthorized creates a DeleteUserRankingAdminV1Unauthorized with default headers values

func (*DeleteUserRankingAdminV1Unauthorized) Error

func (*DeleteUserRankingAdminV1Unauthorized) GetPayload

func (*DeleteUserRankingAdminV1Unauthorized) ToJSONString added in v0.25.0

func (o *DeleteUserRankingAdminV1Unauthorized) ToJSONString() string

type DeleteUserRankingByLeaderboardCodeAdminV1Forbidden added in v0.42.0

type DeleteUserRankingByLeaderboardCodeAdminV1Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingByLeaderboardCodeAdminV1Forbidden 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><tr><td>71241</td><td>forbidden environment</td></tr></table>

func NewDeleteUserRankingByLeaderboardCodeAdminV1Forbidden added in v0.42.0

func NewDeleteUserRankingByLeaderboardCodeAdminV1Forbidden() *DeleteUserRankingByLeaderboardCodeAdminV1Forbidden

NewDeleteUserRankingByLeaderboardCodeAdminV1Forbidden creates a DeleteUserRankingByLeaderboardCodeAdminV1Forbidden with default headers values

func (*DeleteUserRankingByLeaderboardCodeAdminV1Forbidden) Error added in v0.42.0

func (*DeleteUserRankingByLeaderboardCodeAdminV1Forbidden) GetPayload added in v0.42.0

func (*DeleteUserRankingByLeaderboardCodeAdminV1Forbidden) ToJSONString added in v0.42.0

type DeleteUserRankingByLeaderboardCodeAdminV1InternalServerError added in v0.42.0

type DeleteUserRankingByLeaderboardCodeAdminV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingByLeaderboardCodeAdminV1InternalServerError 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 NewDeleteUserRankingByLeaderboardCodeAdminV1InternalServerError added in v0.42.0

func NewDeleteUserRankingByLeaderboardCodeAdminV1InternalServerError() *DeleteUserRankingByLeaderboardCodeAdminV1InternalServerError

NewDeleteUserRankingByLeaderboardCodeAdminV1InternalServerError creates a DeleteUserRankingByLeaderboardCodeAdminV1InternalServerError with default headers values

func (*DeleteUserRankingByLeaderboardCodeAdminV1InternalServerError) Error added in v0.42.0

func (*DeleteUserRankingByLeaderboardCodeAdminV1InternalServerError) GetPayload added in v0.42.0

func (*DeleteUserRankingByLeaderboardCodeAdminV1InternalServerError) ToJSONString added in v0.42.0

type DeleteUserRankingByLeaderboardCodeAdminV1NoContent added in v0.42.0

type DeleteUserRankingByLeaderboardCodeAdminV1NoContent struct {
}

DeleteUserRankingByLeaderboardCodeAdminV1NoContent handles this case with default header values.

Leaderboard deleted

func NewDeleteUserRankingByLeaderboardCodeAdminV1NoContent added in v0.42.0

func NewDeleteUserRankingByLeaderboardCodeAdminV1NoContent() *DeleteUserRankingByLeaderboardCodeAdminV1NoContent

NewDeleteUserRankingByLeaderboardCodeAdminV1NoContent creates a DeleteUserRankingByLeaderboardCodeAdminV1NoContent with default headers values

func (*DeleteUserRankingByLeaderboardCodeAdminV1NoContent) Error added in v0.42.0

type DeleteUserRankingByLeaderboardCodeAdminV1NotFound added in v0.42.0

type DeleteUserRankingByLeaderboardCodeAdminV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingByLeaderboardCodeAdminV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71130</td><td>leaderboard config not found</td></tr></table>

func NewDeleteUserRankingByLeaderboardCodeAdminV1NotFound added in v0.42.0

func NewDeleteUserRankingByLeaderboardCodeAdminV1NotFound() *DeleteUserRankingByLeaderboardCodeAdminV1NotFound

NewDeleteUserRankingByLeaderboardCodeAdminV1NotFound creates a DeleteUserRankingByLeaderboardCodeAdminV1NotFound with default headers values

func (*DeleteUserRankingByLeaderboardCodeAdminV1NotFound) Error added in v0.42.0

func (*DeleteUserRankingByLeaderboardCodeAdminV1NotFound) GetPayload added in v0.42.0

func (*DeleteUserRankingByLeaderboardCodeAdminV1NotFound) ToJSONString added in v0.42.0

type DeleteUserRankingByLeaderboardCodeAdminV1Params added in v0.42.0

type DeleteUserRankingByLeaderboardCodeAdminV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  human readable unique code to indentify leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

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

DeleteUserRankingByLeaderboardCodeAdminV1Params contains all the parameters to send to the API endpoint for the delete user ranking by leaderboard code admin v1 operation typically these are written to a http.Request

func NewDeleteUserRankingByLeaderboardCodeAdminV1Params added in v0.42.0

func NewDeleteUserRankingByLeaderboardCodeAdminV1Params() *DeleteUserRankingByLeaderboardCodeAdminV1Params

NewDeleteUserRankingByLeaderboardCodeAdminV1Params creates a new DeleteUserRankingByLeaderboardCodeAdminV1Params object with the default values initialized.

func NewDeleteUserRankingByLeaderboardCodeAdminV1ParamsWithContext added in v0.42.0

func NewDeleteUserRankingByLeaderboardCodeAdminV1ParamsWithContext(ctx context.Context) *DeleteUserRankingByLeaderboardCodeAdminV1Params

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

func NewDeleteUserRankingByLeaderboardCodeAdminV1ParamsWithHTTPClient added in v0.42.0

func NewDeleteUserRankingByLeaderboardCodeAdminV1ParamsWithHTTPClient(client *http.Client) *DeleteUserRankingByLeaderboardCodeAdminV1Params

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

func NewDeleteUserRankingByLeaderboardCodeAdminV1ParamsWithTimeout added in v0.42.0

func NewDeleteUserRankingByLeaderboardCodeAdminV1ParamsWithTimeout(timeout time.Duration) *DeleteUserRankingByLeaderboardCodeAdminV1Params

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

func (*DeleteUserRankingByLeaderboardCodeAdminV1Params) SetAuthInfoWriter added in v0.42.0

SetAuthInfoWriter adds the authInfoWriter to the delete user ranking by leaderboard code admin v1 params

func (*DeleteUserRankingByLeaderboardCodeAdminV1Params) SetContext added in v0.42.0

SetContext adds the context to the delete user ranking by leaderboard code admin v1 params

func (*DeleteUserRankingByLeaderboardCodeAdminV1Params) SetFlightId added in v0.63.0

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

func (*DeleteUserRankingByLeaderboardCodeAdminV1Params) SetHTTPClient added in v0.42.0

SetHTTPClient adds the HTTPClient to the delete user ranking by leaderboard code admin v1 params

func (*DeleteUserRankingByLeaderboardCodeAdminV1Params) SetHTTPClientTransport added in v0.42.0

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

SetHTTPClient adds the HTTPClient Transport to the delete user ranking by leaderboard code admin v1 params

func (*DeleteUserRankingByLeaderboardCodeAdminV1Params) SetLeaderboardCode added in v0.42.0

func (o *DeleteUserRankingByLeaderboardCodeAdminV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the delete user ranking by leaderboard code admin v1 params

func (*DeleteUserRankingByLeaderboardCodeAdminV1Params) SetNamespace added in v0.42.0

func (o *DeleteUserRankingByLeaderboardCodeAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete user ranking by leaderboard code admin v1 params

func (*DeleteUserRankingByLeaderboardCodeAdminV1Params) SetTimeout added in v0.42.0

SetTimeout adds the timeout to the delete user ranking by leaderboard code admin v1 params

func (*DeleteUserRankingByLeaderboardCodeAdminV1Params) WithContext added in v0.42.0

WithContext adds the context to the delete user ranking by leaderboard code admin v1 params

func (*DeleteUserRankingByLeaderboardCodeAdminV1Params) WithHTTPClient added in v0.42.0

WithHTTPClient adds the HTTPClient to the delete user ranking by leaderboard code admin v1 params

func (*DeleteUserRankingByLeaderboardCodeAdminV1Params) WithLeaderboardCode added in v0.42.0

WithLeaderboardCode adds the leaderboardCode to the delete user ranking by leaderboard code admin v1 params

func (*DeleteUserRankingByLeaderboardCodeAdminV1Params) WithNamespace added in v0.42.0

WithNamespace adds the namespace to the delete user ranking by leaderboard code admin v1 params

func (*DeleteUserRankingByLeaderboardCodeAdminV1Params) WithTimeout added in v0.42.0

WithTimeout adds the timeout to the delete user ranking by leaderboard code admin v1 params

func (*DeleteUserRankingByLeaderboardCodeAdminV1Params) WriteToRequest added in v0.42.0

WriteToRequest writes these params to a swagger request

type DeleteUserRankingByLeaderboardCodeAdminV1Reader added in v0.42.0

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

DeleteUserRankingByLeaderboardCodeAdminV1Reader is a Reader for the DeleteUserRankingByLeaderboardCodeAdminV1 structure.

func (*DeleteUserRankingByLeaderboardCodeAdminV1Reader) ReadResponse added in v0.42.0

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

ReadResponse reads a server response into the received o.

type DeleteUserRankingByLeaderboardCodeAdminV1Unauthorized added in v0.42.0

type DeleteUserRankingByLeaderboardCodeAdminV1Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingByLeaderboardCodeAdminV1Unauthorized 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 NewDeleteUserRankingByLeaderboardCodeAdminV1Unauthorized added in v0.42.0

func NewDeleteUserRankingByLeaderboardCodeAdminV1Unauthorized() *DeleteUserRankingByLeaderboardCodeAdminV1Unauthorized

NewDeleteUserRankingByLeaderboardCodeAdminV1Unauthorized creates a DeleteUserRankingByLeaderboardCodeAdminV1Unauthorized with default headers values

func (*DeleteUserRankingByLeaderboardCodeAdminV1Unauthorized) Error added in v0.42.0

func (*DeleteUserRankingByLeaderboardCodeAdminV1Unauthorized) GetPayload added in v0.42.0

func (*DeleteUserRankingByLeaderboardCodeAdminV1Unauthorized) ToJSONString added in v0.42.0

type DeleteUserRankingPublicV1Forbidden

type DeleteUserRankingPublicV1Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingPublicV1Forbidden 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 NewDeleteUserRankingPublicV1Forbidden

func NewDeleteUserRankingPublicV1Forbidden() *DeleteUserRankingPublicV1Forbidden

NewDeleteUserRankingPublicV1Forbidden creates a DeleteUserRankingPublicV1Forbidden with default headers values

func (*DeleteUserRankingPublicV1Forbidden) Error

func (*DeleteUserRankingPublicV1Forbidden) GetPayload

func (*DeleteUserRankingPublicV1Forbidden) ToJSONString added in v0.25.0

func (o *DeleteUserRankingPublicV1Forbidden) ToJSONString() string

type DeleteUserRankingPublicV1InternalServerError

type DeleteUserRankingPublicV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingPublicV1InternalServerError 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 NewDeleteUserRankingPublicV1InternalServerError

func NewDeleteUserRankingPublicV1InternalServerError() *DeleteUserRankingPublicV1InternalServerError

NewDeleteUserRankingPublicV1InternalServerError creates a DeleteUserRankingPublicV1InternalServerError with default headers values

func (*DeleteUserRankingPublicV1InternalServerError) Error

func (*DeleteUserRankingPublicV1InternalServerError) GetPayload

func (*DeleteUserRankingPublicV1InternalServerError) ToJSONString added in v0.25.0

type DeleteUserRankingPublicV1NoContent

type DeleteUserRankingPublicV1NoContent struct {
}

DeleteUserRankingPublicV1NoContent handles this case with default header values.

User ranking deleted

func NewDeleteUserRankingPublicV1NoContent

func NewDeleteUserRankingPublicV1NoContent() *DeleteUserRankingPublicV1NoContent

NewDeleteUserRankingPublicV1NoContent creates a DeleteUserRankingPublicV1NoContent with default headers values

func (*DeleteUserRankingPublicV1NoContent) Error

type DeleteUserRankingPublicV1NotFound

type DeleteUserRankingPublicV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingPublicV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71230</td><td>leaderboard configuration not found</td></tr><tr><td>71233</td><td>user ranking data not found</td></tr></table>

func NewDeleteUserRankingPublicV1NotFound

func NewDeleteUserRankingPublicV1NotFound() *DeleteUserRankingPublicV1NotFound

NewDeleteUserRankingPublicV1NotFound creates a DeleteUserRankingPublicV1NotFound with default headers values

func (*DeleteUserRankingPublicV1NotFound) Error

func (*DeleteUserRankingPublicV1NotFound) GetPayload

func (*DeleteUserRankingPublicV1NotFound) ToJSONString added in v0.25.0

func (o *DeleteUserRankingPublicV1NotFound) ToJSONString() string

type DeleteUserRankingPublicV1Params

type DeleteUserRankingPublicV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  User ID used for leaderboard entry

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

DeleteUserRankingPublicV1Params contains all the parameters to send to the API endpoint for the delete user ranking public v1 operation typically these are written to a http.Request

func NewDeleteUserRankingPublicV1Params

func NewDeleteUserRankingPublicV1Params() *DeleteUserRankingPublicV1Params

NewDeleteUserRankingPublicV1Params creates a new DeleteUserRankingPublicV1Params object with the default values initialized.

func NewDeleteUserRankingPublicV1ParamsWithContext

func NewDeleteUserRankingPublicV1ParamsWithContext(ctx context.Context) *DeleteUserRankingPublicV1Params

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

func NewDeleteUserRankingPublicV1ParamsWithHTTPClient

func NewDeleteUserRankingPublicV1ParamsWithHTTPClient(client *http.Client) *DeleteUserRankingPublicV1Params

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

func NewDeleteUserRankingPublicV1ParamsWithTimeout

func NewDeleteUserRankingPublicV1ParamsWithTimeout(timeout time.Duration) *DeleteUserRankingPublicV1Params

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

func (*DeleteUserRankingPublicV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the delete user ranking public v1 params

func (*DeleteUserRankingPublicV1Params) SetContext

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

SetContext adds the context to the delete user ranking public v1 params

func (*DeleteUserRankingPublicV1Params) SetFlightId added in v0.63.0

func (o *DeleteUserRankingPublicV1Params) SetFlightId(flightId string)

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

func (*DeleteUserRankingPublicV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user ranking public v1 params

func (*DeleteUserRankingPublicV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the delete user ranking public v1 params

func (*DeleteUserRankingPublicV1Params) SetLeaderboardCode

func (o *DeleteUserRankingPublicV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the delete user ranking public v1 params

func (*DeleteUserRankingPublicV1Params) SetNamespace

func (o *DeleteUserRankingPublicV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete user ranking public v1 params

func (*DeleteUserRankingPublicV1Params) SetTimeout

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

SetTimeout adds the timeout to the delete user ranking public v1 params

func (*DeleteUserRankingPublicV1Params) SetUserID

func (o *DeleteUserRankingPublicV1Params) SetUserID(userID string)

SetUserID adds the userId to the delete user ranking public v1 params

func (*DeleteUserRankingPublicV1Params) WithContext

WithContext adds the context to the delete user ranking public v1 params

func (*DeleteUserRankingPublicV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete user ranking public v1 params

func (*DeleteUserRankingPublicV1Params) WithLeaderboardCode

func (o *DeleteUserRankingPublicV1Params) WithLeaderboardCode(leaderboardCode string) *DeleteUserRankingPublicV1Params

WithLeaderboardCode adds the leaderboardCode to the delete user ranking public v1 params

func (*DeleteUserRankingPublicV1Params) WithNamespace

WithNamespace adds the namespace to the delete user ranking public v1 params

func (*DeleteUserRankingPublicV1Params) WithTimeout

WithTimeout adds the timeout to the delete user ranking public v1 params

func (*DeleteUserRankingPublicV1Params) WithUserID

WithUserID adds the userID to the delete user ranking public v1 params

func (*DeleteUserRankingPublicV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserRankingPublicV1Reader

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

DeleteUserRankingPublicV1Reader is a Reader for the DeleteUserRankingPublicV1 structure.

func (*DeleteUserRankingPublicV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserRankingPublicV1Unauthorized

type DeleteUserRankingPublicV1Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingPublicV1Unauthorized 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 NewDeleteUserRankingPublicV1Unauthorized

func NewDeleteUserRankingPublicV1Unauthorized() *DeleteUserRankingPublicV1Unauthorized

NewDeleteUserRankingPublicV1Unauthorized creates a DeleteUserRankingPublicV1Unauthorized with default headers values

func (*DeleteUserRankingPublicV1Unauthorized) Error

func (*DeleteUserRankingPublicV1Unauthorized) GetPayload

func (*DeleteUserRankingPublicV1Unauthorized) ToJSONString added in v0.25.0

type DeleteUserRankingsAdminV1Forbidden

type DeleteUserRankingsAdminV1Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingsAdminV1Forbidden 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 NewDeleteUserRankingsAdminV1Forbidden

func NewDeleteUserRankingsAdminV1Forbidden() *DeleteUserRankingsAdminV1Forbidden

NewDeleteUserRankingsAdminV1Forbidden creates a DeleteUserRankingsAdminV1Forbidden with default headers values

func (*DeleteUserRankingsAdminV1Forbidden) Error

func (*DeleteUserRankingsAdminV1Forbidden) GetPayload

func (*DeleteUserRankingsAdminV1Forbidden) ToJSONString added in v0.25.0

func (o *DeleteUserRankingsAdminV1Forbidden) ToJSONString() string

type DeleteUserRankingsAdminV1InternalServerError

type DeleteUserRankingsAdminV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingsAdminV1InternalServerError 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 NewDeleteUserRankingsAdminV1InternalServerError

func NewDeleteUserRankingsAdminV1InternalServerError() *DeleteUserRankingsAdminV1InternalServerError

NewDeleteUserRankingsAdminV1InternalServerError creates a DeleteUserRankingsAdminV1InternalServerError with default headers values

func (*DeleteUserRankingsAdminV1InternalServerError) Error

func (*DeleteUserRankingsAdminV1InternalServerError) GetPayload

func (*DeleteUserRankingsAdminV1InternalServerError) ToJSONString added in v0.25.0

type DeleteUserRankingsAdminV1NoContent

type DeleteUserRankingsAdminV1NoContent struct {
}

DeleteUserRankingsAdminV1NoContent handles this case with default header values.

User ranking deleted

func NewDeleteUserRankingsAdminV1NoContent

func NewDeleteUserRankingsAdminV1NoContent() *DeleteUserRankingsAdminV1NoContent

NewDeleteUserRankingsAdminV1NoContent creates a DeleteUserRankingsAdminV1NoContent with default headers values

func (*DeleteUserRankingsAdminV1NoContent) Error

type DeleteUserRankingsAdminV1Params

type DeleteUserRankingsAdminV1Params struct {

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

	*/
	Namespace string
	/*UserID
	  User ID used for leaderboard entry

	*/
	UserID string
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48. At least one leaderboard code MUST be provided

	*/
	LeaderboardCode []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
}

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

func NewDeleteUserRankingsAdminV1Params

func NewDeleteUserRankingsAdminV1Params() *DeleteUserRankingsAdminV1Params

NewDeleteUserRankingsAdminV1Params creates a new DeleteUserRankingsAdminV1Params object with the default values initialized.

func NewDeleteUserRankingsAdminV1ParamsWithContext

func NewDeleteUserRankingsAdminV1ParamsWithContext(ctx context.Context) *DeleteUserRankingsAdminV1Params

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

func NewDeleteUserRankingsAdminV1ParamsWithHTTPClient

func NewDeleteUserRankingsAdminV1ParamsWithHTTPClient(client *http.Client) *DeleteUserRankingsAdminV1Params

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

func NewDeleteUserRankingsAdminV1ParamsWithTimeout

func NewDeleteUserRankingsAdminV1ParamsWithTimeout(timeout time.Duration) *DeleteUserRankingsAdminV1Params

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

func (*DeleteUserRankingsAdminV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the delete user rankings admin v1 params

func (*DeleteUserRankingsAdminV1Params) SetContext

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

SetContext adds the context to the delete user rankings admin v1 params

func (*DeleteUserRankingsAdminV1Params) SetFlightId added in v0.63.0

func (o *DeleteUserRankingsAdminV1Params) SetFlightId(flightId string)

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

func (*DeleteUserRankingsAdminV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user rankings admin v1 params

func (*DeleteUserRankingsAdminV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the delete user rankings admin v1 params

func (*DeleteUserRankingsAdminV1Params) SetLeaderboardCode

func (o *DeleteUserRankingsAdminV1Params) SetLeaderboardCode(leaderboardCode []string)

SetLeaderboardCode adds the leaderboardCode to the delete user rankings admin v1 params

func (*DeleteUserRankingsAdminV1Params) SetNamespace

func (o *DeleteUserRankingsAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete user rankings admin v1 params

func (*DeleteUserRankingsAdminV1Params) SetTimeout

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

SetTimeout adds the timeout to the delete user rankings admin v1 params

func (*DeleteUserRankingsAdminV1Params) SetUserID

func (o *DeleteUserRankingsAdminV1Params) SetUserID(userID string)

SetUserID adds the userId to the delete user rankings admin v1 params

func (*DeleteUserRankingsAdminV1Params) WithContext

WithContext adds the context to the delete user rankings admin v1 params

func (*DeleteUserRankingsAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete user rankings admin v1 params

func (*DeleteUserRankingsAdminV1Params) WithLeaderboardCode

func (o *DeleteUserRankingsAdminV1Params) WithLeaderboardCode(leaderboardCode []string) *DeleteUserRankingsAdminV1Params

WithLeaderboardCode adds the leaderboardCode to the delete user rankings admin v1 params

func (*DeleteUserRankingsAdminV1Params) WithNamespace

WithNamespace adds the namespace to the delete user rankings admin v1 params

func (*DeleteUserRankingsAdminV1Params) WithTimeout

WithTimeout adds the timeout to the delete user rankings admin v1 params

func (*DeleteUserRankingsAdminV1Params) WithUserID

WithUserID adds the userID to the delete user rankings admin v1 params

func (*DeleteUserRankingsAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserRankingsAdminV1Reader

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

DeleteUserRankingsAdminV1Reader is a Reader for the DeleteUserRankingsAdminV1 structure.

func (*DeleteUserRankingsAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserRankingsAdminV1Unauthorized

type DeleteUserRankingsAdminV1Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

DeleteUserRankingsAdminV1Unauthorized 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 NewDeleteUserRankingsAdminV1Unauthorized

func NewDeleteUserRankingsAdminV1Unauthorized() *DeleteUserRankingsAdminV1Unauthorized

NewDeleteUserRankingsAdminV1Unauthorized creates a DeleteUserRankingsAdminV1Unauthorized with default headers values

func (*DeleteUserRankingsAdminV1Unauthorized) Error

func (*DeleteUserRankingsAdminV1Unauthorized) GetPayload

func (*DeleteUserRankingsAdminV1Unauthorized) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingAdminV1BadRequest

type GetAllTimeLeaderboardRankingAdminV1BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetAllTimeLeaderboardRankingAdminV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetAllTimeLeaderboardRankingAdminV1BadRequest

func NewGetAllTimeLeaderboardRankingAdminV1BadRequest() *GetAllTimeLeaderboardRankingAdminV1BadRequest

NewGetAllTimeLeaderboardRankingAdminV1BadRequest creates a GetAllTimeLeaderboardRankingAdminV1BadRequest with default headers values

func (*GetAllTimeLeaderboardRankingAdminV1BadRequest) Error

func (*GetAllTimeLeaderboardRankingAdminV1BadRequest) GetPayload

func (*GetAllTimeLeaderboardRankingAdminV1BadRequest) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingAdminV1Forbidden

type GetAllTimeLeaderboardRankingAdminV1Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetAllTimeLeaderboardRankingAdminV1Forbidden 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 NewGetAllTimeLeaderboardRankingAdminV1Forbidden

func NewGetAllTimeLeaderboardRankingAdminV1Forbidden() *GetAllTimeLeaderboardRankingAdminV1Forbidden

NewGetAllTimeLeaderboardRankingAdminV1Forbidden creates a GetAllTimeLeaderboardRankingAdminV1Forbidden with default headers values

func (*GetAllTimeLeaderboardRankingAdminV1Forbidden) Error

func (*GetAllTimeLeaderboardRankingAdminV1Forbidden) GetPayload

func (*GetAllTimeLeaderboardRankingAdminV1Forbidden) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingAdminV1InternalServerError

type GetAllTimeLeaderboardRankingAdminV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetAllTimeLeaderboardRankingAdminV1InternalServerError 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><tr><td>71236</td><td>leaderboard ranking count failed</td></tr></table>

func NewGetAllTimeLeaderboardRankingAdminV1InternalServerError

func NewGetAllTimeLeaderboardRankingAdminV1InternalServerError() *GetAllTimeLeaderboardRankingAdminV1InternalServerError

NewGetAllTimeLeaderboardRankingAdminV1InternalServerError creates a GetAllTimeLeaderboardRankingAdminV1InternalServerError with default headers values

func (*GetAllTimeLeaderboardRankingAdminV1InternalServerError) Error

func (*GetAllTimeLeaderboardRankingAdminV1InternalServerError) GetPayload

func (*GetAllTimeLeaderboardRankingAdminV1InternalServerError) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingAdminV1NotFound

type GetAllTimeLeaderboardRankingAdminV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetAllTimeLeaderboardRankingAdminV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71130</td><td>leaderboard config not found</td></tr><tr><td>71235</td><td>leaderboard ranking not found</td></tr></table>

func NewGetAllTimeLeaderboardRankingAdminV1NotFound

func NewGetAllTimeLeaderboardRankingAdminV1NotFound() *GetAllTimeLeaderboardRankingAdminV1NotFound

NewGetAllTimeLeaderboardRankingAdminV1NotFound creates a GetAllTimeLeaderboardRankingAdminV1NotFound with default headers values

func (*GetAllTimeLeaderboardRankingAdminV1NotFound) Error

func (*GetAllTimeLeaderboardRankingAdminV1NotFound) GetPayload

func (*GetAllTimeLeaderboardRankingAdminV1NotFound) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingAdminV1OK

type GetAllTimeLeaderboardRankingAdminV1OK struct {
	Payload *leaderboardclientmodels.ModelsGetLeaderboardRankingResp
}

GetAllTimeLeaderboardRankingAdminV1OK handles this case with default header values.

All time leaderboard ranking data retrieved

func NewGetAllTimeLeaderboardRankingAdminV1OK

func NewGetAllTimeLeaderboardRankingAdminV1OK() *GetAllTimeLeaderboardRankingAdminV1OK

NewGetAllTimeLeaderboardRankingAdminV1OK creates a GetAllTimeLeaderboardRankingAdminV1OK with default headers values

func (*GetAllTimeLeaderboardRankingAdminV1OK) Error

func (*GetAllTimeLeaderboardRankingAdminV1OK) GetPayload

func (*GetAllTimeLeaderboardRankingAdminV1OK) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingAdminV1Params

type GetAllTimeLeaderboardRankingAdminV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

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

GetAllTimeLeaderboardRankingAdminV1Params contains all the parameters to send to the API endpoint for the get all time leaderboard ranking admin v1 operation typically these are written to a http.Request

func NewGetAllTimeLeaderboardRankingAdminV1Params

func NewGetAllTimeLeaderboardRankingAdminV1Params() *GetAllTimeLeaderboardRankingAdminV1Params

NewGetAllTimeLeaderboardRankingAdminV1Params creates a new GetAllTimeLeaderboardRankingAdminV1Params object with the default values initialized.

func NewGetAllTimeLeaderboardRankingAdminV1ParamsWithContext

func NewGetAllTimeLeaderboardRankingAdminV1ParamsWithContext(ctx context.Context) *GetAllTimeLeaderboardRankingAdminV1Params

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

func NewGetAllTimeLeaderboardRankingAdminV1ParamsWithHTTPClient

func NewGetAllTimeLeaderboardRankingAdminV1ParamsWithHTTPClient(client *http.Client) *GetAllTimeLeaderboardRankingAdminV1Params

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

func NewGetAllTimeLeaderboardRankingAdminV1ParamsWithTimeout

func NewGetAllTimeLeaderboardRankingAdminV1ParamsWithTimeout(timeout time.Duration) *GetAllTimeLeaderboardRankingAdminV1Params

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

func (*GetAllTimeLeaderboardRankingAdminV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) SetContext

SetContext adds the context to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) SetFlightId added in v0.63.0

func (o *GetAllTimeLeaderboardRankingAdminV1Params) SetFlightId(flightId string)

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

func (*GetAllTimeLeaderboardRankingAdminV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) SetLeaderboardCode

func (o *GetAllTimeLeaderboardRankingAdminV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) SetLimit

SetLimit adds the limit to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) SetNamespace

func (o *GetAllTimeLeaderboardRankingAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) SetOffset

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

SetOffset adds the offset to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) SetTimeout

SetTimeout adds the timeout to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) WithContext

WithContext adds the context to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) WithLeaderboardCode

WithLeaderboardCode adds the leaderboardCode to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) WithLimit

WithLimit adds the limit to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) WithNamespace

WithNamespace adds the namespace to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) WithOffset

WithOffset adds the offset to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) WithTimeout

WithTimeout adds the timeout to the get all time leaderboard ranking admin v1 params

func (*GetAllTimeLeaderboardRankingAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllTimeLeaderboardRankingAdminV1Reader

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

GetAllTimeLeaderboardRankingAdminV1Reader is a Reader for the GetAllTimeLeaderboardRankingAdminV1 structure.

func (*GetAllTimeLeaderboardRankingAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllTimeLeaderboardRankingAdminV1Unauthorized

type GetAllTimeLeaderboardRankingAdminV1Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetAllTimeLeaderboardRankingAdminV1Unauthorized 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 NewGetAllTimeLeaderboardRankingAdminV1Unauthorized

func NewGetAllTimeLeaderboardRankingAdminV1Unauthorized() *GetAllTimeLeaderboardRankingAdminV1Unauthorized

NewGetAllTimeLeaderboardRankingAdminV1Unauthorized creates a GetAllTimeLeaderboardRankingAdminV1Unauthorized with default headers values

func (*GetAllTimeLeaderboardRankingAdminV1Unauthorized) Error

func (*GetAllTimeLeaderboardRankingAdminV1Unauthorized) GetPayload

func (*GetAllTimeLeaderboardRankingAdminV1Unauthorized) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingPublicV1BadRequest

type GetAllTimeLeaderboardRankingPublicV1BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetAllTimeLeaderboardRankingPublicV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetAllTimeLeaderboardRankingPublicV1BadRequest

func NewGetAllTimeLeaderboardRankingPublicV1BadRequest() *GetAllTimeLeaderboardRankingPublicV1BadRequest

NewGetAllTimeLeaderboardRankingPublicV1BadRequest creates a GetAllTimeLeaderboardRankingPublicV1BadRequest with default headers values

func (*GetAllTimeLeaderboardRankingPublicV1BadRequest) Error

func (*GetAllTimeLeaderboardRankingPublicV1BadRequest) GetPayload

func (*GetAllTimeLeaderboardRankingPublicV1BadRequest) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingPublicV1InternalServerError

type GetAllTimeLeaderboardRankingPublicV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetAllTimeLeaderboardRankingPublicV1InternalServerError 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><tr><td>71236</td><td>leaderboard ranking count failed</td></tr></table>

func NewGetAllTimeLeaderboardRankingPublicV1InternalServerError

func NewGetAllTimeLeaderboardRankingPublicV1InternalServerError() *GetAllTimeLeaderboardRankingPublicV1InternalServerError

NewGetAllTimeLeaderboardRankingPublicV1InternalServerError creates a GetAllTimeLeaderboardRankingPublicV1InternalServerError with default headers values

func (*GetAllTimeLeaderboardRankingPublicV1InternalServerError) Error

func (*GetAllTimeLeaderboardRankingPublicV1InternalServerError) GetPayload

func (*GetAllTimeLeaderboardRankingPublicV1InternalServerError) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingPublicV1NotFound

type GetAllTimeLeaderboardRankingPublicV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetAllTimeLeaderboardRankingPublicV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71230</td><td>leaderboard configuration not found</td></tr><tr><td>71235</td><td>leaderboard ranking not found</td></tr></table>

func NewGetAllTimeLeaderboardRankingPublicV1NotFound

func NewGetAllTimeLeaderboardRankingPublicV1NotFound() *GetAllTimeLeaderboardRankingPublicV1NotFound

NewGetAllTimeLeaderboardRankingPublicV1NotFound creates a GetAllTimeLeaderboardRankingPublicV1NotFound with default headers values

func (*GetAllTimeLeaderboardRankingPublicV1NotFound) Error

func (*GetAllTimeLeaderboardRankingPublicV1NotFound) GetPayload

func (*GetAllTimeLeaderboardRankingPublicV1NotFound) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingPublicV1OK

type GetAllTimeLeaderboardRankingPublicV1OK struct {
	Payload *leaderboardclientmodels.ModelsGetLeaderboardRankingResp
}

GetAllTimeLeaderboardRankingPublicV1OK handles this case with default header values.

All time leaderboard ranking data retrieved

func NewGetAllTimeLeaderboardRankingPublicV1OK

func NewGetAllTimeLeaderboardRankingPublicV1OK() *GetAllTimeLeaderboardRankingPublicV1OK

NewGetAllTimeLeaderboardRankingPublicV1OK creates a GetAllTimeLeaderboardRankingPublicV1OK with default headers values

func (*GetAllTimeLeaderboardRankingPublicV1OK) Error

func (*GetAllTimeLeaderboardRankingPublicV1OK) GetPayload

func (*GetAllTimeLeaderboardRankingPublicV1OK) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingPublicV1Params

type GetAllTimeLeaderboardRankingPublicV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

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

GetAllTimeLeaderboardRankingPublicV1Params contains all the parameters to send to the API endpoint for the get all time leaderboard ranking public v1 operation typically these are written to a http.Request

func NewGetAllTimeLeaderboardRankingPublicV1Params

func NewGetAllTimeLeaderboardRankingPublicV1Params() *GetAllTimeLeaderboardRankingPublicV1Params

NewGetAllTimeLeaderboardRankingPublicV1Params creates a new GetAllTimeLeaderboardRankingPublicV1Params object with the default values initialized.

func NewGetAllTimeLeaderboardRankingPublicV1ParamsWithContext

func NewGetAllTimeLeaderboardRankingPublicV1ParamsWithContext(ctx context.Context) *GetAllTimeLeaderboardRankingPublicV1Params

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

func NewGetAllTimeLeaderboardRankingPublicV1ParamsWithHTTPClient

func NewGetAllTimeLeaderboardRankingPublicV1ParamsWithHTTPClient(client *http.Client) *GetAllTimeLeaderboardRankingPublicV1Params

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

func NewGetAllTimeLeaderboardRankingPublicV1ParamsWithTimeout

func NewGetAllTimeLeaderboardRankingPublicV1ParamsWithTimeout(timeout time.Duration) *GetAllTimeLeaderboardRankingPublicV1Params

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

func (*GetAllTimeLeaderboardRankingPublicV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) SetContext

SetContext adds the context to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) SetFlightId added in v0.63.0

func (o *GetAllTimeLeaderboardRankingPublicV1Params) SetFlightId(flightId string)

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

func (*GetAllTimeLeaderboardRankingPublicV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) SetLeaderboardCode

func (o *GetAllTimeLeaderboardRankingPublicV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) SetLimit

SetLimit adds the limit to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) SetNamespace

func (o *GetAllTimeLeaderboardRankingPublicV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) SetOffset

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

SetOffset adds the offset to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) SetTimeout

SetTimeout adds the timeout to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) WithContext

WithContext adds the context to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) WithLeaderboardCode

WithLeaderboardCode adds the leaderboardCode to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) WithLimit

WithLimit adds the limit to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) WithNamespace

WithNamespace adds the namespace to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) WithOffset

WithOffset adds the offset to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) WithTimeout

WithTimeout adds the timeout to the get all time leaderboard ranking public v1 params

func (*GetAllTimeLeaderboardRankingPublicV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllTimeLeaderboardRankingPublicV1Reader

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

GetAllTimeLeaderboardRankingPublicV1Reader is a Reader for the GetAllTimeLeaderboardRankingPublicV1 structure.

func (*GetAllTimeLeaderboardRankingPublicV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllTimeLeaderboardRankingPublicV2BadRequest

type GetAllTimeLeaderboardRankingPublicV2BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetAllTimeLeaderboardRankingPublicV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetAllTimeLeaderboardRankingPublicV2BadRequest

func NewGetAllTimeLeaderboardRankingPublicV2BadRequest() *GetAllTimeLeaderboardRankingPublicV2BadRequest

NewGetAllTimeLeaderboardRankingPublicV2BadRequest creates a GetAllTimeLeaderboardRankingPublicV2BadRequest with default headers values

func (*GetAllTimeLeaderboardRankingPublicV2BadRequest) Error

func (*GetAllTimeLeaderboardRankingPublicV2BadRequest) GetPayload

func (*GetAllTimeLeaderboardRankingPublicV2BadRequest) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingPublicV2Forbidden

type GetAllTimeLeaderboardRankingPublicV2Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetAllTimeLeaderboardRankingPublicV2Forbidden 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 NewGetAllTimeLeaderboardRankingPublicV2Forbidden

func NewGetAllTimeLeaderboardRankingPublicV2Forbidden() *GetAllTimeLeaderboardRankingPublicV2Forbidden

NewGetAllTimeLeaderboardRankingPublicV2Forbidden creates a GetAllTimeLeaderboardRankingPublicV2Forbidden with default headers values

func (*GetAllTimeLeaderboardRankingPublicV2Forbidden) Error

func (*GetAllTimeLeaderboardRankingPublicV2Forbidden) GetPayload

func (*GetAllTimeLeaderboardRankingPublicV2Forbidden) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingPublicV2InternalServerError

type GetAllTimeLeaderboardRankingPublicV2InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetAllTimeLeaderboardRankingPublicV2InternalServerError 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 NewGetAllTimeLeaderboardRankingPublicV2InternalServerError

func NewGetAllTimeLeaderboardRankingPublicV2InternalServerError() *GetAllTimeLeaderboardRankingPublicV2InternalServerError

NewGetAllTimeLeaderboardRankingPublicV2InternalServerError creates a GetAllTimeLeaderboardRankingPublicV2InternalServerError with default headers values

func (*GetAllTimeLeaderboardRankingPublicV2InternalServerError) Error

func (*GetAllTimeLeaderboardRankingPublicV2InternalServerError) GetPayload

func (*GetAllTimeLeaderboardRankingPublicV2InternalServerError) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingPublicV2NotFound

type GetAllTimeLeaderboardRankingPublicV2NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetAllTimeLeaderboardRankingPublicV2NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71130</td><td>leaderboard config not found</td></tr></table>

func NewGetAllTimeLeaderboardRankingPublicV2NotFound

func NewGetAllTimeLeaderboardRankingPublicV2NotFound() *GetAllTimeLeaderboardRankingPublicV2NotFound

NewGetAllTimeLeaderboardRankingPublicV2NotFound creates a GetAllTimeLeaderboardRankingPublicV2NotFound with default headers values

func (*GetAllTimeLeaderboardRankingPublicV2NotFound) Error

func (*GetAllTimeLeaderboardRankingPublicV2NotFound) GetPayload

func (*GetAllTimeLeaderboardRankingPublicV2NotFound) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingPublicV2OK

type GetAllTimeLeaderboardRankingPublicV2OK struct {
	Payload *leaderboardclientmodels.V2GetPublicLeaderboardRankingResponse
}

GetAllTimeLeaderboardRankingPublicV2OK handles this case with default header values.

All time leaderboard ranking retrieved

func NewGetAllTimeLeaderboardRankingPublicV2OK

func NewGetAllTimeLeaderboardRankingPublicV2OK() *GetAllTimeLeaderboardRankingPublicV2OK

NewGetAllTimeLeaderboardRankingPublicV2OK creates a GetAllTimeLeaderboardRankingPublicV2OK with default headers values

func (*GetAllTimeLeaderboardRankingPublicV2OK) Error

func (*GetAllTimeLeaderboardRankingPublicV2OK) GetPayload

func (*GetAllTimeLeaderboardRankingPublicV2OK) ToJSONString added in v0.25.0

type GetAllTimeLeaderboardRankingPublicV2Params

type GetAllTimeLeaderboardRankingPublicV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

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

GetAllTimeLeaderboardRankingPublicV2Params contains all the parameters to send to the API endpoint for the get all time leaderboard ranking public v2 operation typically these are written to a http.Request

func NewGetAllTimeLeaderboardRankingPublicV2Params

func NewGetAllTimeLeaderboardRankingPublicV2Params() *GetAllTimeLeaderboardRankingPublicV2Params

NewGetAllTimeLeaderboardRankingPublicV2Params creates a new GetAllTimeLeaderboardRankingPublicV2Params object with the default values initialized.

func NewGetAllTimeLeaderboardRankingPublicV2ParamsWithContext

func NewGetAllTimeLeaderboardRankingPublicV2ParamsWithContext(ctx context.Context) *GetAllTimeLeaderboardRankingPublicV2Params

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

func NewGetAllTimeLeaderboardRankingPublicV2ParamsWithHTTPClient

func NewGetAllTimeLeaderboardRankingPublicV2ParamsWithHTTPClient(client *http.Client) *GetAllTimeLeaderboardRankingPublicV2Params

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

func NewGetAllTimeLeaderboardRankingPublicV2ParamsWithTimeout

func NewGetAllTimeLeaderboardRankingPublicV2ParamsWithTimeout(timeout time.Duration) *GetAllTimeLeaderboardRankingPublicV2Params

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

func (*GetAllTimeLeaderboardRankingPublicV2Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) SetContext

SetContext adds the context to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) SetFlightId added in v0.63.0

func (o *GetAllTimeLeaderboardRankingPublicV2Params) SetFlightId(flightId string)

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

func (*GetAllTimeLeaderboardRankingPublicV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) SetLeaderboardCode

func (o *GetAllTimeLeaderboardRankingPublicV2Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) SetLimit

SetLimit adds the limit to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) SetNamespace

func (o *GetAllTimeLeaderboardRankingPublicV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) SetOffset

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

SetOffset adds the offset to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) SetTimeout

SetTimeout adds the timeout to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) WithContext

WithContext adds the context to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) WithLeaderboardCode

WithLeaderboardCode adds the leaderboardCode to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) WithLimit

WithLimit adds the limit to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) WithNamespace

WithNamespace adds the namespace to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) WithOffset

WithOffset adds the offset to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) WithTimeout

WithTimeout adds the timeout to the get all time leaderboard ranking public v2 params

func (*GetAllTimeLeaderboardRankingPublicV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllTimeLeaderboardRankingPublicV2Reader

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

GetAllTimeLeaderboardRankingPublicV2Reader is a Reader for the GetAllTimeLeaderboardRankingPublicV2 structure.

func (*GetAllTimeLeaderboardRankingPublicV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllTimeLeaderboardRankingPublicV2Unauthorized

type GetAllTimeLeaderboardRankingPublicV2Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetAllTimeLeaderboardRankingPublicV2Unauthorized 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 NewGetAllTimeLeaderboardRankingPublicV2Unauthorized

func NewGetAllTimeLeaderboardRankingPublicV2Unauthorized() *GetAllTimeLeaderboardRankingPublicV2Unauthorized

NewGetAllTimeLeaderboardRankingPublicV2Unauthorized creates a GetAllTimeLeaderboardRankingPublicV2Unauthorized with default headers values

func (*GetAllTimeLeaderboardRankingPublicV2Unauthorized) Error

func (*GetAllTimeLeaderboardRankingPublicV2Unauthorized) GetPayload

func (*GetAllTimeLeaderboardRankingPublicV2Unauthorized) ToJSONString added in v0.25.0

type GetArchivedLeaderboardRankingDataV1HandlerBadRequest

type GetArchivedLeaderboardRankingDataV1HandlerBadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetArchivedLeaderboardRankingDataV1HandlerBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>71239</td><td>leaderboard is not archived</td></tr></table>

func NewGetArchivedLeaderboardRankingDataV1HandlerBadRequest

func NewGetArchivedLeaderboardRankingDataV1HandlerBadRequest() *GetArchivedLeaderboardRankingDataV1HandlerBadRequest

NewGetArchivedLeaderboardRankingDataV1HandlerBadRequest creates a GetArchivedLeaderboardRankingDataV1HandlerBadRequest with default headers values

func (*GetArchivedLeaderboardRankingDataV1HandlerBadRequest) Error

func (*GetArchivedLeaderboardRankingDataV1HandlerBadRequest) GetPayload

func (*GetArchivedLeaderboardRankingDataV1HandlerBadRequest) ToJSONString added in v0.25.0

type GetArchivedLeaderboardRankingDataV1HandlerForbidden

type GetArchivedLeaderboardRankingDataV1HandlerForbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetArchivedLeaderboardRankingDataV1HandlerForbidden 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 NewGetArchivedLeaderboardRankingDataV1HandlerForbidden

func NewGetArchivedLeaderboardRankingDataV1HandlerForbidden() *GetArchivedLeaderboardRankingDataV1HandlerForbidden

NewGetArchivedLeaderboardRankingDataV1HandlerForbidden creates a GetArchivedLeaderboardRankingDataV1HandlerForbidden with default headers values

func (*GetArchivedLeaderboardRankingDataV1HandlerForbidden) Error

func (*GetArchivedLeaderboardRankingDataV1HandlerForbidden) GetPayload

func (*GetArchivedLeaderboardRankingDataV1HandlerForbidden) ToJSONString added in v0.25.0

type GetArchivedLeaderboardRankingDataV1HandlerInternalServerError

type GetArchivedLeaderboardRankingDataV1HandlerInternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetArchivedLeaderboardRankingDataV1HandlerInternalServerError 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 NewGetArchivedLeaderboardRankingDataV1HandlerInternalServerError

func NewGetArchivedLeaderboardRankingDataV1HandlerInternalServerError() *GetArchivedLeaderboardRankingDataV1HandlerInternalServerError

NewGetArchivedLeaderboardRankingDataV1HandlerInternalServerError creates a GetArchivedLeaderboardRankingDataV1HandlerInternalServerError with default headers values

func (*GetArchivedLeaderboardRankingDataV1HandlerInternalServerError) Error

func (*GetArchivedLeaderboardRankingDataV1HandlerInternalServerError) GetPayload

func (*GetArchivedLeaderboardRankingDataV1HandlerInternalServerError) ToJSONString added in v0.25.0

type GetArchivedLeaderboardRankingDataV1HandlerNotFound

type GetArchivedLeaderboardRankingDataV1HandlerNotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetArchivedLeaderboardRankingDataV1HandlerNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71230</td><td>leaderboard configuration not found</td></tr></table>

func NewGetArchivedLeaderboardRankingDataV1HandlerNotFound

func NewGetArchivedLeaderboardRankingDataV1HandlerNotFound() *GetArchivedLeaderboardRankingDataV1HandlerNotFound

NewGetArchivedLeaderboardRankingDataV1HandlerNotFound creates a GetArchivedLeaderboardRankingDataV1HandlerNotFound with default headers values

func (*GetArchivedLeaderboardRankingDataV1HandlerNotFound) Error

func (*GetArchivedLeaderboardRankingDataV1HandlerNotFound) GetPayload

func (*GetArchivedLeaderboardRankingDataV1HandlerNotFound) ToJSONString added in v0.25.0

type GetArchivedLeaderboardRankingDataV1HandlerOK

type GetArchivedLeaderboardRankingDataV1HandlerOK struct {
	Payload []*leaderboardclientmodels.ModelsArchiveLeaderboardSignedURLResponse
}

GetArchivedLeaderboardRankingDataV1HandlerOK handles this case with default header values.

Archived leaderboard retrieved

func NewGetArchivedLeaderboardRankingDataV1HandlerOK

func NewGetArchivedLeaderboardRankingDataV1HandlerOK() *GetArchivedLeaderboardRankingDataV1HandlerOK

NewGetArchivedLeaderboardRankingDataV1HandlerOK creates a GetArchivedLeaderboardRankingDataV1HandlerOK with default headers values

func (*GetArchivedLeaderboardRankingDataV1HandlerOK) Error

func (*GetArchivedLeaderboardRankingDataV1HandlerOK) GetPayload

func (*GetArchivedLeaderboardRankingDataV1HandlerOK) ToJSONString added in v0.25.0

type GetArchivedLeaderboardRankingDataV1HandlerParams

type GetArchivedLeaderboardRankingDataV1HandlerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Slug
	  slug type of leaderboard

	*/
	Slug *string
	/*LeaderboardCodes
	  list of leaderboard codes split by comma

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

GetArchivedLeaderboardRankingDataV1HandlerParams contains all the parameters to send to the API endpoint for the get archived leaderboard ranking data v1 handler operation typically these are written to a http.Request

func NewGetArchivedLeaderboardRankingDataV1HandlerParams

func NewGetArchivedLeaderboardRankingDataV1HandlerParams() *GetArchivedLeaderboardRankingDataV1HandlerParams

NewGetArchivedLeaderboardRankingDataV1HandlerParams creates a new GetArchivedLeaderboardRankingDataV1HandlerParams object with the default values initialized.

func NewGetArchivedLeaderboardRankingDataV1HandlerParamsWithContext

func NewGetArchivedLeaderboardRankingDataV1HandlerParamsWithContext(ctx context.Context) *GetArchivedLeaderboardRankingDataV1HandlerParams

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

func NewGetArchivedLeaderboardRankingDataV1HandlerParamsWithHTTPClient

func NewGetArchivedLeaderboardRankingDataV1HandlerParamsWithHTTPClient(client *http.Client) *GetArchivedLeaderboardRankingDataV1HandlerParams

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

func NewGetArchivedLeaderboardRankingDataV1HandlerParamsWithTimeout

func NewGetArchivedLeaderboardRankingDataV1HandlerParamsWithTimeout(timeout time.Duration) *GetArchivedLeaderboardRankingDataV1HandlerParams

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

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) SetAuthInfoWriter added in v0.17.0

SetAuthInfoWriter adds the authInfoWriter to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) SetContext

SetContext adds the context to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) SetFlightId added in v0.63.0

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

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) SetLeaderboardCode

func (o *GetArchivedLeaderboardRankingDataV1HandlerParams) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) SetLeaderboardCodes

func (o *GetArchivedLeaderboardRankingDataV1HandlerParams) SetLeaderboardCodes(leaderboardCodes string)

SetLeaderboardCodes adds the leaderboardCodes to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) SetNamespace

func (o *GetArchivedLeaderboardRankingDataV1HandlerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) SetSlug

SetSlug adds the slug to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) SetTimeout

SetTimeout adds the timeout to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) WithContext

WithContext adds the context to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) WithLeaderboardCode

WithLeaderboardCode adds the leaderboardCode to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) WithLeaderboardCodes

WithLeaderboardCodes adds the leaderboardCodes to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) WithNamespace

WithNamespace adds the namespace to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) WithSlug

WithSlug adds the slug to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) WithTimeout

WithTimeout adds the timeout to the get archived leaderboard ranking data v1 handler params

func (*GetArchivedLeaderboardRankingDataV1HandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetArchivedLeaderboardRankingDataV1HandlerReader

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

GetArchivedLeaderboardRankingDataV1HandlerReader is a Reader for the GetArchivedLeaderboardRankingDataV1Handler structure.

func (*GetArchivedLeaderboardRankingDataV1HandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetArchivedLeaderboardRankingDataV1HandlerUnauthorized

type GetArchivedLeaderboardRankingDataV1HandlerUnauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetArchivedLeaderboardRankingDataV1HandlerUnauthorized 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 NewGetArchivedLeaderboardRankingDataV1HandlerUnauthorized

func NewGetArchivedLeaderboardRankingDataV1HandlerUnauthorized() *GetArchivedLeaderboardRankingDataV1HandlerUnauthorized

NewGetArchivedLeaderboardRankingDataV1HandlerUnauthorized creates a GetArchivedLeaderboardRankingDataV1HandlerUnauthorized with default headers values

func (*GetArchivedLeaderboardRankingDataV1HandlerUnauthorized) Error

func (*GetArchivedLeaderboardRankingDataV1HandlerUnauthorized) GetPayload

func (*GetArchivedLeaderboardRankingDataV1HandlerUnauthorized) ToJSONString added in v0.25.0

type GetCurrentMonthLeaderboardRankingAdminV1BadRequest

type GetCurrentMonthLeaderboardRankingAdminV1BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentMonthLeaderboardRankingAdminV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetCurrentMonthLeaderboardRankingAdminV1BadRequest

func NewGetCurrentMonthLeaderboardRankingAdminV1BadRequest() *GetCurrentMonthLeaderboardRankingAdminV1BadRequest

NewGetCurrentMonthLeaderboardRankingAdminV1BadRequest creates a GetCurrentMonthLeaderboardRankingAdminV1BadRequest with default headers values

func (*GetCurrentMonthLeaderboardRankingAdminV1BadRequest) Error

func (*GetCurrentMonthLeaderboardRankingAdminV1BadRequest) GetPayload

func (*GetCurrentMonthLeaderboardRankingAdminV1BadRequest) ToJSONString added in v0.25.0

type GetCurrentMonthLeaderboardRankingAdminV1Forbidden

type GetCurrentMonthLeaderboardRankingAdminV1Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentMonthLeaderboardRankingAdminV1Forbidden 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 NewGetCurrentMonthLeaderboardRankingAdminV1Forbidden

func NewGetCurrentMonthLeaderboardRankingAdminV1Forbidden() *GetCurrentMonthLeaderboardRankingAdminV1Forbidden

NewGetCurrentMonthLeaderboardRankingAdminV1Forbidden creates a GetCurrentMonthLeaderboardRankingAdminV1Forbidden with default headers values

func (*GetCurrentMonthLeaderboardRankingAdminV1Forbidden) Error

func (*GetCurrentMonthLeaderboardRankingAdminV1Forbidden) GetPayload

func (*GetCurrentMonthLeaderboardRankingAdminV1Forbidden) ToJSONString added in v0.25.0

type GetCurrentMonthLeaderboardRankingAdminV1InternalServerError

type GetCurrentMonthLeaderboardRankingAdminV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentMonthLeaderboardRankingAdminV1InternalServerError 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><tr><td>71236</td><td>leaderboard ranking count failed</td></tr></table>

func NewGetCurrentMonthLeaderboardRankingAdminV1InternalServerError

func NewGetCurrentMonthLeaderboardRankingAdminV1InternalServerError() *GetCurrentMonthLeaderboardRankingAdminV1InternalServerError

NewGetCurrentMonthLeaderboardRankingAdminV1InternalServerError creates a GetCurrentMonthLeaderboardRankingAdminV1InternalServerError with default headers values

func (*GetCurrentMonthLeaderboardRankingAdminV1InternalServerError) Error

func (*GetCurrentMonthLeaderboardRankingAdminV1InternalServerError) GetPayload

func (*GetCurrentMonthLeaderboardRankingAdminV1InternalServerError) ToJSONString added in v0.25.0

type GetCurrentMonthLeaderboardRankingAdminV1NotFound

type GetCurrentMonthLeaderboardRankingAdminV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentMonthLeaderboardRankingAdminV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71130</td><td>leaderboard config not found</td></tr><tr><td>71235</td><td>leaderboard ranking not found</td></tr></table>

func NewGetCurrentMonthLeaderboardRankingAdminV1NotFound

func NewGetCurrentMonthLeaderboardRankingAdminV1NotFound() *GetCurrentMonthLeaderboardRankingAdminV1NotFound

NewGetCurrentMonthLeaderboardRankingAdminV1NotFound creates a GetCurrentMonthLeaderboardRankingAdminV1NotFound with default headers values

func (*GetCurrentMonthLeaderboardRankingAdminV1NotFound) Error

func (*GetCurrentMonthLeaderboardRankingAdminV1NotFound) GetPayload

func (*GetCurrentMonthLeaderboardRankingAdminV1NotFound) ToJSONString added in v0.25.0

type GetCurrentMonthLeaderboardRankingAdminV1OK

type GetCurrentMonthLeaderboardRankingAdminV1OK struct {
	Payload *leaderboardclientmodels.ModelsGetLeaderboardRankingResp
}

GetCurrentMonthLeaderboardRankingAdminV1OK handles this case with default header values.

Current month leaderboard ranking retrieved

func NewGetCurrentMonthLeaderboardRankingAdminV1OK

func NewGetCurrentMonthLeaderboardRankingAdminV1OK() *GetCurrentMonthLeaderboardRankingAdminV1OK

NewGetCurrentMonthLeaderboardRankingAdminV1OK creates a GetCurrentMonthLeaderboardRankingAdminV1OK with default headers values

func (*GetCurrentMonthLeaderboardRankingAdminV1OK) Error

func (*GetCurrentMonthLeaderboardRankingAdminV1OK) GetPayload

func (*GetCurrentMonthLeaderboardRankingAdminV1OK) ToJSONString added in v0.25.0

type GetCurrentMonthLeaderboardRankingAdminV1Params

type GetCurrentMonthLeaderboardRankingAdminV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

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

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

GetCurrentMonthLeaderboardRankingAdminV1Params contains all the parameters to send to the API endpoint for the get current month leaderboard ranking admin v1 operation typically these are written to a http.Request

func NewGetCurrentMonthLeaderboardRankingAdminV1Params

func NewGetCurrentMonthLeaderboardRankingAdminV1Params() *GetCurrentMonthLeaderboardRankingAdminV1Params

NewGetCurrentMonthLeaderboardRankingAdminV1Params creates a new GetCurrentMonthLeaderboardRankingAdminV1Params object with the default values initialized.

func NewGetCurrentMonthLeaderboardRankingAdminV1ParamsWithContext

func NewGetCurrentMonthLeaderboardRankingAdminV1ParamsWithContext(ctx context.Context) *GetCurrentMonthLeaderboardRankingAdminV1Params

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

func NewGetCurrentMonthLeaderboardRankingAdminV1ParamsWithHTTPClient

func NewGetCurrentMonthLeaderboardRankingAdminV1ParamsWithHTTPClient(client *http.Client) *GetCurrentMonthLeaderboardRankingAdminV1Params

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

func NewGetCurrentMonthLeaderboardRankingAdminV1ParamsWithTimeout

func NewGetCurrentMonthLeaderboardRankingAdminV1ParamsWithTimeout(timeout time.Duration) *GetCurrentMonthLeaderboardRankingAdminV1Params

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

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) SetAuthInfoWriter added in v0.17.0

SetAuthInfoWriter adds the authInfoWriter to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) SetContext

SetContext adds the context to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) SetFlightId added in v0.63.0

func (o *GetCurrentMonthLeaderboardRankingAdminV1Params) SetFlightId(flightId string)

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

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) SetLeaderboardCode

func (o *GetCurrentMonthLeaderboardRankingAdminV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) SetLimit

SetLimit adds the limit to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) SetNamespace

func (o *GetCurrentMonthLeaderboardRankingAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) SetOffset

SetOffset adds the offset to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) SetPreviousVersion added in v0.47.0

func (o *GetCurrentMonthLeaderboardRankingAdminV1Params) SetPreviousVersion(previousVersion *int64)

SetPreviousVersion adds the previousVersion to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) SetTimeout

SetTimeout adds the timeout to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) WithContext

WithContext adds the context to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) WithLeaderboardCode

WithLeaderboardCode adds the leaderboardCode to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) WithLimit

WithLimit adds the limit to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) WithNamespace

WithNamespace adds the namespace to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) WithOffset

WithOffset adds the offset to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) WithPreviousVersion added in v0.47.0

WithPreviousVersion adds the previousVersion to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) WithTimeout

WithTimeout adds the timeout to the get current month leaderboard ranking admin v1 params

func (*GetCurrentMonthLeaderboardRankingAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentMonthLeaderboardRankingAdminV1Reader

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

GetCurrentMonthLeaderboardRankingAdminV1Reader is a Reader for the GetCurrentMonthLeaderboardRankingAdminV1 structure.

func (*GetCurrentMonthLeaderboardRankingAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCurrentMonthLeaderboardRankingAdminV1Unauthorized

type GetCurrentMonthLeaderboardRankingAdminV1Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentMonthLeaderboardRankingAdminV1Unauthorized 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 NewGetCurrentMonthLeaderboardRankingAdminV1Unauthorized

func NewGetCurrentMonthLeaderboardRankingAdminV1Unauthorized() *GetCurrentMonthLeaderboardRankingAdminV1Unauthorized

NewGetCurrentMonthLeaderboardRankingAdminV1Unauthorized creates a GetCurrentMonthLeaderboardRankingAdminV1Unauthorized with default headers values

func (*GetCurrentMonthLeaderboardRankingAdminV1Unauthorized) Error

func (*GetCurrentMonthLeaderboardRankingAdminV1Unauthorized) GetPayload

func (*GetCurrentMonthLeaderboardRankingAdminV1Unauthorized) ToJSONString added in v0.25.0

type GetCurrentMonthLeaderboardRankingPublicV1BadRequest

type GetCurrentMonthLeaderboardRankingPublicV1BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentMonthLeaderboardRankingPublicV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetCurrentMonthLeaderboardRankingPublicV1BadRequest

func NewGetCurrentMonthLeaderboardRankingPublicV1BadRequest() *GetCurrentMonthLeaderboardRankingPublicV1BadRequest

NewGetCurrentMonthLeaderboardRankingPublicV1BadRequest creates a GetCurrentMonthLeaderboardRankingPublicV1BadRequest with default headers values

func (*GetCurrentMonthLeaderboardRankingPublicV1BadRequest) Error

func (*GetCurrentMonthLeaderboardRankingPublicV1BadRequest) GetPayload

func (*GetCurrentMonthLeaderboardRankingPublicV1BadRequest) ToJSONString added in v0.25.0

type GetCurrentMonthLeaderboardRankingPublicV1InternalServerError

type GetCurrentMonthLeaderboardRankingPublicV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentMonthLeaderboardRankingPublicV1InternalServerError 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><tr><td>71236</td><td>leaderboard ranking count failed</td></tr></table>

func NewGetCurrentMonthLeaderboardRankingPublicV1InternalServerError

func NewGetCurrentMonthLeaderboardRankingPublicV1InternalServerError() *GetCurrentMonthLeaderboardRankingPublicV1InternalServerError

NewGetCurrentMonthLeaderboardRankingPublicV1InternalServerError creates a GetCurrentMonthLeaderboardRankingPublicV1InternalServerError with default headers values

func (*GetCurrentMonthLeaderboardRankingPublicV1InternalServerError) Error

func (*GetCurrentMonthLeaderboardRankingPublicV1InternalServerError) GetPayload

func (*GetCurrentMonthLeaderboardRankingPublicV1InternalServerError) ToJSONString added in v0.25.0

type GetCurrentMonthLeaderboardRankingPublicV1NotFound

type GetCurrentMonthLeaderboardRankingPublicV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentMonthLeaderboardRankingPublicV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71230</td><td>leaderboard configuration not found</td></tr><tr><td>71235</td><td>leaderboard ranking not found</td></tr></table>

func NewGetCurrentMonthLeaderboardRankingPublicV1NotFound

func NewGetCurrentMonthLeaderboardRankingPublicV1NotFound() *GetCurrentMonthLeaderboardRankingPublicV1NotFound

NewGetCurrentMonthLeaderboardRankingPublicV1NotFound creates a GetCurrentMonthLeaderboardRankingPublicV1NotFound with default headers values

func (*GetCurrentMonthLeaderboardRankingPublicV1NotFound) Error

func (*GetCurrentMonthLeaderboardRankingPublicV1NotFound) GetPayload

func (*GetCurrentMonthLeaderboardRankingPublicV1NotFound) ToJSONString added in v0.25.0

type GetCurrentMonthLeaderboardRankingPublicV1OK

type GetCurrentMonthLeaderboardRankingPublicV1OK struct {
	Payload *leaderboardclientmodels.ModelsGetLeaderboardRankingResp
}

GetCurrentMonthLeaderboardRankingPublicV1OK handles this case with default header values.

Current month leaderboard retrieved

func NewGetCurrentMonthLeaderboardRankingPublicV1OK

func NewGetCurrentMonthLeaderboardRankingPublicV1OK() *GetCurrentMonthLeaderboardRankingPublicV1OK

NewGetCurrentMonthLeaderboardRankingPublicV1OK creates a GetCurrentMonthLeaderboardRankingPublicV1OK with default headers values

func (*GetCurrentMonthLeaderboardRankingPublicV1OK) Error

func (*GetCurrentMonthLeaderboardRankingPublicV1OK) GetPayload

func (*GetCurrentMonthLeaderboardRankingPublicV1OK) ToJSONString added in v0.25.0

type GetCurrentMonthLeaderboardRankingPublicV1Params

type GetCurrentMonthLeaderboardRankingPublicV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

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

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

GetCurrentMonthLeaderboardRankingPublicV1Params contains all the parameters to send to the API endpoint for the get current month leaderboard ranking public v1 operation typically these are written to a http.Request

func NewGetCurrentMonthLeaderboardRankingPublicV1Params

func NewGetCurrentMonthLeaderboardRankingPublicV1Params() *GetCurrentMonthLeaderboardRankingPublicV1Params

NewGetCurrentMonthLeaderboardRankingPublicV1Params creates a new GetCurrentMonthLeaderboardRankingPublicV1Params object with the default values initialized.

func NewGetCurrentMonthLeaderboardRankingPublicV1ParamsWithContext

func NewGetCurrentMonthLeaderboardRankingPublicV1ParamsWithContext(ctx context.Context) *GetCurrentMonthLeaderboardRankingPublicV1Params

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

func NewGetCurrentMonthLeaderboardRankingPublicV1ParamsWithHTTPClient

func NewGetCurrentMonthLeaderboardRankingPublicV1ParamsWithHTTPClient(client *http.Client) *GetCurrentMonthLeaderboardRankingPublicV1Params

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

func NewGetCurrentMonthLeaderboardRankingPublicV1ParamsWithTimeout

func NewGetCurrentMonthLeaderboardRankingPublicV1ParamsWithTimeout(timeout time.Duration) *GetCurrentMonthLeaderboardRankingPublicV1Params

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

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) SetAuthInfoWriter added in v0.17.0

SetAuthInfoWriter adds the authInfoWriter to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) SetContext

SetContext adds the context to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) SetFlightId added in v0.63.0

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

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) SetLeaderboardCode

func (o *GetCurrentMonthLeaderboardRankingPublicV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) SetLimit

SetLimit adds the limit to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) SetNamespace

func (o *GetCurrentMonthLeaderboardRankingPublicV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) SetOffset

SetOffset adds the offset to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) SetPreviousVersion added in v0.47.0

func (o *GetCurrentMonthLeaderboardRankingPublicV1Params) SetPreviousVersion(previousVersion *int64)

SetPreviousVersion adds the previousVersion to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) SetTimeout

SetTimeout adds the timeout to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) WithContext

WithContext adds the context to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) WithLeaderboardCode

WithLeaderboardCode adds the leaderboardCode to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) WithLimit

WithLimit adds the limit to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) WithNamespace

WithNamespace adds the namespace to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) WithOffset

WithOffset adds the offset to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) WithPreviousVersion added in v0.47.0

WithPreviousVersion adds the previousVersion to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) WithTimeout

WithTimeout adds the timeout to the get current month leaderboard ranking public v1 params

func (*GetCurrentMonthLeaderboardRankingPublicV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentMonthLeaderboardRankingPublicV1Reader

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

GetCurrentMonthLeaderboardRankingPublicV1Reader is a Reader for the GetCurrentMonthLeaderboardRankingPublicV1 structure.

func (*GetCurrentMonthLeaderboardRankingPublicV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCurrentSeasonLeaderboardRankingAdminV1BadRequest

type GetCurrentSeasonLeaderboardRankingAdminV1BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentSeasonLeaderboardRankingAdminV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetCurrentSeasonLeaderboardRankingAdminV1BadRequest

func NewGetCurrentSeasonLeaderboardRankingAdminV1BadRequest() *GetCurrentSeasonLeaderboardRankingAdminV1BadRequest

NewGetCurrentSeasonLeaderboardRankingAdminV1BadRequest creates a GetCurrentSeasonLeaderboardRankingAdminV1BadRequest with default headers values

func (*GetCurrentSeasonLeaderboardRankingAdminV1BadRequest) Error

func (*GetCurrentSeasonLeaderboardRankingAdminV1BadRequest) GetPayload

func (*GetCurrentSeasonLeaderboardRankingAdminV1BadRequest) ToJSONString added in v0.25.0

type GetCurrentSeasonLeaderboardRankingAdminV1Forbidden

type GetCurrentSeasonLeaderboardRankingAdminV1Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentSeasonLeaderboardRankingAdminV1Forbidden 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 NewGetCurrentSeasonLeaderboardRankingAdminV1Forbidden

func NewGetCurrentSeasonLeaderboardRankingAdminV1Forbidden() *GetCurrentSeasonLeaderboardRankingAdminV1Forbidden

NewGetCurrentSeasonLeaderboardRankingAdminV1Forbidden creates a GetCurrentSeasonLeaderboardRankingAdminV1Forbidden with default headers values

func (*GetCurrentSeasonLeaderboardRankingAdminV1Forbidden) Error

func (*GetCurrentSeasonLeaderboardRankingAdminV1Forbidden) GetPayload

func (*GetCurrentSeasonLeaderboardRankingAdminV1Forbidden) ToJSONString added in v0.25.0

type GetCurrentSeasonLeaderboardRankingAdminV1InternalServerError

type GetCurrentSeasonLeaderboardRankingAdminV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentSeasonLeaderboardRankingAdminV1InternalServerError 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><tr><td>71236</td><td>leaderboard ranking count failed</td></tr></table>

func NewGetCurrentSeasonLeaderboardRankingAdminV1InternalServerError

func NewGetCurrentSeasonLeaderboardRankingAdminV1InternalServerError() *GetCurrentSeasonLeaderboardRankingAdminV1InternalServerError

NewGetCurrentSeasonLeaderboardRankingAdminV1InternalServerError creates a GetCurrentSeasonLeaderboardRankingAdminV1InternalServerError with default headers values

func (*GetCurrentSeasonLeaderboardRankingAdminV1InternalServerError) Error

func (*GetCurrentSeasonLeaderboardRankingAdminV1InternalServerError) GetPayload

func (*GetCurrentSeasonLeaderboardRankingAdminV1InternalServerError) ToJSONString added in v0.25.0

type GetCurrentSeasonLeaderboardRankingAdminV1NotFound

type GetCurrentSeasonLeaderboardRankingAdminV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentSeasonLeaderboardRankingAdminV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71130</td><td>leaderboard config not found</td></tr><tr><td>71235</td><td>leaderboard ranking not found</td></tr></table>

func NewGetCurrentSeasonLeaderboardRankingAdminV1NotFound

func NewGetCurrentSeasonLeaderboardRankingAdminV1NotFound() *GetCurrentSeasonLeaderboardRankingAdminV1NotFound

NewGetCurrentSeasonLeaderboardRankingAdminV1NotFound creates a GetCurrentSeasonLeaderboardRankingAdminV1NotFound with default headers values

func (*GetCurrentSeasonLeaderboardRankingAdminV1NotFound) Error

func (*GetCurrentSeasonLeaderboardRankingAdminV1NotFound) GetPayload

func (*GetCurrentSeasonLeaderboardRankingAdminV1NotFound) ToJSONString added in v0.25.0

type GetCurrentSeasonLeaderboardRankingAdminV1OK

type GetCurrentSeasonLeaderboardRankingAdminV1OK struct {
	Payload *leaderboardclientmodels.ModelsGetLeaderboardRankingResp
}

GetCurrentSeasonLeaderboardRankingAdminV1OK handles this case with default header values.

Current season leaderboard ranking retrieved

func NewGetCurrentSeasonLeaderboardRankingAdminV1OK

func NewGetCurrentSeasonLeaderboardRankingAdminV1OK() *GetCurrentSeasonLeaderboardRankingAdminV1OK

NewGetCurrentSeasonLeaderboardRankingAdminV1OK creates a GetCurrentSeasonLeaderboardRankingAdminV1OK with default headers values

func (*GetCurrentSeasonLeaderboardRankingAdminV1OK) Error

func (*GetCurrentSeasonLeaderboardRankingAdminV1OK) GetPayload

func (*GetCurrentSeasonLeaderboardRankingAdminV1OK) ToJSONString added in v0.25.0

type GetCurrentSeasonLeaderboardRankingAdminV1Params

type GetCurrentSeasonLeaderboardRankingAdminV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

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

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

GetCurrentSeasonLeaderboardRankingAdminV1Params contains all the parameters to send to the API endpoint for the get current season leaderboard ranking admin v1 operation typically these are written to a http.Request

func NewGetCurrentSeasonLeaderboardRankingAdminV1Params

func NewGetCurrentSeasonLeaderboardRankingAdminV1Params() *GetCurrentSeasonLeaderboardRankingAdminV1Params

NewGetCurrentSeasonLeaderboardRankingAdminV1Params creates a new GetCurrentSeasonLeaderboardRankingAdminV1Params object with the default values initialized.

func NewGetCurrentSeasonLeaderboardRankingAdminV1ParamsWithContext

func NewGetCurrentSeasonLeaderboardRankingAdminV1ParamsWithContext(ctx context.Context) *GetCurrentSeasonLeaderboardRankingAdminV1Params

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

func NewGetCurrentSeasonLeaderboardRankingAdminV1ParamsWithHTTPClient

func NewGetCurrentSeasonLeaderboardRankingAdminV1ParamsWithHTTPClient(client *http.Client) *GetCurrentSeasonLeaderboardRankingAdminV1Params

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

func NewGetCurrentSeasonLeaderboardRankingAdminV1ParamsWithTimeout

func NewGetCurrentSeasonLeaderboardRankingAdminV1ParamsWithTimeout(timeout time.Duration) *GetCurrentSeasonLeaderboardRankingAdminV1Params

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

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) SetAuthInfoWriter added in v0.17.0

SetAuthInfoWriter adds the authInfoWriter to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) SetContext

SetContext adds the context to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) SetFlightId added in v0.63.0

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

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) SetLeaderboardCode

func (o *GetCurrentSeasonLeaderboardRankingAdminV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) SetLimit

SetLimit adds the limit to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) SetNamespace

func (o *GetCurrentSeasonLeaderboardRankingAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) SetOffset

SetOffset adds the offset to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) SetPreviousVersion added in v0.47.0

func (o *GetCurrentSeasonLeaderboardRankingAdminV1Params) SetPreviousVersion(previousVersion *int64)

SetPreviousVersion adds the previousVersion to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) SetTimeout

SetTimeout adds the timeout to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) WithContext

WithContext adds the context to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) WithLeaderboardCode

WithLeaderboardCode adds the leaderboardCode to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) WithLimit

WithLimit adds the limit to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) WithNamespace

WithNamespace adds the namespace to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) WithOffset

WithOffset adds the offset to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) WithPreviousVersion added in v0.47.0

WithPreviousVersion adds the previousVersion to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) WithTimeout

WithTimeout adds the timeout to the get current season leaderboard ranking admin v1 params

func (*GetCurrentSeasonLeaderboardRankingAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentSeasonLeaderboardRankingAdminV1Reader

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

GetCurrentSeasonLeaderboardRankingAdminV1Reader is a Reader for the GetCurrentSeasonLeaderboardRankingAdminV1 structure.

func (*GetCurrentSeasonLeaderboardRankingAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCurrentSeasonLeaderboardRankingAdminV1Unauthorized

type GetCurrentSeasonLeaderboardRankingAdminV1Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentSeasonLeaderboardRankingAdminV1Unauthorized 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 NewGetCurrentSeasonLeaderboardRankingAdminV1Unauthorized

func NewGetCurrentSeasonLeaderboardRankingAdminV1Unauthorized() *GetCurrentSeasonLeaderboardRankingAdminV1Unauthorized

NewGetCurrentSeasonLeaderboardRankingAdminV1Unauthorized creates a GetCurrentSeasonLeaderboardRankingAdminV1Unauthorized with default headers values

func (*GetCurrentSeasonLeaderboardRankingAdminV1Unauthorized) Error

func (*GetCurrentSeasonLeaderboardRankingAdminV1Unauthorized) GetPayload

func (*GetCurrentSeasonLeaderboardRankingAdminV1Unauthorized) ToJSONString added in v0.25.0

type GetCurrentSeasonLeaderboardRankingPublicV1BadRequest

type GetCurrentSeasonLeaderboardRankingPublicV1BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentSeasonLeaderboardRankingPublicV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetCurrentSeasonLeaderboardRankingPublicV1BadRequest

func NewGetCurrentSeasonLeaderboardRankingPublicV1BadRequest() *GetCurrentSeasonLeaderboardRankingPublicV1BadRequest

NewGetCurrentSeasonLeaderboardRankingPublicV1BadRequest creates a GetCurrentSeasonLeaderboardRankingPublicV1BadRequest with default headers values

func (*GetCurrentSeasonLeaderboardRankingPublicV1BadRequest) Error

func (*GetCurrentSeasonLeaderboardRankingPublicV1BadRequest) GetPayload

func (*GetCurrentSeasonLeaderboardRankingPublicV1BadRequest) ToJSONString added in v0.25.0

type GetCurrentSeasonLeaderboardRankingPublicV1InternalServerError

type GetCurrentSeasonLeaderboardRankingPublicV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentSeasonLeaderboardRankingPublicV1InternalServerError 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><tr><td>71236</td><td>leaderboard ranking count failed</td></tr></table>

func NewGetCurrentSeasonLeaderboardRankingPublicV1InternalServerError

func NewGetCurrentSeasonLeaderboardRankingPublicV1InternalServerError() *GetCurrentSeasonLeaderboardRankingPublicV1InternalServerError

NewGetCurrentSeasonLeaderboardRankingPublicV1InternalServerError creates a GetCurrentSeasonLeaderboardRankingPublicV1InternalServerError with default headers values

func (*GetCurrentSeasonLeaderboardRankingPublicV1InternalServerError) Error

func (*GetCurrentSeasonLeaderboardRankingPublicV1InternalServerError) GetPayload

func (*GetCurrentSeasonLeaderboardRankingPublicV1InternalServerError) ToJSONString added in v0.25.0

type GetCurrentSeasonLeaderboardRankingPublicV1NotFound

type GetCurrentSeasonLeaderboardRankingPublicV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentSeasonLeaderboardRankingPublicV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71230</td><td>leaderboard configuration not found</td></tr><tr><td>71235</td><td>leaderboard ranking not found</td></tr></table>

func NewGetCurrentSeasonLeaderboardRankingPublicV1NotFound

func NewGetCurrentSeasonLeaderboardRankingPublicV1NotFound() *GetCurrentSeasonLeaderboardRankingPublicV1NotFound

NewGetCurrentSeasonLeaderboardRankingPublicV1NotFound creates a GetCurrentSeasonLeaderboardRankingPublicV1NotFound with default headers values

func (*GetCurrentSeasonLeaderboardRankingPublicV1NotFound) Error

func (*GetCurrentSeasonLeaderboardRankingPublicV1NotFound) GetPayload

func (*GetCurrentSeasonLeaderboardRankingPublicV1NotFound) ToJSONString added in v0.25.0

type GetCurrentSeasonLeaderboardRankingPublicV1OK

type GetCurrentSeasonLeaderboardRankingPublicV1OK struct {
	Payload *leaderboardclientmodels.ModelsGetLeaderboardRankingResp
}

GetCurrentSeasonLeaderboardRankingPublicV1OK handles this case with default header values.

Current season leaderboard retrieved

func NewGetCurrentSeasonLeaderboardRankingPublicV1OK

func NewGetCurrentSeasonLeaderboardRankingPublicV1OK() *GetCurrentSeasonLeaderboardRankingPublicV1OK

NewGetCurrentSeasonLeaderboardRankingPublicV1OK creates a GetCurrentSeasonLeaderboardRankingPublicV1OK with default headers values

func (*GetCurrentSeasonLeaderboardRankingPublicV1OK) Error

func (*GetCurrentSeasonLeaderboardRankingPublicV1OK) GetPayload

func (*GetCurrentSeasonLeaderboardRankingPublicV1OK) ToJSONString added in v0.25.0

type GetCurrentSeasonLeaderboardRankingPublicV1Params

type GetCurrentSeasonLeaderboardRankingPublicV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

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

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

GetCurrentSeasonLeaderboardRankingPublicV1Params contains all the parameters to send to the API endpoint for the get current season leaderboard ranking public v1 operation typically these are written to a http.Request

func NewGetCurrentSeasonLeaderboardRankingPublicV1Params

func NewGetCurrentSeasonLeaderboardRankingPublicV1Params() *GetCurrentSeasonLeaderboardRankingPublicV1Params

NewGetCurrentSeasonLeaderboardRankingPublicV1Params creates a new GetCurrentSeasonLeaderboardRankingPublicV1Params object with the default values initialized.

func NewGetCurrentSeasonLeaderboardRankingPublicV1ParamsWithContext

func NewGetCurrentSeasonLeaderboardRankingPublicV1ParamsWithContext(ctx context.Context) *GetCurrentSeasonLeaderboardRankingPublicV1Params

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

func NewGetCurrentSeasonLeaderboardRankingPublicV1ParamsWithHTTPClient

func NewGetCurrentSeasonLeaderboardRankingPublicV1ParamsWithHTTPClient(client *http.Client) *GetCurrentSeasonLeaderboardRankingPublicV1Params

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

func NewGetCurrentSeasonLeaderboardRankingPublicV1ParamsWithTimeout

func NewGetCurrentSeasonLeaderboardRankingPublicV1ParamsWithTimeout(timeout time.Duration) *GetCurrentSeasonLeaderboardRankingPublicV1Params

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

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) SetAuthInfoWriter added in v0.17.0

SetAuthInfoWriter adds the authInfoWriter to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) SetContext

SetContext adds the context to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) SetFlightId added in v0.63.0

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

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) SetLeaderboardCode

func (o *GetCurrentSeasonLeaderboardRankingPublicV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) SetLimit

SetLimit adds the limit to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) SetNamespace

func (o *GetCurrentSeasonLeaderboardRankingPublicV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) SetOffset

SetOffset adds the offset to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) SetPreviousVersion added in v0.47.0

func (o *GetCurrentSeasonLeaderboardRankingPublicV1Params) SetPreviousVersion(previousVersion *int64)

SetPreviousVersion adds the previousVersion to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) SetTimeout

SetTimeout adds the timeout to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) WithContext

WithContext adds the context to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) WithLeaderboardCode

WithLeaderboardCode adds the leaderboardCode to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) WithLimit

WithLimit adds the limit to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) WithNamespace

WithNamespace adds the namespace to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) WithOffset

WithOffset adds the offset to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) WithPreviousVersion added in v0.47.0

WithPreviousVersion adds the previousVersion to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) WithTimeout

WithTimeout adds the timeout to the get current season leaderboard ranking public v1 params

func (*GetCurrentSeasonLeaderboardRankingPublicV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentSeasonLeaderboardRankingPublicV1Reader

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

GetCurrentSeasonLeaderboardRankingPublicV1Reader is a Reader for the GetCurrentSeasonLeaderboardRankingPublicV1 structure.

func (*GetCurrentSeasonLeaderboardRankingPublicV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCurrentWeekLeaderboardRankingAdminV1BadRequest

type GetCurrentWeekLeaderboardRankingAdminV1BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentWeekLeaderboardRankingAdminV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetCurrentWeekLeaderboardRankingAdminV1BadRequest

func NewGetCurrentWeekLeaderboardRankingAdminV1BadRequest() *GetCurrentWeekLeaderboardRankingAdminV1BadRequest

NewGetCurrentWeekLeaderboardRankingAdminV1BadRequest creates a GetCurrentWeekLeaderboardRankingAdminV1BadRequest with default headers values

func (*GetCurrentWeekLeaderboardRankingAdminV1BadRequest) Error

func (*GetCurrentWeekLeaderboardRankingAdminV1BadRequest) GetPayload

func (*GetCurrentWeekLeaderboardRankingAdminV1BadRequest) ToJSONString added in v0.25.0

type GetCurrentWeekLeaderboardRankingAdminV1Forbidden

type GetCurrentWeekLeaderboardRankingAdminV1Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentWeekLeaderboardRankingAdminV1Forbidden 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 NewGetCurrentWeekLeaderboardRankingAdminV1Forbidden

func NewGetCurrentWeekLeaderboardRankingAdminV1Forbidden() *GetCurrentWeekLeaderboardRankingAdminV1Forbidden

NewGetCurrentWeekLeaderboardRankingAdminV1Forbidden creates a GetCurrentWeekLeaderboardRankingAdminV1Forbidden with default headers values

func (*GetCurrentWeekLeaderboardRankingAdminV1Forbidden) Error

func (*GetCurrentWeekLeaderboardRankingAdminV1Forbidden) GetPayload

func (*GetCurrentWeekLeaderboardRankingAdminV1Forbidden) ToJSONString added in v0.25.0

type GetCurrentWeekLeaderboardRankingAdminV1InternalServerError

type GetCurrentWeekLeaderboardRankingAdminV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentWeekLeaderboardRankingAdminV1InternalServerError 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><tr><td>71236</td><td>leaderboard ranking count failed</td></tr></table>

func NewGetCurrentWeekLeaderboardRankingAdminV1InternalServerError

func NewGetCurrentWeekLeaderboardRankingAdminV1InternalServerError() *GetCurrentWeekLeaderboardRankingAdminV1InternalServerError

NewGetCurrentWeekLeaderboardRankingAdminV1InternalServerError creates a GetCurrentWeekLeaderboardRankingAdminV1InternalServerError with default headers values

func (*GetCurrentWeekLeaderboardRankingAdminV1InternalServerError) Error

func (*GetCurrentWeekLeaderboardRankingAdminV1InternalServerError) GetPayload

func (*GetCurrentWeekLeaderboardRankingAdminV1InternalServerError) ToJSONString added in v0.25.0

type GetCurrentWeekLeaderboardRankingAdminV1NotFound

type GetCurrentWeekLeaderboardRankingAdminV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentWeekLeaderboardRankingAdminV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71130</td><td>leaderboard config not found</td></tr><tr><td>71235</td><td>leaderboard ranking not found</td></tr></table>

func NewGetCurrentWeekLeaderboardRankingAdminV1NotFound

func NewGetCurrentWeekLeaderboardRankingAdminV1NotFound() *GetCurrentWeekLeaderboardRankingAdminV1NotFound

NewGetCurrentWeekLeaderboardRankingAdminV1NotFound creates a GetCurrentWeekLeaderboardRankingAdminV1NotFound with default headers values

func (*GetCurrentWeekLeaderboardRankingAdminV1NotFound) Error

func (*GetCurrentWeekLeaderboardRankingAdminV1NotFound) GetPayload

func (*GetCurrentWeekLeaderboardRankingAdminV1NotFound) ToJSONString added in v0.25.0

type GetCurrentWeekLeaderboardRankingAdminV1OK

type GetCurrentWeekLeaderboardRankingAdminV1OK struct {
	Payload *leaderboardclientmodels.ModelsGetLeaderboardRankingResp
}

GetCurrentWeekLeaderboardRankingAdminV1OK handles this case with default header values.

Current week leaderboard ranking retrieved

func NewGetCurrentWeekLeaderboardRankingAdminV1OK

func NewGetCurrentWeekLeaderboardRankingAdminV1OK() *GetCurrentWeekLeaderboardRankingAdminV1OK

NewGetCurrentWeekLeaderboardRankingAdminV1OK creates a GetCurrentWeekLeaderboardRankingAdminV1OK with default headers values

func (*GetCurrentWeekLeaderboardRankingAdminV1OK) Error

func (*GetCurrentWeekLeaderboardRankingAdminV1OK) GetPayload

func (*GetCurrentWeekLeaderboardRankingAdminV1OK) ToJSONString added in v0.25.0

type GetCurrentWeekLeaderboardRankingAdminV1Params

type GetCurrentWeekLeaderboardRankingAdminV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

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

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

GetCurrentWeekLeaderboardRankingAdminV1Params contains all the parameters to send to the API endpoint for the get current week leaderboard ranking admin v1 operation typically these are written to a http.Request

func NewGetCurrentWeekLeaderboardRankingAdminV1Params

func NewGetCurrentWeekLeaderboardRankingAdminV1Params() *GetCurrentWeekLeaderboardRankingAdminV1Params

NewGetCurrentWeekLeaderboardRankingAdminV1Params creates a new GetCurrentWeekLeaderboardRankingAdminV1Params object with the default values initialized.

func NewGetCurrentWeekLeaderboardRankingAdminV1ParamsWithContext

func NewGetCurrentWeekLeaderboardRankingAdminV1ParamsWithContext(ctx context.Context) *GetCurrentWeekLeaderboardRankingAdminV1Params

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

func NewGetCurrentWeekLeaderboardRankingAdminV1ParamsWithHTTPClient

func NewGetCurrentWeekLeaderboardRankingAdminV1ParamsWithHTTPClient(client *http.Client) *GetCurrentWeekLeaderboardRankingAdminV1Params

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

func NewGetCurrentWeekLeaderboardRankingAdminV1ParamsWithTimeout

func NewGetCurrentWeekLeaderboardRankingAdminV1ParamsWithTimeout(timeout time.Duration) *GetCurrentWeekLeaderboardRankingAdminV1Params

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

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) SetContext

SetContext adds the context to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) SetFlightId added in v0.63.0

func (o *GetCurrentWeekLeaderboardRankingAdminV1Params) SetFlightId(flightId string)

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

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) SetLeaderboardCode

func (o *GetCurrentWeekLeaderboardRankingAdminV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) SetLimit

SetLimit adds the limit to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) SetNamespace

func (o *GetCurrentWeekLeaderboardRankingAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) SetOffset

SetOffset adds the offset to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) SetPreviousVersion added in v0.47.0

func (o *GetCurrentWeekLeaderboardRankingAdminV1Params) SetPreviousVersion(previousVersion *int64)

SetPreviousVersion adds the previousVersion to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) SetTimeout

SetTimeout adds the timeout to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) WithContext

WithContext adds the context to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) WithLeaderboardCode

WithLeaderboardCode adds the leaderboardCode to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) WithLimit

WithLimit adds the limit to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) WithNamespace

WithNamespace adds the namespace to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) WithOffset

WithOffset adds the offset to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) WithPreviousVersion added in v0.47.0

WithPreviousVersion adds the previousVersion to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) WithTimeout

WithTimeout adds the timeout to the get current week leaderboard ranking admin v1 params

func (*GetCurrentWeekLeaderboardRankingAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentWeekLeaderboardRankingAdminV1Reader

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

GetCurrentWeekLeaderboardRankingAdminV1Reader is a Reader for the GetCurrentWeekLeaderboardRankingAdminV1 structure.

func (*GetCurrentWeekLeaderboardRankingAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCurrentWeekLeaderboardRankingAdminV1Unauthorized

type GetCurrentWeekLeaderboardRankingAdminV1Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentWeekLeaderboardRankingAdminV1Unauthorized 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 NewGetCurrentWeekLeaderboardRankingAdminV1Unauthorized

func NewGetCurrentWeekLeaderboardRankingAdminV1Unauthorized() *GetCurrentWeekLeaderboardRankingAdminV1Unauthorized

NewGetCurrentWeekLeaderboardRankingAdminV1Unauthorized creates a GetCurrentWeekLeaderboardRankingAdminV1Unauthorized with default headers values

func (*GetCurrentWeekLeaderboardRankingAdminV1Unauthorized) Error

func (*GetCurrentWeekLeaderboardRankingAdminV1Unauthorized) GetPayload

func (*GetCurrentWeekLeaderboardRankingAdminV1Unauthorized) ToJSONString added in v0.25.0

type GetCurrentWeekLeaderboardRankingPublicV1BadRequest

type GetCurrentWeekLeaderboardRankingPublicV1BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentWeekLeaderboardRankingPublicV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetCurrentWeekLeaderboardRankingPublicV1BadRequest

func NewGetCurrentWeekLeaderboardRankingPublicV1BadRequest() *GetCurrentWeekLeaderboardRankingPublicV1BadRequest

NewGetCurrentWeekLeaderboardRankingPublicV1BadRequest creates a GetCurrentWeekLeaderboardRankingPublicV1BadRequest with default headers values

func (*GetCurrentWeekLeaderboardRankingPublicV1BadRequest) Error

func (*GetCurrentWeekLeaderboardRankingPublicV1BadRequest) GetPayload

func (*GetCurrentWeekLeaderboardRankingPublicV1BadRequest) ToJSONString added in v0.25.0

type GetCurrentWeekLeaderboardRankingPublicV1InternalServerError

type GetCurrentWeekLeaderboardRankingPublicV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentWeekLeaderboardRankingPublicV1InternalServerError 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><tr><td>71236</td><td>leaderboard ranking count failed</td></tr></table>

func NewGetCurrentWeekLeaderboardRankingPublicV1InternalServerError

func NewGetCurrentWeekLeaderboardRankingPublicV1InternalServerError() *GetCurrentWeekLeaderboardRankingPublicV1InternalServerError

NewGetCurrentWeekLeaderboardRankingPublicV1InternalServerError creates a GetCurrentWeekLeaderboardRankingPublicV1InternalServerError with default headers values

func (*GetCurrentWeekLeaderboardRankingPublicV1InternalServerError) Error

func (*GetCurrentWeekLeaderboardRankingPublicV1InternalServerError) GetPayload

func (*GetCurrentWeekLeaderboardRankingPublicV1InternalServerError) ToJSONString added in v0.25.0

type GetCurrentWeekLeaderboardRankingPublicV1NotFound

type GetCurrentWeekLeaderboardRankingPublicV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetCurrentWeekLeaderboardRankingPublicV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71230</td><td>leaderboard configuration not found</td></tr><tr><td>71235</td><td>leaderboard ranking not found</td></tr></table>

func NewGetCurrentWeekLeaderboardRankingPublicV1NotFound

func NewGetCurrentWeekLeaderboardRankingPublicV1NotFound() *GetCurrentWeekLeaderboardRankingPublicV1NotFound

NewGetCurrentWeekLeaderboardRankingPublicV1NotFound creates a GetCurrentWeekLeaderboardRankingPublicV1NotFound with default headers values

func (*GetCurrentWeekLeaderboardRankingPublicV1NotFound) Error

func (*GetCurrentWeekLeaderboardRankingPublicV1NotFound) GetPayload

func (*GetCurrentWeekLeaderboardRankingPublicV1NotFound) ToJSONString added in v0.25.0

type GetCurrentWeekLeaderboardRankingPublicV1OK

type GetCurrentWeekLeaderboardRankingPublicV1OK struct {
	Payload *leaderboardclientmodels.ModelsGetLeaderboardRankingResp
}

GetCurrentWeekLeaderboardRankingPublicV1OK handles this case with default header values.

Current week leaderboard retrieved

func NewGetCurrentWeekLeaderboardRankingPublicV1OK

func NewGetCurrentWeekLeaderboardRankingPublicV1OK() *GetCurrentWeekLeaderboardRankingPublicV1OK

NewGetCurrentWeekLeaderboardRankingPublicV1OK creates a GetCurrentWeekLeaderboardRankingPublicV1OK with default headers values

func (*GetCurrentWeekLeaderboardRankingPublicV1OK) Error

func (*GetCurrentWeekLeaderboardRankingPublicV1OK) GetPayload

func (*GetCurrentWeekLeaderboardRankingPublicV1OK) ToJSONString added in v0.25.0

type GetCurrentWeekLeaderboardRankingPublicV1Params

type GetCurrentWeekLeaderboardRankingPublicV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

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

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

GetCurrentWeekLeaderboardRankingPublicV1Params contains all the parameters to send to the API endpoint for the get current week leaderboard ranking public v1 operation typically these are written to a http.Request

func NewGetCurrentWeekLeaderboardRankingPublicV1Params

func NewGetCurrentWeekLeaderboardRankingPublicV1Params() *GetCurrentWeekLeaderboardRankingPublicV1Params

NewGetCurrentWeekLeaderboardRankingPublicV1Params creates a new GetCurrentWeekLeaderboardRankingPublicV1Params object with the default values initialized.

func NewGetCurrentWeekLeaderboardRankingPublicV1ParamsWithContext

func NewGetCurrentWeekLeaderboardRankingPublicV1ParamsWithContext(ctx context.Context) *GetCurrentWeekLeaderboardRankingPublicV1Params

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

func NewGetCurrentWeekLeaderboardRankingPublicV1ParamsWithHTTPClient

func NewGetCurrentWeekLeaderboardRankingPublicV1ParamsWithHTTPClient(client *http.Client) *GetCurrentWeekLeaderboardRankingPublicV1Params

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

func NewGetCurrentWeekLeaderboardRankingPublicV1ParamsWithTimeout

func NewGetCurrentWeekLeaderboardRankingPublicV1ParamsWithTimeout(timeout time.Duration) *GetCurrentWeekLeaderboardRankingPublicV1Params

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

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) SetAuthInfoWriter added in v0.17.0

SetAuthInfoWriter adds the authInfoWriter to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) SetContext

SetContext adds the context to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) SetFlightId added in v0.63.0

func (o *GetCurrentWeekLeaderboardRankingPublicV1Params) SetFlightId(flightId string)

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

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) SetLeaderboardCode

func (o *GetCurrentWeekLeaderboardRankingPublicV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) SetLimit

SetLimit adds the limit to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) SetNamespace

func (o *GetCurrentWeekLeaderboardRankingPublicV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) SetOffset

SetOffset adds the offset to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) SetPreviousVersion added in v0.47.0

func (o *GetCurrentWeekLeaderboardRankingPublicV1Params) SetPreviousVersion(previousVersion *int64)

SetPreviousVersion adds the previousVersion to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) SetTimeout

SetTimeout adds the timeout to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) WithContext

WithContext adds the context to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) WithLeaderboardCode

WithLeaderboardCode adds the leaderboardCode to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) WithLimit

WithLimit adds the limit to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) WithNamespace

WithNamespace adds the namespace to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) WithOffset

WithOffset adds the offset to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) WithPreviousVersion added in v0.47.0

WithPreviousVersion adds the previousVersion to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) WithTimeout

WithTimeout adds the timeout to the get current week leaderboard ranking public v1 params

func (*GetCurrentWeekLeaderboardRankingPublicV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentWeekLeaderboardRankingPublicV1Reader

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

GetCurrentWeekLeaderboardRankingPublicV1Reader is a Reader for the GetCurrentWeekLeaderboardRankingPublicV1 structure.

func (*GetCurrentWeekLeaderboardRankingPublicV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTodayLeaderboardRankingAdminV1BadRequest

type GetTodayLeaderboardRankingAdminV1BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetTodayLeaderboardRankingAdminV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetTodayLeaderboardRankingAdminV1BadRequest

func NewGetTodayLeaderboardRankingAdminV1BadRequest() *GetTodayLeaderboardRankingAdminV1BadRequest

NewGetTodayLeaderboardRankingAdminV1BadRequest creates a GetTodayLeaderboardRankingAdminV1BadRequest with default headers values

func (*GetTodayLeaderboardRankingAdminV1BadRequest) Error

func (*GetTodayLeaderboardRankingAdminV1BadRequest) GetPayload

func (*GetTodayLeaderboardRankingAdminV1BadRequest) ToJSONString added in v0.25.0

type GetTodayLeaderboardRankingAdminV1Forbidden

type GetTodayLeaderboardRankingAdminV1Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetTodayLeaderboardRankingAdminV1Forbidden 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 NewGetTodayLeaderboardRankingAdminV1Forbidden

func NewGetTodayLeaderboardRankingAdminV1Forbidden() *GetTodayLeaderboardRankingAdminV1Forbidden

NewGetTodayLeaderboardRankingAdminV1Forbidden creates a GetTodayLeaderboardRankingAdminV1Forbidden with default headers values

func (*GetTodayLeaderboardRankingAdminV1Forbidden) Error

func (*GetTodayLeaderboardRankingAdminV1Forbidden) GetPayload

func (*GetTodayLeaderboardRankingAdminV1Forbidden) ToJSONString added in v0.25.0

type GetTodayLeaderboardRankingAdminV1InternalServerError

type GetTodayLeaderboardRankingAdminV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetTodayLeaderboardRankingAdminV1InternalServerError 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><tr><td>71236</td><td>leaderboard ranking count failed</td></tr></table>

func NewGetTodayLeaderboardRankingAdminV1InternalServerError

func NewGetTodayLeaderboardRankingAdminV1InternalServerError() *GetTodayLeaderboardRankingAdminV1InternalServerError

NewGetTodayLeaderboardRankingAdminV1InternalServerError creates a GetTodayLeaderboardRankingAdminV1InternalServerError with default headers values

func (*GetTodayLeaderboardRankingAdminV1InternalServerError) Error

func (*GetTodayLeaderboardRankingAdminV1InternalServerError) GetPayload

func (*GetTodayLeaderboardRankingAdminV1InternalServerError) ToJSONString added in v0.25.0

type GetTodayLeaderboardRankingAdminV1NotFound

type GetTodayLeaderboardRankingAdminV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetTodayLeaderboardRankingAdminV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71130</td><td>leaderboard config not found</td></tr><tr><td>71235</td><td>leaderboard ranking not found</td></tr></table>

func NewGetTodayLeaderboardRankingAdminV1NotFound

func NewGetTodayLeaderboardRankingAdminV1NotFound() *GetTodayLeaderboardRankingAdminV1NotFound

NewGetTodayLeaderboardRankingAdminV1NotFound creates a GetTodayLeaderboardRankingAdminV1NotFound with default headers values

func (*GetTodayLeaderboardRankingAdminV1NotFound) Error

func (*GetTodayLeaderboardRankingAdminV1NotFound) GetPayload

func (*GetTodayLeaderboardRankingAdminV1NotFound) ToJSONString added in v0.25.0

type GetTodayLeaderboardRankingAdminV1OK

type GetTodayLeaderboardRankingAdminV1OK struct {
	Payload *leaderboardclientmodels.ModelsGetLeaderboardRankingResp
}

GetTodayLeaderboardRankingAdminV1OK handles this case with default header values.

Today leaderboard ranking retrieved

func NewGetTodayLeaderboardRankingAdminV1OK

func NewGetTodayLeaderboardRankingAdminV1OK() *GetTodayLeaderboardRankingAdminV1OK

NewGetTodayLeaderboardRankingAdminV1OK creates a GetTodayLeaderboardRankingAdminV1OK with default headers values

func (*GetTodayLeaderboardRankingAdminV1OK) Error

func (*GetTodayLeaderboardRankingAdminV1OK) GetPayload

func (*GetTodayLeaderboardRankingAdminV1OK) ToJSONString added in v0.25.0

func (o *GetTodayLeaderboardRankingAdminV1OK) ToJSONString() string

type GetTodayLeaderboardRankingAdminV1Params

type GetTodayLeaderboardRankingAdminV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

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

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

GetTodayLeaderboardRankingAdminV1Params contains all the parameters to send to the API endpoint for the get today leaderboard ranking admin v1 operation typically these are written to a http.Request

func NewGetTodayLeaderboardRankingAdminV1Params

func NewGetTodayLeaderboardRankingAdminV1Params() *GetTodayLeaderboardRankingAdminV1Params

NewGetTodayLeaderboardRankingAdminV1Params creates a new GetTodayLeaderboardRankingAdminV1Params object with the default values initialized.

func NewGetTodayLeaderboardRankingAdminV1ParamsWithContext

func NewGetTodayLeaderboardRankingAdminV1ParamsWithContext(ctx context.Context) *GetTodayLeaderboardRankingAdminV1Params

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

func NewGetTodayLeaderboardRankingAdminV1ParamsWithHTTPClient

func NewGetTodayLeaderboardRankingAdminV1ParamsWithHTTPClient(client *http.Client) *GetTodayLeaderboardRankingAdminV1Params

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

func NewGetTodayLeaderboardRankingAdminV1ParamsWithTimeout

func NewGetTodayLeaderboardRankingAdminV1ParamsWithTimeout(timeout time.Duration) *GetTodayLeaderboardRankingAdminV1Params

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

func (*GetTodayLeaderboardRankingAdminV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) SetContext

SetContext adds the context to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) SetFlightId added in v0.63.0

func (o *GetTodayLeaderboardRankingAdminV1Params) SetFlightId(flightId string)

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

func (*GetTodayLeaderboardRankingAdminV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) SetLeaderboardCode

func (o *GetTodayLeaderboardRankingAdminV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) SetLimit

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

SetLimit adds the limit to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) SetNamespace

func (o *GetTodayLeaderboardRankingAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) SetOffset

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

SetOffset adds the offset to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) SetPreviousVersion added in v0.47.0

func (o *GetTodayLeaderboardRankingAdminV1Params) SetPreviousVersion(previousVersion *int64)

SetPreviousVersion adds the previousVersion to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) SetTimeout

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

SetTimeout adds the timeout to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) WithContext

WithContext adds the context to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) WithLeaderboardCode

WithLeaderboardCode adds the leaderboardCode to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) WithLimit

WithLimit adds the limit to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) WithNamespace

WithNamespace adds the namespace to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) WithOffset

WithOffset adds the offset to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) WithPreviousVersion added in v0.47.0

WithPreviousVersion adds the previousVersion to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) WithTimeout

WithTimeout adds the timeout to the get today leaderboard ranking admin v1 params

func (*GetTodayLeaderboardRankingAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTodayLeaderboardRankingAdminV1Reader

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

GetTodayLeaderboardRankingAdminV1Reader is a Reader for the GetTodayLeaderboardRankingAdminV1 structure.

func (*GetTodayLeaderboardRankingAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTodayLeaderboardRankingAdminV1Unauthorized

type GetTodayLeaderboardRankingAdminV1Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetTodayLeaderboardRankingAdminV1Unauthorized 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 NewGetTodayLeaderboardRankingAdminV1Unauthorized

func NewGetTodayLeaderboardRankingAdminV1Unauthorized() *GetTodayLeaderboardRankingAdminV1Unauthorized

NewGetTodayLeaderboardRankingAdminV1Unauthorized creates a GetTodayLeaderboardRankingAdminV1Unauthorized with default headers values

func (*GetTodayLeaderboardRankingAdminV1Unauthorized) Error

func (*GetTodayLeaderboardRankingAdminV1Unauthorized) GetPayload

func (*GetTodayLeaderboardRankingAdminV1Unauthorized) ToJSONString added in v0.25.0

type GetTodayLeaderboardRankingPublicV1BadRequest

type GetTodayLeaderboardRankingPublicV1BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetTodayLeaderboardRankingPublicV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetTodayLeaderboardRankingPublicV1BadRequest

func NewGetTodayLeaderboardRankingPublicV1BadRequest() *GetTodayLeaderboardRankingPublicV1BadRequest

NewGetTodayLeaderboardRankingPublicV1BadRequest creates a GetTodayLeaderboardRankingPublicV1BadRequest with default headers values

func (*GetTodayLeaderboardRankingPublicV1BadRequest) Error

func (*GetTodayLeaderboardRankingPublicV1BadRequest) GetPayload

func (*GetTodayLeaderboardRankingPublicV1BadRequest) ToJSONString added in v0.25.0

type GetTodayLeaderboardRankingPublicV1InternalServerError

type GetTodayLeaderboardRankingPublicV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetTodayLeaderboardRankingPublicV1InternalServerError 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><tr><td>71236</td><td>leaderboard ranking count failed</td></tr></table>

func NewGetTodayLeaderboardRankingPublicV1InternalServerError

func NewGetTodayLeaderboardRankingPublicV1InternalServerError() *GetTodayLeaderboardRankingPublicV1InternalServerError

NewGetTodayLeaderboardRankingPublicV1InternalServerError creates a GetTodayLeaderboardRankingPublicV1InternalServerError with default headers values

func (*GetTodayLeaderboardRankingPublicV1InternalServerError) Error

func (*GetTodayLeaderboardRankingPublicV1InternalServerError) GetPayload

func (*GetTodayLeaderboardRankingPublicV1InternalServerError) ToJSONString added in v0.25.0

type GetTodayLeaderboardRankingPublicV1NotFound

type GetTodayLeaderboardRankingPublicV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetTodayLeaderboardRankingPublicV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71230</td><td>leaderboard configuration not found</td></tr><tr><td>71235</td><td>leaderboard ranking not found</td></tr></table>

func NewGetTodayLeaderboardRankingPublicV1NotFound

func NewGetTodayLeaderboardRankingPublicV1NotFound() *GetTodayLeaderboardRankingPublicV1NotFound

NewGetTodayLeaderboardRankingPublicV1NotFound creates a GetTodayLeaderboardRankingPublicV1NotFound with default headers values

func (*GetTodayLeaderboardRankingPublicV1NotFound) Error

func (*GetTodayLeaderboardRankingPublicV1NotFound) GetPayload

func (*GetTodayLeaderboardRankingPublicV1NotFound) ToJSONString added in v0.25.0

type GetTodayLeaderboardRankingPublicV1OK

type GetTodayLeaderboardRankingPublicV1OK struct {
	Payload *leaderboardclientmodels.ModelsGetLeaderboardRankingResp
}

GetTodayLeaderboardRankingPublicV1OK handles this case with default header values.

Today leaderboard retrieved

func NewGetTodayLeaderboardRankingPublicV1OK

func NewGetTodayLeaderboardRankingPublicV1OK() *GetTodayLeaderboardRankingPublicV1OK

NewGetTodayLeaderboardRankingPublicV1OK creates a GetTodayLeaderboardRankingPublicV1OK with default headers values

func (*GetTodayLeaderboardRankingPublicV1OK) Error

func (*GetTodayLeaderboardRankingPublicV1OK) GetPayload

func (*GetTodayLeaderboardRankingPublicV1OK) ToJSONString added in v0.25.0

func (o *GetTodayLeaderboardRankingPublicV1OK) ToJSONString() string

type GetTodayLeaderboardRankingPublicV1Params

type GetTodayLeaderboardRankingPublicV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

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

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

GetTodayLeaderboardRankingPublicV1Params contains all the parameters to send to the API endpoint for the get today leaderboard ranking public v1 operation typically these are written to a http.Request

func NewGetTodayLeaderboardRankingPublicV1Params

func NewGetTodayLeaderboardRankingPublicV1Params() *GetTodayLeaderboardRankingPublicV1Params

NewGetTodayLeaderboardRankingPublicV1Params creates a new GetTodayLeaderboardRankingPublicV1Params object with the default values initialized.

func NewGetTodayLeaderboardRankingPublicV1ParamsWithContext

func NewGetTodayLeaderboardRankingPublicV1ParamsWithContext(ctx context.Context) *GetTodayLeaderboardRankingPublicV1Params

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

func NewGetTodayLeaderboardRankingPublicV1ParamsWithHTTPClient

func NewGetTodayLeaderboardRankingPublicV1ParamsWithHTTPClient(client *http.Client) *GetTodayLeaderboardRankingPublicV1Params

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

func NewGetTodayLeaderboardRankingPublicV1ParamsWithTimeout

func NewGetTodayLeaderboardRankingPublicV1ParamsWithTimeout(timeout time.Duration) *GetTodayLeaderboardRankingPublicV1Params

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

func (*GetTodayLeaderboardRankingPublicV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) SetContext

SetContext adds the context to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) SetFlightId added in v0.63.0

func (o *GetTodayLeaderboardRankingPublicV1Params) SetFlightId(flightId string)

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

func (*GetTodayLeaderboardRankingPublicV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) SetLeaderboardCode

func (o *GetTodayLeaderboardRankingPublicV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) SetLimit

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

SetLimit adds the limit to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) SetNamespace

func (o *GetTodayLeaderboardRankingPublicV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) SetOffset

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

SetOffset adds the offset to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) SetPreviousVersion added in v0.47.0

func (o *GetTodayLeaderboardRankingPublicV1Params) SetPreviousVersion(previousVersion *int64)

SetPreviousVersion adds the previousVersion to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) SetTimeout

SetTimeout adds the timeout to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) WithContext

WithContext adds the context to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) WithLeaderboardCode

WithLeaderboardCode adds the leaderboardCode to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) WithLimit

WithLimit adds the limit to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) WithNamespace

WithNamespace adds the namespace to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) WithOffset

WithOffset adds the offset to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) WithPreviousVersion added in v0.47.0

WithPreviousVersion adds the previousVersion to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) WithTimeout

WithTimeout adds the timeout to the get today leaderboard ranking public v1 params

func (*GetTodayLeaderboardRankingPublicV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTodayLeaderboardRankingPublicV1Reader

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

GetTodayLeaderboardRankingPublicV1Reader is a Reader for the GetTodayLeaderboardRankingPublicV1 structure.

func (*GetTodayLeaderboardRankingPublicV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserRankingAdminV1Forbidden

type GetUserRankingAdminV1Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserRankingAdminV1Forbidden 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 NewGetUserRankingAdminV1Forbidden

func NewGetUserRankingAdminV1Forbidden() *GetUserRankingAdminV1Forbidden

NewGetUserRankingAdminV1Forbidden creates a GetUserRankingAdminV1Forbidden with default headers values

func (*GetUserRankingAdminV1Forbidden) Error

func (*GetUserRankingAdminV1Forbidden) GetPayload

func (*GetUserRankingAdminV1Forbidden) ToJSONString added in v0.25.0

func (o *GetUserRankingAdminV1Forbidden) ToJSONString() string

type GetUserRankingAdminV1InternalServerError

type GetUserRankingAdminV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserRankingAdminV1InternalServerError 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 NewGetUserRankingAdminV1InternalServerError

func NewGetUserRankingAdminV1InternalServerError() *GetUserRankingAdminV1InternalServerError

NewGetUserRankingAdminV1InternalServerError creates a GetUserRankingAdminV1InternalServerError with default headers values

func (*GetUserRankingAdminV1InternalServerError) Error

func (*GetUserRankingAdminV1InternalServerError) GetPayload

func (*GetUserRankingAdminV1InternalServerError) ToJSONString added in v0.25.0

type GetUserRankingAdminV1NotFound

type GetUserRankingAdminV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserRankingAdminV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71230</td><td>leaderboard configuration not found</td></tr><tr><td>71237</td><td>leaderboard ranking not created for inactive leaderboard</td></tr><tr><td>71233</td><td>user ranking data not found</td></tr></table>

func NewGetUserRankingAdminV1NotFound

func NewGetUserRankingAdminV1NotFound() *GetUserRankingAdminV1NotFound

NewGetUserRankingAdminV1NotFound creates a GetUserRankingAdminV1NotFound with default headers values

func (*GetUserRankingAdminV1NotFound) Error

func (*GetUserRankingAdminV1NotFound) GetPayload

func (*GetUserRankingAdminV1NotFound) ToJSONString added in v0.25.0

func (o *GetUserRankingAdminV1NotFound) ToJSONString() string

type GetUserRankingAdminV1OK

type GetUserRankingAdminV1OK struct {
	Payload *leaderboardclientmodels.ModelsUserRankingResponse
}

GetUserRankingAdminV1OK handles this case with default header values.

User ranking retrieved

func NewGetUserRankingAdminV1OK

func NewGetUserRankingAdminV1OK() *GetUserRankingAdminV1OK

NewGetUserRankingAdminV1OK creates a GetUserRankingAdminV1OK with default headers values

func (*GetUserRankingAdminV1OK) Error

func (o *GetUserRankingAdminV1OK) Error() string

func (*GetUserRankingAdminV1OK) GetPayload

func (*GetUserRankingAdminV1OK) ToJSONString added in v0.25.0

func (o *GetUserRankingAdminV1OK) ToJSONString() string

type GetUserRankingAdminV1Params

type GetUserRankingAdminV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  User ID

	*/
	UserID string
	/*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

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

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

func NewGetUserRankingAdminV1Params

func NewGetUserRankingAdminV1Params() *GetUserRankingAdminV1Params

NewGetUserRankingAdminV1Params creates a new GetUserRankingAdminV1Params object with the default values initialized.

func NewGetUserRankingAdminV1ParamsWithContext

func NewGetUserRankingAdminV1ParamsWithContext(ctx context.Context) *GetUserRankingAdminV1Params

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

func NewGetUserRankingAdminV1ParamsWithHTTPClient

func NewGetUserRankingAdminV1ParamsWithHTTPClient(client *http.Client) *GetUserRankingAdminV1Params

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

func NewGetUserRankingAdminV1ParamsWithTimeout

func NewGetUserRankingAdminV1ParamsWithTimeout(timeout time.Duration) *GetUserRankingAdminV1Params

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

func (*GetUserRankingAdminV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) SetContext

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

SetContext adds the context to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) SetFlightId added in v0.63.0

func (o *GetUserRankingAdminV1Params) SetFlightId(flightId string)

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

func (*GetUserRankingAdminV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) SetLeaderboardCode

func (o *GetUserRankingAdminV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) SetNamespace

func (o *GetUserRankingAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) SetPreviousVersion added in v0.47.0

func (o *GetUserRankingAdminV1Params) SetPreviousVersion(previousVersion *int64)

SetPreviousVersion adds the previousVersion to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) SetTimeout

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

SetTimeout adds the timeout to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) SetUserID

func (o *GetUserRankingAdminV1Params) SetUserID(userID string)

SetUserID adds the userId to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) WithContext

WithContext adds the context to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) WithLeaderboardCode

func (o *GetUserRankingAdminV1Params) WithLeaderboardCode(leaderboardCode string) *GetUserRankingAdminV1Params

WithLeaderboardCode adds the leaderboardCode to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) WithNamespace

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

WithNamespace adds the namespace to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) WithPreviousVersion added in v0.47.0

func (o *GetUserRankingAdminV1Params) WithPreviousVersion(previousVersion *int64) *GetUserRankingAdminV1Params

WithPreviousVersion adds the previousVersion to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) WithTimeout

WithTimeout adds the timeout to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) WithUserID

WithUserID adds the userID to the get user ranking admin v1 params

func (*GetUserRankingAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserRankingAdminV1Reader

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

GetUserRankingAdminV1Reader is a Reader for the GetUserRankingAdminV1 structure.

func (*GetUserRankingAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserRankingAdminV1Unauthorized

type GetUserRankingAdminV1Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserRankingAdminV1Unauthorized 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 NewGetUserRankingAdminV1Unauthorized

func NewGetUserRankingAdminV1Unauthorized() *GetUserRankingAdminV1Unauthorized

NewGetUserRankingAdminV1Unauthorized creates a GetUserRankingAdminV1Unauthorized with default headers values

func (*GetUserRankingAdminV1Unauthorized) Error

func (*GetUserRankingAdminV1Unauthorized) GetPayload

func (*GetUserRankingAdminV1Unauthorized) ToJSONString added in v0.25.0

func (o *GetUserRankingAdminV1Unauthorized) ToJSONString() string

type GetUserRankingPublicV1Forbidden

type GetUserRankingPublicV1Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserRankingPublicV1Forbidden 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 NewGetUserRankingPublicV1Forbidden

func NewGetUserRankingPublicV1Forbidden() *GetUserRankingPublicV1Forbidden

NewGetUserRankingPublicV1Forbidden creates a GetUserRankingPublicV1Forbidden with default headers values

func (*GetUserRankingPublicV1Forbidden) Error

func (*GetUserRankingPublicV1Forbidden) GetPayload

func (*GetUserRankingPublicV1Forbidden) ToJSONString added in v0.25.0

func (o *GetUserRankingPublicV1Forbidden) ToJSONString() string

type GetUserRankingPublicV1InternalServerError

type GetUserRankingPublicV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserRankingPublicV1InternalServerError 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 NewGetUserRankingPublicV1InternalServerError

func NewGetUserRankingPublicV1InternalServerError() *GetUserRankingPublicV1InternalServerError

NewGetUserRankingPublicV1InternalServerError creates a GetUserRankingPublicV1InternalServerError with default headers values

func (*GetUserRankingPublicV1InternalServerError) Error

func (*GetUserRankingPublicV1InternalServerError) GetPayload

func (*GetUserRankingPublicV1InternalServerError) ToJSONString added in v0.25.0

type GetUserRankingPublicV1NotFound

type GetUserRankingPublicV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserRankingPublicV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71230</td><td>leaderboard configuration not found</td></tr><tr><td>71237</td><td>leaderboard ranking not created for inactive leaderboard</td></tr><tr><td>71233</td><td>user ranking data not found</td></tr></table>

func NewGetUserRankingPublicV1NotFound

func NewGetUserRankingPublicV1NotFound() *GetUserRankingPublicV1NotFound

NewGetUserRankingPublicV1NotFound creates a GetUserRankingPublicV1NotFound with default headers values

func (*GetUserRankingPublicV1NotFound) Error

func (*GetUserRankingPublicV1NotFound) GetPayload

func (*GetUserRankingPublicV1NotFound) ToJSONString added in v0.25.0

func (o *GetUserRankingPublicV1NotFound) ToJSONString() string

type GetUserRankingPublicV1OK

type GetUserRankingPublicV1OK struct {
	Payload *leaderboardclientmodels.ModelsUserRankingResponse
}

GetUserRankingPublicV1OK handles this case with default header values.

User ranking retrieved

func NewGetUserRankingPublicV1OK

func NewGetUserRankingPublicV1OK() *GetUserRankingPublicV1OK

NewGetUserRankingPublicV1OK creates a GetUserRankingPublicV1OK with default headers values

func (*GetUserRankingPublicV1OK) Error

func (o *GetUserRankingPublicV1OK) Error() string

func (*GetUserRankingPublicV1OK) GetPayload

func (*GetUserRankingPublicV1OK) ToJSONString added in v0.25.0

func (o *GetUserRankingPublicV1OK) ToJSONString() string

type GetUserRankingPublicV1Params

type GetUserRankingPublicV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  User ID

	*/
	UserID string
	/*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

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

GetUserRankingPublicV1Params contains all the parameters to send to the API endpoint for the get user ranking public v1 operation typically these are written to a http.Request

func NewGetUserRankingPublicV1Params

func NewGetUserRankingPublicV1Params() *GetUserRankingPublicV1Params

NewGetUserRankingPublicV1Params creates a new GetUserRankingPublicV1Params object with the default values initialized.

func NewGetUserRankingPublicV1ParamsWithContext

func NewGetUserRankingPublicV1ParamsWithContext(ctx context.Context) *GetUserRankingPublicV1Params

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

func NewGetUserRankingPublicV1ParamsWithHTTPClient

func NewGetUserRankingPublicV1ParamsWithHTTPClient(client *http.Client) *GetUserRankingPublicV1Params

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

func NewGetUserRankingPublicV1ParamsWithTimeout

func NewGetUserRankingPublicV1ParamsWithTimeout(timeout time.Duration) *GetUserRankingPublicV1Params

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

func (*GetUserRankingPublicV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) SetContext

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

SetContext adds the context to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) SetFlightId added in v0.63.0

func (o *GetUserRankingPublicV1Params) SetFlightId(flightId string)

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

func (*GetUserRankingPublicV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) SetLeaderboardCode

func (o *GetUserRankingPublicV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) SetNamespace

func (o *GetUserRankingPublicV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) SetPreviousVersion added in v0.47.0

func (o *GetUserRankingPublicV1Params) SetPreviousVersion(previousVersion *int64)

SetPreviousVersion adds the previousVersion to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) SetTimeout

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

SetTimeout adds the timeout to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) SetUserID

func (o *GetUserRankingPublicV1Params) SetUserID(userID string)

SetUserID adds the userId to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) WithContext

WithContext adds the context to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) WithLeaderboardCode

func (o *GetUserRankingPublicV1Params) WithLeaderboardCode(leaderboardCode string) *GetUserRankingPublicV1Params

WithLeaderboardCode adds the leaderboardCode to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) WithNamespace

WithNamespace adds the namespace to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) WithPreviousVersion added in v0.47.0

func (o *GetUserRankingPublicV1Params) WithPreviousVersion(previousVersion *int64) *GetUserRankingPublicV1Params

WithPreviousVersion adds the previousVersion to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) WithTimeout

WithTimeout adds the timeout to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) WithUserID

WithUserID adds the userID to the get user ranking public v1 params

func (*GetUserRankingPublicV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserRankingPublicV1Reader

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

GetUserRankingPublicV1Reader is a Reader for the GetUserRankingPublicV1 structure.

func (*GetUserRankingPublicV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserRankingPublicV1Unauthorized

type GetUserRankingPublicV1Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserRankingPublicV1Unauthorized 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 NewGetUserRankingPublicV1Unauthorized

func NewGetUserRankingPublicV1Unauthorized() *GetUserRankingPublicV1Unauthorized

NewGetUserRankingPublicV1Unauthorized creates a GetUserRankingPublicV1Unauthorized with default headers values

func (*GetUserRankingPublicV1Unauthorized) Error

func (*GetUserRankingPublicV1Unauthorized) GetPayload

func (*GetUserRankingPublicV1Unauthorized) ToJSONString added in v0.25.0

func (o *GetUserRankingPublicV1Unauthorized) ToJSONString() string

type UpdateUserPointAdminV1BadRequest

type UpdateUserPointAdminV1BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

UpdateUserPointAdminV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewUpdateUserPointAdminV1BadRequest

func NewUpdateUserPointAdminV1BadRequest() *UpdateUserPointAdminV1BadRequest

NewUpdateUserPointAdminV1BadRequest creates a UpdateUserPointAdminV1BadRequest with default headers values

func (*UpdateUserPointAdminV1BadRequest) Error

func (*UpdateUserPointAdminV1BadRequest) GetPayload

func (*UpdateUserPointAdminV1BadRequest) ToJSONString added in v0.25.0

func (o *UpdateUserPointAdminV1BadRequest) ToJSONString() string

type UpdateUserPointAdminV1Forbidden

type UpdateUserPointAdminV1Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

UpdateUserPointAdminV1Forbidden 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 NewUpdateUserPointAdminV1Forbidden

func NewUpdateUserPointAdminV1Forbidden() *UpdateUserPointAdminV1Forbidden

NewUpdateUserPointAdminV1Forbidden creates a UpdateUserPointAdminV1Forbidden with default headers values

func (*UpdateUserPointAdminV1Forbidden) Error

func (*UpdateUserPointAdminV1Forbidden) GetPayload

func (*UpdateUserPointAdminV1Forbidden) ToJSONString added in v0.25.0

func (o *UpdateUserPointAdminV1Forbidden) ToJSONString() string

type UpdateUserPointAdminV1InternalServerError

type UpdateUserPointAdminV1InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

UpdateUserPointAdminV1InternalServerError 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 NewUpdateUserPointAdminV1InternalServerError

func NewUpdateUserPointAdminV1InternalServerError() *UpdateUserPointAdminV1InternalServerError

NewUpdateUserPointAdminV1InternalServerError creates a UpdateUserPointAdminV1InternalServerError with default headers values

func (*UpdateUserPointAdminV1InternalServerError) Error

func (*UpdateUserPointAdminV1InternalServerError) GetPayload

func (*UpdateUserPointAdminV1InternalServerError) ToJSONString added in v0.25.0

type UpdateUserPointAdminV1NotFound

type UpdateUserPointAdminV1NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

UpdateUserPointAdminV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71130</td><td>leaderboard config not found</td></tr></table>

func NewUpdateUserPointAdminV1NotFound

func NewUpdateUserPointAdminV1NotFound() *UpdateUserPointAdminV1NotFound

NewUpdateUserPointAdminV1NotFound creates a UpdateUserPointAdminV1NotFound with default headers values

func (*UpdateUserPointAdminV1NotFound) Error

func (*UpdateUserPointAdminV1NotFound) GetPayload

func (*UpdateUserPointAdminV1NotFound) ToJSONString added in v0.25.0

func (o *UpdateUserPointAdminV1NotFound) ToJSONString() string

type UpdateUserPointAdminV1OK

type UpdateUserPointAdminV1OK struct {
	Payload *leaderboardclientmodels.ModelsUpdateUserPointAdminV1Response
}

UpdateUserPointAdminV1OK handles this case with default header values.

User point updated

func NewUpdateUserPointAdminV1OK

func NewUpdateUserPointAdminV1OK() *UpdateUserPointAdminV1OK

NewUpdateUserPointAdminV1OK creates a UpdateUserPointAdminV1OK with default headers values

func (*UpdateUserPointAdminV1OK) Error

func (o *UpdateUserPointAdminV1OK) Error() string

func (*UpdateUserPointAdminV1OK) ToJSONString added in v0.25.0

func (o *UpdateUserPointAdminV1OK) ToJSONString() string

type UpdateUserPointAdminV1Params

type UpdateUserPointAdminV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *leaderboardclientmodels.ModelsUpdateUserPointAdminV1Request
	/*LeaderboardCode
	  the human readable unique code to identify the leaderboard. Must be lowercase and maximum length is 48

	*/
	LeaderboardCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  User ID, should follow UUID version 4 without hyphen

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

UpdateUserPointAdminV1Params contains all the parameters to send to the API endpoint for the update user point admin v1 operation typically these are written to a http.Request

func NewUpdateUserPointAdminV1Params

func NewUpdateUserPointAdminV1Params() *UpdateUserPointAdminV1Params

NewUpdateUserPointAdminV1Params creates a new UpdateUserPointAdminV1Params object with the default values initialized.

func NewUpdateUserPointAdminV1ParamsWithContext

func NewUpdateUserPointAdminV1ParamsWithContext(ctx context.Context) *UpdateUserPointAdminV1Params

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

func NewUpdateUserPointAdminV1ParamsWithHTTPClient

func NewUpdateUserPointAdminV1ParamsWithHTTPClient(client *http.Client) *UpdateUserPointAdminV1Params

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

func NewUpdateUserPointAdminV1ParamsWithTimeout

func NewUpdateUserPointAdminV1ParamsWithTimeout(timeout time.Duration) *UpdateUserPointAdminV1Params

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

func (*UpdateUserPointAdminV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) SetBody

SetBody adds the body to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) SetContext

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

SetContext adds the context to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) SetFlightId added in v0.63.0

func (o *UpdateUserPointAdminV1Params) SetFlightId(flightId string)

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

func (*UpdateUserPointAdminV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) SetLeaderboardCode

func (o *UpdateUserPointAdminV1Params) SetLeaderboardCode(leaderboardCode string)

SetLeaderboardCode adds the leaderboardCode to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) SetNamespace

func (o *UpdateUserPointAdminV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) SetTimeout

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

SetTimeout adds the timeout to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) SetUserID

func (o *UpdateUserPointAdminV1Params) SetUserID(userID string)

SetUserID adds the userId to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) WithBody

WithBody adds the body to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) WithContext

WithContext adds the context to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) WithLeaderboardCode

func (o *UpdateUserPointAdminV1Params) WithLeaderboardCode(leaderboardCode string) *UpdateUserPointAdminV1Params

WithLeaderboardCode adds the leaderboardCode to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) WithNamespace

WithNamespace adds the namespace to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) WithTimeout

WithTimeout adds the timeout to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) WithUserID

WithUserID adds the userID to the update user point admin v1 params

func (*UpdateUserPointAdminV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateUserPointAdminV1Reader

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

UpdateUserPointAdminV1Reader is a Reader for the UpdateUserPointAdminV1 structure.

func (*UpdateUserPointAdminV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserPointAdminV1Unauthorized

type UpdateUserPointAdminV1Unauthorized struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

UpdateUserPointAdminV1Unauthorized 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 NewUpdateUserPointAdminV1Unauthorized

func NewUpdateUserPointAdminV1Unauthorized() *UpdateUserPointAdminV1Unauthorized

NewUpdateUserPointAdminV1Unauthorized creates a UpdateUserPointAdminV1Unauthorized with default headers values

func (*UpdateUserPointAdminV1Unauthorized) Error

func (*UpdateUserPointAdminV1Unauthorized) GetPayload

func (*UpdateUserPointAdminV1Unauthorized) ToJSONString added in v0.25.0

func (o *UpdateUserPointAdminV1Unauthorized) ToJSONString() string

Source Files

Jump to

Keyboard shortcuts

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