mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 11:38:32 -07:00
This commit is contained in:
parent
57ec940d5a
commit
71263994b9
5 changed files with 141 additions and 49 deletions
|
@ -1,13 +1,40 @@
|
|||
namespace PlexRequests.UI.Models
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace PlexRequests.UI.Models
|
||||
{
|
||||
public class UserManagementUsersViewModel
|
||||
{
|
||||
public UserManagementUsersViewModel()
|
||||
{
|
||||
PlexInfo = new UserManagementPlexInformation();
|
||||
}
|
||||
public string Username { get; set; }
|
||||
public string Claims { get; set; }
|
||||
public int Id { get; set; }
|
||||
public string Id { get; set; }
|
||||
public string Alias { get; set; }
|
||||
public UserType Type { get; set; }
|
||||
public string EmailAddress { get; set; }
|
||||
public UserManagementPlexInformation PlexInfo { get; set; }
|
||||
}
|
||||
|
||||
public class UserManagementPlexInformation
|
||||
{
|
||||
public UserManagementPlexInformation()
|
||||
{
|
||||
Servers = new List<UserManagementPlexServers>();
|
||||
}
|
||||
public string Thumb { get; set; }
|
||||
public List<UserManagementPlexServers> Servers { get; set; }
|
||||
}
|
||||
|
||||
public class UserManagementPlexServers
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string ServerId { get; set; }
|
||||
public string MachineIdentifier { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string LastSeenAt { get; set; }
|
||||
public string NumLibraries { get; set; }
|
||||
}
|
||||
|
||||
public enum UserType
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue