Class ProjectSettingsDto
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
IdintProject's unique identifier.
RepoFullNamestringFull repository name (owner/repo).
BranchFilterstringBranch filter pattern for builds.
EnablePrBuildsboolWhether PR builds are enabled.
TimeoutMinutesintBuild timeout in minutes.
DockerImagestringCustom Docker image for builds.
ProfilestringSelected build profile name.
AvailableProfilesIReadOnlyList<string>Available build profiles from repository.
IsProfileValidboolWhether selected profile exists.
RequiredSecretsstringComma-separated list of required secret names.
NotifyOnFailureboolWhether to send failure notifications.
NotificationEmailstringEmail for failure notifications.
SecretNamesIReadOnlyList<string>Names of configured secrets.
MissingSecretsIReadOnlyList<string>Names of missing required secrets.
Properties
AvailableProfiles
Available build profiles from repository.
public IReadOnlyList<string> AvailableProfiles { get; init; }
Property Value
BranchFilter
Branch filter pattern for builds.
public string BranchFilter { get; init; }
Property Value
DockerImage
Custom Docker image for builds.
public string? DockerImage { 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
IsProfileValid
Whether selected profile exists.
public bool IsProfileValid { get; init; }
Property Value
MissingSecrets
Names of missing required secrets.
public IReadOnlyList<string> MissingSecrets { get; init; }
Property Value
NotificationEmail
Email for failure notifications.
public string? NotificationEmail { get; init; }
Property Value
NotifyOnFailure
Whether to send failure notifications.
public bool NotifyOnFailure { get; init; }
Property Value
Profile
Selected build profile name.
public string? Profile { get; init; }
Property Value
RepoFullName
Full repository name (owner/repo).
public string RepoFullName { get; init; }
Property Value
RequiredSecrets
Comma-separated list of required secret names.
public string? RequiredSecrets { get; init; }
Property Value
SecretNames
Names of configured secrets.
public IReadOnlyList<string> SecretNames { get; init; }
Property Value
TimeoutMinutes
Build timeout in minutes.
public int TimeoutMinutes { get; init; }