#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring as nullable. using System.Text.Json.Serialization; namespace Blueberry.Redmine.Dto { public class PriorityList { public class IssuePriority { [JsonPropertyName("id")] public int Id { get; set; } [JsonPropertyName("name")] public string Name { get; set; } [JsonPropertyName("is_default")] public bool IsDefault { get; set; } [JsonPropertyName("active")] public bool Active { get; set; } } public class Root { [JsonPropertyName("issue_priorities")] public List IssuePriorities { get; set; } } } } #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring as nullable.