* update more libraries to dotnet 10 * fix dockerfiles * fix numeric types
18 lines
650 B
C#
18 lines
650 B
C#
using System.ComponentModel;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace ErsatzTV.Core.Api.ScriptedPlayout;
|
|
|
|
[SuppressMessage("Naming", "CA1711:Identifiers should not have incorrect suffix")]
|
|
public record ContentSmartCollection
|
|
{
|
|
[Description("Unique name used to reference this content throughout the scripted schedule")]
|
|
public required string Key { get; set; }
|
|
|
|
[Description("The name of the existing smart collection")]
|
|
public required string SmartCollection { get; set; }
|
|
|
|
[Description("The playback order; only chronological and shuffle are currently supported")]
|
|
public string Order { get; set; } = "shuffle";
|
|
}
|