// <copyright file="ScheduledTasksInfoStartMessage.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>

namespace MediaBrowser.Controller.Net.WebSocketMessages.Inbound;

using System.ComponentModel;
using MediaBrowser.Model.Session;

/// <summary>
/// Scheduled tasks info start message.
/// Data is the timing data encoded as "$initialDelay,$interval" in ms.
/// </summary>
public class ScheduledTasksInfoStartMessage : InboundWebSocketMessage<string>
{
    /// <summary>
    /// Initializes a new instance of the <see cref="ScheduledTasksInfoStartMessage"/> class.
    /// </summary>
    /// <param name="data">The timing data encoded as $initialDelay,$interval.</param>
    public ScheduledTasksInfoStartMessage(string data)
        : base(data)
    {
    }

    /// <inheritdoc />
    [DefaultValue(SessionMessageType.ScheduledTasksInfoStart)]
    public override SessionMessageType MessageType => SessionMessageType.ScheduledTasksInfoStart;
}
