using System;
using System.Collections.Generic;

namespace StellaOps.Feedser.Source.Distro.Ubuntu.Internal;

internal sealed record UbuntuNoticeDto(
    string NoticeId,
    DateTimeOffset Published,
    string Title,
    string Summary,
    IReadOnlyList<string> CveIds,
    IReadOnlyList<UbuntuReleasePackageDto> Packages,
    IReadOnlyList<UbuntuReferenceDto> References);

internal sealed record UbuntuReleasePackageDto(
    string Release,
    string Package,
    string Version,
    string Pocket,
    bool IsSource);

internal sealed record UbuntuReferenceDto(
    string Url,
    string? Kind,
    string? Title);
