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> /// <summary>
/// Gets or sets Metadata. /// Gets or sets Metadata.
/// </summary> /// </summary>
public LyricMetadata Metadata { get; set; } public LyricMetadata Metadata { get; set; } = new LyricMetadata();
/// <summary> /// <summary>
/// Gets or sets Lyrics. /// Gets or sets Lyrics.
/// </summary> /// </summary>
public IEnumerable<LyricLine> Lyrics { get; set; } public IReadOnlyCollection<LyricLine> Lyrics { get; set; } = new List<LyricLine>();
} }