GroupUpdate.cs 710 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. namespace MediaBrowser.Model.SyncPlay;
  3. /// <summary>
  4. /// Group update without data.
  5. /// </summary>
  6. public abstract class GroupUpdate
  7. {
  8. /// <summary>
  9. /// Initializes a new instance of the <see cref="GroupUpdate"/> class.
  10. /// </summary>
  11. /// <param name="groupId">The group identifier.</param>
  12. protected GroupUpdate(Guid groupId)
  13. {
  14. GroupId = groupId;
  15. }
  16. /// <summary>
  17. /// Gets the group identifier.
  18. /// </summary>
  19. /// <value>The group identifier.</value>
  20. public Guid GroupId { get; }
  21. /// <summary>
  22. /// Gets the update type.
  23. /// </summary>
  24. /// <value>The update type.</value>
  25. public GroupUpdateType Type { get; init; }
  26. }