Skip to content

Commit

Permalink
feat: Adds bypass enum to rule suite
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot authored Sep 18, 2024
1 parent 7b795fc commit 1de5f9e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/GitHub/Models/RuleSuite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public partial class RuleSuite : IAdditionalDataHolder, IParsable
#else
public string BeforeSha { get; set; }
#endif
/// <summary>The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`.</summary>
/// <summary>The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run.</summary>
public global::GitHub.Models.RuleSuite_evaluation_result? EvaluationResult { get; set; }
/// <summary>The unique identifier of the rule insight.</summary>
public int? Id { get; set; }
Expand Down
6 changes: 5 additions & 1 deletion src/GitHub/Models/RuleSuite_evaluation_result.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System;
namespace GitHub.Models
{
/// <summary>The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`.</summary>
/// <summary>The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run.</summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public enum RuleSuite_evaluation_result
{
Expand All @@ -15,5 +15,9 @@ public enum RuleSuite_evaluation_result
#pragma warning disable CS1591
Fail,
#pragma warning restore CS1591
[EnumMember(Value = "bypass")]
#pragma warning disable CS1591
Bypass,
#pragma warning restore CS1591
}
}
2 changes: 1 addition & 1 deletion src/GitHub/Models/RuleSuite_rule_evaluations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public partial class RuleSuite_rule_evaluations : IAdditionalDataHolder, IParsab
{
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
public IDictionary<string, object> AdditionalData { get; set; }
/// <summary>Any associated details with the rule evaluation.</summary>
/// <summary>The detailed failure message for the rule. Null if the rule passed.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? Details { get; set; }
Expand Down
4 changes: 4 additions & 0 deletions src/GitHub/Models/RuleSuites_evaluation_result.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ public enum RuleSuites_evaluation_result
#pragma warning disable CS1591
Fail,
#pragma warning restore CS1591
[EnumMember(Value = "bypass")]
#pragma warning disable CS1591
Bypass,
#pragma warning restore CS1591
}
}
2 changes: 1 addition & 1 deletion src/GitHub/kiota-lock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"descriptionHash": "A70F835CD26420D828FA7EA37F5DF890C843914085A9BA22F3E6BE4029BD88B7EBBF31EEFB7E3EAA9081998B3BF1C6F6C0FBD3CB63930AF0002F36F092E48990",
"descriptionHash": "7B55533330F84E7735B16C50BB88D4DBB8A21AB1E46230123B70251EADE2B29CA7257AB562948D6519BE820EAFADE277B01D137D2A57BD706823D2D02A5B9B03",
"descriptionLocation": "../../../../../schemas/api.github.com.json",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
Expand Down

0 comments on commit 1de5f9e

Please sign in to comment.