2026-02-12 15:24:25 -05:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
2026-02-18 10:43:27 -05:00
|
|
|
namespace OTSSignsOrchestrator.Core.Models.DTOs;
|
2026-02-12 15:24:25 -05:00
|
|
|
|
|
|
|
|
public class UpdateInstanceDto
|
|
|
|
|
{
|
|
|
|
|
[MaxLength(500)]
|
|
|
|
|
public string? TemplateRepoUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(500)]
|
|
|
|
|
public string? TemplateRepoPat { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
public string? SmtpServer { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
public string? SmtpUsername { get; set; }
|
|
|
|
|
|
|
|
|
|
public List<string>? Constraints { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
public string? XiboUsername { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
public string? XiboPassword { get; set; }
|
2026-02-18 10:43:27 -05:00
|
|
|
|
|
|
|
|
// ── CIFS / SMB credentials (per-instance) ──
|
|
|
|
|
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
public string? CifsServer { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(500)]
|
|
|
|
|
public string? CifsShareBasePath { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
public string? CifsUsername { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(500)]
|
|
|
|
|
public string? CifsPassword { get; set; }
|
|
|
|
|
|
|
|
|
|
[MaxLength(500)]
|
|
|
|
|
public string? CifsExtraOptions { get; set; }
|
2026-02-12 15:24:25 -05:00
|
|
|
}
|