using MediatR;
using static Managing.Common.Enums;

namespace Managing.Application.ManageBot.Commands
{
    /// <summary>
    /// Command to retrieve all agent statuses
    /// </summary>
    public class GetAgentStatusesCommand : IRequest<List<AgentStatusResponse>>
    {
        public GetAgentStatusesCommand()
        {
        }
    }

    /// <summary>
    /// Response model for agent status information
    /// </summary>
    public class AgentStatusResponse
    {
        /// <summary>
        /// The name of the agent
        /// </summary>
        public string AgentName { get; set; }

        /// <summary>
        /// The status of the agent (Online if at least one strategy is running, Offline otherwise)
        /// </summary>
        public AgentStatus Status { get; set; }
    }
} 