3b0286fe11
A method of 'Enrolling' devices which only updates the Disco database (makes no changes to clients or AD). Can be easily called from a script and used to add servers or any custom device.
27 lines
706 B
C#
27 lines
706 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Disco.Models.ClientServices
|
|
{
|
|
public class Register
|
|
{
|
|
[Required]
|
|
public string DeviceUUID { get; set; }
|
|
[Required]
|
|
public string DeviceSerialNumber { get; set; }
|
|
|
|
[Required]
|
|
public string DeviceDNSDomainName { get; set; }
|
|
[Required]
|
|
public string DeviceComputerName { get; set; }
|
|
[Required]
|
|
public bool DeviceIsPartOfDomain { get; set; }
|
|
|
|
[Required]
|
|
public string DeviceManufacturer { get; set; }
|
|
[Required]
|
|
public string DeviceModel { get; set; }
|
|
[Required]
|
|
public string DeviceModelType { get; set; }
|
|
}
|
|
}
|