#nullable enable
using System.Text.Json.Serialization;
namespace ErsatzTV.Core.Api.Settings;
///
/// Wire-contract mirror of ErsatzTV.Application.Configuration.XmltvBlockBehavior.
/// Duplicated here (rather than referenced directly) because ErsatzTV.Core may not depend on
/// ErsatzTV.Application (see ErsatzTV.Architecture.Tests); the controller mapper translates
/// between the two by value.
///
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum XmltvBlockBehavior
{
SplitTimeEvenly = 0,
UseActualTimes = 1
}