Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
type APIError struct {
// status
Status *Status `json:"status,omitempty"`
}
APIError API error swagger:model APIError
func (*APIError) MarshalBinary ¶
MarshalBinary interface implementation
func (*APIError) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ChampionInfo ¶
type ChampionInfo struct {
// free champion ids
FreeChampionIds []int32 `json:"freeChampionIds"`
// free champion ids for new players
FreeChampionIdsForNewPlayers []int32 `json:"freeChampionIdsForNewPlayers"`
// max new player level
MaxNewPlayerLevel int32 `json:"maxNewPlayerLevel,omitempty"`
}
ChampionInfo champion info swagger:model ChampionInfo
func (*ChampionInfo) MarshalBinary ¶
func (m *ChampionInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChampionInfo) UnmarshalBinary ¶
func (m *ChampionInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChampionMastery ¶
type ChampionMastery struct {
// Champion ID
// Read Only: true
ChampionID int64 `json:"championId,omitempty"`
// Champion level for specified player and champion combination
// Read Only: true
ChampionLevel int32 `json:"championLevel,omitempty"`
// Total number of champion points for this player and champion combination - they are used to determine championLevel
// Read Only: true
ChampionPoints int32 `json:"championPoints,omitempty"`
// Number of points earned since current level has been achieved
// Read Only: true
ChampionPointsSinceLastLevel int64 `json:"championPointsSinceLastLevel,omitempty"`
// Number of points needed to achieve next level. Zero if player reached maximum champion level for this champion
// Read Only: true
ChampionPointsUntilNextLevel int64 `json:"championPointsUntilNextLevel,omitempty"`
// Is chest granted for this champion or not in current season
// Read Only: true
ChestGranted *bool `json:"chestGranted,omitempty"`
// Last time this champion was played by this player - in Unix milliseconds time format
// Read Only: true
LastPlayTime int64 `json:"lastPlayTime,omitempty"`
// Summoner ID (Encrypted)
// Read Only: true
SummonerID string `json:"summonerId,omitempty"`
// The token earned for this champion to levelup
// Read Only: true
TokensEarned int32 `json:"tokensEarned,omitempty"`
}
ChampionMastery Contains single Champion Mastery information for player and champion combination swagger:model ChampionMastery
func (*ChampionMastery) MarshalBinary ¶
func (m *ChampionMastery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChampionMastery) UnmarshalBinary ¶
func (m *ChampionMastery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LeagueEntry ¶
type LeagueEntry struct {
// fresh blood
// Read Only: true
FreshBlood *bool `json:"freshBlood,omitempty"`
// hot streak
// Read Only: true
HotStreak *bool `json:"hotStreak,omitempty"`
// inactive
// Read Only: true
Inactive *bool `json:"inactive,omitempty"`
// league Id
// Read Only: true
LeagueID string `json:"leagueId,omitempty"`
// league points
// Read Only: true
LeaguePoints int32 `json:"leaguePoints,omitempty"`
// Losing team on Summoners Rift. Second through eighth placement in Teamfight Tactics.
// Read Only: true
Losses int32 `json:"losses,omitempty"`
// mini series
MiniSeries *MiniSeries `json:"miniSeries,omitempty"`
// queue type
// Read Only: true
QueueType string `json:"queueType,omitempty"`
// rank
// Read Only: true
Rank string `json:"rank,omitempty"`
// Summoner ID (Encrypted)
// Read Only: true
SummonerID string `json:"summonerId,omitempty"`
// summoner name
// Read Only: true
SummonerName string `json:"summonerName,omitempty"`
// tier
// Read Only: true
Tier string `json:"tier,omitempty"`
// veteran
// Read Only: true
Veteran *bool `json:"veteran,omitempty"`
// Winning team on Summoners Rift. First placement in Teamfight Tactics.
// Read Only: true
Wins int32 `json:"wins,omitempty"`
}
LeagueEntry league entry swagger:model LeagueEntry
func (*LeagueEntry) MarshalBinary ¶
func (m *LeagueEntry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LeagueEntry) UnmarshalBinary ¶
func (m *LeagueEntry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LeagueItem ¶
type LeagueItem struct {
// fresh blood
// Read Only: true
FreshBlood *bool `json:"freshBlood,omitempty"`
// hot streak
// Read Only: true
HotStreak *bool `json:"hotStreak,omitempty"`
// inactive
// Read Only: true
Inactive *bool `json:"inactive,omitempty"`
// league points
// Read Only: true
LeaguePoints int32 `json:"leaguePoints,omitempty"`
// Losing team on Summoners Rift. Second through eighth placement in Teamfight Tactics
// Read Only: true
Losses int32 `json:"losses,omitempty"`
// mini series
MiniSeries *MiniSeries `json:"miniSeries,omitempty"`
// rank
// Read Only: true
Rank string `json:"rank,omitempty"`
// Player's summonerId (Encrypted)
// Read Only: true
SummonerID string `json:"summonerId,omitempty"`
// summoner name
// Read Only: true
SummonerName string `json:"summonerName,omitempty"`
// veteran
// Read Only: true
Veteran *bool `json:"veteran,omitempty"`
// Winning team on Summoners Rift. First placement in Teamfight Tactics
// Read Only: true
Wins int32 `json:"wins,omitempty"`
}
LeagueItem league item swagger:model LeagueItem
func (*LeagueItem) MarshalBinary ¶
func (m *LeagueItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LeagueItem) UnmarshalBinary ¶
func (m *LeagueItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LeagueList ¶
type LeagueList struct {
// entries
// Read Only: true
Entries []*LeagueItem `json:"entries"`
// league Id
// Read Only: true
LeagueID string `json:"leagueId,omitempty"`
// name
// Read Only: true
Name string `json:"name,omitempty"`
// queue
// Read Only: true
Queue string `json:"queue,omitempty"`
// tier
// Read Only: true
Tier string `json:"tier,omitempty"`
}
LeagueList league list swagger:model LeagueList
func (*LeagueList) MarshalBinary ¶
func (m *LeagueList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LeagueList) UnmarshalBinary ¶
func (m *LeagueList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MiniSeries ¶
type MiniSeries struct {
// losses
// Read Only: true
Losses int32 `json:"losses,omitempty"`
// progress
// Read Only: true
Progress string `json:"progress,omitempty"`
// target
// Read Only: true
Target int32 `json:"target,omitempty"`
// wins
// Read Only: true
Wins int32 `json:"wins,omitempty"`
}
MiniSeries mini series swagger:model MiniSeries
func (*MiniSeries) MarshalBinary ¶
func (m *MiniSeries) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MiniSeries) UnmarshalBinary ¶
func (m *MiniSeries) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Status ¶
type Status struct {
// message
// Read Only: true
Message string `json:"message,omitempty"`
// status code
// Read Only: true
StatusCode int32 `json:"status_code,omitempty"`
}
Status status swagger:model Status
func (*Status) MarshalBinary ¶
MarshalBinary interface implementation
func (*Status) UnmarshalBinary ¶
UnmarshalBinary interface implementation