Skip to content

GitHubUser

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

public sealed record GitHubUser

The signed-in GitHub account.

Constructors

GitHubUser(long, string, DateTimeOffset)

public GitHubUser(long Id, string Login, DateTimeOffset CreatedAt);

Parameters

  • Id (long) - GitHub's numeric account id.
  • Login (string) - The account name.
  • CreatedAt (DateTimeOffset) - When the account was made.

Properties

CreatedAt

public DateTimeOffset CreatedAt { get; init; }

When the account was made.

Id

public long Id { get; init; }

GitHub's numeric account id.

Login

public string Login { get; init; }

The account name.