20 lines
552 B
C#
20 lines
552 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace ModVersionChecker.repository.api.dto
|
|
{
|
|
public class SourceResponse
|
|
{
|
|
[JsonPropertyName("id")]
|
|
public string Id { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("type")]
|
|
public string Type { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("defaults")]
|
|
public Dictionary<string, string> Defaults { get; set; } = new Dictionary<string, string>();
|
|
}
|
|
}
|