Skip to content

Commit

Permalink
New updates to generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot committed Sep 30, 2024
1 parent 152d5f3 commit c4e881a
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/GitHub.Octokit.GHES.SDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.0.2" />
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.1.0" />
<PackageReference Include="Microsoft.Kiota.Abstractions" Version="1.12.4" />
<PackageReference Include="Microsoft.Kiota.Http.HttpClientLibrary" Version="1.12.4" />
<PackageReference Include="Microsoft.Kiota.Serialization.Form" Version="1.12.4" />
Expand Down
2 changes: 1 addition & 1 deletion src/GitHub/Models/OrgRulesetConditions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace GitHub.Models
{
/// <summary>
/// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties.
/// Conditions for an organization ruleset.The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.The push rulesets conditions object does not require the `ref_name` property.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class OrgRulesetConditions : IAdditionalDataHolder, IParsable
Expand Down
3 changes: 2 additions & 1 deletion src/GitHub/Models/RepositoryRulesetBypassActor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ public partial class RepositoryRulesetBypassActor : IAdditionalDataHolder, IPars
public global::GitHub.Models.RepositoryRulesetBypassActor_actor_type? ActorType { get; set; }
/// <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>When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.</summary>
/// <summary>When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets.</summary>
public global::GitHub.Models.RepositoryRulesetBypassActor_bypass_mode? BypassMode { get; set; }
/// <summary>
/// Instantiates a new <see cref="global::GitHub.Models.RepositoryRulesetBypassActor"/> and sets the default values.
/// </summary>
public RepositoryRulesetBypassActor()
{
AdditionalData = new Dictionary<string, object>();
BypassMode = global::GitHub.Models.RepositoryRulesetBypassActor_bypass_mode.Always;
}
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System;
namespace GitHub.Models
{
/// <summary>When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.</summary>
/// <summary>When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets.</summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public enum RepositoryRulesetBypassActor_bypass_mode
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public partial class WithRuleset_PutRequestBody : IAdditionalDataHolder, IParsab
#else
public List<global::GitHub.Models.RepositoryRulesetBypassActor> BypassActors { get; set; }
#endif
/// <summary>Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties.</summary>
/// <summary>Conditions for an organization ruleset.The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.The push rulesets conditions object does not require the `ref_name` property.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public global::GitHub.Models.OrgRulesetConditions? Conditions { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/GitHub/Orgs/Item/Rulesets/RulesetsPostRequestBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public partial class RulesetsPostRequestBody : IAdditionalDataHolder, IParsable
#else
public List<global::GitHub.Models.RepositoryRulesetBypassActor> BypassActors { get; set; }
#endif
/// <summary>Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties.</summary>
/// <summary>Conditions for an organization ruleset.The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.The push rulesets conditions object does not require the `ref_name` property.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public global::GitHub.Models.OrgRulesetConditions? Conditions { get; set; }
Expand Down
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": "7215069E636AD38E1545655FDF9AEE099B68B97B4F4C39E33F7257346C65E30A5E83857A51D91E255B4E2D35D95B211660EF930EFB493AB6A89D7C3433F2B28A",
"descriptionHash": "5AD56C70C99A341EB2245D8B4B909038D7CD876BE3E7877742AC24E2B67554388D1391AC7E925B0477F763ADB5432749B0666B71942F693845AF781D80C4D273",
"descriptionLocation": "../../../../../schemas/ghes-3.11.json",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
Expand Down
2 changes: 1 addition & 1 deletion test/Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" PrivateAssets="all" />
<PackageReference Include="Moq" Version="4.20.72" />
</ItemGroup>
Expand Down

0 comments on commit c4e881a

Please sign in to comment.