Table of Contents

Class GitHubRepository

Namespace
Ando.Server.GitHub
Assembly
Ando.Server.dll

Repository information from GitHub API.

public record GitHubRepository : IEquatable<GitHubRepository>
Inheritance
GitHubRepository
Implements
Inherited Members

Constructors

GitHubRepository(long, string, string, string, string, bool, long, string)

Repository information from GitHub API.

public GitHubRepository(long Id, string FullName, string HtmlUrl, string CloneUrl, string DefaultBranch, bool IsPrivate, long OwnerId, string OwnerLogin)

Parameters

Id long

GitHub's internal ID for the repository.

FullName string

Full repository name (owner/repo).

HtmlUrl string

URL to the repository on GitHub.

CloneUrl string

Git clone URL for the repository.

DefaultBranch string

Default branch of the repository.

IsPrivate bool

Whether the repository is private.

OwnerId long

GitHub's internal ID for the owner.

OwnerLogin string

GitHub username or organization name of the owner.

Properties

CloneUrl

Git clone URL for the repository.

public string CloneUrl { get; init; }

Property Value

string

DefaultBranch

Default branch of the repository.

public string DefaultBranch { get; init; }

Property Value

string

FullName

Full repository name (owner/repo).

public string FullName { get; init; }

Property Value

string

HtmlUrl

URL to the repository on GitHub.

public string HtmlUrl { get; init; }

Property Value

string

Id

GitHub's internal ID for the repository.

public long Id { get; init; }

Property Value

long

IsPrivate

Whether the repository is private.

public bool IsPrivate { get; init; }

Property Value

bool

OwnerId

GitHub's internal ID for the owner.

public long OwnerId { get; init; }

Property Value

long

OwnerLogin

GitHub username or organization name of the owner.

public string OwnerLogin { get; init; }

Property Value

string