NotificationRequest.cs 825 B

1234567891011121314151617181920212223242526272829303132333435
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System;
  4. namespace MediaBrowser.Model.Notifications
  5. {
  6. public class NotificationRequest
  7. {
  8. public NotificationRequest()
  9. {
  10. UserIds = Array.Empty<Guid>();
  11. Date = DateTime.UtcNow;
  12. }
  13. public string Name { get; set; }
  14. public string Description { get; set; }
  15. public string Url { get; set; }
  16. public NotificationLevel Level { get; set; }
  17. public Guid[] UserIds { get; set; }
  18. public DateTime Date { get; set; }
  19. /// <summary>
  20. /// Gets or sets the corresponding type name used in configuration. Not for display.
  21. /// </summary>
  22. public string NotificationType { get; set; }
  23. public SendToUserType? SendToUserMode { get; set; }
  24. }
  25. }