mirror of
https://github.com/MistWeatherMedia/i2ME.git
synced 2026-11-28 14:20:00 -08:00
Fix warnings in HolidayMapping schema
This commit is contained in:
1 parent
ba4cbc424a
commit
00eb251ec8
1 file changed
+10
-10
@@ -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; }
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user