Class ProjectListItemDto
Project summary for list views.
public record ProjectListItemDto : IEquatable<ProjectListItemDto>
- Inheritance
-
ProjectListItemDto
- Implements
- Inherited Members
Constructors
ProjectListItemDto(int, string, string, DateTime, DateTime?, string?, int, bool, int)
Project summary for list views.
public ProjectListItemDto(int Id, string RepoFullName, string RepoUrl, DateTime CreatedAt, DateTime? LastBuildAt, string? LastBuildStatus, int TotalBuilds, bool IsConfigured, int MissingSecretsCount)
Parameters
IdintProject's unique identifier.
RepoFullNamestringFull repository name (owner/repo).
RepoUrlstringURL to the repository on GitHub.
CreatedAtDateTimeWhen the project was created.
LastBuildAtDateTime?When the last build was started.
LastBuildStatusstringStatus of the most recent build.
TotalBuildsintTotal number of builds.
IsConfiguredboolWhether all required secrets are configured.
MissingSecretsCountintNumber of missing required secrets.
Properties
CreatedAt
When the project was created.
public DateTime CreatedAt { get; init; }
Property Value
Id
Project's unique identifier.
public int Id { get; init; }
Property Value
IsConfigured
Whether all required secrets are configured.
public bool IsConfigured { get; init; }
Property Value
LastBuildAt
When the last build was started.
public DateTime? LastBuildAt { get; init; }
Property Value
LastBuildStatus
Status of the most recent build.
public string? LastBuildStatus { get; init; }
Property Value
MissingSecretsCount
Number of missing required secrets.
public int MissingSecretsCount { get; init; }
Property Value
RepoFullName
Full repository name (owner/repo).
public string RepoFullName { get; init; }
Property Value
RepoUrl
URL to the repository on GitHub.
public string RepoUrl { get; init; }
Property Value
TotalBuilds
Total number of builds.
public int TotalBuilds { get; init; }