leaderboardclientmodels

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 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 {

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

func (*ModelsArchiveLeaderboardReq) Validate

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

Validate validates this Models archive leaderboard req

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

func (*ModelsArchiveLeaderboardSignedURLResponse) Validate

Validate validates this Models archive leaderboard signed URL response

type ModelsBulkUserIDsRequest

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

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

MarshalBinary interface implementation

func (*ModelsBulkUserIDsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkUserIDsRequest) Validate

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

Validate validates this Models bulk user I ds request

type ModelsBulkUserRankingResponseV3

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

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

MarshalBinary interface implementation

func (*ModelsBulkUserRankingResponseV3) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsBulkUserRankingResponseV3) Validate

Validate validates this Models bulk user ranking response V3

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

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"`

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

func (*ModelsDeleteBulkLeaderboardFailedResp) Validate

Validate validates this Models delete bulk leaderboard failed resp

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

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

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

func (*ModelsGetAllLeaderboardConfigsPublicResp) Validate

Validate validates this Models get all leaderboard configs public resp

type ModelsGetAllLeaderboardConfigsPublicRespV3

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

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

MarshalBinary interface implementation

func (*ModelsGetAllLeaderboardConfigsPublicRespV3) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetAllLeaderboardConfigsPublicRespV3) Validate

Validate validates this Models get all leaderboard configs public resp V3

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

func (*ModelsGetAllLeaderboardConfigsResp) Validate

Validate validates this Models get all leaderboard configs resp

type ModelsGetAllLeaderboardConfigsRespV3

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

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

MarshalBinary interface implementation

func (*ModelsGetAllLeaderboardConfigsRespV3) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetAllLeaderboardConfigsRespV3) Validate

Validate validates this Models get all leaderboard configs resp V3

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

func (*ModelsGetAllUserLeaderboardsResp) Validate

Validate validates this Models get all user leaderboards resp

type ModelsGetAllUserLeaderboardsRespV3

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

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

MarshalBinary interface implementation

func (*ModelsGetAllUserLeaderboardsRespV3) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetAllUserLeaderboardsRespV3) Validate

Validate validates this Models get all user leaderboards resp V3

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

func (*ModelsGetHiddenUserResponse) Validate

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

Validate validates this Models get hidden user response

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

func (*ModelsGetLeaderboardConfigPublicResp) Validate

Validate validates this Models get leaderboard config public resp

type ModelsGetLeaderboardConfigPublicRespV3

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

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

MarshalBinary interface implementation

func (*ModelsGetLeaderboardConfigPublicRespV3) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetLeaderboardConfigPublicRespV3) Validate

Validate validates this Models get leaderboard config public resp V3

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

func (*ModelsGetLeaderboardConfigResp) Validate

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

Validate validates this Models get leaderboard config resp

type ModelsGetLeaderboardConfigRespV3

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

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

MarshalBinary interface implementation

func (*ModelsGetLeaderboardConfigRespV3) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetLeaderboardConfigRespV3) Validate

Validate validates this Models get leaderboard config resp V3

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

func (*ModelsGetLeaderboardRankingResp) Validate

Validate validates this Models get leaderboard ranking resp

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

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"`

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

func (*ModelsLeaderboardConfigReq) Validate

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

Validate validates this Models leaderboard config req

type ModelsLeaderboardConfigReqV3

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

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

MarshalBinary interface implementation

func (*ModelsLeaderboardConfigReqV3) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsLeaderboardConfigReqV3) Validate

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

Validate validates this Models leaderboard config req V3

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

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 ModelsPaginationV3

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

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

MarshalBinary interface implementation

func (*ModelsPaginationV3) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPaginationV3) Validate

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

Validate validates this Models pagination V3

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

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"`

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

func (*ModelsUpdateLeaderboardConfigReq) Validate

Validate validates this Models update leaderboard config req

type ModelsUpdateLeaderboardConfigReqV3

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

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

MarshalBinary interface implementation

func (*ModelsUpdateLeaderboardConfigReqV3) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUpdateLeaderboardConfigReqV3) Validate

Validate validates this Models update leaderboard config req V3

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

func (*ModelsUpdateUserPointAdminV1Request) Validate

Validate validates this Models update user point admin V1 request

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

func (*ModelsUpdateUserPointAdminV1Response) Validate

Validate validates this Models update user point admin V1 response

type ModelsUserCycleRankingResponseDetail

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

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

MarshalBinary interface implementation

func (*ModelsUserCycleRankingResponseDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUserCycleRankingResponseDetail) Validate

Validate validates this Models user cycle ranking response detail

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

func (*ModelsUserLeaderboardRanking) Validate

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

Validate validates this Models user leaderboard ranking

type ModelsUserLeaderboardRankingV3

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

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

MarshalBinary interface implementation

func (*ModelsUserLeaderboardRankingV3) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUserLeaderboardRankingV3) Validate

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

Validate validates this Models user leaderboard ranking V3

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

func (*ModelsUserPoint) Validate

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

Validate validates this Models user point

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

func (*ModelsUserRankingResponse) Validate

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

Validate validates this Models user ranking response

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

func (*ModelsUserRankingResponseDetail) Validate

Validate validates this Models user ranking response detail

type ModelsUserRankingResponseDetailV3

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

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

MarshalBinary interface implementation

func (*ModelsUserRankingResponseDetailV3) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUserRankingResponseDetailV3) Validate

Validate validates this Models user ranking response detail V3

type ModelsUserRankingResponseV3

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

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

MarshalBinary interface implementation

func (*ModelsUserRankingResponseV3) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUserRankingResponseV3) Validate

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

Validate validates this Models user ranking response V3

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

func (*ModelsWeeklyConfig) Validate

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

Validate validates this Models weekly config

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

func (*ResponseErrorResponse) Validate

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

Validate validates this Response error response

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

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

func (*V2GetAllLeaderboardConfigsPublicResp) Validate

Validate validates this V2 get all leaderboard configs public resp

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

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

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

Source Files

Jump to

Keyboard shortcuts

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