leaderboardclientmodels

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelsArchiveLeaderboardReq

type ModelsArchiveLeaderboardReq struct {

	// leaderboard codes
	// Required: true
	LeaderboardCodes []string `json:"leaderboardCodes"`

	// limit
	// Required: true
	Limit *int64 `json:"limit"`

	// slug
	// Required: true
	Slug *string `json:"slug"`
}

ModelsArchiveLeaderboardReq models archive leaderboard req

swagger:model models.ArchiveLeaderboardReq

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

func (*ModelsArchiveLeaderboardReq) Validate

func (m *ModelsArchiveLeaderboardReq) Validate(formats strfmt.Registry) error

Validate validates this models archive leaderboard req

type ModelsArchiveLeaderboardSignedURLResponse

type ModelsArchiveLeaderboardSignedURLResponse struct {

	// leaderboard code
	// Required: true
	LeaderboardCode *string `json:"leaderboardCode"`

	// url
	// Required: true
	URL *string `json:"url"`
}

ModelsArchiveLeaderboardSignedURLResponse models archive leaderboard signed URL response

swagger:model models.ArchiveLeaderboardSignedURLResponse

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

func (*ModelsArchiveLeaderboardSignedURLResponse) Validate

Validate validates this models archive leaderboard signed URL response

type ModelsDailyConfig

type ModelsDailyConfig struct {

	// reset time
	// Required: true
	ResetTime *string `json:"resetTime"`
}

ModelsDailyConfig models daily config

swagger:model models.DailyConfig

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

func (*ModelsDailyConfig) Validate

func (m *ModelsDailyConfig) Validate(formats strfmt.Registry) error

Validate validates this models daily config

type ModelsDeleteBulkLeaderboardFailedResp

type ModelsDeleteBulkLeaderboardFailedResp struct {

	// error
	// Required: true
	Error *string `json:"error"`

	// leaderboard code
	// Required: true
	LeaderboardCode *string `json:"leaderboardCode"`
}

ModelsDeleteBulkLeaderboardFailedResp models delete bulk leaderboard failed resp

swagger:model models.DeleteBulkLeaderboardFailedResp

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

func (*ModelsDeleteBulkLeaderboardFailedResp) Validate

Validate validates this models delete bulk leaderboard failed resp

type ModelsDeleteBulkLeaderboardsReq

type ModelsDeleteBulkLeaderboardsReq struct {

	// leaderboard codes
	// Required: true
	LeaderboardCodes []string `json:"leaderboardCodes"`
}

ModelsDeleteBulkLeaderboardsReq models delete bulk leaderboards req

swagger:model models.DeleteBulkLeaderboardsReq

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

func (*ModelsDeleteBulkLeaderboardsReq) Validate

Validate validates this models delete bulk leaderboards req

type ModelsDeleteBulkLeaderboardsResp

type ModelsDeleteBulkLeaderboardsResp struct {

	// failed
	// Required: true
	Failed []*ModelsDeleteBulkLeaderboardFailedResp `json:"failed"`
}

ModelsDeleteBulkLeaderboardsResp models delete bulk leaderboards resp

swagger:model models.DeleteBulkLeaderboardsResp

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

func (*ModelsDeleteBulkLeaderboardsResp) Validate

Validate validates this models delete bulk leaderboards resp

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.GetAllLeaderboardConfigsPublicResp

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

func (*ModelsGetAllLeaderboardConfigsPublicResp) Validate

Validate validates this models get all leaderboard configs public resp

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.GetAllLeaderboardConfigsResp

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

func (*ModelsGetAllLeaderboardConfigsResp) Validate

Validate validates this models get all leaderboard configs resp

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.GetAllUserLeaderboardsResp

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

func (*ModelsGetAllUserLeaderboardsResp) Validate

Validate validates this models get all user leaderboards resp

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.GetHiddenUserResponse

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

func (*ModelsGetHiddenUserResponse) Validate

func (m *ModelsGetHiddenUserResponse) Validate(formats strfmt.Registry) error

Validate validates this models get hidden user response

type ModelsGetLeaderboardConfigPublicResp

type ModelsGetLeaderboardConfigPublicResp struct {

	// icon URL
	// Required: true
	IconURL *string `json:"iconURL"`

	// leaderboard code
	// Required: true
	LeaderboardCode *string `json:"leaderboardCode"`

	// name
	// Required: true
	Name *string `json:"name"`

	// stat code
	// Required: true
	StatCode *string `json:"statCode"`
}

ModelsGetLeaderboardConfigPublicResp models get leaderboard config public resp

