using System.Text.Json.Serialization;

namespace BUtil.Core.ConfigurationFileModels.V2;

[JsonDerivedType(typeof(MtpStorageSettings), "Mtp")]
[JsonDerivedType(typeof(FtpsStorageSettingsV2), "Ftps")]
[JsonDerivedType(typeof(FolderStorageSettingsV2), "Folder")]
[JsonDerivedType(typeof(SambaStorageSettingsV2), "Samba")] // name is wrong, should be SMB/CIFS
public interface IStorageSettingsV2
{
    long SingleBackupQuotaGb { get; }
}
