using System; namespace MediaBrowser.Controller.Session; /// /// An additional-user change for a session held by another instance, carried as a /// . The calling instance has already authorized it. /// public sealed class RoutedAdditionalUserChange { /// /// The this payload travels under. /// public const string Kind = "AdditionalUserChange"; /// /// Gets or sets the session the change applies to. /// public string SessionId { get; set; } = string.Empty; /// /// Gets or sets the user to attach or detach. /// public Guid UserId { get; set; } /// /// Gets or sets a value indicating whether the user is being attached rather than detached. /// public bool Add { get; set; } }