mirror of
https://github.com/aunefyren/wrapperr
synced 2025-01-10 08:38:43 +00:00
18 lines
603 B
Go
18 lines
603 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type WrapperrUser struct {
|
|
FriendlyName string `json:"user_friendly_name"`
|
|
User string `json:"user_name"`
|
|
UserID int `json:"user_id"`
|
|
Email string `json:"user_email"`
|
|
Active bool `json:"user_active"`
|
|
TautulliServers []string `json:"user_tautulli_servers"`
|
|
Wrappings []WrapperrHistoryEntry `json:"wrappings"`
|
|
}
|
|
|
|
type WrapperrHistoryEntry struct {
|
|
Date time.Time `json:"entry_date"`
|
|
IP string `json:"entry_ip"`
|
|
}
|