wabbajack/Wabbajack.DTOs/DownloadStates/GoogleDrive.cs

15 lines
424 B
C#
Raw Permalink Normal View History

2021-09-27 12:42:46 +00:00
using System.Text.Json.Serialization;
using Wabbajack.DTOs.JsonConverters;
2021-10-23 16:51:17 +00:00
namespace Wabbajack.DTOs.DownloadStates;
[JsonAlias("GoogleDrive")]
[JsonName("GoogleDriveDownloader, Wabbajack.Lib")]
public class GoogleDrive : ADownloadState
2021-09-27 12:42:46 +00:00
{
2021-10-23 16:51:17 +00:00
public string Id { get; init; }
2021-09-27 12:42:46 +00:00
2021-10-23 16:51:17 +00:00
public override string TypeName => "GoogleDriveDownloader+State";
2021-09-27 12:42:46 +00:00
2021-10-23 16:51:17 +00:00
[JsonIgnore] public override object[] PrimaryKey => new object[] {Id};
2021-09-27 12:42:46 +00:00
}