Files
rssotto-csharp-client/ModVersionChecker/repository/api/dto/FieldResponse.cs
Jose Conde 5e16f781b4 phase 1
2025-09-29 16:02:00 +02:00

33 lines
946 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace ModVersionChecker.repository.api.dto
{
public class FieldResponse
{
[JsonPropertyName("name")]
public string Name { get; set; } = string.Empty;
[JsonPropertyName("label")]
public string Label { get; set; } = string.Empty;
[JsonPropertyName("description")]
public string Description { get; set; } = string.Empty;
[JsonPropertyName("type")]
public string Type { get; set; } = string.Empty;
[JsonPropertyName("required")]
public bool Required { get; set; } = false;
[JsonPropertyName("controlType")]
public string ControlType { get; set; } = string.Empty;
[JsonPropertyName("defaultValue")]
public string DefaultValue { get; set; } = string.Empty;
}
}