Class RepositoryInfo
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
DefaultBranch
Default branch of the repository.
[JsonPropertyName("default_branch")]
public string DefaultBranch { get; init; }
Property Value
FullName
Full repository name (owner/repo).
[JsonPropertyName("full_name")]
public string FullName { get; init; }
Property Value
HtmlUrl
URL to the repository on GitHub.
[JsonPropertyName("html_url")]
public string HtmlUrl { get; init; }
Property Value
Id
GitHub's internal ID for the repository.
[JsonPropertyName("id")]
public long Id { get; init; }
Property Value
Name
Repository name (without owner prefix).
[JsonPropertyName("name")]
public string Name { get; init; }
Property Value
Owner
Owner of the repository.
[JsonPropertyName("owner")]
public OwnerInfo? Owner { get; init; }