Skip to content

GitHubRelease

Namespace Nfty.Core.Publish.Community in assembly Nfty.Core.

public sealed record GitHubRelease

A GitHub release.

Constructors

GitHubRelease(long, string, IReadOnlyList<GitHubAsset>, string, string)

public GitHubRelease(long Id, string Tag, IReadOnlyList<GitHubAsset> Assets, string Owner = "", string Repo = "");

Parameters

  • Id (long) - Release id.
  • Tag (string) - Its tag.
  • Assets (IReadOnlyList<GitHubAsset>) - Files attached to it.
  • Owner (string) - The repository owner (filled in by the client that read it).
  • Repo (string) - The repository name (filled in by the client that read it).

Properties

Assets

public IReadOnlyList<GitHubAsset> Assets { get; init; }

Files attached to it.

Id

public long Id { get; init; }

Release id.

Owner

public string Owner { get; init; }

The repository owner (filled in by the client that read it).

Repo

public string Repo { get; init; }

The repository name (filled in by the client that read it).

Tag

public string Tag { get; init; }

Its tag.