diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.Webhook.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.Webhook.g.cs index 586591f..2df2fc6 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.Webhook.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.Webhook.g.cs @@ -14,6 +14,13 @@ public sealed partial class Webhook [global::System.Text.Json.Serialization.JsonPropertyName("actions")] public global::System.Collections.Generic.IList? Actions { get; set; } + /// + /// Included only in responses + /// + /// default! + [global::System.Text.Json.Serialization.JsonPropertyName("consecutive_failures")] + public int ConsecutiveFailures { get; set; } = default!; + /// /// Creation time
/// Included only in responses @@ -109,6 +116,9 @@ public sealed partial class Webhook /// /// If value is False send only action /// + /// + /// Included only in responses + /// /// /// Creation time
/// Included only in responses @@ -134,12 +144,14 @@ public Webhook( int? project, bool? sendForAllActions, bool? sendPayload, + int consecutiveFailures = default!, global::System.DateTime createdAt = default!, int id = default!, int organization = default!, global::System.DateTime updatedAt = default!) { this.Actions = actions; + this.ConsecutiveFailures = consecutiveFailures; this.CreatedAt = createdAt; this.Headers = headers; this.Id = id; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.WebhookSerializerForUpdate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.WebhookSerializerForUpdate.g.cs index 5bd548a..162dad3 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.WebhookSerializerForUpdate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.WebhookSerializerForUpdate.g.cs @@ -15,6 +15,13 @@ public sealed partial class WebhookSerializerForUpdate [global::System.Text.Json.Serialization.JsonPropertyName("actions")] public global::System.Collections.Generic.IList? Actions { get; set; } + /// + /// Included only in responses + /// + /// default! + [global::System.Text.Json.Serialization.JsonPropertyName("consecutive_failures")] + public int ConsecutiveFailures { get; set; } = default!; + /// /// Creation time
/// Included only in responses @@ -112,6 +119,9 @@ public sealed partial class WebhookSerializerForUpdate /// /// If value is False send only action /// + /// + /// Included only in responses + /// /// /// Creation time
/// Included only in responses @@ -137,12 +147,14 @@ public WebhookSerializerForUpdate( int? project, bool? sendForAllActions, bool? sendPayload, + int consecutiveFailures = default!, global::System.DateTime createdAt = default!, int id = default!, int organization = default!, global::System.DateTime updatedAt = default!) { this.Actions = actions; + this.ConsecutiveFailures = consecutiveFailures; this.CreatedAt = createdAt; this.Headers = headers; this.Id = id; diff --git a/src/libs/LabelStudio/openapi.yaml b/src/libs/LabelStudio/openapi.yaml index a9f5372..f06e998 100644 --- a/src/libs/LabelStudio/openapi.yaml +++ b/src/libs/LabelStudio/openapi.yaml @@ -43759,6 +43759,9 @@ components: items: $ref: '#/components/schemas/ActionsEnum' type: array + consecutive_failures: + readOnly: true + type: integer created_at: description: Creation time format: date-time @@ -43800,6 +43803,7 @@ components: title: URL of webhook type: string required: + - consecutive_failures - created_at - id - organization @@ -43852,6 +43856,9 @@ components: items: $ref: '#/components/schemas/ActionsEnum' type: array + consecutive_failures: + readOnly: true + type: integer created_at: description: Creation time format: date-time @@ -43894,6 +43901,7 @@ components: title: URL of webhook type: string required: + - consecutive_failures - created_at - id - organization