Table of Contents

Class ProjectSettingsDto

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

Project settings for the settings page.

public record ProjectSettingsDto : IEquatable<ProjectSettingsDto>
Inheritance
ProjectSettingsDto
Implements
Inherited Members

Constructors

ProjectSettingsDto(int, string, string, bool, int, string?, string?, IReadOnlyList<string>, bool, string?, bool, string?, IReadOnlyList<string>, IReadOnlyList<string>)

Project settings for the settings page.

public ProjectSettingsDto(int Id, string RepoFullName, string BranchFilter, bool EnablePrBuilds, int TimeoutMinutes, string? DockerImage, string? Profile, IReadOnlyList<string> AvailableProfiles, bool IsProfileValid, string? RequiredSecrets, bool NotifyOnFailure, string? NotificationEmail, IReadOnlyList<string> SecretNames, IReadOnlyList<string> MissingSecrets)

Parameters

Id int

Project's unique identifier.

RepoFullName string

Full repository name (owner/repo).

BranchFilter string

Branch filter pattern for builds.

EnablePrBuilds bool

Whether PR builds are enabled.

TimeoutMinutes int

Build timeout in minutes.

DockerImage string

Custom Docker image for builds.

Profile string

Selected build profile name.

AvailableProfiles IReadOnlyList<string>

Available build profiles from repository.

IsProfileValid bool

Whether selected profile exists.

RequiredSecrets string

Comma-separated list of required secret names.

NotifyOnFailure bool

Whether to send failure notifications.

NotificationEmail string

Email for failure notifications.

SecretNames IReadOnlyList<string>

Names of configured secrets.

MissingSecrets IReadOnlyList<string>

Names of missing required secrets.

Properties

AvailableProfiles

Available build profiles from repository.

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

Property Value

IReadOnlyList<string>

BranchFilter

Branch filter pattern for builds.

public string BranchFilter { get; init; }

Property Value

string

DockerImage

Custom Docker image for builds.

public string? DockerImage { 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

IsProfileValid

Whether selected profile exists.

public bool IsProfileValid { get; init; }

Property Value

bool

MissingSecrets

Names of missing required secrets.

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

Property Value

IReadOnlyList<string>

NotificationEmail

Email for failure notifications.

public string? NotificationEmail { get; init; }

Property Value

string

NotifyOnFailure

Whether to send failure notifications.

public bool NotifyOnFailure { get; init; }

Property Value

bool

Profile

Selected build profile name.

public string? Profile { get; init; }

Property Value

string

RepoFullName

Full repository name (owner/repo).

public string RepoFullName { get; init; }

Property Value

string

RequiredSecrets

Comma-separated list of required secret names.

public string? RequiredSecrets { get; init; }

Property Value

string

SecretNames

Names of configured secrets.

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

Property Value

IReadOnlyList<string>

TimeoutMinutes

Build timeout in minutes.

public int TimeoutMinutes { get; init; }

Property Value

int