Files
SocialPub/PrivaPub/Models/Jobs/CdnRangeSet.cs
T

15 lines
519 B
C#
Raw Normal View History

using MongoDB.Entities;
namespace PrivaPub.Models.Jobs
{
// The address ranges one CDN publishes, as CdnUpdater last downloaded them: kept, so a restart needs no download and a
// failed download keeps the previous list.
public class CdnRangeSet : Entity
{
public string Key { get; set; }//the CDN's domain (CdnProvider.Key)
public string Name { get; set; }
public List<string> Ranges { get; set; } = new();
public List<string> Sources { get; set; } = new();
public DateTime FetchedAt { get; set; }
}
}