diff --git a/get-started/azure-auth/cli/src/Client/GetUserApiClient.cs b/get-started/azure-auth/cli/src/Client/GetUserApiClient.cs
index 9471f3d50..6cb23a5fb 100644
--- a/get-started/azure-auth/cli/src/Client/GetUserApiClient.cs
+++ b/get-started/azure-auth/cli/src/Client/GetUserApiClient.cs
@@ -19,7 +19,7 @@ namespace GetUserClient.ApiClient
///
/// The main entry point of the SDK, exposes the configuration and the fluent API.
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class GetUserApiClient : BaseCliRequestBuilder
{
///
diff --git a/get-started/azure-auth/cli/src/Client/Me/MeRequestBuilder.cs b/get-started/azure-auth/cli/src/Client/Me/MeRequestBuilder.cs
index b4022c986..b16e7eb9b 100644
--- a/get-started/azure-auth/cli/src/Client/Me/MeRequestBuilder.cs
+++ b/get-started/azure-auth/cli/src/Client/Me/MeRequestBuilder.cs
@@ -18,7 +18,7 @@ namespace GetUserClient.ApiClient.Me
///
/// Builds and executes requests for operations under \me
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class MeRequestBuilder : BaseCliRequestBuilder
{
/// A
diff --git a/get-started/azure-auth/cli/src/Client/Models/User.cs b/get-started/azure-auth/cli/src/Client/Models/User.cs
index a61c411a7..d6d514def 100644
--- a/get-started/azure-auth/cli/src/Client/Models/User.cs
+++ b/get-started/azure-auth/cli/src/Client/Models/User.cs
@@ -6,7 +6,7 @@
using System;
namespace GetUserClient.ApiClient.Models
{
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
#pragma warning disable CS1591
public partial class User : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
diff --git a/get-started/azure-auth/cli/src/Client/kiota-lock.json b/get-started/azure-auth/cli/src/Client/kiota-lock.json
index 89cc42c68..d0fe603e3 100644
--- a/get-started/azure-auth/cli/src/Client/kiota-lock.json
+++ b/get-started/azure-auth/cli/src/Client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "GetUserApiClient",
"clientNamespaceName": "GetUserClient.ApiClient",
"language": "CLI",
diff --git a/get-started/azure-auth/dotnet/src/Client/GetUserApiClient.cs b/get-started/azure-auth/dotnet/src/Client/GetUserApiClient.cs
index 57b986fcf..6cae762ba 100644
--- a/get-started/azure-auth/dotnet/src/Client/GetUserApiClient.cs
+++ b/get-started/azure-auth/dotnet/src/Client/GetUserApiClient.cs
@@ -15,7 +15,7 @@ namespace GetUserClient.ApiClient
///
/// The main entry point of the SDK, exposes the configuration and the fluent API.
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class GetUserApiClient : BaseRequestBuilder
{
/// The me property
diff --git a/get-started/azure-auth/dotnet/src/Client/Me/MeRequestBuilder.cs b/get-started/azure-auth/dotnet/src/Client/Me/MeRequestBuilder.cs
index 9f5dbd614..cfa56264f 100644
--- a/get-started/azure-auth/dotnet/src/Client/Me/MeRequestBuilder.cs
+++ b/get-started/azure-auth/dotnet/src/Client/Me/MeRequestBuilder.cs
@@ -13,7 +13,7 @@ namespace GetUserClient.ApiClient.Me
///
/// Builds and executes requests for operations under \me
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class MeRequestBuilder : BaseRequestBuilder
{
///
@@ -76,7 +76,7 @@ public RequestInformation ToGetRequestInformation(Action
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class MeRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
diff --git a/get-started/azure-auth/dotnet/src/Client/Models/User.cs b/get-started/azure-auth/dotnet/src/Client/Models/User.cs
index a61c411a7..d6d514def 100644
--- a/get-started/azure-auth/dotnet/src/Client/Models/User.cs
+++ b/get-started/azure-auth/dotnet/src/Client/Models/User.cs
@@ -6,7 +6,7 @@
using System;
namespace GetUserClient.ApiClient.Models
{
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
#pragma warning disable CS1591
public partial class User : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
diff --git a/get-started/azure-auth/dotnet/src/Client/kiota-lock.json b/get-started/azure-auth/dotnet/src/Client/kiota-lock.json
index 8bf61a1e9..a357e43e0 100644
--- a/get-started/azure-auth/dotnet/src/Client/kiota-lock.json
+++ b/get-started/azure-auth/dotnet/src/Client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "GetUserApiClient",
"clientNamespaceName": "GetUserClient.ApiClient",
"language": "CSharp",
diff --git a/get-started/azure-auth/go/client/kiota-lock.json b/get-started/azure-auth/go/client/kiota-lock.json
index ea8cca03d..163d6c5cc 100644
--- a/get-started/azure-auth/go/client/kiota-lock.json
+++ b/get-started/azure-auth/go/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "GraphApiClient",
"clientNamespaceName": "getuser/client",
"language": "Go",
diff --git a/get-started/azure-auth/java/app/src/main/java/getuserclient/apiclient/kiota-lock.json b/get-started/azure-auth/java/app/src/main/java/getuserclient/apiclient/kiota-lock.json
index bb8aa9f95..d4241aa99 100644
--- a/get-started/azure-auth/java/app/src/main/java/getuserclient/apiclient/kiota-lock.json
+++ b/get-started/azure-auth/java/app/src/main/java/getuserclient/apiclient/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../../../../../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "GetUserApiClient",
"clientNamespaceName": "getuserclient.apiclient",
"language": "Java",
diff --git a/get-started/azure-auth/php/client/kiota-lock.json b/get-started/azure-auth/php/client/kiota-lock.json
index 6e2fa8453..32c91a957 100644
--- a/get-started/azure-auth/php/client/kiota-lock.json
+++ b/get-started/azure-auth/php/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "GraphApiClient",
"clientNamespaceName": "GetUser\\Client",
"language": "PHP",
diff --git a/get-started/azure-auth/python/client/get_user_api_client.py b/get-started/azure-auth/python/client/get_user_api_client.py
index 644c53422..6c62b8902 100644
--- a/get-started/azure-auth/python/client/get_user_api_client.py
+++ b/get-started/azure-auth/python/client/get_user_api_client.py
@@ -26,7 +26,7 @@ def __init__(self,request_adapter: RequestAdapter) -> None:
param request_adapter: The request adapter to use to execute the requests.
Returns: None
"""
- if not request_adapter:
+ if request_adapter is None:
raise TypeError("request_adapter cannot be null.")
super().__init__(request_adapter, "{+baseurl}", None)
register_default_serializer(JsonSerializationWriterFactory)
diff --git a/get-started/azure-auth/python/client/kiota-lock.json b/get-started/azure-auth/python/client/kiota-lock.json
index 92b240345..a04a49d9c 100644
--- a/get-started/azure-auth/python/client/kiota-lock.json
+++ b/get-started/azure-auth/python/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "GetUserApiClient",
"clientNamespaceName": "client",
"language": "Python",
diff --git a/get-started/azure-auth/python/client/me/me_request_builder.py b/get-started/azure-auth/python/client/me/me_request_builder.py
index 778eff7a9..e7585ac49 100644
--- a/get-started/azure-auth/python/client/me/me_request_builder.py
+++ b/get-started/azure-auth/python/client/me/me_request_builder.py
@@ -58,7 +58,7 @@ def with_url(self,raw_url: str) -> MeRequestBuilder:
param raw_url: The raw URL to use for the request builder.
Returns: MeRequestBuilder
"""
- if not raw_url:
+ if raw_url is None:
raise TypeError("raw_url cannot be null.")
return MeRequestBuilder(self.request_adapter, raw_url)
diff --git a/get-started/azure-auth/python/client/models/user.py b/get-started/azure-auth/python/client/models/user.py
index 3fd49e794..8e7d4e444 100644
--- a/get-started/azure-auth/python/client/models/user.py
+++ b/get-started/azure-auth/python/client/models/user.py
@@ -20,7 +20,7 @@ def create_from_discriminator_value(parse_node: ParseNode) -> User:
param parse_node: The parse node to use to read the discriminator value and create the object
Returns: User
"""
- if not parse_node:
+ if parse_node is None:
raise TypeError("parse_node cannot be null.")
return User()
@@ -41,7 +41,7 @@ def serialize(self,writer: SerializationWriter) -> None:
param writer: Serialization writer to use to serialize this model
Returns: None
"""
- if not writer:
+ if writer is None:
raise TypeError("writer cannot be null.")
writer.write_str_value("displayName", self.display_name)
writer.write_str_value("id", self.id)
diff --git a/get-started/azure-auth/ruby/client/kiota-lock.json b/get-started/azure-auth/ruby/client/kiota-lock.json
index 81e9a7342..1edd2fd34 100644
--- a/get-started/azure-auth/ruby/client/kiota-lock.json
+++ b/get-started/azure-auth/ruby/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "GetUserApiClient",
"clientNamespaceName": "GetUser",
"language": "Ruby",
diff --git a/get-started/azure-auth/typescript/client/getUserApiClient.ts b/get-started/azure-auth/typescript/client/getUserApiClient.ts
index f81f69bf4..a843a5990 100644
--- a/get-started/azure-auth/typescript/client/getUserApiClient.ts
+++ b/get-started/azure-auth/typescript/client/getUserApiClient.ts
@@ -18,6 +18,7 @@ import { TextParseNodeFactory, TextSerializationWriterFactory } from '@microsoft
* Instantiates a new {@link GetUserApiClient} and sets the default values.
* @param requestAdapter The request adapter to use to execute the requests.
*/
+// @ts-ignore
export function createGetUserApiClient(requestAdapter: RequestAdapter) {
registerDefaultSerializer(JsonSerializationWriterFactory);
registerDefaultSerializer(TextSerializationWriterFactory);
diff --git a/get-started/azure-auth/typescript/client/kiota-lock.json b/get-started/azure-auth/typescript/client/kiota-lock.json
index ae2f102e3..4149b6737 100644
--- a/get-started/azure-auth/typescript/client/kiota-lock.json
+++ b/get-started/azure-auth/typescript/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "126B1DCD90D419BD411E85DB2452D7D395405237ACF715ECB02992FB92848451D51D4254758E106D7281F10FCEA55629636227F3DC5AFB2550A04CB944BD6EE1",
"descriptionLocation": "../../get-me.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "GetUserApiClient",
"clientNamespaceName": "ApiSdk",
"language": "TypeScript",
diff --git a/get-started/azure-auth/typescript/client/models/index.ts b/get-started/azure-auth/typescript/client/models/index.ts
index 7375420a1..40283ca53 100644
--- a/get-started/azure-auth/typescript/client/models/index.ts
+++ b/get-started/azure-auth/typescript/client/models/index.ts
@@ -9,6 +9,7 @@ import { type AdditionalDataHolder, type Parsable, type ParseNode, type Serializ
* @param parseNode The parse node to use to read the discriminator value and create the object
* @returns {User}
*/
+// @ts-ignore
export function createUserFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record void>) {
return deserializeIntoUser;
}
@@ -16,6 +17,7 @@ export function createUserFromDiscriminatorValue(parseNode: ParseNode | undefine
* The deserialization information for the current model
* @returns {Record void>}
*/
+// @ts-ignore
export function deserializeIntoUser(user: Partial | undefined = {}) : Record void> {
return {
"displayName": n => { user.displayName = n.getStringValue(); },
@@ -26,6 +28,7 @@ export function deserializeIntoUser(user: Partial | undefined = {}) : Reco
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
+// @ts-ignore
export function serializeUser(writer: SerializationWriter, user: Partial | undefined = {}) : void {
writer.writeStringValue("displayName", user.displayName);
writer.writeStringValue("id", user.id);
diff --git a/get-started/quickstart/cli/src/Client/Models/Post.cs b/get-started/quickstart/cli/src/Client/Models/Post.cs
index 354ca1295..05f5ed0d8 100644
--- a/get-started/quickstart/cli/src/Client/Models/Post.cs
+++ b/get-started/quickstart/cli/src/Client/Models/Post.cs
@@ -6,7 +6,7 @@
using System;
namespace KiotaPostsCLI.Client.Models
{
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
#pragma warning disable CS1591
public partial class Post : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
diff --git a/get-started/quickstart/cli/src/Client/Posts/Item/PostItemRequestBuilder.cs b/get-started/quickstart/cli/src/Client/Posts/Item/PostItemRequestBuilder.cs
index 7c4437c92..d06ab7b47 100644
--- a/get-started/quickstart/cli/src/Client/Posts/Item/PostItemRequestBuilder.cs
+++ b/get-started/quickstart/cli/src/Client/Posts/Item/PostItemRequestBuilder.cs
@@ -18,7 +18,7 @@ namespace KiotaPostsCLI.Client.Posts.Item
///
/// Builds and executes requests for operations under \posts\{post-id}
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class PostItemRequestBuilder : BaseCliRequestBuilder
{
///
diff --git a/get-started/quickstart/cli/src/Client/Posts/PostsRequestBuilder.cs b/get-started/quickstart/cli/src/Client/Posts/PostsRequestBuilder.cs
index e2ad501bf..b3f77d6e8 100644
--- a/get-started/quickstart/cli/src/Client/Posts/PostsRequestBuilder.cs
+++ b/get-started/quickstart/cli/src/Client/Posts/PostsRequestBuilder.cs
@@ -19,7 +19,7 @@ namespace KiotaPostsCLI.Client.Posts
///
/// Builds and executes requests for operations under \posts
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class PostsRequestBuilder : BaseCliRequestBuilder
{
///
@@ -173,7 +173,7 @@ public RequestInformation ToPostRequestInformation(global::KiotaPostsCLI.Client.
///
/// Get posts
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class PostsRequestBuilderGetQueryParameters
{
/// Filter results by title
diff --git a/get-started/quickstart/cli/src/Client/PostsClient.cs b/get-started/quickstart/cli/src/Client/PostsClient.cs
index f9bdd5a31..67b26f200 100644
--- a/get-started/quickstart/cli/src/Client/PostsClient.cs
+++ b/get-started/quickstart/cli/src/Client/PostsClient.cs
@@ -19,7 +19,7 @@ namespace KiotaPostsCLI.Client
///
/// The main entry point of the SDK, exposes the configuration and the fluent API.
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class PostsClient : BaseCliRequestBuilder
{
///
diff --git a/get-started/quickstart/cli/src/Client/kiota-lock.json b/get-started/quickstart/cli/src/Client/kiota-lock.json
index 9704c0e87..8cb3f121b 100644
--- a/get-started/quickstart/cli/src/Client/kiota-lock.json
+++ b/get-started/quickstart/cli/src/Client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../../posts-api.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "PostsClient",
"clientNamespaceName": "KiotaPostsCLI.Client",
"language": "CLI",
diff --git a/get-started/quickstart/dotnet/src/Client/Models/Post.cs b/get-started/quickstart/dotnet/src/Client/Models/Post.cs
index a3a0e7b2e..d15d4fcbd 100644
--- a/get-started/quickstart/dotnet/src/Client/Models/Post.cs
+++ b/get-started/quickstart/dotnet/src/Client/Models/Post.cs
@@ -6,7 +6,7 @@
using System;
namespace KiotaPosts.Client.Models
{
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
#pragma warning disable CS1591
public partial class Post : IAdditionalDataHolder, IParsable
#pragma warning restore CS1591
diff --git a/get-started/quickstart/dotnet/src/Client/Posts/Item/PostItemRequestBuilder.cs b/get-started/quickstart/dotnet/src/Client/Posts/Item/PostItemRequestBuilder.cs
index cd896c6dc..fd1b51241 100644
--- a/get-started/quickstart/dotnet/src/Client/Posts/Item/PostItemRequestBuilder.cs
+++ b/get-started/quickstart/dotnet/src/Client/Posts/Item/PostItemRequestBuilder.cs
@@ -13,7 +13,7 @@ namespace KiotaPosts.Client.Posts.Item
///
/// Builds and executes requests for operations under \posts\{post-id}
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class PostItemRequestBuilder : BaseRequestBuilder
{
///
@@ -160,7 +160,7 @@ public RequestInformation ToPatchRequestInformation(global::KiotaPosts.Client.Mo
/// Configuration for the request such as headers, query parameters, and middleware options.
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class PostItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
{
}
@@ -168,7 +168,7 @@ public partial class PostItemRequestBuilderDeleteRequestConfiguration : RequestC
/// Configuration for the request such as headers, query parameters, and middleware options.
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class PostItemRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
@@ -176,7 +176,7 @@ public partial class PostItemRequestBuilderGetRequestConfiguration : RequestConf
/// Configuration for the request such as headers, query parameters, and middleware options.
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class PostItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
{
}
diff --git a/get-started/quickstart/dotnet/src/Client/Posts/PostsRequestBuilder.cs b/get-started/quickstart/dotnet/src/Client/Posts/PostsRequestBuilder.cs
index e3db6b76b..2c931e612 100644
--- a/get-started/quickstart/dotnet/src/Client/Posts/PostsRequestBuilder.cs
+++ b/get-started/quickstart/dotnet/src/Client/Posts/PostsRequestBuilder.cs
@@ -14,7 +14,7 @@ namespace KiotaPosts.Client.Posts
///
/// Builds and executes requests for operations under \posts
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class PostsRequestBuilder : BaseRequestBuilder
{
/// Gets an item from the KiotaPosts.Client.posts.item collection
@@ -150,7 +150,7 @@ public RequestInformation ToPostRequestInformation(global::KiotaPosts.Client.Mod
///
/// Get posts
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class PostsRequestBuilderGetQueryParameters
{
/// Filter results by title
@@ -171,7 +171,7 @@ public partial class PostsRequestBuilderGetQueryParameters
/// Configuration for the request such as headers, query parameters, and middleware options.
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class PostsRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
@@ -179,7 +179,7 @@ public partial class PostsRequestBuilderGetRequestConfiguration : RequestConfigu
/// Configuration for the request such as headers, query parameters, and middleware options.
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class PostsRequestBuilderPostRequestConfiguration : RequestConfiguration
{
}
diff --git a/get-started/quickstart/dotnet/src/Client/PostsClient.cs b/get-started/quickstart/dotnet/src/Client/PostsClient.cs
index 61c1d5849..8563b1a75 100644
--- a/get-started/quickstart/dotnet/src/Client/PostsClient.cs
+++ b/get-started/quickstart/dotnet/src/Client/PostsClient.cs
@@ -15,7 +15,7 @@ namespace KiotaPosts.Client
///
/// The main entry point of the SDK, exposes the configuration and the fluent API.
///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.16.0")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.17.0")]
public partial class PostsClient : BaseRequestBuilder
{
/// The posts property
diff --git a/get-started/quickstart/dotnet/src/Client/kiota-lock.json b/get-started/quickstart/dotnet/src/Client/kiota-lock.json
index a7bac4e67..7a46180f2 100644
--- a/get-started/quickstart/dotnet/src/Client/kiota-lock.json
+++ b/get-started/quickstart/dotnet/src/Client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../../posts-api.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "PostsClient",
"clientNamespaceName": "KiotaPosts.Client",
"language": "CSharp",
diff --git a/get-started/quickstart/go/client/kiota-lock.json b/get-started/quickstart/go/client/kiota-lock.json
index 8c6400146..7aa496134 100644
--- a/get-started/quickstart/go/client/kiota-lock.json
+++ b/get-started/quickstart/go/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../posts-api.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "PostsClient",
"clientNamespaceName": "kiota_posts/client",
"language": "Go",
diff --git a/get-started/quickstart/java/app/src/main/java/kiotaposts/client/kiota-lock.json b/get-started/quickstart/java/app/src/main/java/kiotaposts/client/kiota-lock.json
index eaf14dda0..85523e977 100644
--- a/get-started/quickstart/java/app/src/main/java/kiotaposts/client/kiota-lock.json
+++ b/get-started/quickstart/java/app/src/main/java/kiotaposts/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../../../../../../posts-api.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "PostsClient",
"clientNamespaceName": "kiotaposts.client",
"language": "Java",
diff --git a/get-started/quickstart/php/client/kiota-lock.json b/get-started/quickstart/php/client/kiota-lock.json
index 4b09fe5bf..569f6d122 100644
--- a/get-started/quickstart/php/client/kiota-lock.json
+++ b/get-started/quickstart/php/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../posts-api.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "PostsApiClient",
"clientNamespaceName": "KiotaPosts\\Client",
"language": "PHP",
diff --git a/get-started/quickstart/python/client/kiota-lock.json b/get-started/quickstart/python/client/kiota-lock.json
index 5dd474c30..941d34f40 100644
--- a/get-started/quickstart/python/client/kiota-lock.json
+++ b/get-started/quickstart/python/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../posts-api.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "PostsClient",
"clientNamespaceName": "client",
"language": "Python",
diff --git a/get-started/quickstart/python/client/models/post.py b/get-started/quickstart/python/client/models/post.py
index f221e3e6c..60d28cde2 100644
--- a/get-started/quickstart/python/client/models/post.py
+++ b/get-started/quickstart/python/client/models/post.py
@@ -24,7 +24,7 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Post:
param parse_node: The parse node to use to read the discriminator value and create the object
Returns: Post
"""
- if not parse_node:
+ if parse_node is None:
raise TypeError("parse_node cannot be null.")
return Post()
@@ -47,7 +47,7 @@ def serialize(self,writer: SerializationWriter) -> None:
param writer: Serialization writer to use to serialize this model
Returns: None
"""
- if not writer:
+ if writer is None:
raise TypeError("writer cannot be null.")
writer.write_str_value("body", self.body)
writer.write_int_value("id", self.id)
diff --git a/get-started/quickstart/python/client/posts/item/post_item_request_builder.py b/get-started/quickstart/python/client/posts/item/post_item_request_builder.py
index 495deabd4..2f6c3e058 100644
--- a/get-started/quickstart/python/client/posts/item/post_item_request_builder.py
+++ b/get-started/quickstart/python/client/posts/item/post_item_request_builder.py
@@ -63,7 +63,7 @@ async def patch(self,body: Post, request_configuration: Optional[RequestConfigur
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: Optional[Post]
"""
- if not body:
+ if body is None:
raise TypeError("body cannot be null.")
request_info = self.to_patch_request_information(
body, request_configuration
@@ -102,7 +102,7 @@ def to_patch_request_information(self,body: Post, request_configuration: Optiona
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
- if not body:
+ if body is None:
raise TypeError("body cannot be null.")
request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters)
request_info.configure(request_configuration)
@@ -116,7 +116,7 @@ def with_url(self,raw_url: str) -> PostItemRequestBuilder:
param raw_url: The raw URL to use for the request builder.
Returns: PostItemRequestBuilder
"""
- if not raw_url:
+ if raw_url is None:
raise TypeError("raw_url cannot be null.")
return PostItemRequestBuilder(self.request_adapter, raw_url)
diff --git a/get-started/quickstart/python/client/posts/posts_request_builder.py b/get-started/quickstart/python/client/posts/posts_request_builder.py
index b0ca69cb0..26b5e7995 100644
--- a/get-started/quickstart/python/client/posts/posts_request_builder.py
+++ b/get-started/quickstart/python/client/posts/posts_request_builder.py
@@ -35,7 +35,7 @@ def by_post_id(self,post_id: int) -> PostItemRequestBuilder:
param post_id: key: id of post
Returns: PostItemRequestBuilder
"""
- if not post_id:
+ if post_id is None:
raise TypeError("post_id cannot be null.")
from .item.post_item_request_builder import PostItemRequestBuilder
@@ -65,7 +65,7 @@ async def post(self,body: Post, request_configuration: Optional[RequestConfigura
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: Optional[Post]
"""
- if not body:
+ if body is None:
raise TypeError("body cannot be null.")
request_info = self.to_post_request_information(
body, request_configuration
@@ -94,7 +94,7 @@ def to_post_request_information(self,body: Post, request_configuration: Optional
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
- if not body:
+ if body is None:
raise TypeError("body cannot be null.")
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
request_info.configure(request_configuration)
@@ -108,7 +108,7 @@ def with_url(self,raw_url: str) -> PostsRequestBuilder:
param raw_url: The raw URL to use for the request builder.
Returns: PostsRequestBuilder
"""
- if not raw_url:
+ if raw_url is None:
raise TypeError("raw_url cannot be null.")
return PostsRequestBuilder(self.request_adapter, raw_url)
@@ -123,7 +123,7 @@ def get_query_parameter(self,original_name: str) -> str:
param original_name: The original query parameter name in the class.
Returns: str
"""
- if not original_name:
+ if original_name is None:
raise TypeError("original_name cannot be null.")
if original_name == "user_id":
return "userId"
diff --git a/get-started/quickstart/python/client/posts_client.py b/get-started/quickstart/python/client/posts_client.py
index 879419451..754122708 100644
--- a/get-started/quickstart/python/client/posts_client.py
+++ b/get-started/quickstart/python/client/posts_client.py
@@ -26,7 +26,7 @@ def __init__(self,request_adapter: RequestAdapter) -> None:
param request_adapter: The request adapter to use to execute the requests.
Returns: None
"""
- if not request_adapter:
+ if request_adapter is None:
raise TypeError("request_adapter cannot be null.")
super().__init__(request_adapter, "{+baseurl}", None)
register_default_serializer(JsonSerializationWriterFactory)
diff --git a/get-started/quickstart/typescript/client/kiota-lock.json b/get-started/quickstart/typescript/client/kiota-lock.json
index 5a5cc174b..5b23415d3 100644
--- a/get-started/quickstart/typescript/client/kiota-lock.json
+++ b/get-started/quickstart/typescript/client/kiota-lock.json
@@ -2,7 +2,7 @@
"descriptionHash": "37FE8D63AB108F248AAA5632A5D37D625F8B9E3A6C439952B4029B0AF49579F337028FE07768B89D6F9210460D77E116F312CB505A43E8EB877131E772464F3B",
"descriptionLocation": "../../posts-api.yml",
"lockFileVersion": "1.0.0",
- "kiotaVersion": "1.16.0",
+ "kiotaVersion": "1.17.0",
"clientClassName": "PostsClient",
"clientNamespaceName": "ApiSdk",
"language": "TypeScript",
diff --git a/get-started/quickstart/typescript/client/models/index.ts b/get-started/quickstart/typescript/client/models/index.ts
index cac07faef..08ebeef5d 100644
--- a/get-started/quickstart/typescript/client/models/index.ts
+++ b/get-started/quickstart/typescript/client/models/index.ts
@@ -9,6 +9,7 @@ import { type AdditionalDataHolder, type Parsable, type ParseNode, type Serializ
* @param parseNode The parse node to use to read the discriminator value and create the object
* @returns {Post}
*/
+// @ts-ignore
export function createPostFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record void>) {
return deserializeIntoPost;
}
@@ -16,6 +17,7 @@ export function createPostFromDiscriminatorValue(parseNode: ParseNode | undefine
* The deserialization information for the current model
* @returns {Record void>}
*/
+// @ts-ignore
export function deserializeIntoPost(post: Partial | undefined = {}) : Record void> {
return {
"body": n => { post.body = n.getStringValue(); },
@@ -50,6 +52,7 @@ export interface Post extends AdditionalDataHolder, Parsable {
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
+// @ts-ignore
export function serializePost(writer: SerializationWriter, post: Partial | undefined = {}) : void {
writer.writeStringValue("body", post.body);
writer.writeNumberValue("id", post.id);
diff --git a/get-started/quickstart/typescript/client/postsClient.ts b/get-started/quickstart/typescript/client/postsClient.ts
index d23083303..5e3a8f325 100644
--- a/get-started/quickstart/typescript/client/postsClient.ts
+++ b/get-started/quickstart/typescript/client/postsClient.ts
@@ -18,6 +18,7 @@ import { TextParseNodeFactory, TextSerializationWriterFactory } from '@microsoft
* Instantiates a new {@link PostsClient} and sets the default values.
* @param requestAdapter The request adapter to use to execute the requests.
*/
+// @ts-ignore
export function createPostsClient(requestAdapter: RequestAdapter) {
registerDefaultSerializer(JsonSerializationWriterFactory);
registerDefaultSerializer(TextSerializationWriterFactory);