File: Model\RegistrationLeafItem.cs
Web Access
Project: src\src\nuget-client\src\NuGet.Core\NuGet.Protocol\NuGet.Protocol.csproj (NuGet.Protocol)
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

#nullable disable

using System;
using Newtonsoft.Json;

namespace NuGet.Protocol.Model
{
    /// <summary>
    /// Source: https://docs.microsoft.com/en-us/nuget/api/registration-base-url-resource#registration-leaf-object-in-a-page
    /// </summary>
    internal class RegistrationLeafItem
    {
        [JsonProperty("catalogEntry")]
        public PackageSearchMetadataRegistration CatalogEntry { get; set; }

        [JsonProperty(PropertyName = JsonProperties.PackageContent)]
        public Uri PackageContent { get; set; }
    }
}