namespace OTSSignsOrchestrator.Core.Models.DTOs;

public class DeploymentResultDto
{
    public bool Success { get; set; }
    public string StackName { get; set; } = string.Empty;
    public string Message { get; set; } = string.Empty;
    public string? Output { get; set; }
    public string? ErrorMessage { get; set; }
    public int ExitCode { get; set; }
    public long DurationMs { get; set; }
    public int ServiceCount { get; set; }

    /// <summary>The instance URL including the abbreviation sub-path (e.g. https://ots.ots-signs.com/ots).</summary>
    public string? InstanceUrl { get; set; }

    /// <summary>The 3-letter abbreviation for this instance.</summary>
    public string? Abbrev { get; set; }
}