swagger:model models.GetLeaderboardConfigPublicResp

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

func (*ModelsGetLeaderboardConfigPublicResp) Validate

Validate validates this models get leaderboard config public resp

type ModelsGetLeaderboardConfigResp

type ModelsGetLeaderboardConfigResp struct {

	// daily
	// Required: true
	Daily *ModelsDailyConfig `json:"daily"`

	// deleted at
	// Format: date-time
	DeletedAt *strfmt.DateTime `json:"deletedAt,omitempty"`

	// descending
	// Required: true
	Descending *bool `json:"descending"`

	// icon URL
	// Required: true
	IconURL *string `json:"iconURL"`

	// is archived
	// Required: true
	IsArchived *bool `json:"isArchived"`

	// is deleted
	// Required: true
	IsDeleted *bool `json:"isDeleted"`

	// leaderboard code
	// Required: true
	LeaderboardCode *string `json:"leaderboardCode"`

	// monthly
	// Required: true
	Monthly *ModelsMonthlyConfig `json:"monthly"`

	// name
	// Required: true
	Name *string `json:"name"`

	// season period
	// Required: true
	SeasonPeriod *int32 `json:"seasonPeriod"`

	// start time
	// Required: true
	StartTime *string `json:"startTime"`

	// stat code
	// Required: true
	StatCode *string `json:"statCode"`

	// weekly
	// Required: true
	Weekly *ModelsWeeklyConfig `json:"weekly"`
}

ModelsGetLeaderboardConfigResp models get leaderboard config resp

swagger:model models.GetLeaderboardConfigResp

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

func (*ModelsGetLeaderboardConfigResp) Validate

func (m *ModelsGetLeaderboardConfigResp) Validate(formats strfmt.Registry) error

Validate validates this models get leaderboard config resp

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.GetLeaderboardRankingResp

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

func (*ModelsGetLeaderboardRankingResp) Validate

Validate validates this models get leaderboard ranking resp

type ModelsGetUserVisibilityResponse

type ModelsGetUserVisibilityResponse struct {

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// user Id
	// Required: true
	UserID *string `json:"userId"`

	// visibility
	// Required: true
	Visibility *bool `json:"visibility"`
}

ModelsGetUserVisibilityResponse models get user visibility response

swagger:model models.GetUserVisibilityResponse

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

func (*ModelsGetUserVisibilityResponse) Validate

Validate validates this models get user visibility response

type ModelsLeaderboardConfigReq

type ModelsLeaderboardConfigReq struct {

	// daily
	// Required: true
	Daily *ModelsDailyConfig `json:"daily"`

	// descending
	// Required: true
	Descending *bool `json:"descending"`

	// icon URL
	// Required: true
	IconURL *string `json:"iconURL"`

	// leaderboard code
	// Required: true
	LeaderboardCode *string `json:"leaderboardCode"`

	// monthly
	// Required: true
	Monthly *ModelsMonthlyConfig `json:"monthly"`

	// name
	// Required: true
	Name *string `json:"name"`

	// season period
	// Required: true
	SeasonPeriod *int32 `json:"seasonPeriod"`

	// start time
	// Required: true
	StartTime *string `json:"startTime"`

	// stat code
	// Required: true
	StatCode *string `json:"statCode"`

	// weekly
	// Required: true
	Weekly *ModelsWeeklyConfig `json:"weekly"`
}

ModelsLeaderboardConfigReq models leaderboard config req

swagger:model models.LeaderboardConfigReq

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

func (*ModelsLeaderboardConfigReq) Validate

func (m *ModelsLeaderboardConfigReq) Validate(formats strfmt.Registry) error

Validate validates this models leaderboard config req

type ModelsMonthlyConfig

type ModelsMonthlyConfig struct {

	// reset date
	// Required: true
	ResetDate *int64 `json:"resetDate"`

	// reset time
	// Required: true
	ResetTime *string `json:"resetTime"`
}

ModelsMonthlyConfig models monthly config

swagger:model models.MonthlyConfig

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

func (*ModelsMonthlyConfig) Validate

func (m *ModelsMonthlyConfig) Validate(formats strfmt.Registry) error

Validate validates this models monthly config

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

func (*ModelsPagination) Validate

func (m *ModelsPagination) Validate(formats strfmt.Registry) error

Validate validates this models pagination

type ModelsSetUserVisibilityRequest

type ModelsSetUserVisibilityRequest struct {

	// visibility
	// Required: true
	Visibility *bool `json:"visibility"`
}

ModelsSetUserVisibilityRequest models set user visibility request

