From 91512d710ee438b0963cbde00d135a28a8a2d9cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Myka=C3=ABl=20Lemieux-Lafontaine?= Date: Fri, 25 Oct 2024 14:16:36 -0400 Subject: [PATCH] Add Last Pipeline information --- NGitLab/Models/PipelineSchedule.cs | 3 +++ NGitLab/PublicAPI.Unshipped.txt | 2 ++ 2 files changed, 5 insertions(+) diff --git a/NGitLab/Models/PipelineSchedule.cs b/NGitLab/Models/PipelineSchedule.cs index dc02537c..0b167fca 100644 --- a/NGitLab/Models/PipelineSchedule.cs +++ b/NGitLab/Models/PipelineSchedule.cs @@ -30,6 +30,9 @@ public class PipelineSchedule [JsonPropertyName("updated_at")] public DateTime UpdatedAt { get; set; } + [JsonPropertyName("last_pipeline")] + public PipelineBasic LastPipeline { get; set; } + [JsonPropertyName("owner")] public User Owner { get; set; } diff --git a/NGitLab/PublicAPI.Unshipped.txt b/NGitLab/PublicAPI.Unshipped.txt index 1b3fcdbe..f9361cc8 100644 --- a/NGitLab/PublicAPI.Unshipped.txt +++ b/NGitLab/PublicAPI.Unshipped.txt @@ -2919,6 +2919,8 @@ NGitLab.Models.PipelineSchedule.Description.get -> string NGitLab.Models.PipelineSchedule.Description.set -> void NGitLab.Models.PipelineSchedule.Id.get -> int NGitLab.Models.PipelineSchedule.Id.set -> void +NGitLab.Models.PipelineSchedule.LastPipeline.get -> NGitLab.Models.PipelineBasic +NGitLab.Models.PipelineSchedule.LastPipeline.set -> void NGitLab.Models.PipelineSchedule.NextRunAt.get -> System.DateTime NGitLab.Models.PipelineSchedule.NextRunAt.set -> void NGitLab.Models.PipelineSchedule.Owner.get -> NGitLab.Models.User