wrapperr/models/users.go
aunefyren 245957e1bb Sync with Tautulli
Reject stats request for inactive users
2023-10-30 13:30:01 +01:00

17 lines
514 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"`
Wrappings []WrapperrHistoryEntry `json:"wrappings"`
}
type WrapperrHistoryEntry struct {
Date time.Time `json:"entry_date"`
IP string `json:"entry_ip"`
}