wrapperr/models/users.go
2023-11-16 15:25:45 +01:00

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