From 3b39a5c3d10ccc2ec7d63b3b19bcd22683b5b0ba Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Nov 2026 07:22:05 +0000 Subject: [PATCH] chore: Regenerated from an unchanged spec --- .../Anam.AuthClient.CreateSessionToken.g.cs | 10 +++--- .../Anam.AvatarsClient.CreateAvatar.g.cs | 14 ++++---- .../Anam.AvatarsClient.DeleteAvatar.g.cs | 12 +++---- .../Anam.AvatarsClient.GetAvatar.g.cs | 12 +++---- .../Anam.AvatarsClient.ListAvatars.g.cs | 8 ++--- .../Anam.AvatarsClient.UpdateAvatar.g.cs | 12 +++---- ....KnowledgeClient.CreateKnowledgeGroup.g.cs | 10 +++--- ...owledgeClient.DeleteKnowledgeDocument.g.cs | 10 +++--- ....KnowledgeClient.DeleteKnowledgeGroup.g.cs | 10 +++--- ....KnowledgeClient.GetKnowledgeDocument.g.cs | 10 +++--- ...geClient.GetKnowledgeDocumentDownload.g.cs | 10 +++--- ...nam.KnowledgeClient.GetKnowledgeGroup.g.cs | 10 +++--- ...dgeClient.ListKnowledgeGroupDocuments.g.cs | 10 +++--- ...m.KnowledgeClient.ListKnowledgeGroups.g.cs | 8 ++--- ....KnowledgeClient.SearchKnowledgeGroup.g.cs | 12 +++---- ...owledgeClient.UpdateKnowledgeDocument.g.cs | 12 +++---- ....KnowledgeClient.UpdateKnowledgeGroup.g.cs | 12 +++---- ...geClient.UploadKnowledgeGroupDocument.g.cs | 36 +++++++++---------- .../Generated/Anam.LLMsClient.CreateLlm.g.cs | 10 +++--- .../Generated/Anam.LLMsClient.DeleteLlm.g.cs | 12 +++---- .../Generated/Anam.LLMsClient.GetLlm.g.cs | 10 +++--- .../Generated/Anam.LLMsClient.ListLlms.g.cs | 8 ++--- .../Generated/Anam.LLMsClient.UpdateLlm.g.cs | 14 ++++---- .../Anam.PersonasClient.CreatePersona.g.cs | 10 +++--- .../Anam.PersonasClient.DeletePersona.g.cs | 10 +++--- .../Anam.PersonasClient.GetPersona.g.cs | 10 +++--- .../Anam.PersonasClient.ListPersonas.g.cs | 8 ++--- .../Anam.PersonasClient.UpdatePersona.g.cs | 12 +++---- .../Anam.SessionsClient.GetSession.g.cs | 12 +++---- ...am.SessionsClient.GetSessionRecording.g.cs | 12 +++---- ...m.SessionsClient.GetSessionTranscript.g.cs | 12 +++---- .../Anam.SessionsClient.ListSessions.g.cs | 10 +++--- ...Anam.ShareLinksClient.CreateShareLink.g.cs | 12 +++---- ...Anam.ShareLinksClient.DeleteShareLink.g.cs | 12 +++---- .../Anam.ShareLinksClient.GetShareLink.g.cs | 12 +++---- .../Anam.ShareLinksClient.ListShareLinks.g.cs | 10 +++--- ...Anam.ShareLinksClient.UpdateShareLink.g.cs | 12 +++---- .../Anam.ToolsClient.CreateTool.g.cs | 10 +++--- .../Anam.ToolsClient.DeleteTool.g.cs | 12 +++---- .../Generated/Anam.ToolsClient.GetTool.g.cs | 10 +++--- .../Generated/Anam.ToolsClient.ListTools.g.cs | 8 ++--- .../Anam.ToolsClient.UpdateTool.g.cs | 14 ++++---- .../Anam.VoicesClient.CreateVoice.g.cs | 36 +++++++++---------- .../Anam.VoicesClient.DeleteVoice.g.cs | 12 +++---- .../Generated/Anam.VoicesClient.GetVoice.g.cs | 12 +++---- .../Anam.VoicesClient.ListVoices.g.cs | 12 +++---- .../Anam.VoicesClient.UpdateVoice.g.cs | 12 +++---- 47 files changed, 282 insertions(+), 282 deletions(-) diff --git a/src/libs/Anam/Generated/Anam.AuthClient.CreateSessionToken.g.cs b/src/libs/Anam/Generated/Anam.AuthClient.CreateSessionToken.g.cs index ce944a1..c170aeb 100644 --- a/src/libs/Anam/Generated/Anam.AuthClient.CreateSessionToken.g.cs +++ b/src/libs/Anam/Generated/Anam.AuthClient.CreateSessionToken.g.cs @@ -361,7 +361,7 @@ partial void ProcessCreateSessionTokenResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -393,7 +393,7 @@ partial void ProcessCreateSessionTokenResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -425,7 +425,7 @@ partial void ProcessCreateSessionTokenResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -467,7 +467,7 @@ partial void ProcessCreateSessionTokenResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -512,7 +512,7 @@ partial void ProcessCreateSessionTokenResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.AvatarsClient.CreateAvatar.g.cs b/src/libs/Anam/Generated/Anam.AvatarsClient.CreateAvatar.g.cs index 57c0903..6b1186e 100644 --- a/src/libs/Anam/Generated/Anam.AvatarsClient.CreateAvatar.g.cs +++ b/src/libs/Anam/Generated/Anam.AvatarsClient.CreateAvatar.g.cs @@ -414,7 +414,7 @@ request.ImageFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -446,7 +446,7 @@ request.ImageFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -478,7 +478,7 @@ request.ImageFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_403 is { Length: > 0 } ? __content_403 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, responseBody: __content_403, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -510,7 +510,7 @@ request.ImageFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_422 is { Length: > 0 } ? __content_422 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_422, responseBody: __content_422, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -542,7 +542,7 @@ request.ImageFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -584,7 +584,7 @@ request.ImageFilename is null { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -629,7 +629,7 @@ request.ImageFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.AvatarsClient.DeleteAvatar.g.cs b/src/libs/Anam/Generated/Anam.AvatarsClient.DeleteAvatar.g.cs index 631ee52..391972e 100644 --- a/src/libs/Anam/Generated/Anam.AvatarsClient.DeleteAvatar.g.cs +++ b/src/libs/Anam/Generated/Anam.AvatarsClient.DeleteAvatar.g.cs @@ -343,7 +343,7 @@ await DeleteAvatarAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -375,7 +375,7 @@ await DeleteAvatarAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -407,7 +407,7 @@ await DeleteAvatarAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -439,7 +439,7 @@ await DeleteAvatarAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -474,7 +474,7 @@ await DeleteAvatarAsResponseAsync( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -510,7 +510,7 @@ await DeleteAvatarAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.AvatarsClient.GetAvatar.g.cs b/src/libs/Anam/Generated/Anam.AvatarsClient.GetAvatar.g.cs index 29f7ec3..8856cb4 100644 --- a/src/libs/Anam/Generated/Anam.AvatarsClient.GetAvatar.g.cs +++ b/src/libs/Anam/Generated/Anam.AvatarsClient.GetAvatar.g.cs @@ -350,7 +350,7 @@ partial void ProcessGetAvatarResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -382,7 +382,7 @@ partial void ProcessGetAvatarResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -414,7 +414,7 @@ partial void ProcessGetAvatarResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -446,7 +446,7 @@ partial void ProcessGetAvatarResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -488,7 +488,7 @@ partial void ProcessGetAvatarResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -533,7 +533,7 @@ partial void ProcessGetAvatarResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.AvatarsClient.ListAvatars.g.cs b/src/libs/Anam/Generated/Anam.AvatarsClient.ListAvatars.g.cs index 6b743f9..3962011 100644 --- a/src/libs/Anam/Generated/Anam.AvatarsClient.ListAvatars.g.cs +++ b/src/libs/Anam/Generated/Anam.AvatarsClient.ListAvatars.g.cs @@ -395,7 +395,7 @@ partial void ProcessListAvatarsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -427,7 +427,7 @@ partial void ProcessListAvatarsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -469,7 +469,7 @@ partial void ProcessListAvatarsResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -514,7 +514,7 @@ partial void ProcessListAvatarsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.AvatarsClient.UpdateAvatar.g.cs b/src/libs/Anam/Generated/Anam.AvatarsClient.UpdateAvatar.g.cs index f0aeb98..09a2690 100644 --- a/src/libs/Anam/Generated/Anam.AvatarsClient.UpdateAvatar.g.cs +++ b/src/libs/Anam/Generated/Anam.AvatarsClient.UpdateAvatar.g.cs @@ -370,7 +370,7 @@ partial void ProcessUpdateAvatarResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -402,7 +402,7 @@ partial void ProcessUpdateAvatarResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -434,7 +434,7 @@ partial void ProcessUpdateAvatarResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -466,7 +466,7 @@ partial void ProcessUpdateAvatarResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -508,7 +508,7 @@ partial void ProcessUpdateAvatarResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -553,7 +553,7 @@ partial void ProcessUpdateAvatarResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.KnowledgeClient.CreateKnowledgeGroup.g.cs b/src/libs/Anam/Generated/Anam.KnowledgeClient.CreateKnowledgeGroup.g.cs index ca12588..d2d5262 100644 --- a/src/libs/Anam/Generated/Anam.KnowledgeClient.CreateKnowledgeGroup.g.cs +++ b/src/libs/Anam/Generated/Anam.KnowledgeClient.CreateKnowledgeGroup.g.cs @@ -361,7 +361,7 @@ partial void ProcessCreateKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -393,7 +393,7 @@ partial void ProcessCreateKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -425,7 +425,7 @@ partial void ProcessCreateKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -467,7 +467,7 @@ partial void ProcessCreateKnowledgeGroupResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -512,7 +512,7 @@ partial void ProcessCreateKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.KnowledgeClient.DeleteKnowledgeDocument.g.cs b/src/libs/Anam/Generated/Anam.KnowledgeClient.DeleteKnowledgeDocument.g.cs index bc9f5e1..294d5da 100644 --- a/src/libs/Anam/Generated/Anam.KnowledgeClient.DeleteKnowledgeDocument.g.cs +++ b/src/libs/Anam/Generated/Anam.KnowledgeClient.DeleteKnowledgeDocument.g.cs @@ -343,7 +343,7 @@ await DeleteKnowledgeDocumentAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -375,7 +375,7 @@ await DeleteKnowledgeDocumentAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -407,7 +407,7 @@ await DeleteKnowledgeDocumentAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -442,7 +442,7 @@ await DeleteKnowledgeDocumentAsResponseAsync( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -478,7 +478,7 @@ await DeleteKnowledgeDocumentAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.KnowledgeClient.DeleteKnowledgeGroup.g.cs b/src/libs/Anam/Generated/Anam.KnowledgeClient.DeleteKnowledgeGroup.g.cs index 61742a7..9153ab7 100644 --- a/src/libs/Anam/Generated/Anam.KnowledgeClient.DeleteKnowledgeGroup.g.cs +++ b/src/libs/Anam/Generated/Anam.KnowledgeClient.DeleteKnowledgeGroup.g.cs @@ -343,7 +343,7 @@ await DeleteKnowledgeGroupAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -375,7 +375,7 @@ await DeleteKnowledgeGroupAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -407,7 +407,7 @@ await DeleteKnowledgeGroupAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -442,7 +442,7 @@ await DeleteKnowledgeGroupAsResponseAsync( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -478,7 +478,7 @@ await DeleteKnowledgeGroupAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.KnowledgeClient.GetKnowledgeDocument.g.cs b/src/libs/Anam/Generated/Anam.KnowledgeClient.GetKnowledgeDocument.g.cs index 90ec789..5a56534 100644 --- a/src/libs/Anam/Generated/Anam.KnowledgeClient.GetKnowledgeDocument.g.cs +++ b/src/libs/Anam/Generated/Anam.KnowledgeClient.GetKnowledgeDocument.g.cs @@ -350,7 +350,7 @@ partial void ProcessGetKnowledgeDocumentResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -382,7 +382,7 @@ partial void ProcessGetKnowledgeDocumentResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -414,7 +414,7 @@ partial void ProcessGetKnowledgeDocumentResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -456,7 +456,7 @@ partial void ProcessGetKnowledgeDocumentResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -501,7 +501,7 @@ partial void ProcessGetKnowledgeDocumentResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.KnowledgeClient.GetKnowledgeDocumentDownload.g.cs b/src/libs/Anam/Generated/Anam.KnowledgeClient.GetKnowledgeDocumentDownload.g.cs index 35575c6..d87269a 100644 --- a/src/libs/Anam/Generated/Anam.KnowledgeClient.GetKnowledgeDocumentDownload.g.cs +++ b/src/libs/Anam/Generated/Anam.KnowledgeClient.GetKnowledgeDocumentDownload.g.cs @@ -350,7 +350,7 @@ partial void ProcessGetKnowledgeDocumentDownloadResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -382,7 +382,7 @@ partial void ProcessGetKnowledgeDocumentDownloadResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -414,7 +414,7 @@ partial void ProcessGetKnowledgeDocumentDownloadResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -456,7 +456,7 @@ partial void ProcessGetKnowledgeDocumentDownloadResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -501,7 +501,7 @@ partial void ProcessGetKnowledgeDocumentDownloadResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.KnowledgeClient.GetKnowledgeGroup.g.cs b/src/libs/Anam/Generated/Anam.KnowledgeClient.GetKnowledgeGroup.g.cs index d9d245b..6d97b38 100644 --- a/src/libs/Anam/Generated/Anam.KnowledgeClient.GetKnowledgeGroup.g.cs +++ b/src/libs/Anam/Generated/Anam.KnowledgeClient.GetKnowledgeGroup.g.cs @@ -350,7 +350,7 @@ partial void ProcessGetKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -382,7 +382,7 @@ partial void ProcessGetKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -414,7 +414,7 @@ partial void ProcessGetKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -456,7 +456,7 @@ partial void ProcessGetKnowledgeGroupResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -501,7 +501,7 @@ partial void ProcessGetKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.KnowledgeClient.ListKnowledgeGroupDocuments.g.cs b/src/libs/Anam/Generated/Anam.KnowledgeClient.ListKnowledgeGroupDocuments.g.cs index 61a3756..35eb298 100644 --- a/src/libs/Anam/Generated/Anam.KnowledgeClient.ListKnowledgeGroupDocuments.g.cs +++ b/src/libs/Anam/Generated/Anam.KnowledgeClient.ListKnowledgeGroupDocuments.g.cs @@ -350,7 +350,7 @@ partial void ProcessListKnowledgeGroupDocumentsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -382,7 +382,7 @@ partial void ProcessListKnowledgeGroupDocumentsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -414,7 +414,7 @@ partial void ProcessListKnowledgeGroupDocumentsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -456,7 +456,7 @@ partial void ProcessListKnowledgeGroupDocumentsResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -501,7 +501,7 @@ partial void ProcessListKnowledgeGroupDocumentsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.KnowledgeClient.ListKnowledgeGroups.g.cs b/src/libs/Anam/Generated/Anam.KnowledgeClient.ListKnowledgeGroups.g.cs index 9205383..ce10250 100644 --- a/src/libs/Anam/Generated/Anam.KnowledgeClient.ListKnowledgeGroups.g.cs +++ b/src/libs/Anam/Generated/Anam.KnowledgeClient.ListKnowledgeGroups.g.cs @@ -341,7 +341,7 @@ partial void ProcessListKnowledgeGroupsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -373,7 +373,7 @@ partial void ProcessListKnowledgeGroupsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -415,7 +415,7 @@ partial void ProcessListKnowledgeGroupsResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -460,7 +460,7 @@ partial void ProcessListKnowledgeGroupsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.KnowledgeClient.SearchKnowledgeGroup.g.cs b/src/libs/Anam/Generated/Anam.KnowledgeClient.SearchKnowledgeGroup.g.cs index 176235f..9d2473f 100644 --- a/src/libs/Anam/Generated/Anam.KnowledgeClient.SearchKnowledgeGroup.g.cs +++ b/src/libs/Anam/Generated/Anam.KnowledgeClient.SearchKnowledgeGroup.g.cs @@ -370,7 +370,7 @@ partial void ProcessSearchKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -402,7 +402,7 @@ partial void ProcessSearchKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -434,7 +434,7 @@ partial void ProcessSearchKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -466,7 +466,7 @@ partial void ProcessSearchKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -508,7 +508,7 @@ partial void ProcessSearchKnowledgeGroupResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -553,7 +553,7 @@ partial void ProcessSearchKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.KnowledgeClient.UpdateKnowledgeDocument.g.cs b/src/libs/Anam/Generated/Anam.KnowledgeClient.UpdateKnowledgeDocument.g.cs index 500443c..0900985 100644 --- a/src/libs/Anam/Generated/Anam.KnowledgeClient.UpdateKnowledgeDocument.g.cs +++ b/src/libs/Anam/Generated/Anam.KnowledgeClient.UpdateKnowledgeDocument.g.cs @@ -370,7 +370,7 @@ partial void ProcessUpdateKnowledgeDocumentResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -402,7 +402,7 @@ partial void ProcessUpdateKnowledgeDocumentResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -434,7 +434,7 @@ partial void ProcessUpdateKnowledgeDocumentResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -466,7 +466,7 @@ partial void ProcessUpdateKnowledgeDocumentResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -508,7 +508,7 @@ partial void ProcessUpdateKnowledgeDocumentResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -553,7 +553,7 @@ partial void ProcessUpdateKnowledgeDocumentResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.KnowledgeClient.UpdateKnowledgeGroup.g.cs b/src/libs/Anam/Generated/Anam.KnowledgeClient.UpdateKnowledgeGroup.g.cs index 750ed08..b8b0067 100644 --- a/src/libs/Anam/Generated/Anam.KnowledgeClient.UpdateKnowledgeGroup.g.cs +++ b/src/libs/Anam/Generated/Anam.KnowledgeClient.UpdateKnowledgeGroup.g.cs @@ -370,7 +370,7 @@ partial void ProcessUpdateKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -402,7 +402,7 @@ partial void ProcessUpdateKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -434,7 +434,7 @@ partial void ProcessUpdateKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -466,7 +466,7 @@ partial void ProcessUpdateKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -508,7 +508,7 @@ partial void ProcessUpdateKnowledgeGroupResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -553,7 +553,7 @@ partial void ProcessUpdateKnowledgeGroupResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.KnowledgeClient.UploadKnowledgeGroupDocument.g.cs b/src/libs/Anam/Generated/Anam.KnowledgeClient.UploadKnowledgeGroupDocument.g.cs index cb7874b..9d66715 100644 --- a/src/libs/Anam/Generated/Anam.KnowledgeClient.UploadKnowledgeGroupDocument.g.cs +++ b/src/libs/Anam/Generated/Anam.KnowledgeClient.UploadKnowledgeGroupDocument.g.cs @@ -423,7 +423,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -455,7 +455,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -487,7 +487,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -519,7 +519,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -561,7 +561,7 @@ request.Filename is null { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -606,7 +606,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1041,7 +1041,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1073,7 +1073,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1105,7 +1105,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1137,7 +1137,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1175,7 +1175,7 @@ request.Filename is null { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1216,7 +1216,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1607,7 +1607,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1639,7 +1639,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1671,7 +1671,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1703,7 +1703,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1745,7 +1745,7 @@ request.Filename is null { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1790,7 +1790,7 @@ request.Filename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.LLMsClient.CreateLlm.g.cs b/src/libs/Anam/Generated/Anam.LLMsClient.CreateLlm.g.cs index d6698fc..ebc41bc 100644 --- a/src/libs/Anam/Generated/Anam.LLMsClient.CreateLlm.g.cs +++ b/src/libs/Anam/Generated/Anam.LLMsClient.CreateLlm.g.cs @@ -361,7 +361,7 @@ partial void ProcessCreateLlmResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -393,7 +393,7 @@ partial void ProcessCreateLlmResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -425,7 +425,7 @@ partial void ProcessCreateLlmResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -467,7 +467,7 @@ partial void ProcessCreateLlmResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -512,7 +512,7 @@ partial void ProcessCreateLlmResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.LLMsClient.DeleteLlm.g.cs b/src/libs/Anam/Generated/Anam.LLMsClient.DeleteLlm.g.cs index 428fc18..f735b47 100644 --- a/src/libs/Anam/Generated/Anam.LLMsClient.DeleteLlm.g.cs +++ b/src/libs/Anam/Generated/Anam.LLMsClient.DeleteLlm.g.cs @@ -343,7 +343,7 @@ await DeleteLlmAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -375,7 +375,7 @@ await DeleteLlmAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_403 is { Length: > 0 } ? __content_403 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, responseBody: __content_403, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -407,7 +407,7 @@ await DeleteLlmAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -439,7 +439,7 @@ await DeleteLlmAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -474,7 +474,7 @@ await DeleteLlmAsResponseAsync( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -510,7 +510,7 @@ await DeleteLlmAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.LLMsClient.GetLlm.g.cs b/src/libs/Anam/Generated/Anam.LLMsClient.GetLlm.g.cs index d123c75..eec5fda 100644 --- a/src/libs/Anam/Generated/Anam.LLMsClient.GetLlm.g.cs +++ b/src/libs/Anam/Generated/Anam.LLMsClient.GetLlm.g.cs @@ -350,7 +350,7 @@ partial void ProcessGetLlmResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -382,7 +382,7 @@ partial void ProcessGetLlmResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -414,7 +414,7 @@ partial void ProcessGetLlmResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -456,7 +456,7 @@ partial void ProcessGetLlmResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -501,7 +501,7 @@ partial void ProcessGetLlmResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.LLMsClient.ListLlms.g.cs b/src/libs/Anam/Generated/Anam.LLMsClient.ListLlms.g.cs index 6534169..29855f4 100644 --- a/src/libs/Anam/Generated/Anam.LLMsClient.ListLlms.g.cs +++ b/src/libs/Anam/Generated/Anam.LLMsClient.ListLlms.g.cs @@ -383,7 +383,7 @@ partial void ProcessListLlmsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -415,7 +415,7 @@ partial void ProcessListLlmsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -457,7 +457,7 @@ partial void ProcessListLlmsResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -502,7 +502,7 @@ partial void ProcessListLlmsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.LLMsClient.UpdateLlm.g.cs b/src/libs/Anam/Generated/Anam.LLMsClient.UpdateLlm.g.cs index c58634b..e9a6f8e 100644 --- a/src/libs/Anam/Generated/Anam.LLMsClient.UpdateLlm.g.cs +++ b/src/libs/Anam/Generated/Anam.LLMsClient.UpdateLlm.g.cs @@ -370,7 +370,7 @@ partial void ProcessUpdateLlmResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -402,7 +402,7 @@ partial void ProcessUpdateLlmResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -434,7 +434,7 @@ partial void ProcessUpdateLlmResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_403 is { Length: > 0 } ? __content_403 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, responseBody: __content_403, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -466,7 +466,7 @@ partial void ProcessUpdateLlmResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -498,7 +498,7 @@ partial void ProcessUpdateLlmResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -540,7 +540,7 @@ partial void ProcessUpdateLlmResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -585,7 +585,7 @@ partial void ProcessUpdateLlmResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.PersonasClient.CreatePersona.g.cs b/src/libs/Anam/Generated/Anam.PersonasClient.CreatePersona.g.cs index a4fc416..640de8b 100644 --- a/src/libs/Anam/Generated/Anam.PersonasClient.CreatePersona.g.cs +++ b/src/libs/Anam/Generated/Anam.PersonasClient.CreatePersona.g.cs @@ -361,7 +361,7 @@ partial void ProcessCreatePersonaResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -393,7 +393,7 @@ partial void ProcessCreatePersonaResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -425,7 +425,7 @@ partial void ProcessCreatePersonaResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -467,7 +467,7 @@ partial void ProcessCreatePersonaResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -512,7 +512,7 @@ partial void ProcessCreatePersonaResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.PersonasClient.DeletePersona.g.cs b/src/libs/Anam/Generated/Anam.PersonasClient.DeletePersona.g.cs index 6b7f7b2..c20d498 100644 --- a/src/libs/Anam/Generated/Anam.PersonasClient.DeletePersona.g.cs +++ b/src/libs/Anam/Generated/Anam.PersonasClient.DeletePersona.g.cs @@ -343,7 +343,7 @@ await DeletePersonaAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -375,7 +375,7 @@ await DeletePersonaAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -407,7 +407,7 @@ await DeletePersonaAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -442,7 +442,7 @@ await DeletePersonaAsResponseAsync( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -478,7 +478,7 @@ await DeletePersonaAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.PersonasClient.GetPersona.g.cs b/src/libs/Anam/Generated/Anam.PersonasClient.GetPersona.g.cs index a678bc0..376dbb0 100644 --- a/src/libs/Anam/Generated/Anam.PersonasClient.GetPersona.g.cs +++ b/src/libs/Anam/Generated/Anam.PersonasClient.GetPersona.g.cs @@ -350,7 +350,7 @@ partial void ProcessGetPersonaResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -382,7 +382,7 @@ partial void ProcessGetPersonaResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -414,7 +414,7 @@ partial void ProcessGetPersonaResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -456,7 +456,7 @@ partial void ProcessGetPersonaResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -501,7 +501,7 @@ partial void ProcessGetPersonaResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.PersonasClient.ListPersonas.g.cs b/src/libs/Anam/Generated/Anam.PersonasClient.ListPersonas.g.cs index 1316d07..9351801 100644 --- a/src/libs/Anam/Generated/Anam.PersonasClient.ListPersonas.g.cs +++ b/src/libs/Anam/Generated/Anam.PersonasClient.ListPersonas.g.cs @@ -381,7 +381,7 @@ partial void ProcessListPersonasResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -413,7 +413,7 @@ partial void ProcessListPersonasResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -455,7 +455,7 @@ partial void ProcessListPersonasResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -500,7 +500,7 @@ partial void ProcessListPersonasResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.PersonasClient.UpdatePersona.g.cs b/src/libs/Anam/Generated/Anam.PersonasClient.UpdatePersona.g.cs index f5be201..4f83b97 100644 --- a/src/libs/Anam/Generated/Anam.PersonasClient.UpdatePersona.g.cs +++ b/src/libs/Anam/Generated/Anam.PersonasClient.UpdatePersona.g.cs @@ -370,7 +370,7 @@ partial void ProcessUpdatePersonaResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -402,7 +402,7 @@ partial void ProcessUpdatePersonaResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -434,7 +434,7 @@ partial void ProcessUpdatePersonaResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -466,7 +466,7 @@ partial void ProcessUpdatePersonaResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -508,7 +508,7 @@ partial void ProcessUpdatePersonaResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -553,7 +553,7 @@ partial void ProcessUpdatePersonaResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.SessionsClient.GetSession.g.cs b/src/libs/Anam/Generated/Anam.SessionsClient.GetSession.g.cs index 0c4f9cb..5e3a957 100644 --- a/src/libs/Anam/Generated/Anam.SessionsClient.GetSession.g.cs +++ b/src/libs/Anam/Generated/Anam.SessionsClient.GetSession.g.cs @@ -350,7 +350,7 @@ partial void ProcessGetSessionResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -382,7 +382,7 @@ partial void ProcessGetSessionResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -414,7 +414,7 @@ partial void ProcessGetSessionResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -446,7 +446,7 @@ partial void ProcessGetSessionResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -488,7 +488,7 @@ partial void ProcessGetSessionResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -533,7 +533,7 @@ partial void ProcessGetSessionResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.SessionsClient.GetSessionRecording.g.cs b/src/libs/Anam/Generated/Anam.SessionsClient.GetSessionRecording.g.cs index f71866e..c3ee042 100644 --- a/src/libs/Anam/Generated/Anam.SessionsClient.GetSessionRecording.g.cs +++ b/src/libs/Anam/Generated/Anam.SessionsClient.GetSessionRecording.g.cs @@ -350,7 +350,7 @@ partial void ProcessGetSessionRecordingResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -382,7 +382,7 @@ partial void ProcessGetSessionRecordingResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -414,7 +414,7 @@ partial void ProcessGetSessionRecordingResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -446,7 +446,7 @@ partial void ProcessGetSessionRecordingResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -488,7 +488,7 @@ partial void ProcessGetSessionRecordingResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -533,7 +533,7 @@ partial void ProcessGetSessionRecordingResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.SessionsClient.GetSessionTranscript.g.cs b/src/libs/Anam/Generated/Anam.SessionsClient.GetSessionTranscript.g.cs index 255f6ba..c5f1640 100644 --- a/src/libs/Anam/Generated/Anam.SessionsClient.GetSessionTranscript.g.cs +++ b/src/libs/Anam/Generated/Anam.SessionsClient.GetSessionTranscript.g.cs @@ -350,7 +350,7 @@ partial void ProcessGetSessionTranscriptResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -382,7 +382,7 @@ partial void ProcessGetSessionTranscriptResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -414,7 +414,7 @@ partial void ProcessGetSessionTranscriptResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -446,7 +446,7 @@ partial void ProcessGetSessionTranscriptResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -488,7 +488,7 @@ partial void ProcessGetSessionTranscriptResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -533,7 +533,7 @@ partial void ProcessGetSessionTranscriptResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.SessionsClient.ListSessions.g.cs b/src/libs/Anam/Generated/Anam.SessionsClient.ListSessions.g.cs index ec2cbed..31f2ed2 100644 --- a/src/libs/Anam/Generated/Anam.SessionsClient.ListSessions.g.cs +++ b/src/libs/Anam/Generated/Anam.SessionsClient.ListSessions.g.cs @@ -401,7 +401,7 @@ partial void ProcessListSessionsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -433,7 +433,7 @@ partial void ProcessListSessionsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -465,7 +465,7 @@ partial void ProcessListSessionsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -507,7 +507,7 @@ partial void ProcessListSessionsResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -552,7 +552,7 @@ partial void ProcessListSessionsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.ShareLinksClient.CreateShareLink.g.cs b/src/libs/Anam/Generated/Anam.ShareLinksClient.CreateShareLink.g.cs index 2604e07..7cd4b11 100644 --- a/src/libs/Anam/Generated/Anam.ShareLinksClient.CreateShareLink.g.cs +++ b/src/libs/Anam/Generated/Anam.ShareLinksClient.CreateShareLink.g.cs @@ -361,7 +361,7 @@ partial void ProcessCreateShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -393,7 +393,7 @@ partial void ProcessCreateShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -425,7 +425,7 @@ partial void ProcessCreateShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -457,7 +457,7 @@ partial void ProcessCreateShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -499,7 +499,7 @@ partial void ProcessCreateShareLinkResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -544,7 +544,7 @@ partial void ProcessCreateShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.ShareLinksClient.DeleteShareLink.g.cs b/src/libs/Anam/Generated/Anam.ShareLinksClient.DeleteShareLink.g.cs index 106e977..366a83a 100644 --- a/src/libs/Anam/Generated/Anam.ShareLinksClient.DeleteShareLink.g.cs +++ b/src/libs/Anam/Generated/Anam.ShareLinksClient.DeleteShareLink.g.cs @@ -343,7 +343,7 @@ await DeleteShareLinkAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -375,7 +375,7 @@ await DeleteShareLinkAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -407,7 +407,7 @@ await DeleteShareLinkAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -439,7 +439,7 @@ await DeleteShareLinkAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -474,7 +474,7 @@ await DeleteShareLinkAsResponseAsync( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -510,7 +510,7 @@ await DeleteShareLinkAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.ShareLinksClient.GetShareLink.g.cs b/src/libs/Anam/Generated/Anam.ShareLinksClient.GetShareLink.g.cs index c1b76ec..54f2842 100644 --- a/src/libs/Anam/Generated/Anam.ShareLinksClient.GetShareLink.g.cs +++ b/src/libs/Anam/Generated/Anam.ShareLinksClient.GetShareLink.g.cs @@ -350,7 +350,7 @@ partial void ProcessGetShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -382,7 +382,7 @@ partial void ProcessGetShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -414,7 +414,7 @@ partial void ProcessGetShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -446,7 +446,7 @@ partial void ProcessGetShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -488,7 +488,7 @@ partial void ProcessGetShareLinkResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -533,7 +533,7 @@ partial void ProcessGetShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.ShareLinksClient.ListShareLinks.g.cs b/src/libs/Anam/Generated/Anam.ShareLinksClient.ListShareLinks.g.cs index b337ee7..70e5fbd 100644 --- a/src/libs/Anam/Generated/Anam.ShareLinksClient.ListShareLinks.g.cs +++ b/src/libs/Anam/Generated/Anam.ShareLinksClient.ListShareLinks.g.cs @@ -391,7 +391,7 @@ partial void ProcessListShareLinksResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -423,7 +423,7 @@ partial void ProcessListShareLinksResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -455,7 +455,7 @@ partial void ProcessListShareLinksResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -497,7 +497,7 @@ partial void ProcessListShareLinksResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -542,7 +542,7 @@ partial void ProcessListShareLinksResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.ShareLinksClient.UpdateShareLink.g.cs b/src/libs/Anam/Generated/Anam.ShareLinksClient.UpdateShareLink.g.cs index 917803f..0c008c3 100644 --- a/src/libs/Anam/Generated/Anam.ShareLinksClient.UpdateShareLink.g.cs +++ b/src/libs/Anam/Generated/Anam.ShareLinksClient.UpdateShareLink.g.cs @@ -370,7 +370,7 @@ partial void ProcessUpdateShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -402,7 +402,7 @@ partial void ProcessUpdateShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -434,7 +434,7 @@ partial void ProcessUpdateShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -466,7 +466,7 @@ partial void ProcessUpdateShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -508,7 +508,7 @@ partial void ProcessUpdateShareLinkResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -553,7 +553,7 @@ partial void ProcessUpdateShareLinkResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.ToolsClient.CreateTool.g.cs b/src/libs/Anam/Generated/Anam.ToolsClient.CreateTool.g.cs index 4a4c9de..1925dcd 100644 --- a/src/libs/Anam/Generated/Anam.ToolsClient.CreateTool.g.cs +++ b/src/libs/Anam/Generated/Anam.ToolsClient.CreateTool.g.cs @@ -361,7 +361,7 @@ partial void ProcessCreateToolResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -393,7 +393,7 @@ partial void ProcessCreateToolResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -425,7 +425,7 @@ partial void ProcessCreateToolResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -467,7 +467,7 @@ partial void ProcessCreateToolResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -512,7 +512,7 @@ partial void ProcessCreateToolResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.ToolsClient.DeleteTool.g.cs b/src/libs/Anam/Generated/Anam.ToolsClient.DeleteTool.g.cs index 2d35ff3..2852dc0 100644 --- a/src/libs/Anam/Generated/Anam.ToolsClient.DeleteTool.g.cs +++ b/src/libs/Anam/Generated/Anam.ToolsClient.DeleteTool.g.cs @@ -343,7 +343,7 @@ await DeleteToolAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -375,7 +375,7 @@ await DeleteToolAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_403 is { Length: > 0 } ? __content_403 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, responseBody: __content_403, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -407,7 +407,7 @@ await DeleteToolAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -439,7 +439,7 @@ await DeleteToolAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -474,7 +474,7 @@ await DeleteToolAsResponseAsync( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -510,7 +510,7 @@ await DeleteToolAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.ToolsClient.GetTool.g.cs b/src/libs/Anam/Generated/Anam.ToolsClient.GetTool.g.cs index 662e7bb..2156efb 100644 --- a/src/libs/Anam/Generated/Anam.ToolsClient.GetTool.g.cs +++ b/src/libs/Anam/Generated/Anam.ToolsClient.GetTool.g.cs @@ -350,7 +350,7 @@ partial void ProcessGetToolResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -382,7 +382,7 @@ partial void ProcessGetToolResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -414,7 +414,7 @@ partial void ProcessGetToolResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -456,7 +456,7 @@ partial void ProcessGetToolResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -501,7 +501,7 @@ partial void ProcessGetToolResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.ToolsClient.ListTools.g.cs b/src/libs/Anam/Generated/Anam.ToolsClient.ListTools.g.cs index 01c811a..d8b71ff 100644 --- a/src/libs/Anam/Generated/Anam.ToolsClient.ListTools.g.cs +++ b/src/libs/Anam/Generated/Anam.ToolsClient.ListTools.g.cs @@ -381,7 +381,7 @@ partial void ProcessListToolsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -413,7 +413,7 @@ partial void ProcessListToolsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -455,7 +455,7 @@ partial void ProcessListToolsResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -500,7 +500,7 @@ partial void ProcessListToolsResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.ToolsClient.UpdateTool.g.cs b/src/libs/Anam/Generated/Anam.ToolsClient.UpdateTool.g.cs index 063a452..f899829 100644 --- a/src/libs/Anam/Generated/Anam.ToolsClient.UpdateTool.g.cs +++ b/src/libs/Anam/Generated/Anam.ToolsClient.UpdateTool.g.cs @@ -370,7 +370,7 @@ partial void ProcessUpdateToolResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -402,7 +402,7 @@ partial void ProcessUpdateToolResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -434,7 +434,7 @@ partial void ProcessUpdateToolResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_403 is { Length: > 0 } ? __content_403 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, responseBody: __content_403, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -466,7 +466,7 @@ partial void ProcessUpdateToolResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -498,7 +498,7 @@ partial void ProcessUpdateToolResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -540,7 +540,7 @@ partial void ProcessUpdateToolResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -585,7 +585,7 @@ partial void ProcessUpdateToolResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.VoicesClient.CreateVoice.g.cs b/src/libs/Anam/Generated/Anam.VoicesClient.CreateVoice.g.cs index 27e8084..4bacbad 100644 --- a/src/libs/Anam/Generated/Anam.VoicesClient.CreateVoice.g.cs +++ b/src/libs/Anam/Generated/Anam.VoicesClient.CreateVoice.g.cs @@ -426,7 +426,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -458,7 +458,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -490,7 +490,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_403 is { Length: > 0 } ? __content_403 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, responseBody: __content_403, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -522,7 +522,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -564,7 +564,7 @@ request.AudioFilename is null { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -609,7 +609,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1073,7 +1073,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1105,7 +1105,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1137,7 +1137,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_403 is { Length: > 0 } ? __content_403 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, responseBody: __content_403, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1169,7 +1169,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1207,7 +1207,7 @@ request.AudioFilename is null { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1248,7 +1248,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1659,7 +1659,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1691,7 +1691,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1723,7 +1723,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_403 is { Length: > 0 } ? __content_403 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, responseBody: __content_403, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1755,7 +1755,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1797,7 +1797,7 @@ request.AudioFilename is null { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -1842,7 +1842,7 @@ request.AudioFilename is null throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.VoicesClient.DeleteVoice.g.cs b/src/libs/Anam/Generated/Anam.VoicesClient.DeleteVoice.g.cs index 786dc41..e6fd7de 100644 --- a/src/libs/Anam/Generated/Anam.VoicesClient.DeleteVoice.g.cs +++ b/src/libs/Anam/Generated/Anam.VoicesClient.DeleteVoice.g.cs @@ -343,7 +343,7 @@ await DeleteVoiceAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -375,7 +375,7 @@ await DeleteVoiceAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -407,7 +407,7 @@ await DeleteVoiceAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -439,7 +439,7 @@ await DeleteVoiceAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -474,7 +474,7 @@ await DeleteVoiceAsResponseAsync( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -510,7 +510,7 @@ await DeleteVoiceAsResponseAsync( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.VoicesClient.GetVoice.g.cs b/src/libs/Anam/Generated/Anam.VoicesClient.GetVoice.g.cs index b5f6049..83320bd 100644 --- a/src/libs/Anam/Generated/Anam.VoicesClient.GetVoice.g.cs +++ b/src/libs/Anam/Generated/Anam.VoicesClient.GetVoice.g.cs @@ -350,7 +350,7 @@ partial void ProcessGetVoiceResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -382,7 +382,7 @@ partial void ProcessGetVoiceResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -414,7 +414,7 @@ partial void ProcessGetVoiceResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -446,7 +446,7 @@ partial void ProcessGetVoiceResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -488,7 +488,7 @@ partial void ProcessGetVoiceResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -533,7 +533,7 @@ partial void ProcessGetVoiceResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.VoicesClient.ListVoices.g.cs b/src/libs/Anam/Generated/Anam.VoicesClient.ListVoices.g.cs index c6eaafa..bab27c1 100644 --- a/src/libs/Anam/Generated/Anam.VoicesClient.ListVoices.g.cs +++ b/src/libs/Anam/Generated/Anam.VoicesClient.ListVoices.g.cs @@ -381,7 +381,7 @@ partial void ProcessListVoicesResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -413,7 +413,7 @@ partial void ProcessListVoicesResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_403 is { Length: > 0 } ? __content_403 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, responseBody: __content_403, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -445,7 +445,7 @@ partial void ProcessListVoicesResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -477,7 +477,7 @@ partial void ProcessListVoicesResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -519,7 +519,7 @@ partial void ProcessListVoicesResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -564,7 +564,7 @@ partial void ProcessListVoicesResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( diff --git a/src/libs/Anam/Generated/Anam.VoicesClient.UpdateVoice.g.cs b/src/libs/Anam/Generated/Anam.VoicesClient.UpdateVoice.g.cs index 58b084f..06b12d1 100644 --- a/src/libs/Anam/Generated/Anam.VoicesClient.UpdateVoice.g.cs +++ b/src/libs/Anam/Generated/Anam.VoicesClient.UpdateVoice.g.cs @@ -370,7 +370,7 @@ partial void ProcessUpdateVoiceResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_400 is { Length: > 0 } ? __content_400 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_400, responseBody: __content_400, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -402,7 +402,7 @@ partial void ProcessUpdateVoiceResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_401 is { Length: > 0 } ? __content_401 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, responseBody: __content_401, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -434,7 +434,7 @@ partial void ProcessUpdateVoiceResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_404 is { Length: > 0 } ? __content_404 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_404, responseBody: __content_404, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -466,7 +466,7 @@ partial void ProcessUpdateVoiceResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + message: __content_500 is { Length: > 0 } ? __content_500 : __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, responseBody: __content_500, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -508,7 +508,7 @@ partial void ProcessUpdateVoiceResponseContent( { throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary( @@ -553,7 +553,7 @@ partial void ProcessUpdateVoiceResponseContent( throw global::Anam.ApiException.Create( statusCode: __response.StatusCode, - message: __content ?? __response.ReasonPhrase ?? string.Empty, + message: __content is { Length: > 0 } ? __content : __response.ReasonPhrase ?? string.Empty, innerException: __ex, responseBody: __content, responseHeaders: global::System.Linq.Enumerable.ToDictionary(