Added Ping and UpdateCheck models.
Added Ping and UpdateCheck models for quick pings for service being alive, and when the database was last updated.
This commit is contained in:
parent
b3e6d2e844
commit
c9e4cc694b
2 changed files with 14 additions and 0 deletions
6
FreeTubeSyncer/Models/DatabaseModels/Ping.cs
Normal file
6
FreeTubeSyncer/Models/DatabaseModels/Ping.cs
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
namespace FreeTubeSyncer.Models.DatabaseModels;
|
||||||
|
|
||||||
|
public class Ping
|
||||||
|
{
|
||||||
|
public string AppVersion { get; set; }
|
||||||
|
}
|
||||||
8
FreeTubeSyncer/Models/DatabaseModels/UpdateCheck.cs
Normal file
8
FreeTubeSyncer/Models/DatabaseModels/UpdateCheck.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace FreeTubeSyncer.Models.DatabaseModels;
|
||||||
|
|
||||||
|
public class UpdateCheck
|
||||||
|
{
|
||||||
|
public DateTime LastUpdated { get; set; }
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue