API Reference
Class
GitHubRepositoryStargazerSnapshotRecord
Canonical persisted observation of a repository stargazer at a point in time.
Inheritance
- Object
- GitHubRepositoryStargazerSnapshotRecord
Constructors
GitHubRepositoryStargazerSnapshotRecord(System.String id, System.String repositoryNameWithOwner, System.String stargazerLogin, System.DateTimeOffset capturedAtUtc) #Initializes a new stargazer snapshot record.
Parameters
- id System.String
- Stable snapshot identifier.
- repositoryNameWithOwner System.String
- Repository in owner/name form.
- stargazerLogin System.String
- GitHub login of the stargazer.
- capturedAtUtc System.DateTimeOffset
- UTC time when the stargazer observation was captured.
Methods
CreateStableId(System.String repositoryNameWithOwner, System.String stargazerLogin, System.DateTimeOffset capturedAtUtc) #Creates a deterministic snapshot identifier from repository, login, and capture time.
Parameters
- repositoryNameWithOwner System.String
- Repository in owner/name form.
- stargazerLogin System.String
- GitHub login of the stargazer.
- capturedAtUtc System.DateTimeOffset
- UTC capture time.
Returns
Stable stargazer snapshot identifier.
Properties
Id #Gets the stable snapshot identifier.
RepositoryNameWithOwner #Gets the repository in owner/name form.
StargazerLogin #Gets the GitHub login of the stargazer.
CapturedAtUtc #Gets the UTC time when the observation was captured.
StarredAtUtc #Gets or sets the UTC time when the repository was originally starred when available.
ProfileUrl #Gets or sets the optional stargazer profile URL.
AvatarUrl #Gets or sets the optional stargazer avatar URL.