21 lines
525 B
C#
21 lines
525 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Jellyfin.Plugin.Herald.Notices;
|
|
|
|
/// <summary>
|
|
/// Who a notice is addressed to.
|
|
/// </summary>
|
|
public class NoticeTarget
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether every user is addressed.
|
|
/// </summary>
|
|
public bool AllUsers { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the addressed users. Ignored when <see cref="AllUsers"/> is set.
|
|
/// </summary>
|
|
public IReadOnlyList<Guid> UserIds { get; set; } = [];
|
|
}
|