Documentation
¶
Index ¶
- type ModelsArchiveLeaderboardReq
- type ModelsArchiveLeaderboardSignedURLResponse
- type ModelsBulkUserIDsRequest
- type ModelsBulkUserRankingResponseV3
- type ModelsDailyConfig
- type ModelsDeleteBulkLeaderboardFailedResp
- type ModelsDeleteBulkLeaderboardsReq
- type ModelsDeleteBulkLeaderboardsResp
- type ModelsGetAllLeaderboardConfigsPublicResp
- type ModelsGetAllLeaderboardConfigsPublicRespV3
- type ModelsGetAllLeaderboardConfigsResp
- type ModelsGetAllLeaderboardConfigsRespV3
- type ModelsGetAllUserLeaderboardsResp
- type ModelsGetAllUserLeaderboardsRespV3
- type ModelsGetHiddenUserResponse
- type ModelsGetLeaderboardConfigPublicResp
- type ModelsGetLeaderboardConfigPublicRespV3
- type ModelsGetLeaderboardConfigResp
- type ModelsGetLeaderboardConfigRespV3
- type ModelsGetLeaderboardRankingResp
- type ModelsGetUserVisibilityResponse
- type ModelsLeaderboardConfigReq
- type ModelsLeaderboardConfigReqV3
- type ModelsMonthlyConfig
- type ModelsPagination
- type ModelsPaginationV3
- type ModelsSetUserVisibilityRequest
- type ModelsUpdateLeaderboardConfigReq
- type ModelsUpdateLeaderboardConfigReqV3
- type ModelsUpdateUserPointAdminV1Request
- type ModelsUpdateUserPointAdminV1Response
- type ModelsUserCycleRankingResponseDetail
- type ModelsUserLeaderboardRanking
- type ModelsUserLeaderboardRankingV3
- type ModelsUserPoint
- type ModelsUserRankingResponse
- type ModelsUserRankingResponseDetail
- type ModelsUserRankingResponseDetailV3
- type ModelsUserRankingResponseV3
- type ModelsWeeklyConfig
- type ResponseErrorResponse
- type V2Entry
- type V2GetAllLeaderboardConfigsPublicResp
- type V2GetLeaderboardConfigPublicResp
- type V2GetPublicLeaderboardRankingResponse
- type V2PaginationV2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelsArchiveLeaderboardReq ¶
type ModelsArchiveLeaderboardReq struct {
// leaderboardcodes
// Required: true
LeaderboardCodes []string `json:"leaderboardCodes"`
// limit
// Required: true
// Format: int64
Limit *int64 `json:"limit"`
// slug
// Required: true
Slug *string `json:"slug"`
}
ModelsArchiveLeaderboardReq Models archive leaderboard req
swagger:model Models archive leaderboard req.
func (*ModelsArchiveLeaderboardReq) MarshalBinary ¶
func (m *ModelsArchiveLeaderboardReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsArchiveLeaderboardReq) UnmarshalBinary ¶
func (m *ModelsArchiveLeaderboardReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsArchiveLeaderboardSignedURLResponse ¶
type ModelsArchiveLeaderboardSignedURLResponse struct {
// leaderboardcode
// Required: true
LeaderboardCode *string `json:"leaderboardCode"`
// url
// Required: true
URL *string `json:"url"`
}
ModelsArchiveLeaderboardSignedURLResponse Models archive leaderboard signed URL response
swagger:model Models archive leaderboard signed URL response.
func (*ModelsArchiveLeaderboardSignedURLResponse) MarshalBinary ¶
func (m *ModelsArchiveLeaderboardSignedURLResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsArchiveLeaderboardSignedURLResponse) UnmarshalBinary ¶
func (m *ModelsArchiveLeaderboardSignedURLResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkUserIDsRequest ¶ added in v0.47.0
type ModelsBulkUserIDsRequest struct {
// userids
// Required: true
UserIds []string `json:"userIds"`
}
ModelsBulkUserIDsRequest Models bulk user I ds request
swagger:model Models bulk user I ds request.
func (*ModelsBulkUserIDsRequest) MarshalBinary ¶ added in v0.47.0
func (m *ModelsBulkUserIDsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkUserIDsRequest) UnmarshalBinary ¶ added in v0.47.0
func (m *ModelsBulkUserIDsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsBulkUserRankingResponseV3 ¶ added in v0.47.0
type ModelsBulkUserRankingResponseV3 struct {
// data
// Required: true
Data []*ModelsUserRankingResponseV3 `json:"data"`
}
ModelsBulkUserRankingResponseV3 Models bulk user ranking response V3
swagger:model Models bulk user ranking response V3.
func (*ModelsBulkUserRankingResponseV3) MarshalBinary ¶ added in v0.47.0
func (m *ModelsBulkUserRankingResponseV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsBulkUserRankingResponseV3) UnmarshalBinary ¶ added in v0.47.0
func (m *ModelsBulkUserRankingResponseV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsDailyConfig ¶
type ModelsDailyConfig struct {
// resettime
// Required: true
ResetTime *string `json:"resetTime"`
}
ModelsDailyConfig Models daily config
swagger:model Models daily config.
func (*ModelsDailyConfig) MarshalBinary ¶
func (m *ModelsDailyConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsDailyConfig) UnmarshalBinary ¶
func (m *ModelsDailyConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsDeleteBulkLeaderboardFailedResp ¶
type ModelsDeleteBulkLeaderboardFailedResp struct {
// error
// Required: true
Error *string `json:"error"`
// leaderboardcode
// Required: true
LeaderboardCode *string `json:"leaderboardCode"`
}
ModelsDeleteBulkLeaderboardFailedResp Models delete bulk leaderboard failed resp
swagger:model Models delete bulk leaderboard failed resp.
func (*ModelsDeleteBulkLeaderboardFailedResp) MarshalBinary ¶
func (m *ModelsDeleteBulkLeaderboardFailedResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsDeleteBulkLeaderboardFailedResp) UnmarshalBinary ¶
func (m *ModelsDeleteBulkLeaderboardFailedResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsDeleteBulkLeaderboardsReq ¶
type ModelsDeleteBulkLeaderboardsReq struct {
// leaderboardcodes
// Required: true
LeaderboardCodes []string `json:"leaderboardCodes"`
}
ModelsDeleteBulkLeaderboardsReq Models delete bulk leaderboards req
swagger:model Models delete bulk leaderboards req.
func (*ModelsDeleteBulkLeaderboardsReq) MarshalBinary ¶
func (m *ModelsDeleteBulkLeaderboardsReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsDeleteBulkLeaderboardsReq) UnmarshalBinary ¶
func (m *ModelsDeleteBulkLeaderboardsReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsDeleteBulkLeaderboardsResp ¶
type ModelsDeleteBulkLeaderboardsResp struct {
// failed
// Required: true
Failed []*ModelsDeleteBulkLeaderboardFailedResp `json:"failed"`
}
ModelsDeleteBulkLeaderboardsResp Models delete bulk leaderboards resp
swagger:model Models delete bulk leaderboards resp.
func (*ModelsDeleteBulkLeaderboardsResp) MarshalBinary ¶
func (m *ModelsDeleteBulkLeaderboardsResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsDeleteBulkLeaderboardsResp) UnmarshalBinary ¶
func (m *ModelsDeleteBulkLeaderboardsResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetAllLeaderboardConfigsPublicResp ¶
type ModelsGetAllLeaderboardConfigsPublicResp struct {
// data
// Required: true
Data []*ModelsGetLeaderboardConfigPublicResp `json:"data"`
// paging
// Required: true
Paging *ModelsPagination `json:"paging"`
}
ModelsGetAllLeaderboardConfigsPublicResp Models get all leaderboard configs public resp
swagger:model Models get all leaderboard configs public resp.
func (*ModelsGetAllLeaderboardConfigsPublicResp) MarshalBinary ¶
func (m *ModelsGetAllLeaderboardConfigsPublicResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetAllLeaderboardConfigsPublicResp) UnmarshalBinary ¶
func (m *ModelsGetAllLeaderboardConfigsPublicResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetAllLeaderboardConfigsPublicRespV3 ¶ added in v0.44.0
type ModelsGetAllLeaderboardConfigsPublicRespV3 struct {
// data
// Required: true
Data []*ModelsGetLeaderboardConfigPublicRespV3 `json:"data"`
// paging
// Required: true
Paging *ModelsPaginationV3 `json:"paging"`
}
ModelsGetAllLeaderboardConfigsPublicRespV3 Models get all leaderboard configs public resp V3
swagger:model Models get all leaderboard configs public resp V3.
func (*ModelsGetAllLeaderboardConfigsPublicRespV3) MarshalBinary ¶ added in v0.44.0
func (m *ModelsGetAllLeaderboardConfigsPublicRespV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetAllLeaderboardConfigsPublicRespV3) UnmarshalBinary ¶ added in v0.44.0
func (m *ModelsGetAllLeaderboardConfigsPublicRespV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetAllLeaderboardConfigsResp ¶
type ModelsGetAllLeaderboardConfigsResp struct {
// data
// Required: true
Data []*ModelsGetLeaderboardConfigResp `json:"data"`
// paging
// Required: true
Paging *ModelsPagination `json:"paging"`
}
ModelsGetAllLeaderboardConfigsResp Models get all leaderboard configs resp
swagger:model Models get all leaderboard configs resp.
func (*ModelsGetAllLeaderboardConfigsResp) MarshalBinary ¶
func (m *ModelsGetAllLeaderboardConfigsResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetAllLeaderboardConfigsResp) UnmarshalBinary ¶
func (m *ModelsGetAllLeaderboardConfigsResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetAllLeaderboardConfigsRespV3 ¶ added in v0.44.0
type ModelsGetAllLeaderboardConfigsRespV3 struct {
// data
// Required: true
Data []*ModelsGetLeaderboardConfigRespV3 `json:"data"`
// paging
// Required: true
Paging *ModelsPaginationV3 `json:"paging"`
}
ModelsGetAllLeaderboardConfigsRespV3 Models get all leaderboard configs resp V3
swagger:model Models get all leaderboard configs resp V3.
func (*ModelsGetAllLeaderboardConfigsRespV3) MarshalBinary ¶ added in v0.44.0
func (m *ModelsGetAllLeaderboardConfigsRespV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetAllLeaderboardConfigsRespV3) UnmarshalBinary ¶ added in v0.44.0
func (m *ModelsGetAllLeaderboardConfigsRespV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetAllUserLeaderboardsResp ¶
type ModelsGetAllUserLeaderboardsResp struct {
// data
// Required: true
Data []*ModelsUserLeaderboardRanking `json:"data"`
// paging
// Required: true
Paging *ModelsPagination `json:"paging"`
}
ModelsGetAllUserLeaderboardsResp Models get all user leaderboards resp
swagger:model Models get all user leaderboards resp.
func (*ModelsGetAllUserLeaderboardsResp) MarshalBinary ¶
func (m *ModelsGetAllUserLeaderboardsResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetAllUserLeaderboardsResp) UnmarshalBinary ¶
func (m *ModelsGetAllUserLeaderboardsResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetAllUserLeaderboardsRespV3 ¶ added in v0.46.0
type ModelsGetAllUserLeaderboardsRespV3 struct {
// data
// Required: true
Data []*ModelsUserLeaderboardRankingV3 `json:"data"`
// paging
// Required: true
Paging *ModelsPaginationV3 `json:"paging"`
}
ModelsGetAllUserLeaderboardsRespV3 Models get all user leaderboards resp V3
swagger:model Models get all user leaderboards resp V3.
func (*ModelsGetAllUserLeaderboardsRespV3) MarshalBinary ¶ added in v0.46.0
func (m *ModelsGetAllUserLeaderboardsRespV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetAllUserLeaderboardsRespV3) UnmarshalBinary ¶ added in v0.46.0
func (m *ModelsGetAllUserLeaderboardsRespV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetHiddenUserResponse ¶
type ModelsGetHiddenUserResponse struct {
// data
// Required: true
Data []string `json:"data"`
// paging
// Required: true
Paging *ModelsPagination `json:"paging"`
}
ModelsGetHiddenUserResponse Models get hidden user response
swagger:model Models get hidden user response.
func (*ModelsGetHiddenUserResponse) MarshalBinary ¶
func (m *ModelsGetHiddenUserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetHiddenUserResponse) UnmarshalBinary ¶
func (m *ModelsGetHiddenUserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetLeaderboardConfigPublicResp ¶
type ModelsGetLeaderboardConfigPublicResp struct {
// iconurl
// Required: true
IconURL *string `json:"iconURL"`
// leaderboardcode
// Required: true
LeaderboardCode *string `json:"leaderboardCode"`
// name
// Required: true
Name *string `json:"name"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
}
ModelsGetLeaderboardConfigPublicResp Models get leaderboard config public resp
swagger:model Models get leaderboard config public resp.
func (*ModelsGetLeaderboardConfigPublicResp) MarshalBinary ¶
func (m *ModelsGetLeaderboardConfigPublicResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetLeaderboardConfigPublicResp) UnmarshalBinary ¶
func (m *ModelsGetLeaderboardConfigPublicResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetLeaderboardConfigPublicRespV3 ¶ added in v0.44.0
type ModelsGetLeaderboardConfigPublicRespV3 struct {
// alltime
// Required: true
AllTime *bool `json:"allTime"`
// cycleids
// Required: true
CycleIds []string `json:"cycleIds"`
// iconurl
// Required: true
IconURL *string `json:"iconURL"`
// leaderboardcode
// Required: true
LeaderboardCode *string `json:"leaderboardCode"`
// name
// Required: true
Name *string `json:"name"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
}
ModelsGetLeaderboardConfigPublicRespV3 Models get leaderboard config public resp V3
swagger:model Models get leaderboard config public resp V3.
func (*ModelsGetLeaderboardConfigPublicRespV3) MarshalBinary ¶ added in v0.44.0
func (m *ModelsGetLeaderboardConfigPublicRespV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetLeaderboardConfigPublicRespV3) UnmarshalBinary ¶ added in v0.44.0
func (m *ModelsGetLeaderboardConfigPublicRespV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetLeaderboardConfigResp ¶
type ModelsGetLeaderboardConfigResp struct {
// daily
// Required: true
Daily *ModelsDailyConfig `json:"daily"`
// deletedat
// Format: date-time
DeletedAt *strfmt.DateTime `json:"deletedAt,omitempty"`
// descending
// Required: true
Descending *bool `json:"descending"`
// iconurl
// Required: true
IconURL *string `json:"iconURL"`
// isarchived
// Required: true
IsArchived *bool `json:"isArchived"`
// isdeleted
// Required: true
IsDeleted *bool `json:"isDeleted"`
// leaderboardcode
// Required: true
LeaderboardCode *string `json:"leaderboardCode"`
// monthly
// Required: true
Monthly *ModelsMonthlyConfig `json:"monthly"`
// name
// Required: true
Name *string `json:"name"`
// seasonperiod
// Required: true
// Format: int32
SeasonPeriod *int32 `json:"seasonPeriod"`
// starttime
// Required: true
StartTime *string `json:"startTime"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
// weekly
// Required: true
Weekly *ModelsWeeklyConfig `json:"weekly"`
}
ModelsGetLeaderboardConfigResp Models get leaderboard config resp
swagger:model Models get leaderboard config resp.
func (*ModelsGetLeaderboardConfigResp) MarshalBinary ¶
func (m *ModelsGetLeaderboardConfigResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetLeaderboardConfigResp) UnmarshalBinary ¶
func (m *ModelsGetLeaderboardConfigResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetLeaderboardConfigRespV3 ¶ added in v0.44.0
type ModelsGetLeaderboardConfigRespV3 struct {
// alltime
// Required: true
AllTime *bool `json:"allTime"`
// createdat
// Required: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// cycleids
// Required: true
CycleIds []string `json:"cycleIds"`
// deletedat
// Format: date-time
DeletedAt *strfmt.DateTime `json:"deletedAt,omitempty"`
// descending
// Required: true
Descending *bool `json:"descending"`
// description
Description string `json:"description,omitempty"`
// iconurl
IconURL string `json:"iconURL,omitempty"`
// isdeleted
// Required: true
IsDeleted *bool `json:"isDeleted"`
// leaderboardcode
// Required: true
LeaderboardCode *string `json:"leaderboardCode"`
// name
// Required: true
Name *string `json:"name"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
// updatedat
// Required: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
}
ModelsGetLeaderboardConfigRespV3 Models get leaderboard config resp V3
swagger:model Models get leaderboard config resp V3.
func (*ModelsGetLeaderboardConfigRespV3) MarshalBinary ¶ added in v0.44.0
func (m *ModelsGetLeaderboardConfigRespV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetLeaderboardConfigRespV3) UnmarshalBinary ¶ added in v0.44.0
func (m *ModelsGetLeaderboardConfigRespV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetLeaderboardRankingResp ¶
type ModelsGetLeaderboardRankingResp struct {
// data
// Required: true
Data []*ModelsUserPoint `json:"data"`
// paging
// Required: true
Paging *ModelsPagination `json:"paging"`
}
ModelsGetLeaderboardRankingResp Models get leaderboard ranking resp
swagger:model Models get leaderboard ranking resp.
func (*ModelsGetLeaderboardRankingResp) MarshalBinary ¶
func (m *ModelsGetLeaderboardRankingResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetLeaderboardRankingResp) UnmarshalBinary ¶
func (m *ModelsGetLeaderboardRankingResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGetUserVisibilityResponse ¶
type ModelsGetUserVisibilityResponse struct {
// namespace
// Required: true
Namespace *string `json:"namespace"`
// userid
// Required: true
UserID *string `json:"userId"`
// visibility
// Required: true
Visibility *bool `json:"visibility"`
}
ModelsGetUserVisibilityResponse Models get user visibility response
swagger:model Models get user visibility response.
func (*ModelsGetUserVisibilityResponse) MarshalBinary ¶
func (m *ModelsGetUserVisibilityResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGetUserVisibilityResponse) UnmarshalBinary ¶
func (m *ModelsGetUserVisibilityResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsLeaderboardConfigReq ¶
type ModelsLeaderboardConfigReq struct {
// daily
// Required: true
Daily *ModelsDailyConfig `json:"daily"`
// descending
// Required: true
Descending *bool `json:"descending"`
// iconurl
// Required: true
IconURL *string `json:"iconURL"`
// leaderboardcode
// Required: true
LeaderboardCode *string `json:"leaderboardCode"`
// monthly
// Required: true
Monthly *ModelsMonthlyConfig `json:"monthly"`
// name
// Required: true
Name *string `json:"name"`
// seasonperiod
// Required: true
// Format: int32
SeasonPeriod *int32 `json:"seasonPeriod"`
// starttime
// Required: true
StartTime *string `json:"startTime"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
// weekly
// Required: true
Weekly *ModelsWeeklyConfig `json:"weekly"`
}
ModelsLeaderboardConfigReq Models leaderboard config req
swagger:model Models leaderboard config req.
func (*ModelsLeaderboardConfigReq) MarshalBinary ¶
func (m *ModelsLeaderboardConfigReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsLeaderboardConfigReq) UnmarshalBinary ¶
func (m *ModelsLeaderboardConfigReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsLeaderboardConfigReqV3 ¶ added in v0.44.0
type ModelsLeaderboardConfigReqV3 struct {
// alltime
// Required: true
AllTime *bool `json:"allTime"`
// cycleids
CycleIds []string `json:"cycleIds,omitempty"`
// descending
// Required: true
Descending *bool `json:"descending"`
// description
Description string `json:"description,omitempty"`
// iconurl
IconURL string `json:"iconURL,omitempty"`
// leaderboardcode
// Required: true
LeaderboardCode *string `json:"leaderboardCode"`
// name
// Required: true
Name *string `json:"name"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
}
ModelsLeaderboardConfigReqV3 Models leaderboard config req V3
swagger:model Models leaderboard config req V3.
func (*ModelsLeaderboardConfigReqV3) MarshalBinary ¶ added in v0.44.0
func (m *ModelsLeaderboardConfigReqV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsLeaderboardConfigReqV3) UnmarshalBinary ¶ added in v0.44.0
func (m *ModelsLeaderboardConfigReqV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsMonthlyConfig ¶
type ModelsMonthlyConfig struct {
// resetdate
// Required: true
// Format: integer
ResetDate *int64 `json:"resetDate"`
// resettime
// Required: true
ResetTime *string `json:"resetTime"`
}
ModelsMonthlyConfig Models monthly config
swagger:model Models monthly config.
func (*ModelsMonthlyConfig) MarshalBinary ¶
func (m *ModelsMonthlyConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsMonthlyConfig) UnmarshalBinary ¶
func (m *ModelsMonthlyConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPagination ¶
type ModelsPagination struct {
// first
// Required: true
First *string `json:"First"`
// last
// Required: true
Last *string `json:"Last"`
// next
// Required: true
Next *string `json:"Next"`
// previous
// Required: true
Previous *string `json:"Previous"`
}
ModelsPagination Models pagination
swagger:model Models pagination.
func (*ModelsPagination) MarshalBinary ¶
func (m *ModelsPagination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPagination) UnmarshalBinary ¶
func (m *ModelsPagination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPaginationV3 ¶ added in v0.44.0
type ModelsPaginationV3 struct {
// first
// Required: true
First *string `json:"first"`
// last
// Required: true
Last *string `json:"last"`
// next
// Required: true
Next *string `json:"next"`
// previous
// Required: true
Previous *string `json:"previous"`
}
ModelsPaginationV3 Models pagination V3
swagger:model Models pagination V3.
func (*ModelsPaginationV3) MarshalBinary ¶ added in v0.44.0
func (m *ModelsPaginationV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPaginationV3) UnmarshalBinary ¶ added in v0.44.0
func (m *ModelsPaginationV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsSetUserVisibilityRequest ¶
type ModelsSetUserVisibilityRequest struct {
// visibility
// Required: true
Visibility *bool `json:"visibility"`
}
ModelsSetUserVisibilityRequest Models set user visibility request
swagger:model Models set user visibility request.
func (*ModelsSetUserVisibilityRequest) MarshalBinary ¶
func (m *ModelsSetUserVisibilityRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsSetUserVisibilityRequest) UnmarshalBinary ¶
func (m *ModelsSetUserVisibilityRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateLeaderboardConfigReq ¶
type ModelsUpdateLeaderboardConfigReq struct {
// daily
// Required: true
Daily *ModelsDailyConfig `json:"daily"`
// descending
// Required: true
Descending *bool `json:"descending"`
// iconurl
// Required: true
IconURL *string `json:"iconURL"`
// monthly
// Required: true
Monthly *ModelsMonthlyConfig `json:"monthly"`
// name
// Required: true
Name *string `json:"name"`
// seasonperiod
// Required: true
// Format: int32
SeasonPeriod *int32 `json:"seasonPeriod"`
// starttime
// Required: true
StartTime *string `json:"startTime"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
// weekly
// Required: true
Weekly *ModelsWeeklyConfig `json:"weekly"`
}
ModelsUpdateLeaderboardConfigReq Models update leaderboard config req
swagger:model Models update leaderboard config req.
func (*ModelsUpdateLeaderboardConfigReq) MarshalBinary ¶
func (m *ModelsUpdateLeaderboardConfigReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdateLeaderboardConfigReq) UnmarshalBinary ¶
func (m *ModelsUpdateLeaderboardConfigReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateLeaderboardConfigReqV3 ¶ added in v0.44.0
type ModelsUpdateLeaderboardConfigReqV3 struct {
// alltime
// Required: true
AllTime *bool `json:"allTime"`
// cycleids
CycleIds []string `json:"cycleIds,omitempty"`
// descending
// Required: true
Descending *bool `json:"descending"`
// description
Description string `json:"description,omitempty"`
// iconurl
IconURL string `json:"iconURL,omitempty"`
// name
// Required: true
Name *string `json:"name"`
}
ModelsUpdateLeaderboardConfigReqV3 Models update leaderboard config req V3
swagger:model Models update leaderboard config req V3.
func (*ModelsUpdateLeaderboardConfigReqV3) MarshalBinary ¶ added in v0.44.0
func (m *ModelsUpdateLeaderboardConfigReqV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdateLeaderboardConfigReqV3) UnmarshalBinary ¶ added in v0.44.0
func (m *ModelsUpdateLeaderboardConfigReqV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateUserPointAdminV1Request ¶
type ModelsUpdateUserPointAdminV1Request struct {
// inc
// Required: true
// Format: double
Inc *float64 `json:"inc"`
// latestvalue
// Required: true
// Format: double
LatestValue *float64 `json:"latestValue"`
}
ModelsUpdateUserPointAdminV1Request Models update user point admin V1 request
swagger:model Models update user point admin V1 request.
func (*ModelsUpdateUserPointAdminV1Request) MarshalBinary ¶
func (m *ModelsUpdateUserPointAdminV1Request) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdateUserPointAdminV1Request) UnmarshalBinary ¶
func (m *ModelsUpdateUserPointAdminV1Request) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateUserPointAdminV1Response ¶
type ModelsUpdateUserPointAdminV1Response struct {
// point
// Required: true
// Format: double
Point *float64 `json:"point"`
// userid
// Required: true
UserID *string `json:"userId"`
}
ModelsUpdateUserPointAdminV1Response Models update user point admin V1 response
swagger:model Models update user point admin V1 response.
func (*ModelsUpdateUserPointAdminV1Response) MarshalBinary ¶
func (m *ModelsUpdateUserPointAdminV1Response) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdateUserPointAdminV1Response) UnmarshalBinary ¶
func (m *ModelsUpdateUserPointAdminV1Response) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserCycleRankingResponseDetail ¶ added in v0.44.0
type ModelsUserCycleRankingResponseDetail struct {
// additionaldata
AdditionalData interface{} `json:"additionalData,omitempty"`
// cycleid
// Required: true
CycleID *string `json:"cycleId"`
// hidden
Hidden bool `json:"hidden"`
// point
// Required: true
// Format: double
Point *float64 `json:"point"`
// rank
// Required: true
// Format: int64
Rank *int64 `json:"rank"`
}
ModelsUserCycleRankingResponseDetail Models user cycle ranking response detail
swagger:model Models user cycle ranking response detail.
func (*ModelsUserCycleRankingResponseDetail) MarshalBinary ¶ added in v0.44.0
func (m *ModelsUserCycleRankingResponseDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUserCycleRankingResponseDetail) UnmarshalBinary ¶ added in v0.44.0
func (m *ModelsUserCycleRankingResponseDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserLeaderboardRanking ¶
type ModelsUserLeaderboardRanking struct {
// alltime
// Required: true
AllTime *ModelsUserRankingResponseDetail `json:"allTime"`
// current
// Required: true
Current *ModelsUserRankingResponseDetail `json:"current"`
// daily
// Required: true
Daily *ModelsUserRankingResponseDetail `json:"daily"`
// leaderboardcode
// Required: true
LeaderboardCode *string `json:"leaderboardCode"`
// leaderboardname
// Required: true
LeaderboardName *string `json:"leaderboardName"`
// monthly
// Required: true
Monthly *ModelsUserRankingResponseDetail `json:"monthly"`
// userid
// Required: true
UserID *string `json:"userId"`
// weekly
// Required: true
Weekly *ModelsUserRankingResponseDetail `json:"weekly"`
}
ModelsUserLeaderboardRanking Models user leaderboard ranking
swagger:model Models user leaderboard ranking.
func (*ModelsUserLeaderboardRanking) MarshalBinary ¶
func (m *ModelsUserLeaderboardRanking) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUserLeaderboardRanking) UnmarshalBinary ¶
func (m *ModelsUserLeaderboardRanking) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserLeaderboardRankingV3 ¶ added in v0.46.0
type ModelsUserLeaderboardRankingV3 struct {
// alltime
AllTime *ModelsUserRankingResponseDetailV3 `json:"allTime,omitempty"`
// cycles
// Required: true
Cycles []*ModelsUserCycleRankingResponseDetail `json:"cycles"`
// leaderboardcode
// Required: true
LeaderboardCode *string `json:"leaderboardCode"`
// leaderboardname
// Required: true
LeaderboardName *string `json:"leaderboardName"`
// userid
// Required: true
UserID *string `json:"userId"`
}
ModelsUserLeaderboardRankingV3 Models user leaderboard ranking V3
swagger:model Models user leaderboard ranking V3.
func (*ModelsUserLeaderboardRankingV3) MarshalBinary ¶ added in v0.46.0
func (m *ModelsUserLeaderboardRankingV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUserLeaderboardRankingV3) UnmarshalBinary ¶ added in v0.46.0
func (m *ModelsUserLeaderboardRankingV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserPoint ¶
type ModelsUserPoint struct {
// additionaldata
// Required: true
AdditionalData interface{} `json:"additionalData"`
// hidden
Hidden bool `json:"hidden"`
// point
// Required: true
// Format: double
Point *float64 `json:"point"`
// userid
// Required: true
UserID *string `json:"userId"`
}
ModelsUserPoint Models user point
swagger:model Models user point.
func (*ModelsUserPoint) MarshalBinary ¶
func (m *ModelsUserPoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUserPoint) UnmarshalBinary ¶
func (m *ModelsUserPoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserRankingResponse ¶
type ModelsUserRankingResponse struct {
// alltime
// Required: true
AllTime *ModelsUserRankingResponseDetail `json:"allTime"`
// current
// Required: true
Current *ModelsUserRankingResponseDetail `json:"current"`
// daily
// Required: true
Daily *ModelsUserRankingResponseDetail `json:"daily"`
// monthly
// Required: true
Monthly *ModelsUserRankingResponseDetail `json:"monthly"`
// userid
// Required: true
UserID *string `json:"userId"`
// weekly
// Required: true
Weekly *ModelsUserRankingResponseDetail `json:"weekly"`
}
ModelsUserRankingResponse Models user ranking response
swagger:model Models user ranking response.
func (*ModelsUserRankingResponse) MarshalBinary ¶
func (m *ModelsUserRankingResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUserRankingResponse) UnmarshalBinary ¶
func (m *ModelsUserRankingResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserRankingResponseDetail ¶
type ModelsUserRankingResponseDetail struct {
// additionaldata
// Required: true
AdditionalData interface{} `json:"additionalData"`
// hidden
Hidden bool `json:"hidden"`
// point
// Required: true
// Format: double
Point *float64 `json:"point"`
// rank
// Required: true
// Format: int64
Rank *int64 `json:"rank"`
}
ModelsUserRankingResponseDetail Models user ranking response detail
swagger:model Models user ranking response detail.
func (*ModelsUserRankingResponseDetail) MarshalBinary ¶
func (m *ModelsUserRankingResponseDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUserRankingResponseDetail) UnmarshalBinary ¶
func (m *ModelsUserRankingResponseDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserRankingResponseDetailV3 ¶ added in v0.44.0
type ModelsUserRankingResponseDetailV3 struct {
// additionaldata
AdditionalData interface{} `json:"additionalData,omitempty"`
// hidden
Hidden bool `json:"hidden"`
// point
// Required: true
// Format: double
Point *float64 `json:"point"`
// rank
// Required: true
// Format: int64
Rank *int64 `json:"rank"`
}
ModelsUserRankingResponseDetailV3 Models user ranking response detail V3
swagger:model Models user ranking response detail V3.
func (*ModelsUserRankingResponseDetailV3) MarshalBinary ¶ added in v0.44.0
func (m *ModelsUserRankingResponseDetailV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUserRankingResponseDetailV3) UnmarshalBinary ¶ added in v0.44.0
func (m *ModelsUserRankingResponseDetailV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserRankingResponseV3 ¶ added in v0.44.0
type ModelsUserRankingResponseV3 struct {
// alltime
AllTime *ModelsUserRankingResponseDetailV3 `json:"allTime,omitempty"`
// cycles
// Required: true
Cycles []*ModelsUserCycleRankingResponseDetail `json:"cycles"`
// userid
// Required: true
UserID *string `json:"userId"`
}
ModelsUserRankingResponseV3 Models user ranking response V3
swagger:model Models user ranking response V3.
func (*ModelsUserRankingResponseV3) MarshalBinary ¶ added in v0.44.0
func (m *ModelsUserRankingResponseV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUserRankingResponseV3) UnmarshalBinary ¶ added in v0.44.0
func (m *ModelsUserRankingResponseV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsWeeklyConfig ¶
type ModelsWeeklyConfig struct {
// resetday
// Required: true
// Format: integer
ResetDay *int64 `json:"resetDay"`
// resettime
// Required: true
ResetTime *string `json:"resetTime"`
}
ModelsWeeklyConfig Models weekly config
swagger:model Models weekly config.
func (*ModelsWeeklyConfig) MarshalBinary ¶
func (m *ModelsWeeklyConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsWeeklyConfig) UnmarshalBinary ¶
func (m *ModelsWeeklyConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseErrorResponse ¶
type ResponseErrorResponse struct {
// errorcode
// Required: true
// Format: int32
ErrorCode *int32 `json:"errorCode"`
// errormessage
// Required: true
ErrorMessage *string `json:"errorMessage"`
}
ResponseErrorResponse Response error response
swagger:model Response error response.
func (*ResponseErrorResponse) MarshalBinary ¶
func (m *ResponseErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseErrorResponse) UnmarshalBinary ¶
func (m *ResponseErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V2Entry ¶
type V2Entry struct {
// additionaldata
AdditionalData interface{} `json:"additionalData,omitempty"`
// hidden
Hidden bool `json:"hidden"`
// point
// Required: true
// Format: double
Point *float64 `json:"point"`
}
V2Entry V2 entry
swagger:model V2 entry.
func (*V2Entry) MarshalBinary ¶
MarshalBinary interface implementation
func (*V2Entry) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V2GetAllLeaderboardConfigsPublicResp ¶
type V2GetAllLeaderboardConfigsPublicResp struct {
// data
// Required: true
Data []*V2GetLeaderboardConfigPublicResp `json:"data"`
// paging
// Required: true
Paging *V2PaginationV2 `json:"paging"`
}
V2GetAllLeaderboardConfigsPublicResp V2 get all leaderboard configs public resp
swagger:model V2 get all leaderboard configs public resp.
func (*V2GetAllLeaderboardConfigsPublicResp) MarshalBinary ¶
func (m *V2GetAllLeaderboardConfigsPublicResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V2GetAllLeaderboardConfigsPublicResp) UnmarshalBinary ¶
func (m *V2GetAllLeaderboardConfigsPublicResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V2GetLeaderboardConfigPublicResp ¶
type V2GetLeaderboardConfigPublicResp struct {
// iconurl
// Required: true
IconURL *string `json:"iconURL"`
// leaderboardcode
// Required: true
LeaderboardCode *string `json:"leaderboardCode"`
// name
// Required: true
Name *string `json:"name"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
}
V2GetLeaderboardConfigPublicResp V2 get leaderboard config public resp
swagger:model V2 get leaderboard config public resp.
func (*V2GetLeaderboardConfigPublicResp) MarshalBinary ¶
func (m *V2GetLeaderboardConfigPublicResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V2GetLeaderboardConfigPublicResp) UnmarshalBinary ¶
func (m *V2GetLeaderboardConfigPublicResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V2GetPublicLeaderboardRankingResponse ¶
type V2GetPublicLeaderboardRankingResponse struct {
// data
// Required: true
Data []*V2Entry `json:"data"`
// paging
// Required: true
Paging *V2PaginationV2 `json:"paging"`
}
V2GetPublicLeaderboardRankingResponse V2 get public leaderboard ranking response
swagger:model V2 get public leaderboard ranking response.
func (*V2GetPublicLeaderboardRankingResponse) MarshalBinary ¶
func (m *V2GetPublicLeaderboardRankingResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V2GetPublicLeaderboardRankingResponse) UnmarshalBinary ¶
func (m *V2GetPublicLeaderboardRankingResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V2PaginationV2 ¶ added in v0.70.0
type V2PaginationV2 struct {
// first
// Required: true
First *string `json:"first"`
// last
// Required: true
Last *string `json:"last"`
// next
// Required: true
Next *string `json:"next"`
// previous
// Required: true
Previous *string `json:"previous"`
}
V2PaginationV2 V2 pagination V2
swagger:model V2 pagination V2.
func (*V2PaginationV2) MarshalBinary ¶ added in v0.70.0
func (m *V2PaginationV2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V2PaginationV2) UnmarshalBinary ¶ added in v0.70.0
func (m *V2PaginationV2) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- models_archive_leaderboard_req.go
- models_archive_leaderboard_signed_url_response.go
- models_bulk_user_i_ds_request.go
- models_bulk_user_ranking_response_v3.go
- models_daily_config.go
- models_delete_bulk_leaderboard_failed_resp.go
- models_delete_bulk_leaderboards_req.go
- models_delete_bulk_leaderboards_resp.go
- models_get_all_leaderboard_configs_public_resp.go
- models_get_all_leaderboard_configs_public_resp_v3.go
- models_get_all_leaderboard_configs_resp.go
- models_get_all_leaderboard_configs_resp_v3.go
- models_get_all_user_leaderboards_resp.go
- models_get_all_user_leaderboards_resp_v3.go
- models_get_hidden_user_response.go
- models_get_leaderboard_config_public_resp.go
- models_get_leaderboard_config_public_resp_v3.go
- models_get_leaderboard_config_resp.go
- models_get_leaderboard_config_resp_v3.go
- models_get_leaderboard_ranking_resp.go
- models_get_user_visibility_response.go
- models_leaderboard_config_req.go
- models_leaderboard_config_req_v3.go
- models_monthly_config.go
- models_pagination.go
- models_pagination_v3.go
- models_set_user_visibility_request.go
- models_update_leaderboard_config_req.go
- models_update_leaderboard_config_req_v3.go
- models_update_user_point_admin_v1_request.go
- models_update_user_point_admin_v1_response.go
- models_user_cycle_ranking_response_detail.go
- models_user_leaderboard_ranking.go
- models_user_leaderboard_ranking_v3.go
- models_user_point.go
- models_user_ranking_response.go
- models_user_ranking_response_detail.go
- models_user_ranking_response_detail_v3.go
- models_user_ranking_response_v3.go
- models_weekly_config.go
- response_error_response.go
- v2_entry.go
- v2_get_all_leaderboard_configs_public_resp.go
- v2_get_leaderboard_config_public_resp.go
- v2_get_public_leaderboard_ranking_response.go
- v2_pagination_v2.go