Table of Contents

Class RepositoryInfo

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

Repository information.

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

Properties

CloneUrl

Git clone URL for the repository.

[JsonPropertyName("clone_url")]
public string CloneUrl { get; init; }

Property Value

string

DefaultBranch

Default branch of the repository.

[JsonPropertyName("default_branch")]
public string DefaultBranch { get; init; }

Property Value

string

FullName

Full repository name (owner/repo).

[JsonPropertyName("full_name")]
public string FullName { get; init; }

Property Value

string

HtmlUrl

URL to the repository on GitHub.

[JsonPropertyName("html_url")]
public string HtmlUrl { get; init; }

Property Value

string

Id

GitHub's internal ID for the repository.

[JsonPropertyName("id")]
public long Id { get; init; }

Property Value

long

Name

Repository name (without owner prefix).

[JsonPropertyName("name")]
public string Name { get; init; }

Property Value

string

Owner

Owner of the repository.

[JsonPropertyName("owner")]
public OwnerInfo? Owner { get; init; }

Property Value

OwnerInfo