swagger:model models.SetUserVisibilityRequest

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

func (*ModelsSetUserVisibilityRequest) Validate

func (m *ModelsSetUserVisibilityRequest) Validate(formats strfmt.Registry) error

Validate validates this models set user visibility request

type ModelsUpdateLeaderboardConfigReq

type ModelsUpdateLeaderboardConfigReq struct {

	// daily
	// Required: true
	Daily *ModelsDailyConfig `json:"daily"`

	// descending
	// Required: true
	Descending *bool `json:"descending"`

	// icon URL
	// Required: true
	IconURL *string `json:"iconURL"`

	// monthly
	// Required: true
	Monthly *ModelsMonthlyConfig `json:"monthly"`

	// name
	// Required: true
	Name *string `json:"name"`

	// season period
	// Required: true
	SeasonPeriod *int32 `json:"seasonPeriod"`

	// start time
	// Required: true
	StartTime *string `json:"startTime"`

	// stat code
	// Required: true
	StatCode *string `json:"statCode"`

	// weekly
	// Required: true
	Weekly *ModelsWeeklyConfig `json:"weekly"`
}

ModelsUpdateLeaderboardConfigReq models update leaderboard config req

swagger:model models.UpdateLeaderboardConfigReq

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

func (*ModelsUpdateLeaderboardConfigReq) Validate

Validate validates this models update leaderboard config req

type ModelsUpdateUserPointAdminV1Request

type ModelsUpdateUserPointAdminV1Request struct {

	// inc
	// Required: true
	Inc *float64 `json:"inc"`

	// latest value
	// Required: true
	LatestValue *float64 `json:"latestValue"`
}

ModelsUpdateUserPointAdminV1Request models update user point admin v1 request

swagger:model models.UpdateUserPointAdminV1Request

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

func (*ModelsUpdateUserPointAdminV1Request) Validate

Validate validates this models update user point admin v1 request

type ModelsUpdateUserPointAdminV1Response

type ModelsUpdateUserPointAdminV1Response struct {

	// point
	// Required: true
	Point *float64 `json:"point"`

	// user Id
	// Required: true
	UserID *string `json:"userId"`
}

ModelsUpdateUserPointAdminV1Response models update user point admin v1 response

swagger:model models.UpdateUserPointAdminV1Response

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

func (*ModelsUpdateUserPointAdminV1Response) Validate

Validate validates this models update user point admin v1 response

type ModelsUserLeaderboardRanking

type ModelsUserLeaderboardRanking struct {

	// all time
	// Required: true
	AllTime *ModelsUserRankingResponseDetail `json:"allTime"`

	// current
	// Required: true
	Current *ModelsUserRankingResponseDetail `json:"current"`

	// daily
	// Required: true
	Daily *ModelsUserRankingResponseDetail `json:"daily"`

	// leaderboard code
	// Required: true
	LeaderboardCode *string `json:"leaderboardCode"`

	// leaderboard name
	// Required: true
	LeaderboardName *string `json:"leaderboardName"`

	// monthly
	// Required: true
	Monthly *ModelsUserRankingResponseDetail `json:"monthly"`

	// user Id
	// Required: true
	UserID *string `json:"userId"`

	// weekly
	// Required: true
	Weekly *ModelsUserRankingResponseDetail `json:"weekly"`
}

ModelsUserLeaderboardRanking models user leaderboard ranking

swagger:model models.UserLeaderboardRanking

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

func (*ModelsUserLeaderboardRanking) Validate

func (m *ModelsUserLeaderboardRanking) Validate(formats strfmt.Registry) error

Validate validates this models user leaderboard ranking

type ModelsUserPoint

type ModelsUserPoint struct {

	// additional data
	// Required: true
	AdditionalData interface{} `json:"additionalData"`

	// hidden
	Hidden bool `json:"hidden"`

	// point
	// Required: true
	Point *float64 `json:"point"`

	// user Id
	// Required: true
	UserID *string `json:"userId"`
}

ModelsUserPoint models user point

swagger:model models.UserPoint

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

func (*ModelsUserPoint) Validate

func (m *ModelsUserPoint) Validate(formats strfmt.Registry) error

Validate validates this models user point

type ModelsUserRankingResponse

type ModelsUserRankingResponse struct {

	// all time
	// 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"`

	// user Id
	// Required: true
	UserID *string `json:"userId"`

	// weekly
	// Required: true
	Weekly *ModelsUserRankingResponseDetail `json:"weekly"`
}

ModelsUserRankingResponse models user ranking response

swagger:model models.UserRankingResponse

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

func (*ModelsUserRankingResponse) Validate

