Class ProjectDetailsDto
Full project details for detail view.
public record ProjectDetailsDto : IEquatable<ProjectDetailsDto>
- Inheritance
-
ProjectDetailsDto
- Implements
- Inherited Members
Constructors
ProjectDetailsDto(int, string, string, string, string, string?, bool, int, DateTime, DateTime?, int, bool, IReadOnlyList<string>, IReadOnlyList<BuildListItemDto>)
Full project details for detail view.
public ProjectDetailsDto(int Id, string RepoFullName, string RepoUrl, string DefaultBranch, string BranchFilter, string? Profile, bool EnablePrBuilds, int TimeoutMinutes, DateTime CreatedAt, DateTime? LastBuildAt, int TotalBuilds, bool IsConfigured, IReadOnlyList<string> MissingSecrets, IReadOnlyList<BuildListItemDto> RecentBuilds)
Parameters
IdintProject's unique identifier.
RepoFullNamestringFull repository name (owner/repo).
RepoUrlstringURL to the repository on GitHub.
DefaultBranchstringRepository's default branch.
BranchFilterstringBranch filter pattern for builds.
ProfilestringEnablePrBuildsboolWhether PR builds are enabled.
TimeoutMinutesintBuild timeout in minutes.
CreatedAtDateTimeWhen the project was created.
LastBuildAtDateTime?When the last build was started.
TotalBuildsintTotal number of builds.
IsConfiguredboolWhether all required secrets are configured.
MissingSecretsIReadOnlyList<string>Names of missing required secrets.
RecentBuildsIReadOnlyList<BuildListItemDto>List of recent builds.
Properties
BranchFilter
Branch filter pattern for builds.
public string BranchFilter { get; init; }
Property Value
CreatedAt
When the project was created.
public DateTime CreatedAt { get; init; }
Property Value
DefaultBranch
Repository's default branch.
public string DefaultBranch { get; init; }
Property Value
EnablePrBuilds
Whether PR builds are enabled.
public bool EnablePrBuilds { 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
MissingSecrets
Names of missing required secrets.
public IReadOnlyList<string> MissingSecrets { get; init; }
Property Value
Profile
public string? Profile { get; init; }
Property Value
RecentBuilds
List of recent builds.
public IReadOnlyList<BuildListItemDto> RecentBuilds { 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
TimeoutMinutes
Build timeout in minutes.
public int TimeoutMinutes { get; init; }
Property Value
TotalBuilds
Total number of builds.
public int TotalBuilds { get; init; }