📄 GitHubItem.cs
1 2 3 4 5 6 7 8 9 10 11 12
using System.Text.Json.Serialization;

namespace MSearch.SearchProviders.GitHub;

internal record GitHubItem(
    [property: JsonPropertyName("name")] string? Name,
    [property: JsonPropertyName("description")] string? Description,
    [property: JsonPropertyName("title")] string? Title,
    [property: JsonPropertyName("body")] string? Body,
    [property: JsonPropertyName("html_url")] string Url
);