Skip to content

Commit

Permalink
Regenerated API clients with Kiota
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 4, 2024
1 parent cad0230 commit 131faf4
Show file tree
Hide file tree
Showing 30 changed files with 53 additions and 38 deletions.
2 changes: 1 addition & 1 deletion get-started/azure-auth/cli/src/Client/GetUserApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace GetUserClient.ApiClient
/// <summary>
/// The main entry point of the SDK, exposes the configuration and the fluent API.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class GetUserApiClient : BaseCliRequestBuilder
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace GetUserClient.ApiClient.Me
/// <summary>
/// Builds and executes requests for operations under \me
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class MeRequestBuilder : BaseCliRequestBuilder
{
/// <returns>A <see cref="Command"/></returns>
Expand Down
2 changes: 1 addition & 1 deletion get-started/azure-auth/cli/src/Client/Models/User.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System;
namespace GetUserClient.ApiClient.Models
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
#pragma warning disable CS1591
public partial class User : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
Expand Down
3 changes: 2 additions & 1 deletion get-started/azure-auth/cli/src/Client/kiota-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../../get-me.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "GetUserApiClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "GetUserClient.ApiClient",
"language": "CLI",
"usesBackingStore": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace GetUserClient.ApiClient
/// <summary>
/// The main entry point of the SDK, exposes the configuration and the fluent API.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class GetUserApiClient : BaseRequestBuilder
{
/// <summary>The me property</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace GetUserClient.ApiClient.Me
/// <summary>
/// Builds and executes requests for operations under \me
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class MeRequestBuilder : BaseRequestBuilder
{
/// <summary>
Expand Down Expand Up @@ -77,7 +77,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<De
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class MeRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
{
}
Expand Down
2 changes: 1 addition & 1 deletion get-started/azure-auth/dotnet/src/Client/Models/User.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System;
namespace GetUserClient.ApiClient.Models
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
#pragma warning disable CS1591
public partial class User : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
Expand Down
3 changes: 2 additions & 1 deletion get-started/azure-auth/dotnet/src/Client/kiota-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../../get-me.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "GetUserApiClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "GetUserClient.ApiClient",
"language": "CSharp",
"usesBackingStore": false,
Expand Down
3 changes: 2 additions & 1 deletion get-started/azure-auth/go/client/kiota-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "GraphApiClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "getuser/client",
"language": "Go",
"usesBackingStore": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../../../../../../get-me.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "GetUserApiClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "getuserclient.apiclient",
"language": "Java",
"usesBackingStore": false,
Expand Down
3 changes: 2 additions & 1 deletion get-started/azure-auth/php/client/kiota-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "GraphApiClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "GetUser\\Client",
"language": "PHP",
"usesBackingStore": false,
Expand Down
3 changes: 2 additions & 1 deletion get-started/azure-auth/python/client/kiota-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "GetUserApiClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "client",
"language": "Python",
"usesBackingStore": false,
Expand Down
3 changes: 2 additions & 1 deletion get-started/azure-auth/ruby/client/kiota-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "GetUserApiClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "GetUser",
"language": "Ruby",
"usesBackingStore": false,
Expand Down
3 changes: 2 additions & 1 deletion get-started/azure-auth/typescript/client/kiota-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "GetUserApiClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "ApiSdk",
"language": "TypeScript",
"usesBackingStore": false,
Expand Down
2 changes: 1 addition & 1 deletion get-started/quickstart/cli/src/Client/Models/Post.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System;
namespace KiotaPostsCLI.Client.Models
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
#pragma warning disable CS1591
public partial class Post : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace KiotaPostsCLI.Client.Posts.Item
/// <summary>
/// Builds and executes requests for operations under \posts\{post-id}
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class PostItemRequestBuilder : BaseCliRequestBuilder
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace KiotaPostsCLI.Client.Posts
/// <summary>
/// Builds and executes requests for operations under \posts
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class PostsRequestBuilder : BaseCliRequestBuilder
{
/// <summary>
Expand Down Expand Up @@ -174,7 +174,7 @@ public RequestInformation ToPostRequestInformation(global::KiotaPostsCLI.Client.
/// <summary>
/// Get posts
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class PostsRequestBuilderGetQueryParameters
{
/// <summary>Filter results by title</summary>
Expand Down
2 changes: 1 addition & 1 deletion get-started/quickstart/cli/src/Client/PostsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace KiotaPostsCLI.Client
/// <summary>
/// The main entry point of the SDK, exposes the configuration and the fluent API.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class PostsClient : BaseCliRequestBuilder
{
/// <summary>
Expand Down
3 changes: 2 additions & 1 deletion get-started/quickstart/cli/src/Client/kiota-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../../posts-api.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "PostsClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "KiotaPostsCLI.Client",
"language": "CLI",
"usesBackingStore": false,
Expand Down
2 changes: 1 addition & 1 deletion get-started/quickstart/dotnet/src/Client/Models/Post.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System;
namespace KiotaPosts.Client.Models
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
#pragma warning disable CS1591
public partial class Post : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace KiotaPosts.Client.Posts.Item
/// <summary>
/// Builds and executes requests for operations under \posts\{post-id}
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class PostItemRequestBuilder : BaseRequestBuilder
{
/// <summary>
Expand Down Expand Up @@ -161,23 +161,23 @@ public RequestInformation ToPatchRequestInformation(global::KiotaPosts.Client.Mo
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class PostItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
{
}
/// <summary>
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class PostItemRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
{
}
/// <summary>
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class PostItemRequestBuilderPatchRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
{
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace KiotaPosts.Client.Posts
/// <summary>
/// Builds and executes requests for operations under \posts
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class PostsRequestBuilder : BaseRequestBuilder
{
/// <summary>Gets an item from the KiotaPosts.Client.posts.item collection</summary>
Expand Down Expand Up @@ -151,7 +151,7 @@ public RequestInformation ToPostRequestInformation(global::KiotaPosts.Client.Mod
/// <summary>
/// Get posts
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class PostsRequestBuilderGetQueryParameters
{
/// <summary>Filter results by title</summary>
Expand All @@ -172,15 +172,15 @@ public partial class PostsRequestBuilderGetQueryParameters
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class PostsRequestBuilderGetRequestConfiguration : RequestConfiguration<global::KiotaPosts.Client.Posts.PostsRequestBuilder.PostsRequestBuilderGetQueryParameters>
{
}
/// <summary>
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class PostsRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
{
}
Expand Down
2 changes: 1 addition & 1 deletion get-started/quickstart/dotnet/src/Client/PostsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace KiotaPosts.Client
/// <summary>
/// The main entry point of the SDK, exposes the configuration and the fluent API.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.18.0")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")]
public partial class PostsClient : BaseRequestBuilder
{
/// <summary>The posts property</summary>
Expand Down
3 changes: 2 additions & 1 deletion get-started/quickstart/dotnet/src/Client/kiota-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../../posts-api.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "PostsClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "KiotaPosts.Client",
"language": "CSharp",
"usesBackingStore": false,
Expand Down
3 changes: 2 additions & 1 deletion get-started/quickstart/go/client/kiota-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../posts-api.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "PostsClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "kiota_posts/client",
"language": "Go",
"usesBackingStore": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../../../../../../posts-api.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "PostsClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "kiotaposts.client",
"language": "Java",
"usesBackingStore": false,
Expand Down
3 changes: 2 additions & 1 deletion get-started/quickstart/php/client/kiota-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../posts-api.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "PostsApiClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "KiotaPosts\\Client",
"language": "PHP",
"usesBackingStore": false,
Expand Down
3 changes: 2 additions & 1 deletion get-started/quickstart/python/client/kiota-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../posts-api.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "PostsClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "client",
"language": "Python",
"usesBackingStore": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D
"""
super().__init__(request_adapter, "{+baseurl}/posts/{post%2Did}", path_parameters)

async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> bytes:
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]:
"""
Delete post
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Expand Down
3 changes: 2 additions & 1 deletion get-started/quickstart/typescript/client/kiota-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../posts-api.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
"kiotaVersion": "1.19.0",
"clientClassName": "PostsClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "ApiSdk",
"language": "TypeScript",
"usesBackingStore": false,
Expand Down

0 comments on commit 131faf4

Please sign in to comment.