Neighbourhood.omg.lol/Models/Theme.cs

20 lines
825 B
C#
Raw Permalink Normal View History

2024-07-11 05:57:53 +00:00
namespace Neighbourhood.omg.lol.Models {
public class Theme {
public string Id { get; set; } = string.Empty;
public string Name { get; set; } = string.Empty;
public string Created { get; set; } = string.Empty;
public string Updated { get; set; } = string.Empty;
public string Author { get; set; } = string.Empty;
public string AuthorUrl { get; set; } = string.Empty;
public string Version { get; set; } = string.Empty;
public string License { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public string PreviewCss { get; set; } = string.Empty;
public string? SampleProfile { get; set; } = string.Empty;
public PreviewCssData? PreviewCssData {
2024-07-16 00:45:33 +00:00
get => new ApiService().Deserialize<PreviewCssData>(this.PreviewCss);
2024-07-11 05:57:53 +00:00
}
}
}