#region ========================================================================= USING =====================================================================================
using Lumina.Domain.SharedKernel.Common.Enums.MediaLibrary;
using System;
using System.Collections.Generic;
using System.Diagnostics;
#endregion
namespace Lumina.Contracts.Responses.MediaLibrary.Management;
///
/// Represents a media library response.
///
/// The unique identifier of the media library.
/// The unique identifier of the user owning the media library.
/// The title of the media library.
/// The type of the media library.
/// The file system paths of the directories where the media library elements are located.
/// The path of the image file used as the cover for the library.
/// Whether the media library is enabled or not. A disabled media library is never shown or changed.
/// Whether the media library is locked or not. A locked media library is displayed, but is never changed or updated.
/// Whether the media library should update the metadata of its elements from the web, or not.
/// Whether the media library should copy the downloaded metadata into the media library content locations, or not.
/// Whether the media library should skip the directories whose contents have not changed since the last scan, during the scan.
/// The date and time when the library was created.
/// The optional date and time when the library was updated.
[DebuggerDisplay("Title: {Title}")]
public record LibraryResponse(
Guid Id,
Guid UserId,
string Title,
LibraryType LibraryType,
List ContentLocations,
string? CoverImage,
bool IsEnabled,
bool IsLocked,
bool CanDownloadMetadataFromWeb,
bool ShouldSaveMetadataInMediaDirectories,
bool ShouldSkipUnchangedDirectoriesDuringScan,
DateTime CreatedOnUtc,
DateTime? UpdatedOnUtc
);