IntelligenceX

API Reference

Class

GitHubRepositoryForkSnapshotRecord

Namespace IntelligenceX.Telemetry.GitHub
Assembly IntelligenceX
Modifiers sealed

Canonical persisted observation of a fork at a point in time.

Inheritance

  • Object
  • GitHubRepositoryForkSnapshotRecord

Constructors

public GitHubRepositoryForkSnapshotRecord(String id, String parentRepositoryNameWithOwner, String forkRepositoryNameWithOwner, DateTimeOffset capturedAtUtc, Double score, String tier, Int32 stars, Int32 forks, Int32 watchers, Int32 openIssues) #

Initializes a new fork snapshot record.

Parameters

id System.String requiredposition: 0
Stable snapshot identifier.
parentRepositoryNameWithOwner System.String requiredposition: 1
Parent repository in owner/name form.
forkRepositoryNameWithOwner System.String requiredposition: 2
Fork repository in owner/name form.
capturedAtUtc System.DateTimeOffset requiredposition: 3
UTC time when the fork observation was captured.
score System.Double requiredposition: 4
Computed usefulness score.
tier System.String requiredposition: 5
Computed usefulness tier.
stars System.Int32 requiredposition: 6
Fork star count.
forks System.Int32 requiredposition: 7
Fork count of the fork itself.
watchers System.Int32 requiredposition: 8
Fork watcher count.
openIssues System.Int32 requiredposition: 9
Fork open issue count.

Methods

public static String CreateStableId(String parentRepositoryNameWithOwner, String forkRepositoryNameWithOwner, DateTimeOffset capturedAtUtc) #
Returns: String

Creates a deterministic snapshot identifier from parent, fork, and capture time.

Parameters

parentRepositoryNameWithOwner System.String requiredposition: 0
Parent repository in owner/name form.
forkRepositoryNameWithOwner System.String requiredposition: 1
Fork repository in owner/name form.
capturedAtUtc System.DateTimeOffset requiredposition: 2
UTC capture time.

Returns

Stable fork snapshot identifier.

Properties

public String Id { get; } #

Gets the stable snapshot identifier.

public String ParentRepositoryNameWithOwner { get; } #

Gets the parent repository in owner/name form.

public String ForkRepositoryNameWithOwner { get; } #

Gets the fork repository in owner/name form.

public DateTimeOffset CapturedAtUtc { get; } #

Gets the UTC time when the observation was captured.

public Double Score { get; } #

Gets the computed usefulness score.

public String Tier { get; } #

Gets the computed usefulness tier.

public Int32 Stars { get; } #

Gets the fork star count.

public Int32 Forks { get; } #

Gets the fork count of the fork itself.

public Int32 Watchers { get; } #

Gets the fork watcher count.

public Int32 OpenIssues { get; } #

Gets the fork open issue count.

public String Url { get; set; } #

Gets or sets the optional fork URL.

public String Description { get; set; } #

Gets or sets the optional fork description.

public String PrimaryLanguage { get; set; } #

Gets or sets the optional primary language.

public Nullable<DateTimeOffset> PushedAtUtc { get; set; } #

Gets or sets the optional last pushed timestamp.

public Nullable<DateTimeOffset> UpdatedAtUtc { get; set; } #

Gets or sets the optional last updated timestamp.

public Nullable<DateTimeOffset> CreatedAtUtc { get; set; } #

Gets or sets the optional creation timestamp.

public Boolean IsArchived { get; set; } #

Gets or sets whether the fork is archived.

public String ReasonsSummary { get; set; } #

Gets or sets the compact reason summary used for the score.