using System;
namespace MediaBrowser.Model.Entities
{
///
/// Class LibraryUpdateInfo
///
public class LibraryUpdateInfo
{
///
/// Gets or sets the folders added to.
///
/// The folders added to.
public string[] FoldersAddedTo { get; set; }
///
/// Gets or sets the folders removed from.
///
/// The folders removed from.
public string[] FoldersRemovedFrom { get; set; }
///
/// Gets or sets the items added.
///
/// The items added.
public string[] ItemsAdded { get; set; }
///
/// Gets or sets the items removed.
///
/// The items removed.
public string[] ItemsRemoved { get; set; }
///
/// Gets or sets the items updated.
///
/// The items updated.
public string[] ItemsUpdated { get; set; }
public string[] CollectionFolders { get; set; }
public bool IsEmpty
{
get
{
return FoldersAddedTo.Length == 0 && FoldersRemovedFrom.Length == 0 && ItemsAdded.Length == 0 && ItemsRemoved.Length == 0 && ItemsUpdated.Length == 0 && CollectionFolders.Length == 0;
}
}
///
/// Initializes a new instance of the class.
///
public LibraryUpdateInfo()
{
FoldersAddedTo = Array.Empty();
FoldersRemovedFrom = Array.Empty();
ItemsAdded = Array.Empty();
ItemsRemoved = Array.Empty();
ItemsUpdated = Array.Empty();
CollectionFolders = Array.Empty();
}
}
}