Skip to content

Commit

Permalink
Changes in generated code (#118)
Browse files Browse the repository at this point in the history
* New updates to generated code

* New updates to generated code

* New updates to generated code

* New updates to generated code

* New updates to generated code

* New updates to generated code
  • Loading branch information
octokitbot authored Sep 13, 2024
1 parent 3cdade9 commit 596ae0d
Show file tree
Hide file tree
Showing 2,451 changed files with 7,232 additions and 2,846 deletions.
14 changes: 7 additions & 7 deletions src/GitHub.Octokit.SDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@

<ItemGroup>
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.0.2" />
<PackageReference Include="Microsoft.Kiota.Abstractions" Version="1.11.0" />
<PackageReference Include="Microsoft.Kiota.Http.HttpClientLibrary" Version="1.11.0" />
<PackageReference Include="Microsoft.Kiota.Serialization.Form" Version="1.11.0" />
<PackageReference Include="Microsoft.Kiota.Serialization.Json" Version="1.11.0" />
<PackageReference Include="Microsoft.Kiota.Serialization.Multipart" Version="1.11.0" />
<PackageReference Include="Microsoft.Kiota.Serialization.Text" Version="1.11.0" />
<PackageReference Include="Microsoft.Kiota.Authentication.Azure" Version="1.11.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" />
<PackageReference Include="Microsoft.Kiota.Serialization.Json" Version="1.12.4" />
<PackageReference Include="Microsoft.Kiota.Serialization.Multipart" Version="1.12.4" />
<PackageReference Include="Microsoft.Kiota.Serialization.Text" Version="1.12.4" />
<PackageReference Include="Microsoft.Kiota.Authentication.Azure" Version="1.12.4" />
<None Include="NugetREADME.md" Pack="true" PackagePath="\" />
<None Include="octokit.png" Pack="true" PackagePath="\" />
</ItemGroup>
Expand Down
6 changes: 4 additions & 2 deletions src/GitHub/Advisories/AdvisoriesRequestBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// <auto-generated/>
#pragma warning disable CS0618
using GitHub.Advisories.Item;
using GitHub.Models;
using Microsoft.Kiota.Abstractions.Extensions;
Expand All @@ -14,7 +15,7 @@ namespace GitHub.Advisories
/// <summary>
/// Builds and executes requests for operations under \advisories
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class AdvisoriesRequestBuilder : BaseRequestBuilder
{
/// <summary>Gets an item from the GitHub.advisories.item collection</summary>
Expand Down Expand Up @@ -103,7 +104,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
/// <summary>
/// Lists all global security advisories that match the specified parameters. If no other parameters are defined, the request will return only GitHub-reviewed advisories that are not malware.By default, all responses will exclude advisories for malware, because malware are not standard vulnerabilities. To list advisories for malware, you must include the `type` parameter in your request, with the value `malware`. For more information about the different types of security advisories, see &quot;[About the GitHub Advisory database](https://docs.github.com/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database#about-types-of-security-advisories).&quot;
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class AdvisoriesRequestBuilderGetQueryParameters
{
/// <summary>If specified, only return advisories that affect any of `package` or `package@version`. A maximum of 1000 packages can be specified.If the query parameter causes the URL to exceed the maximum URL length supported by your client, you must specify fewer packages.Example: `affects=package1,[email protected],package3@^2.0.0` or `affects[]=package1&amp;affects[][email protected]`</summary>
Expand Down Expand Up @@ -240,3 +241,4 @@ public partial class AdvisoriesRequestBuilderGetQueryParameters
}
}
}
#pragma warning restore CS0618
2 changes: 1 addition & 1 deletion src/GitHub/Advisories/GetDirectionQueryParameterType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System;
namespace GitHub.Advisories
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
#pragma warning disable CS1591
public enum GetDirectionQueryParameterType
#pragma warning restore CS1591
Expand Down
2 changes: 1 addition & 1 deletion src/GitHub/Advisories/GetSeverityQueryParameterType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System;
namespace GitHub.Advisories
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
#pragma warning disable CS1591
public enum GetSeverityQueryParameterType
#pragma warning restore CS1591
Expand Down
10 changes: 9 additions & 1 deletion src/GitHub/Advisories/GetSortQueryParameterType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System;
namespace GitHub.Advisories
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
#pragma warning disable CS1591
public enum GetSortQueryParameterType
#pragma warning restore CS1591
Expand All @@ -16,5 +16,13 @@ public enum GetSortQueryParameterType
#pragma warning disable CS1591
Published,
#pragma warning restore CS1591
[EnumMember(Value = "epss_percentage")]
#pragma warning disable CS1591
Epss_percentage,
#pragma warning restore CS1591
[EnumMember(Value = "epss_percentile")]
#pragma warning disable CS1591
Epss_percentile,
#pragma warning restore CS1591
}
}
2 changes: 1 addition & 1 deletion src/GitHub/Advisories/GetTypeQueryParameterType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System;
namespace GitHub.Advisories
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
#pragma warning disable CS1591
public enum GetTypeQueryParameterType
#pragma warning restore CS1591
Expand Down
4 changes: 3 additions & 1 deletion src/GitHub/Advisories/Item/WithGhsa_ItemRequestBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// <auto-generated/>
#pragma warning disable CS0618
using GitHub.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
Expand All @@ -13,7 +14,7 @@ namespace GitHub.Advisories.Item
/// <summary>
/// Builds and executes requests for operations under \advisories\{ghsa_id}
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class WithGhsa_ItemRequestBuilder : BaseRequestBuilder
{
/// <summary>
Expand Down Expand Up @@ -86,3 +87,4 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<De
}
}
}
#pragma warning restore CS0618
4 changes: 3 additions & 1 deletion src/GitHub/App/AppRequestBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// <auto-generated/>
#pragma warning disable CS0618
using GitHub.App.Hook;
using GitHub.App.InstallationRequests;
using GitHub.App.Installations;
Expand All @@ -16,7 +17,7 @@ namespace GitHub.App
/// <summary>
/// Builds and executes requests for operations under \app
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class AppRequestBuilder : BaseRequestBuilder
{
/// <summary>The hook property</summary>
Expand Down Expand Up @@ -99,3 +100,4 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<De
}
}
}
#pragma warning restore CS0618
4 changes: 3 additions & 1 deletion src/GitHub/App/Hook/Config/ConfigPatchRequestBody.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// <auto-generated/>
#pragma warning disable CS0618
using GitHub.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
Expand All @@ -7,7 +8,7 @@
using System;
namespace GitHub.App.Hook.Config
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
#pragma warning disable CS1591
public partial class ConfigPatchRequestBody : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
Expand Down Expand Up @@ -92,3 +93,4 @@ public virtual void Serialize(ISerializationWriter writer)
}
}
}
#pragma warning restore CS0618
4 changes: 3 additions & 1 deletion src/GitHub/App/Hook/Config/ConfigRequestBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// <auto-generated/>
#pragma warning disable CS0618
using GitHub.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
Expand All @@ -13,7 +14,7 @@ namespace GitHub.App.Hook.Config
/// <summary>
/// Builds and executes requests for operations under \app\hook\config
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class ConfigRequestBuilder : BaseRequestBuilder
{
/// <summary>
Expand Down Expand Up @@ -124,3 +125,4 @@ public RequestInformation ToPatchRequestInformation(global::GitHub.App.Hook.Conf
}
}
}
#pragma warning restore CS0618
6 changes: 4 additions & 2 deletions src/GitHub/App/Hook/Deliveries/DeliveriesRequestBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// <auto-generated/>
#pragma warning disable CS0618
using GitHub.App.Hook.Deliveries.Item;
using GitHub.Models;
using Microsoft.Kiota.Abstractions.Extensions;
Expand All @@ -14,7 +15,7 @@ namespace GitHub.App.Hook.Deliveries
/// <summary>
/// Builds and executes requests for operations under \app\hook\deliveries
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class DeliveriesRequestBuilder : BaseRequestBuilder
{
/// <summary>Gets an item from the GitHub.app.hook.deliveries.item collection</summary>
Expand Down Expand Up @@ -103,7 +104,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
/// <summary>
/// Returns a list of webhook deliveries for the webhook configured for a GitHub App.You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class DeliveriesRequestBuilderGetQueryParameters
{
/// <summary>Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors.</summary>
Expand All @@ -124,3 +125,4 @@ public partial class DeliveriesRequestBuilderGetQueryParameters
}
}
}
#pragma warning restore CS0618
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
// <auto-generated/>
#pragma warning disable CS0618
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
using System.Collections.Generic;
using System.IO;
using System;
namespace GitHub.App.Hook.Deliveries.Item.Attempts
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
#pragma warning disable CS1591
public partial class AttemptsPostResponse : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
Expand Down Expand Up @@ -51,3 +52,4 @@ public virtual void Serialize(ISerializationWriter writer)
}
}
}
#pragma warning restore CS0618
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// <auto-generated/>
#pragma warning disable CS0618
using GitHub.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
Expand All @@ -13,7 +14,7 @@ namespace GitHub.App.Hook.Deliveries.Item.Attempts
/// <summary>
/// Builds and executes requests for operations under \app\hook\deliveries\{delivery_id}\attempts
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class AttemptsRequestBuilder : BaseRequestBuilder
{
/// <summary>
Expand Down Expand Up @@ -88,3 +89,4 @@ public RequestInformation ToPostRequestInformation(Action<RequestConfiguration<D
}
}
}
#pragma warning restore CS0618
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// <auto-generated/>
#pragma warning disable CS0618
using GitHub.App.Hook.Deliveries.Item.Attempts;
using GitHub.Models;
using Microsoft.Kiota.Abstractions.Extensions;
Expand All @@ -14,7 +15,7 @@ namespace GitHub.App.Hook.Deliveries.Item
/// <summary>
/// Builds and executes requests for operations under \app\hook\deliveries\{delivery_id}
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class WithDelivery_ItemRequestBuilder : BaseRequestBuilder
{
/// <summary>The attempts property</summary>
Expand Down Expand Up @@ -94,3 +95,4 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<De
}
}
}
#pragma warning restore CS0618
4 changes: 3 additions & 1 deletion src/GitHub/App/Hook/HookRequestBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// <auto-generated/>
#pragma warning disable CS0618
using GitHub.App.Hook.Config;
using GitHub.App.Hook.Deliveries;
using Microsoft.Kiota.Abstractions.Extensions;
Expand All @@ -12,7 +13,7 @@ namespace GitHub.App.Hook
/// <summary>
/// Builds and executes requests for operations under \app\hook
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class HookRequestBuilder : BaseRequestBuilder
{
/// <summary>The config property</summary>
Expand Down Expand Up @@ -43,3 +44,4 @@ public HookRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(
}
}
}
#pragma warning restore CS0618
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// <auto-generated/>
#pragma warning disable CS0618
using GitHub.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
Expand All @@ -13,7 +14,7 @@ namespace GitHub.App.InstallationRequests
/// <summary>
/// Builds and executes requests for operations under \app\installation-requests
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class InstallationRequestsRequestBuilder : BaseRequestBuilder
{
/// <summary>
Expand Down Expand Up @@ -88,7 +89,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
/// <summary>
/// Lists all the pending installation requests for the authenticated GitHub App.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class InstallationRequestsRequestBuilderGetQueryParameters
{
/// <summary>The page number of the results to fetch. For more information, see &quot;[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).&quot;</summary>
Expand All @@ -100,3 +101,4 @@ public partial class InstallationRequestsRequestBuilderGetQueryParameters
}
}
}
#pragma warning restore CS0618
6 changes: 4 additions & 2 deletions src/GitHub/App/Installations/InstallationsRequestBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// <auto-generated/>
#pragma warning disable CS0618
using GitHub.App.Installations.Item;
using GitHub.Models;
using Microsoft.Kiota.Abstractions.Extensions;
Expand All @@ -14,7 +15,7 @@ namespace GitHub.App.Installations
/// <summary>
/// Builds and executes requests for operations under \app\installations
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class InstallationsRequestBuilder : BaseRequestBuilder
{
/// <summary>Gets an item from the GitHub.app.installations.item collection</summary>
Expand Down Expand Up @@ -96,7 +97,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
/// <summary>
/// The permissions the installation has are included under the `permissions` key.You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class InstallationsRequestBuilderGetQueryParameters
{
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
Expand All @@ -120,3 +121,4 @@ public partial class InstallationsRequestBuilderGetQueryParameters
}
}
}
#pragma warning restore CS0618
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// <auto-generated/>
#pragma warning disable CS0618
using GitHub.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
Expand All @@ -7,7 +8,7 @@
using System;
namespace GitHub.App.Installations.Item.Access_tokens
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
#pragma warning disable CS1591
public partial class Access_tokensPostRequestBody : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
Expand Down Expand Up @@ -82,3 +83,4 @@ public virtual void Serialize(ISerializationWriter writer)
}
}
}
#pragma warning restore CS0618
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// <auto-generated/>
#pragma warning disable CS0618
using GitHub.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
Expand All @@ -13,7 +14,7 @@ namespace GitHub.App.Installations.Item.Access_tokens
/// <summary>
/// Builds and executes requests for operations under \app\installations\{installation_id}\access_tokens
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
public partial class Access_tokensRequestBuilder : BaseRequestBuilder
{
/// <summary>
Expand Down Expand Up @@ -97,3 +98,4 @@ public RequestInformation ToPostRequestInformation(global::GitHub.App.Installati
}
}
}
#pragma warning restore CS0618
Loading

0 comments on commit 596ae0d

Please sign in to comment.