mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-03-26 10:03:12 -04:00
23 lines
729 B
C#
23 lines
729 B
C#
using Cleanuparr.Domain.Enums;
|
|
|
|
namespace Cleanuparr.Api.Features.Notifications.Contracts.Requests;
|
|
|
|
public record CreateNtfyProviderRequest : CreateNotificationProviderRequestBase
|
|
{
|
|
public string ServerUrl { get; init; } = string.Empty;
|
|
|
|
public List<string> Topics { get; init; } = [];
|
|
|
|
public NtfyAuthenticationType AuthenticationType { get; init; } = NtfyAuthenticationType.None;
|
|
|
|
public string Username { get; init; } = string.Empty;
|
|
|
|
public string Password { get; init; } = string.Empty;
|
|
|
|
public string AccessToken { get; init; } = string.Empty;
|
|
|
|
public NtfyPriority Priority { get; init; } = NtfyPriority.Default;
|
|
|
|
public List<string> Tags { get; init; } = [];
|
|
}
|