Skip to content

GitHubAsset

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

public sealed record GitHubAsset

A file attached to a release.

Constructors

GitHubAsset(long, string, long)

public GitHubAsset(long Id, string Name, long Size);

Parameters

  • Id (long) - Asset id.
  • Name (string) - File name.
  • Size (long) - Size in bytes.

Properties

Id

public long Id { get; init; }

Asset id.

Name

public string Name { get; init; }

File name.

Size

public long Size { get; init; }

Size in bytes.