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)]
|
2026-02-18 16:15:54 -05:00
|
|
|
public string? CifsShareName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>Optional subfolder within the share (e.g. "ots_cms"). Omit to use the share root.</summary>
|
|
|
|
|
[MaxLength(500)]
|
|
|
|
|
public string? CifsShareFolder { get; set; }
|
2026-02-18 10:43:27 -05:00
|
|
|
|
|
|
|
|
[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
|
|
|
}
|