mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 07:11:10 +00:00
Implements the Open Libary metadata plugin.
This commit is contained in:
1 parent
a8d2a1514e
commit
a34f5a731e
19 files changed
+1912
No files matched your search
+29
@@ -0,0 +1,29 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Text.Json.Serialization;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Plugins.OpenLibrary.Common.Models.Contracts.Responses;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a response for an author from the Open Library API.
|
||||
/// </summary>
|
||||
internal sealed record OpenLibraryAuthorResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the key of the author.
|
||||
/// </summary>
|
||||
[JsonPropertyName("key")]
|
||||
public string? Key { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the author.
|
||||
/// </summary>
|
||||
[JsonPropertyName("name")]
|
||||
public string? Name { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the personal name of the author.
|
||||
/// </summary>
|
||||
[JsonPropertyName("personal_name")]
|
||||
public string? PersonalName { get; init; }
|
||||
}
|
||||
Reference in new issue
Block a user