Skip to content

Commit 4bebb6e

Browse files
alex-hempelAlex HempelToa741
authored
Add AutoStopAt to EnvironmentInfo (#828)
* Add AutoStopAt to EnvironmentInfo * Update NGitLab/Models/EnvironmentInfo.cs Make AutoStopAt nullable Co-authored-by: Thomas Cortes <78750681+Toa741@users.noreply.github.com> * Update PublicAPI.Unshipped.txt --------- Co-authored-by: Alex Hempel <alex.hempel@transmax.com.au> Co-authored-by: Thomas Cortes <78750681+Toa741@users.noreply.github.com>
1 parent 044b6bc commit 4bebb6e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

NGitLab/Models/EnvironmentInfo.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System.Text.Json.Serialization;
1+
using System;
2+
using System.Text.Json.Serialization;
23

34
namespace NGitLab.Models;
45

@@ -21,4 +22,7 @@ public class EnvironmentInfo
2122

2223
[JsonPropertyName("last_deployment")]
2324
public EnvironmentLastDeployment LastDeployment { get; set; }
25+
26+
[JsonPropertyName("auto_stop_at")]
27+
public DateTime? AutoStopAt { get; set; }
2428
}

NGitLab/PublicAPI.Unshipped.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,6 +1710,8 @@ NGitLab.Models.DiffRefs.HeadSha.set -> void
17101710
NGitLab.Models.DiffRefs.StartSha.get -> string
17111711
NGitLab.Models.DiffRefs.StartSha.set -> void
17121712
NGitLab.Models.EnvironmentInfo
1713+
NGitLab.Models.EnvironmentInfo.AutoStopAt.get -> System.DateTime?
1714+
NGitLab.Models.EnvironmentInfo.AutoStopAt.set -> void
17131715
NGitLab.Models.EnvironmentInfo.EnvironmentInfo() -> void
17141716
NGitLab.Models.EnvironmentInfo.ExternalUrl.get -> string
17151717
NGitLab.Models.EnvironmentInfo.ExternalUrl.set -> void

0 commit comments

Comments
 (0)