Add default values to LyricResponse

This commit is contained in:
1hitsong 2022-09-18 16:17:26 -04:00
parent 7e923e2688
commit 552b6aceae

View File

@ -10,10 +10,10 @@ public class LyricResponse
/// <summary>
/// Gets or sets Metadata.
/// </summary>
public LyricMetadata Metadata { get; set; }
public LyricMetadata Metadata { get; set; } = new LyricMetadata();
/// <summary>
/// Gets or sets Lyrics.
/// </summary>
public IEnumerable<LyricLine> Lyrics { get; set; }
public IReadOnlyCollection<LyricLine> Lyrics { get; set; } = new List<LyricLine>();
}