Skip to content

Commit

Permalink
Add DefaultRunbookRetentionPolicy to ProjectResource
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanlerch committed Oct 2, 2024
1 parent c1b29d1 commit c3e52e1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4582,6 +4582,7 @@ Octopus.Client.Model
ISet<AutoDeployReleaseOverrideResource> AutoDeployReleaseOverrides { get; }
String ClonedFromProjectId { get; set; }
Octopus.Client.Model.GuidedFailureMode DefaultGuidedFailureMode { get; set; }
Octopus.Client.Model.RunbookRetentionPeriod DefaultRunbookRetentionPolicy { get; set; }
Boolean DefaultToSkipIfAlreadyInstalled { get; set; }
String DeploymentChangesTemplate { get; set; }
String DeploymentProcessId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4602,6 +4602,7 @@ Octopus.Client.Model
ISet<AutoDeployReleaseOverrideResource> AutoDeployReleaseOverrides { get; }
String ClonedFromProjectId { get; set; }
Octopus.Client.Model.GuidedFailureMode DefaultGuidedFailureMode { get; set; }
Octopus.Client.Model.RunbookRetentionPeriod DefaultRunbookRetentionPolicy { get; set; }
Boolean DefaultToSkipIfAlreadyInstalled { get; set; }
String DeploymentChangesTemplate { get; set; }
String DeploymentProcessId { get; set; }
Expand Down
11 changes: 7 additions & 4 deletions source/Octopus.Server.Client/Model/ProjectResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,14 @@ public ProjectResource(string id, string name, string slug) : this()
public bool ForcePackageDownload { get; set; }

[Writeable]
public bool? AllowIgnoreChannelRules { get; set;}

public bool? AllowIgnoreChannelRules { get; set; }

[Writeable]
public RunbookRetentionPeriod DefaultRunbookRetentionPolicy { get; set; }

[Writeable]
public bool? ExecuteDeploymentsOnResilientPipeline { get; set;}
public bool? ExecuteDeploymentsOnResilientPipeline { get; set; }

public IconResource Icon { get; set; }

public ProjectResource Clear()
Expand Down

0 comments on commit c3e52e1

Please sign in to comment.