Fix warnings in HolidayMapping schema

This commit is contained in:
PicelBoi committed 2026-01-19 14:46:33 -05:00
1 parent ba4cbc424a
commit 00eb251ec8
1 file changed
+10 -10
+10 -10
View File
@@ -7,37 +7,37 @@ namespace MistWX_i2Me.Schema.twc;
public class Holiday {
[XmlAttribute(AttributeName="date")]
public string Date { get; set; }
public string? Date { get; set; }
[XmlElement(ElementName ="Name")]
public string Name { get; set; }
public string? Name { get; set; }
[XmlElement(ElementName ="Date")]
public string DateFormatted { get; set; }
public string? DateFormatted { get; set; }
[XmlElement(ElementName ="Icon")]
public string Icon { get; set; }
public string? Icon { get; set; }
[XmlElement(ElementName ="RGBHero")]
public string RGBHero { get; set; }
public string? RGBHero { get; set; }
[XmlElement(ElementName ="RGBLogo")]
public string RGBLogo { get; set; }
public string? RGBLogo { get; set; }
[XmlElement(ElementName ="RGBIcon")]
public string RGBIcon { get; set; }
public string? RGBIcon { get; set; }
}
[XmlRoot(ElementName="Mapping")]
public class HolidayMappingResponse {
[XmlAttribute(AttributeName="id")]
public string Id { get; set; }
public string? Id { get; set; }
[XmlAttribute(AttributeName="name")]
public string Name { get; set; }
public string? Name { get; set; }
[XmlElement(ElementName ="Holiday")]
public List<Holiday> Holidays { get; set; }
public List<Holiday>? Holidays { get; set; }
}