mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
689 B
18 lines
689 B
using System.ComponentModel; |
|
using System.ComponentModel.DataAnnotations; |
|
using System.Diagnostics.CodeAnalysis; |
|
|
|
namespace ErsatzTV.Core.Api.ScriptedPlayout; |
|
|
|
[SuppressMessage("Naming", "CA1711:Identifiers should not have incorrect suffix")] |
|
public record ContentCollection |
|
{ |
|
[Description("Unique name used to reference this content throughout the scripted schedule")] |
|
public required string Key { get; init; } |
|
|
|
[Description("The name of the existing manual collection")] |
|
public required string Collection { get; init; } |
|
|
|
[Description("The playback order; only chronological and shuffle are currently supported")] |
|
public string Order { get; init; } = "shuffle"; |
|
}
|
|
|