Some checks failed
Build and Publish Docker Image / build-and-push (push) Has been cancelled
48 lines
1.1 KiB
C#
48 lines
1.1 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace OTSSignsOrchestrator.Core.Models.DTOs;
|
|
|
|
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; }
|
|
|
|
// ── CIFS / SMB credentials (per-instance) ──
|
|
|
|
[MaxLength(200)]
|
|
public string? CifsServer { get; set; }
|
|
|
|
[MaxLength(500)]
|
|
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; }
|
|
|
|
[MaxLength(200)]
|
|
public string? CifsUsername { get; set; }
|
|
|
|
[MaxLength(500)]
|
|
public string? CifsPassword { get; set; }
|
|
|
|
[MaxLength(500)]
|
|
public string? CifsExtraOptions { get; set; }
|
|
}
|