IntelligenceX

API Reference

Class

GitHubRepositoryWatchAutoSyncResult

Namespace IntelligenceX.Telemetry.GitHub

Result returned by automatic watched-repository sync operations.

Inheritance

  • Object
  • GitHubRepositoryWatchAutoSyncResult

Constructors

GitHubRepositoryWatchAutoSyncResult(IntelligenceX.Telemetry.GitHub.GitHubRepositoryWatchAutoSyncStatus status, System.String message, System.String databasePath, System.Nullable{System.DateTimeOffset} capturedAtUtc, System.Int32 watchCount, System.Int32 snapshotSyncCount, System.Int32 forkRepositorySyncCount, System.Int32 forkSnapshotCount, System.Int32 stargazerRepositorySyncCount, System.Int32 stargazerSnapshotCount, System.Collections.Generic.IReadOnlyList{System.String} syncedRepositories, System.Collections.Generic.IReadOnlyList{System.String} failedRepositories) #

Initializes an auto-sync result.

Parameters

status IntelligenceX.Telemetry.GitHub.GitHubRepositoryWatchAutoSyncStatus required
message System.String required
databasePath System.String required
capturedAtUtc System.Nullable{System.DateTimeOffset} required
watchCount System.Int32 required
snapshotSyncCount System.Int32 required
forkRepositorySyncCount System.Int32 required
forkSnapshotCount System.Int32 required
stargazerRepositorySyncCount System.Int32 required
stargazerSnapshotCount System.Int32 required
syncedRepositories System.Collections.Generic.IReadOnlyList{System.String} required
failedRepositories System.Collections.Generic.IReadOnlyList{System.String} required

Properties

Status #

Gets the overall result status.

Message #

Gets the human-readable outcome summary.

DatabasePath #

Gets the resolved telemetry database path when available.

CapturedAtUtc #

Gets the UTC capture time used for this sync attempt.

WatchCount #

Gets the number of enabled watches that were considered.

SnapshotSyncCount #

Gets how many repository snapshots were recorded.

ForkRepositorySyncCount #

Gets how many repositories had their useful fork set refreshed.

ForkSnapshotCount #

Gets the number of fork snapshot records written.

StargazerRepositorySyncCount #

Gets how many repositories had their stargazer audience refreshed.

StargazerSnapshotCount #

Gets the number of stargazer snapshot records written.

SyncedRepositories #

Gets repositories that were refreshed successfully.

FailedRepositories #

Gets repositories that failed during the sync attempt.

DidWriteData #

Gets whether new data was written.

ShouldSurfaceStatus #

Gets whether the result should usually be surfaced to the user.