Table of Contents

Class ProjectDetailsDto

Namespace
Ando.Server.Contracts.Projects
Assembly
Ando.Server.dll

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

Id int

Project's unique identifier.

RepoFullName string

Full repository name (owner/repo).

RepoUrl string

URL to the repository on GitHub.

DefaultBranch string

Repository's default branch.

BranchFilter string

Branch filter pattern for builds.

Profile string
EnablePrBuilds bool

Whether PR builds are enabled.

TimeoutMinutes int

Build timeout in minutes.

CreatedAt DateTime

When the project was created.

LastBuildAt DateTime?

When the last build was started.

TotalBuilds int

Total number of builds.

IsConfigured bool

Whether all required secrets are configured.

MissingSecrets IReadOnlyList<string>

Names of missing required secrets.

RecentBuilds IReadOnlyList<BuildListItemDto>

List of recent builds.

Properties

BranchFilter

Branch filter pattern for builds.

public string BranchFilter { get; init; }

Property Value

string

CreatedAt

When the project was created.

public DateTime CreatedAt { get; init; }

Property Value

DateTime

DefaultBranch

Repository's default branch.

public string DefaultBranch { get; init; }

Property Value

string

EnablePrBuilds

Whether PR builds are enabled.

public bool EnablePrBuilds { get; init; }

Property Value

bool

Id

Project's unique identifier.

public int Id { get; init; }

Property Value

int

IsConfigured

Whether all required secrets are configured.

public bool IsConfigured { get; init; }

Property Value

bool

LastBuildAt

When the last build was started.

public DateTime? LastBuildAt { get; init; }

Property Value

DateTime?

MissingSecrets

Names of missing required secrets.

public IReadOnlyList<string> MissingSecrets { get; init; }

Property Value

IReadOnlyList<string>

Profile

public string? Profile { get; init; }

Property Value

string

RecentBuilds

List of recent builds.

public IReadOnlyList<BuildListItemDto> RecentBuilds { get; init; }

Property Value

IReadOnlyList<BuildListItemDto>

RepoFullName

Full repository name (owner/repo).

public string RepoFullName { get; init; }

Property Value

string

RepoUrl

URL to the repository on GitHub.

public string RepoUrl { get; init; }

Property Value

string

TimeoutMinutes

Build timeout in minutes.

public int TimeoutMinutes { get; init; }

Property Value

int

TotalBuilds

Total number of builds.

public int TotalBuilds { get; init; }

Property Value

int