models

package
v0.0.0-...-0de79a6 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MatchID

type MatchID struct {
	ActiveFlag *string `json:"Active_Flag,omitempty"`
	Match      *string `json:"Match,omitempty"`
	RetMsg     *string `json:"ret_msg,omitempty"`
}

type MatchIDWithQueue

type MatchIDWithQueue struct {
	MatchID `json:",inline"`
	QueueID int `json:"QueueID"`
}

type PlayerID

type PlayerID struct {
	PlayerID    *int64  `json:"player_id,omitempty"`
	Portal      *string `json:"portal,omitempty"`
	PortalID    *string `json:"portal_id,omitempty"`
	PrivacyFlag *string `json:"privacy_flag,omitempty"`
	RetMsg      *string `json:"ret_msg,omitempty"`
}

type PlayerIDWithName

type PlayerIDWithName struct {
	PlayerID `json:",inline"`
	Name     string `json:"Name"`
}

type QueueID

type QueueID int
const RankedConquest QueueID = 451

TODO: put in all the plain name to int conversions here

type QueueStat

type QueueStat struct {
	Assists    *int64  `json:"Assists,omitempty"`
	Deaths     *int64  `json:"Deaths,omitempty"`
	God        *string `json:"God,omitempty"`
	GodID      *int64  `json:"GodId,omitempty"`
	Gold       *int64  `json:"Gold,omitempty"`
	Kills      *int64  `json:"Kills,omitempty"`
	LastPlayed *string `json:"LastPlayed,omitempty"`
	Losses     *int64  `json:"Losses,omitempty"`
	Matches    *int64  `json:"Matches,omitempty"`
	Minutes    *int64  `json:"Minutes,omitempty"`
	Queue      *string `json:"Queue,omitempty"`
	Wins       *int64  `json:"Wins,omitempty"`
	PlayerID   *string `json:"player_id,omitempty"`
	RetMsg     *string `json:"ret_msg,omitempty"`
}

type RetMsg

type RetMsg struct {
	Msg *string `json:"ret_msg,omitempty"`
}

type Session

type Session struct {
	RetMsg    *string `json:"ret_msg,omitempty"`
	SessionID *string `json:"session_id,omitempty"`
	Timestamp *string `json:"timestamp,omitempty"`
}

type UsageInfo

type UsageInfo struct {
	ActiveSessions     *int64  `json:"Active_Sessions,omitempty"`
	ConcurrentSessions *int64  `json:"Concurrent_Sessions,omitempty"`
	RequestLimitDaily  *int64  `json:"Request_Limit_Daily,omitempty"`
	SessionCap         *int64  `json:"Session_Cap,omitempty"`
	SessionTimeLimit   *int64  `json:"Session_Time_Limit,omitempty"`
	TotalRequestsToday *int64  `json:"Total_Requests_Today,omitempty"`
	TotalSessionsToday *int64  `json:"Total_Sessions_Today,omitempty"`
	RetMsg             *string `json:"ret_msg,omitempty"`
}

Jump to

Keyboard shortcuts

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