-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstats.go
More file actions
30 lines (26 loc) · 961 Bytes
/
stats.go
File metadata and controls
30 lines (26 loc) · 961 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// This file was auto-generated by Fern from our API Definition.
package api
type StatsGetPlaytimeStatsRequest struct {
// Earliest an included user was created
StartDate *string `json:"-"`
// Latest an included user was created
EndDate *string `json:"-"`
// Filter by country string
Country *string `json:"-"`
}
type LicenseStatsResponse struct {
// Total number of license days granted
LicenseDaysGranted *float64 `json:"licenseDaysGranted,omitempty"`
// Number of license days used
LicenseDaysUsed *float64 `json:"licenseDaysUsed,omitempty"`
// Number of license days remaining
LicenseDaysRemaining *float64 `json:"licenseDaysRemaining,omitempty"`
// Number of active/valid licenses
ActiveLicenses *float64 `json:"activeLicenses,omitempty"`
}
type PlaytimeStatsResponse struct {
// Total play time in seconds
PlayTime *float64 `json:"playTime,omitempty"`
// Number of levels played
GamesPlayed *float64 `json:"gamesPlayed,omitempty"`
}