func (m *ModelsUserRankingResponse) Validate(formats strfmt.Registry) error

Validate validates this models user ranking response

type ModelsUserRankingResponseDetail

type ModelsUserRankingResponseDetail struct {

	// additional data
	// Required: true
	AdditionalData interface{} `json:"additionalData"`

	// hidden
	Hidden bool `json:"hidden"`

	// point
	// Required: true
	Point *float64 `json:"point"`

	// rank
	// Required: true
	Rank *int64 `json:"rank"`
}

ModelsUserRankingResponseDetail models user ranking response detail

swagger:model models.UserRankingResponseDetail

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

func (*ModelsUserRankingResponseDetail) Validate

Validate validates this models user ranking response detail

type ModelsWeeklyConfig

type ModelsWeeklyConfig struct {

	// reset day
	// Required: true
	ResetDay *int64 `json:"resetDay"`

	// reset time
	// Required: true
	ResetTime *string `json:"resetTime"`
}

ModelsWeeklyConfig models weekly config

swagger:model models.WeeklyConfig

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

func (*ModelsWeeklyConfig) Validate

func (m *ModelsWeeklyConfig) Validate(formats strfmt.Registry) error

Validate validates this models weekly config

type ResponseErrorResponse

type ResponseErrorResponse struct {

	// error code
	// Required: true
	ErrorCode *int32 `json:"errorCode"`

	// error message
	// Required: true
	ErrorMessage *string `json:"errorMessage"`
}

ResponseErrorResponse response error response

swagger:model response.ErrorResponse

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

func (*ResponseErrorResponse) Validate

func (m *ResponseErrorResponse) Validate(formats strfmt.Registry) error

Validate validates this response error response

type V2Entry

type V2Entry struct {

	// additional data
	AdditionalData interface{} `json:"additionalData,omitempty"`

	// hidden
	Hidden bool `json:"hidden"`

	// point
	// Required: true
	Point *float64 `json:"point"`
}

V2Entry v2 entry

swagger:model v2.Entry

func (*V2Entry) MarshalBinary

func (m *V2Entry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2Entry) UnmarshalBinary

func (m *V2Entry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2Entry) Validate

func (m *V2Entry) Validate(formats strfmt.Registry) error

Validate validates this v2 entry

type V2GetAllLeaderboardConfigsPublicResp

type V2GetAllLeaderboardConfigsPublicResp struct {

	// data
	// Required: true
	Data []*V2GetLeaderboardConfigPublicResp `json:"data"`

	// paging
	// Required: true
	Paging *V2Pagination `json:"paging"`
}

V2GetAllLeaderboardConfigsPublicResp v2 get all leaderboard configs public resp

swagger:model v2.GetAllLeaderboardConfigsPublicResp

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

func (*V2GetAllLeaderboardConfigsPublicResp) Validate

Validate validates this v2 get all leaderboard configs public resp

type V2GetLeaderboardConfigPublicResp

type V2GetLeaderboardConfigPublicResp struct {

	// icon URL
	// Required: true
	IconURL *string `json:"iconURL"`

	// leaderboard code
	// Required: true
	LeaderboardCode *string `json:"leaderboardCode"`

	// name
	// Required: true
	Name *string `json:"name"`

	// stat code
	// Required: true
	StatCode *string `json:"statCode"`
}

V2GetLeaderboardConfigPublicResp v2 get leaderboard config public resp

swagger:model v2.GetLeaderboardConfigPublicResp

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

func (*V2GetLeaderboardConfigPublicResp) Validate

Validate validates this v2 get leaderboard config public resp

type V2GetPublicLeaderboardRankingResponse

type V2GetPublicLeaderboardRankingResponse struct {

	// data
	// Required: true
	Data []*V2Entry `json:"data"`

	// paging
	// Required: true
	Paging *V2Pagination `json:"paging"`
}

V2GetPublicLeaderboardRankingResponse v2 get public leaderboard ranking response

swagger:model v2.GetPublicLeaderboardRankingResponse

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

func (*V2GetPublicLeaderboardRankingResponse) Validate

Validate validates this v2 get public leaderboard ranking response

type V2Pagination

type V2Pagination 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"`
}

V2Pagination v2 pagination

swagger:model v2.Pagination

func (*V2Pagination) MarshalBinary

func (m *V2Pagination) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2Pagination) UnmarshalBinary

func (m *V2Pagination) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2Pagination) Validate

func (m *V2Pagination) Validate(formats strfmt.Registry) error

Validate validates this v2 pagination

Jump to

Keyboard shortcuts

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