aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/SyncPlay/GroupInfoDto.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/SyncPlay/GroupInfoDto.cs')
-rw-r--r--MediaBrowser.Model/SyncPlay/GroupInfoDto.cs15
1 files changed, 12 insertions, 3 deletions
diff --git a/MediaBrowser.Model/SyncPlay/GroupInfoDto.cs b/MediaBrowser.Model/SyncPlay/GroupInfoDto.cs
index 85b9a3522..16a75eb68 100644
--- a/MediaBrowser.Model/SyncPlay/GroupInfoDto.cs
+++ b/MediaBrowser.Model/SyncPlay/GroupInfoDto.cs
@@ -1,5 +1,4 @@
-#nullable disable
-
+using System;
using System.Collections.Generic;
namespace MediaBrowser.Model.SyncPlay
@@ -10,6 +9,16 @@ namespace MediaBrowser.Model.SyncPlay
public class GroupInfoDto
{
/// <summary>
+ /// Initializes a new instance of the <see cref="GroupInfoDto"/> class.
+ /// </summary>
+ public GroupInfoDto()
+ {
+ GroupId = string.Empty;
+ GroupName = string.Empty;
+ Participants = new List<string>();
+ }
+
+ /// <summary>
/// Gets or sets the group identifier.
/// </summary>
/// <value>The group identifier.</value>
@@ -37,6 +46,6 @@ namespace MediaBrowser.Model.SyncPlay
/// Gets or sets the date when this dto has been updated.
/// </summary>
/// <value>The date when this dto has been updated.</value>
- public string LastUpdatedAt { get; set; }
+ public DateTime LastUpdatedAt { get; set; }
}
}