wabbajack/Wabbajack.DTOs/DownloadStates/IPS4OAuth2.cs

22 lines
705 B
C#
Raw Permalink Normal View History

2021-09-27 12:42:46 +00:00
using System;
2021-10-23 16:51:17 +00:00
namespace Wabbajack.DTOs.DownloadStates;
public abstract class IPS4OAuth2 : ADownloadState, IMetaState
2021-09-27 12:42:46 +00:00
{
2021-10-23 16:51:17 +00:00
public long IPS4Mod { get; set; }
2021-09-27 12:42:46 +00:00
2021-10-23 16:51:17 +00:00
public bool IsAttachment { get; set; } = false;
public string IPS4File { get; set; } = "";
public string IPS4Url { get; set; } = "";
2021-09-27 12:42:46 +00:00
2021-10-23 16:51:17 +00:00
public override object[] PrimaryKey => new object[] {IPS4Mod, IPS4File ?? "", IsAttachment};
public Uri URL { get; }
public string? Name { get; set; }
public string? Author { get; set; }
public string? Version { get; set; }
public Uri? ImageURL { get; set; }
public bool IsNSFW { get; set; }
public string? Description { get; set; }
2021-12-27 05:53:39 +00:00
public Uri? LinkUrl => null;
2021-09-27 12:42:46 +00:00
}