36 lines
1.4 KiB
C#
36 lines
1.4 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace Disco.Plugins.ADCompare.Models
|
|
{
|
|
public class DeviceComparisonResult
|
|
{
|
|
public string SerialNumber { get; set; }
|
|
public string DeviceDomainId { get; set; }
|
|
public string ComputerName { get; set; }
|
|
public string DiscoAssignedUserId { get; set; }
|
|
public string DiscoAssignedUserDisplayName { get; set; }
|
|
public string ADManagedByDN { get; set; }
|
|
public string ADManagedByUserId { get; set; }
|
|
public string ADManagedByDisplayName { get; set; }
|
|
public bool FoundInAD { get; set; }
|
|
public bool ADAccountDisabled { get; set; }
|
|
public bool HasAssignment { get; set; }
|
|
public bool HasManagedBy { get; set; }
|
|
public bool IsMatch { get; set; }
|
|
public string MismatchReason { get; set; }
|
|
}
|
|
|
|
public class DeviceComparisonSummary
|
|
{
|
|
public int TotalDevices { get; set; }
|
|
public int DevicesWithAssignment { get; set; }
|
|
public int DevicesNotInAD { get; set; }
|
|
public int DevicesMatched { get; set; }
|
|
public int DevicesMismatched { get; set; }
|
|
public int DevicesNoAssignment { get; set; }
|
|
public int DevicesNoManagedBy { get; set; }
|
|
public int DevicesADDisabled { get; set; }
|
|
public List<DeviceComparisonResult> Results { get; set; } = new List<DeviceComparisonResult>();
|
|
}
|
|
}
|