mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 09:01:10 +00:00
36 lines
1.5 KiB
C#
36 lines
1.5 KiB
C#
#region ========================================================================= USING =====================================================================================
|
|
using Lumina.Domain.Common.Enums.MediaLibrary;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
#endregion
|
|
|
|
namespace Lumina.Contracts.Responses.MediaLibrary.Management;
|
|
|
|
/// <summary>
|
|
/// Represents a media library response.
|
|
/// </summary>
|
|
/// <param name="Id">The unique identifier of the media library.</param>
|
|
/// <param name="UserId">The unique identifier of the user owning the media library.</param>
|
|
/// <param name="Title">The title of the media library.</param>
|
|
/// <param name="LibraryType">The type of the media library.</param>
|
|
/// <param name="ContentLocations">The file system paths of the directories where the media library elements are located.</param>
|
|
/// <param name="CoverImage">The path of the image file used as the cover for the library.</param>
|
|
/// <param name="CreatedOnUtc">The date and time when the library was created.</param>
|
|
/// <param name="UpdatedOnUtc">The optional date and time when the library was updated.</param>
|
|
[DebuggerDisplay("Title: {Title}")]
|
|
public record LibraryResponse(
|
|
Guid Id,
|
|
Guid UserId,
|
|
string Title,
|
|
LibraryType LibraryType,
|
|
List<string> ContentLocations,
|
|
string? CoverImage,
|
|
bool IsEnabled,
|
|
bool IsLocked,
|
|
bool DownloadMedatadaFromWeb,
|
|
bool SaveMetadataInMediaDirectories,
|
|
DateTime CreatedOnUtc,
|
|
DateTime? UpdatedOnUtc
|
|
);
|