mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 23:01:10 +00:00
19 lines
679 B
C#
19 lines
679 B
C#
#region ========================================================================= USING =====================================================================================
|
|
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
#endregion
|
|
|
|
namespace Nemera.Plugins.OpenLibrary.Common.Models.Contracts.Responses;
|
|
|
|
/// <summary>
|
|
/// Represents a response for a search from the Open Library API.
|
|
/// </summary>
|
|
internal sealed record OpenLibrarySearchResponse
|
|
{
|
|
/// <summary>
|
|
/// Gets the documents that match the search.
|
|
/// </summary>
|
|
[JsonPropertyName("docs")]
|
|
public List<OpenLibrarySearchDocumentResponse> Documents { get; init; } = [];
|
|
}
|