diff --git a/samples/dotnet/README.md b/samples/dotnet/README.md index fff50178..4b64ee54 100644 --- a/samples/dotnet/README.md +++ b/samples/dotnet/README.md @@ -9,7 +9,7 @@ |Streaming Agent |Streams OpenAI responses|[azure-ai-streaming](azure-ai-streaming/README.md)| |Copilot Studio Client|Console app to consume a Copilot Studio Agent|[copilotstudio-client](copilotstudio-client/README.md)| |Copilot Studio Skill |Call the echo bot from a Copilot Studio skill |[copilotstudio-skill](copilotstudio-skill/README.md)| -|RetrievalBot Sample with Semantic Kernel|A simple Retrieval Agent that is hosted on an Asp.net core web service. |[RetrievalBot](RetrievalBot/README.md)| +|RetrievalAgent Sample with Semantic Kernel|A simple Retrieval Agent that is hosted on an Asp.net core web service. |[RetrievalAgent](retrieval-agent/README.md)| |MultiAgent|Demonstrates multiple AgentApplication in the same host|[MultiAgent](multiagent/README.md)| |GenesysHandoff|Demonstrates how a Microsoft Copilot Studio Agent (bot) can seamlessly **hand off a conversation to a live agent** in **Genesys Cloud**.|[GenesysHandoff](genesys-handoff/README.md)| |Proactive|Demonstrates the basics of a proactive conversation using in-code and Http triggers.|[Proactive](proactive/README.md)| diff --git a/samples/dotnet/RetrievalBot/Controllers/BotController.cs b/samples/dotnet/RetrievalBot/Controllers/BotController.cs deleted file mode 100644 index 1e0f1566..00000000 --- a/samples/dotnet/RetrievalBot/Controllers/BotController.cs +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Agents.Hosting.AspNetCore; -using System.Threading; -using System.Threading.Tasks; -using Microsoft.Agents.Builder; - -namespace RetrievalBot.Controllers -{ - // ASP.Net Controller that receives incoming HTTP requests from the Azure Bot Service or other configured event activity protocol sources. - // When called, the request has already been authorized and credentials and tokens validated. - [Authorize] - [ApiController] - [Route("api/messages")] - public class BotController(IAgentHttpAdapter adapter, IAgent bot) : ControllerBase - { - [HttpPost] - public Task PostAsync(CancellationToken cancellationToken) - => adapter.ProcessAsync(Request, Response, bot, cancellationToken); - - } -} diff --git a/samples/dotnet/RetrievalBot/RetrievalBot.sln b/samples/dotnet/RetrievalBot/RetrievalBot.sln deleted file mode 100644 index a5037289..00000000 --- a/samples/dotnet/RetrievalBot/RetrievalBot.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.13.35913.81 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RetrievalBot", "RetrievalBot.csproj", "{C67F2E4A-03A6-D03B-DB25-9D9F47C88EA3}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Agents.M365Copilot.Beta", "dotnet\src\Microsoft.Agents.M365Copilot.Beta\Microsoft.Agents.M365Copilot.Beta.csproj", "{D5FF4444-2DC2-D20E-81EC-FA0300DCA244}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C67F2E4A-03A6-D03B-DB25-9D9F47C88EA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C67F2E4A-03A6-D03B-DB25-9D9F47C88EA3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C67F2E4A-03A6-D03B-DB25-9D9F47C88EA3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C67F2E4A-03A6-D03B-DB25-9D9F47C88EA3}.Release|Any CPU.Build.0 = Release|Any CPU - {D5FF4444-2DC2-D20E-81EC-FA0300DCA244}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D5FF4444-2DC2-D20E-81EC-FA0300DCA244}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D5FF4444-2DC2-D20E-81EC-FA0300DCA244}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D5FF4444-2DC2-D20E-81EC-FA0300DCA244}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {4125E932-47FF-4100-AEFA-8A6F689C0294} - EndGlobalSection -EndGlobal diff --git a/samples/dotnet/RetrievalBot/dotnet/.gitignore b/samples/dotnet/RetrievalBot/dotnet/.gitignore deleted file mode 100644 index 60b2ea06..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/.gitignore +++ /dev/null @@ -1,400 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. -## -## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -[Ww][Ii][Nn]32/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ -[Ll]ogs/ - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET Core -project.lock.json -project.fragment.lock.json -artifacts/ - -# ASP.NET Scaffolding -ScaffoldingReadMe.txt - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -# but not Directory.Build.rsp, as it configures directory-level build defaults -!Directory.Build.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.tlog -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Coverlet is a free, cross platform Code Coverage Tool -coverage*.json -coverage*.xml -coverage*.info - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -# Fody - auto-generated XML schema -FodyWeavers.xsd - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml \ No newline at end of file diff --git a/samples/dotnet/RetrievalBot/dotnet/Microsoft.Agents.M365Copilot.sln b/samples/dotnet/RetrievalBot/dotnet/Microsoft.Agents.M365Copilot.sln deleted file mode 100644 index 6258377d..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/Microsoft.Agents.M365Copilot.sln +++ /dev/null @@ -1,27 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.12.35707.178 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Agents.M365Copilot.Beta", "src\Microsoft.Agents.M365Copilot.Beta\Microsoft.Agents.M365Copilot.Beta.csproj", "{745698F5-0395-C211-E34F-8A64640E0353}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Agents.M365Copilot.Beta.Tests", "tests\Microsoft.Agents.M365Copilot.Beta.Tests\Microsoft.Agents.M365Copilot.Beta.Tests.csproj", "{9217C9E9-5E31-5A43-F437-E92AB6EC971C}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {745698F5-0395-C211-E34F-8A64640E0353}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {745698F5-0395-C211-E34F-8A64640E0353}.Debug|Any CPU.Build.0 = Debug|Any CPU - {745698F5-0395-C211-E34F-8A64640E0353}.Release|Any CPU.ActiveCfg = Release|Any CPU - {745698F5-0395-C211-E34F-8A64640E0353}.Release|Any CPU.Build.0 = Release|Any CPU - {9217C9E9-5E31-5A43-F437-E92AB6EC971C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9217C9E9-5E31-5A43-F437-E92AB6EC971C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9217C9E9-5E31-5A43-F437-E92AB6EC971C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9217C9E9-5E31-5A43-F437-E92AB6EC971C}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/samples/dotnet/RetrievalBot/dotnet/README.md b/samples/dotnet/RetrievalBot/dotnet/README.md deleted file mode 100644 index e8adb57f..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/README.md +++ /dev/null @@ -1 +0,0 @@ -# Dotnet SDK diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/BaseM365CopilotClient.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/BaseM365CopilotClient.cs deleted file mode 100644 index dd77b7a0..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/BaseM365CopilotClient.cs +++ /dev/null @@ -1,51 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Copilot; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Store; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Serialization.Form; -using Microsoft.Kiota.Serialization.Json; -using Microsoft.Kiota.Serialization.Multipart; -using Microsoft.Kiota.Serialization.Text; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System; -namespace Microsoft.Agents.M365Copilot.Beta -{ - /// - /// The main entry point of the SDK, exposes the configuration and the fluent API. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class BaseM365CopilotClient : BaseRequestBuilder - { - /// The copilot property - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.CopilotRequestBuilder Copilot - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.CopilotRequestBuilder(PathParameters, RequestAdapter); - } - /// - /// Instantiates a new and sets the default values. - /// - /// The backing store to use for the models. - /// The request adapter to use to execute the requests. - public BaseM365CopilotClient(IRequestAdapter requestAdapter, IBackingStoreFactory backingStore = default) : base(requestAdapter, "{+baseurl}", new Dictionary()) - { - ApiClientBuilder.RegisterDefaultSerializer(); - ApiClientBuilder.RegisterDefaultSerializer(); - ApiClientBuilder.RegisterDefaultSerializer(); - ApiClientBuilder.RegisterDefaultSerializer(); - ApiClientBuilder.RegisterDefaultDeserializer(); - ApiClientBuilder.RegisterDefaultDeserializer(); - ApiClientBuilder.RegisterDefaultDeserializer(); - if (string.IsNullOrEmpty(RequestAdapter.BaseUrl)) - { - RequestAdapter.BaseUrl = "https://graph.microsoft.com/beta"; - } - PathParameters.TryAdd("baseurl", RequestAdapter.BaseUrl); - RequestAdapter.EnableBackingStore(backingStore); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Admin/AdminRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Admin/AdminRequestBuilder.cs deleted file mode 100644 index caa44994..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Admin/AdminRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings; -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Admin -{ - /// - /// Provides operations to manage the admin property of the microsoft.graph.copilotRoot entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AdminRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the settings property of the microsoft.graph.copilotAdmin entity. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.SettingsRequestBuilder Settings - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.SettingsRequestBuilder(PathParameters, RequestAdapter); - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AdminRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/admin{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/admin{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property admin for copilot - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get admin from copilot - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdmin.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property admin in copilot - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdmin body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdmin body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdmin.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property admin for copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Get admin from copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property admin in copilot - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdmin body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdmin body, Action> requestConfiguration = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.AdminRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.AdminRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AdminRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get admin from copilot - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AdminRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AdminRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AdminRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Admin/Settings/LimitedMode/LimitedModeRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Admin/Settings/LimitedMode/LimitedModeRequestBuilder.cs deleted file mode 100644 index 27f109fd..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Admin/Settings/LimitedMode/LimitedModeRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode -{ - /// - /// Provides operations to manage the limitedMode property of the microsoft.graph.copilotAdminSetting entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LimitedModeRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public LimitedModeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/admin/settings/limitedMode{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public LimitedModeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/admin/settings/limitedMode{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property limitedMode for copilot - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get limitedMode from copilot - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property limitedMode in copilot - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property limitedMode for copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Get limitedMode from copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property limitedMode in copilot - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode body, Action> requestConfiguration = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.LimitedModeRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.LimitedModeRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LimitedModeRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get limitedMode from copilot - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LimitedModeRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LimitedModeRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class LimitedModeRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Admin/Settings/SettingsRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Admin/Settings/SettingsRequestBuilder.cs deleted file mode 100644 index cda604ef..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Admin/Settings/SettingsRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode; -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings -{ - /// - /// Provides operations to manage the settings property of the microsoft.graph.copilotAdmin entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SettingsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the limitedMode property of the microsoft.graph.copilotAdminSetting entity. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.LimitedModeRequestBuilder LimitedMode - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.LimitedModeRequestBuilder(PathParameters, RequestAdapter); - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public SettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/admin/settings{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public SettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/admin/settings{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property settings for copilot - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get settings from copilot - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property settings in copilot - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property settings for copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Get settings from copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property settings in copilot - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting body, Action> requestConfiguration = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.SettingsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.SettingsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SettingsRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get settings from copilot - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SettingsRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SettingsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class SettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/CopilotRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/CopilotRequestBuilder.cs deleted file mode 100644 index ddf3e97b..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/CopilotRequestBuilder.cs +++ /dev/null @@ -1,59 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Copilot.Admin; -using Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory; -using Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval; -using Microsoft.Agents.M365Copilot.Beta.Copilot.Users; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot -{ - /// - /// Builds and executes requests for operations under \copilot - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CopilotRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the admin property of the microsoft.graph.copilotRoot entity. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.AdminRequestBuilder Admin - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.AdminRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the interactionHistory property of the microsoft.graph.copilotRoot entity. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.InteractionHistoryRequestBuilder InteractionHistory - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.InteractionHistoryRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to call the retrieval method. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalRequestBuilder Retrieval - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the users property of the microsoft.graph.copilotRoot entity. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.UsersRequestBuilder Users - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.UsersRequestBuilder(PathParameters, RequestAdapter); - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CopilotRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CopilotRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot", rawUrl) - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsGetResponse.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsGetResponse.cs deleted file mode 100644 index 8b7f8ba1..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllEnterpriseInteractionsGetResponse : global::Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse, IParsable - #pragma warning restore CS1591 - { - /// The value property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Value - { - get { return BackingStore?.Get?>("value"); } - set { BackingStore?.Set("value", value); } - } -#nullable restore -#else - public List Value - { - get { return BackingStore?.Get>("value"); } - set { BackingStore?.Set("value", value); } - } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsGetResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsRequestBuilder.cs deleted file mode 100644 index c5a04877..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsRequestBuilder.cs +++ /dev/null @@ -1,187 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions -{ - /// - /// Provides operations to call the getAllEnterpriseInteractions method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllEnterpriseInteractionsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAllEnterpriseInteractionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/interactionHistory/getAllEnterpriseInteractions(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public GetAllEnterpriseInteractionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/interactionHistory/getAllEnterpriseInteractions(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Invoke function getAllEnterpriseInteractions - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetAllEnterpriseInteractionsGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAllEnterpriseInteractionsGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function getAllEnterpriseInteractions - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetAllEnterpriseInteractionsGetResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function getAllEnterpriseInteractions - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Invoke function getAllEnterpriseInteractions - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllEnterpriseInteractionsRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllEnterpriseInteractionsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsResponse.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsResponse.cs deleted file mode 100644 index ffb64c3d..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions -{ - [Obsolete("This class is obsolete. Use GetAllEnterpriseInteractionsGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllEnterpriseInteractionsResponse : global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsGetResponse, IParsable - #pragma warning restore CS1591 - { - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/InteractionHistoryRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/InteractionHistoryRequestBuilder.cs deleted file mode 100644 index 72764d40..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/InteractionHistoryRequestBuilder.cs +++ /dev/null @@ -1,241 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions; -using Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions; -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory -{ - /// - /// Provides operations to manage the interactionHistory property of the microsoft.graph.copilotRoot entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionHistoryRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the getAllEnterpriseInteractions method. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsRequestBuilder GetAllEnterpriseInteractions - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the interactions property of the microsoft.graph.aiInteractionHistory entity. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.InteractionsRequestBuilder Interactions - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.InteractionsRequestBuilder(PathParameters, RequestAdapter); - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public InteractionHistoryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/interactionHistory{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public InteractionHistoryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/interactionHistory{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property interactionHistory for copilot - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get interactionHistory from copilot - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property interactionHistory in copilot - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property interactionHistory for copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Get interactionHistory from copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property interactionHistory in copilot - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory body, Action> requestConfiguration = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.InteractionHistoryRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.InteractionHistoryRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionHistoryRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get interactionHistory from copilot - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionHistoryRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionHistoryRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionHistoryRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/Interactions/Count/CountRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/Interactions/Count/CountRequestBuilder.cs deleted file mode 100644 index dabacd93..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/Interactions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count -{ - /// - /// Provides operations to count the resources in the collection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/interactionHistory/interactions/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/interactionHistory/interactions/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the number of the resource - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/Interactions/InteractionsRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/Interactions/InteractionsRequestBuilder.cs deleted file mode 100644 index ef02b023..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/Interactions/InteractionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count; -using Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item; -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions -{ - /// - /// Provides operations to manage the interactions property of the microsoft.graph.aiInteractionHistory entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the interactions property of the microsoft.graph.aiInteractionHistory entity. - /// The unique identifier of aiInteraction - /// A - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("aiInteraction%2Did", position); - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public InteractionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/interactionHistory/interactions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public InteractionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/interactionHistory/interactions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get interactions from copilot - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to interactions for copilot - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get interactions from copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create new navigation property to interactions for copilot - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action> requestConfiguration = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.InteractionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.InteractionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get interactions from copilot - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionsRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/Interactions/Item/AiInteractionItemRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/Interactions/Item/AiInteractionItemRequestBuilder.cs deleted file mode 100644 index 97594a5e..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/InteractionHistory/Interactions/Item/AiInteractionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item -{ - /// - /// Provides operations to manage the interactions property of the microsoft.graph.aiInteractionHistory entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiInteractionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AiInteractionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/interactionHistory/interactions/{aiInteraction%2Did}{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public AiInteractionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/interactionHistory/interactions/{aiInteraction%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property interactions for copilot - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get interactions from copilot - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property interactions in copilot - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property interactions for copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Get interactions from copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property interactions in copilot - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action> requestConfiguration = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiInteractionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get interactions from copilot - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiInteractionItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiInteractionItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiInteractionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Retrieval/RetrievalPostRequestBody.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Retrieval/RetrievalPostRequestBody.cs deleted file mode 100644 index ed643ab9..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Retrieval/RetrievalPostRequestBody.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RetrievalPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The filterExpression property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? FilterExpression - { - get { return BackingStore?.Get("filterExpression"); } - set { BackingStore?.Set("filterExpression", value); } - } -#nullable restore -#else - public string FilterExpression - { - get { return BackingStore?.Get("filterExpression"); } - set { BackingStore?.Set("filterExpression", value); } - } -#endif - /// The maximumNumberOfResults property - public int? MaximumNumberOfResults - { - get { return BackingStore?.Get("maximumNumberOfResults"); } - set { BackingStore?.Set("maximumNumberOfResults", value); } - } - /// The queryString property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? QueryString - { - get { return BackingStore?.Get("queryString"); } - set { BackingStore?.Set("queryString", value); } - } -#nullable restore -#else - public string QueryString - { - get { return BackingStore?.Get("queryString"); } - set { BackingStore?.Set("queryString", value); } - } -#endif - /// The resourceMetadata property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? ResourceMetadata - { - get { return BackingStore?.Get?>("resourceMetadata"); } - set { BackingStore?.Set("resourceMetadata", value); } - } -#nullable restore -#else - public List ResourceMetadata - { - get { return BackingStore?.Get>("resourceMetadata"); } - set { BackingStore?.Set("resourceMetadata", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public RetrievalPostRequestBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalPostRequestBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "filterExpression", n => { FilterExpression = n.GetStringValue(); } }, - { "maximumNumberOfResults", n => { MaximumNumberOfResults = n.GetIntValue(); } }, - { "queryString", n => { QueryString = n.GetStringValue(); } }, - { "resourceMetadata", n => { ResourceMetadata = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("filterExpression", FilterExpression); - writer.WriteIntValue("maximumNumberOfResults", MaximumNumberOfResults); - writer.WriteStringValue("queryString", QueryString); - writer.WriteCollectionOfPrimitiveValues("resourceMetadata", ResourceMetadata); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Retrieval/RetrievalRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Retrieval/RetrievalRequestBuilder.cs deleted file mode 100644 index be7f613d..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Retrieval/RetrievalRequestBuilder.cs +++ /dev/null @@ -1,106 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval -{ - /// - /// Provides operations to call the retrieval method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RetrievalRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public RetrievalRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/retrieval", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public RetrievalRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/retrieval", rawUrl) - { - } - /// - /// Invoke action retrieval - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete(" as of 2024-12/PrivatePreview:retrievalAPI on 2024-02-23 and will be removed 2025-12-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.RetrievalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke action retrieval - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2024-12/PrivatePreview:retrievalAPI on 2024-02-23 and will be removed 2025-12-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalPostRequestBody body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalPostRequestBody body, Action> requestConfiguration = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete(" as of 2024-12/PrivatePreview:retrievalAPI on 2024-02-23 and will be removed 2025-12-31")] - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class RetrievalRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Count/CountRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Count/CountRequestBuilder.cs deleted file mode 100644 index 1a08c2d6..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count -{ - /// - /// Provides operations to count the resources in the collection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the number of the resource - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/AiUserItemRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/AiUserItemRequestBuilder.cs deleted file mode 100644 index 00060ce2..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/AiUserItemRequestBuilder.cs +++ /dev/null @@ -1,235 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory; -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item -{ - /// - /// Provides operations to manage the users property of the microsoft.graph.copilotRoot entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiUserItemRequestBuilder : BaseRequestBuilder - { - /// Provides operations to manage the interactionHistory property of the microsoft.graph.aiUser entity. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.InteractionHistoryRequestBuilder InteractionHistory - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.InteractionHistoryRequestBuilder(PathParameters, RequestAdapter); - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AiUserItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users/{aiUser%2Did}{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public AiUserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users/{aiUser%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property users for copilot - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get users from copilot - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property users in copilot - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property users for copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Get users from copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property users in copilot - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser body, Action> requestConfiguration = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiUserItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get users from copilot - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiUserItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiUserItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiUserItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsGetResponse.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsGetResponse.cs deleted file mode 100644 index 54f5bcfb..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsGetResponse.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllEnterpriseInteractionsGetResponse : global::Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse, IParsable - #pragma warning restore CS1591 - { - /// The value property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Value - { - get { return BackingStore?.Get?>("value"); } - set { BackingStore?.Set("value", value); } - } -#nullable restore -#else - public List Value - { - get { return BackingStore?.Get>("value"); } - set { BackingStore?.Set("value", value); } - } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsGetResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsRequestBuilder.cs deleted file mode 100644 index f4513e44..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsRequestBuilder.cs +++ /dev/null @@ -1,187 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions -{ - /// - /// Provides operations to call the getAllEnterpriseInteractions method. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllEnterpriseInteractionsRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAllEnterpriseInteractionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users/{aiUser%2Did}/interactionHistory/getAllEnterpriseInteractions(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public GetAllEnterpriseInteractionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users/{aiUser%2Did}/interactionHistory/getAllEnterpriseInteractions(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Invoke function getAllEnterpriseInteractions - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetAllEnterpriseInteractionsGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAllEnterpriseInteractionsGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function getAllEnterpriseInteractions - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetAllEnterpriseInteractionsGetResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Invoke function getAllEnterpriseInteractions - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Invoke function getAllEnterpriseInteractions - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllEnterpriseInteractionsRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAllEnterpriseInteractionsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsResponse.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsResponse.cs deleted file mode 100644 index f99e1e0d..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/GetAllEnterpriseInteractions/GetAllEnterpriseInteractionsResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions -{ - [Obsolete("This class is obsolete. Use GetAllEnterpriseInteractionsGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAllEnterpriseInteractionsResponse : global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsGetResponse, IParsable - #pragma warning restore CS1591 - { - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/InteractionHistoryRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/InteractionHistoryRequestBuilder.cs deleted file mode 100644 index 18ff273b..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/InteractionHistoryRequestBuilder.cs +++ /dev/null @@ -1,241 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions; -using Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions; -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory -{ - /// - /// Provides operations to manage the interactionHistory property of the microsoft.graph.aiUser entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionHistoryRequestBuilder : BaseRequestBuilder - { - /// Provides operations to call the getAllEnterpriseInteractions method. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsRequestBuilder GetAllEnterpriseInteractions - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the interactions property of the microsoft.graph.aiInteractionHistory entity. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.InteractionsRequestBuilder Interactions - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.InteractionsRequestBuilder(PathParameters, RequestAdapter); - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public InteractionHistoryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users/{aiUser%2Did}/interactionHistory{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public InteractionHistoryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users/{aiUser%2Did}/interactionHistory{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property interactionHistory for copilot - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get interactionHistory from copilot - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property interactionHistory in copilot - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property interactionHistory for copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Get interactionHistory from copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property interactionHistory in copilot - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory body, Action> requestConfiguration = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.InteractionHistoryRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.InteractionHistoryRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionHistoryRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get interactionHistory from copilot - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionHistoryRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionHistoryRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionHistoryRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/Interactions/Count/CountRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/Interactions/Count/CountRequestBuilder.cs deleted file mode 100644 index e2aace4e..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/Interactions/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count -{ - /// - /// Provides operations to count the resources in the collection. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users/{aiUser%2Did}/interactionHistory/interactions/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users/{aiUser%2Did}/interactionHistory/interactions/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the number of the resource - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/Interactions/InteractionsRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/Interactions/InteractionsRequestBuilder.cs deleted file mode 100644 index 952d8f95..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/Interactions/InteractionsRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count; -using Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item; -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions -{ - /// - /// Provides operations to manage the interactions property of the microsoft.graph.aiInteractionHistory entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionsRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the interactions property of the microsoft.graph.aiInteractionHistory entity. - /// The unique identifier of aiInteraction - /// A - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("aiInteraction%2Did", position); - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public InteractionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users/{aiUser%2Did}/interactionHistory/interactions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public InteractionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users/{aiUser%2Did}/interactionHistory/interactions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get interactions from copilot - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to interactions for copilot - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get interactions from copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create new navigation property to interactions for copilot - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action> requestConfiguration = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.InteractionsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.InteractionsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get interactions from copilot - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionsRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InteractionsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/Interactions/Item/AiInteractionItemRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/Interactions/Item/AiInteractionItemRequestBuilder.cs deleted file mode 100644 index 1a1ada95..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/Item/InteractionHistory/Interactions/Item/AiInteractionItemRequestBuilder.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item -{ - /// - /// Provides operations to manage the interactions property of the microsoft.graph.aiInteractionHistory entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiInteractionItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public AiInteractionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users/{aiUser%2Did}/interactionHistory/interactions/{aiInteraction%2Did}{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public AiInteractionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users/{aiUser%2Did}/interactionHistory/interactions/{aiInteraction%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property interactions for copilot - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get interactions from copilot - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property interactions in copilot - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property interactions for copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Get interactions from copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property interactions in copilot - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction body, Action> requestConfiguration = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiInteractionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get interactions from copilot - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiInteractionItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiInteractionItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class AiInteractionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/UsersRequestBuilder.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/UsersRequestBuilder.cs deleted file mode 100644 index 141ed142..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Copilot/Users/UsersRequestBuilder.cs +++ /dev/null @@ -1,238 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count; -using Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item; -using Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors; -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Copilot.Users -{ - /// - /// Provides operations to manage the users property of the microsoft.graph.copilotRoot entity. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UsersRequestBuilder : BaseRequestBuilder - { - /// Provides operations to count the resources in the collection. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Provides operations to manage the users property of the microsoft.graph.copilotRoot entity. - /// The unique identifier of aiUser - /// A - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("aiUser%2Did", position); - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UsersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/copilot/users{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get users from copilot - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to users for copilot - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get users from copilot - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create new navigation property to users for copilot - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser body, Action> requestConfiguration = default) - { -#endif - _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.UsersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Agents.M365Copilot.Beta.Copilot.Users.UsersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get users from copilot - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UsersRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UsersRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UsersRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AccessScope.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AccessScope.cs deleted file mode 100644 index 7b49f11f..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AccessScope.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -using System.Runtime.Serialization; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public enum AccessScope - #pragma warning restore CS1591 - { - [EnumMember(Value = "inOrganization")] - #pragma warning disable CS1591 - InOrganization, - #pragma warning restore CS1591 - [EnumMember(Value = "notInOrganization")] - #pragma warning disable CS1591 - NotInOrganization, - #pragma warning restore CS1591 - [EnumMember(Value = "none")] - #pragma warning disable CS1591 - None, - #pragma warning restore CS1591 - [EnumMember(Value = "unknownFutureValue")] - #pragma warning disable CS1591 - UnknownFutureValue, - #pragma warning restore CS1591 - } -} diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteraction.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteraction.cs deleted file mode 100644 index 2b0a0195..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteraction.cs +++ /dev/null @@ -1,278 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AiInteraction : global::Microsoft.Agents.M365Copilot.Beta.Models.Entity, IParsable - #pragma warning restore CS1591 - { - /// The appClass property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? AppClass - { - get { return BackingStore?.Get("appClass"); } - set { BackingStore?.Set("appClass", value); } - } -#nullable restore -#else - public string AppClass - { - get { return BackingStore?.Get("appClass"); } - set { BackingStore?.Set("appClass", value); } - } -#endif - /// The attachments property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Attachments - { - get { return BackingStore?.Get?>("attachments"); } - set { BackingStore?.Set("attachments", value); } - } -#nullable restore -#else - public List Attachments - { - get { return BackingStore?.Get>("attachments"); } - set { BackingStore?.Set("attachments", value); } - } -#endif - /// The body property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.ItemBody? Body - { - get { return BackingStore?.Get("body"); } - set { BackingStore?.Set("body", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.ItemBody Body - { - get { return BackingStore?.Get("body"); } - set { BackingStore?.Set("body", value); } - } -#endif - /// The contexts property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Contexts - { - get { return BackingStore?.Get?>("contexts"); } - set { BackingStore?.Set("contexts", value); } - } -#nullable restore -#else - public List Contexts - { - get { return BackingStore?.Get>("contexts"); } - set { BackingStore?.Set("contexts", value); } - } -#endif - /// The conversationType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ConversationType - { - get { return BackingStore?.Get("conversationType"); } - set { BackingStore?.Set("conversationType", value); } - } -#nullable restore -#else - public string ConversationType - { - get { return BackingStore?.Get("conversationType"); } - set { BackingStore?.Set("conversationType", value); } - } -#endif - /// The createdDateTime property - public DateTimeOffset? CreatedDateTime - { - get { return BackingStore?.Get("createdDateTime"); } - set { BackingStore?.Set("createdDateTime", value); } - } - /// The etag property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Etag - { - get { return BackingStore?.Get("etag"); } - set { BackingStore?.Set("etag", value); } - } -#nullable restore -#else - public string Etag - { - get { return BackingStore?.Get("etag"); } - set { BackingStore?.Set("etag", value); } - } -#endif - /// The from property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet? From - { - get { return BackingStore?.Get("from"); } - set { BackingStore?.Set("from", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet From - { - get { return BackingStore?.Get("from"); } - set { BackingStore?.Set("from", value); } - } -#endif - /// The interactionType property - public global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionType? InteractionType - { - get { return BackingStore?.Get("interactionType"); } - set { BackingStore?.Set("interactionType", value); } - } - /// The links property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Links - { - get { return BackingStore?.Get?>("links"); } - set { BackingStore?.Set("links", value); } - } -#nullable restore -#else - public List Links - { - get { return BackingStore?.Get>("links"); } - set { BackingStore?.Set("links", value); } - } -#endif - /// The locale property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Locale - { - get { return BackingStore?.Get("locale"); } - set { BackingStore?.Set("locale", value); } - } -#nullable restore -#else - public string Locale - { - get { return BackingStore?.Get("locale"); } - set { BackingStore?.Set("locale", value); } - } -#endif - /// The mentions property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Mentions - { - get { return BackingStore?.Get?>("mentions"); } - set { BackingStore?.Set("mentions", value); } - } -#nullable restore -#else - public List Mentions - { - get { return BackingStore?.Get>("mentions"); } - set { BackingStore?.Set("mentions", value); } - } -#endif - /// The requestId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? RequestId - { - get { return BackingStore?.Get("requestId"); } - set { BackingStore?.Set("requestId", value); } - } -#nullable restore -#else - public string RequestId - { - get { return BackingStore?.Get("requestId"); } - set { BackingStore?.Set("requestId", value); } - } -#endif - /// The sessionId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SessionId - { - get { return BackingStore?.Get("sessionId"); } - set { BackingStore?.Set("sessionId", value); } - } -#nullable restore -#else - public string SessionId - { - get { return BackingStore?.Get("sessionId"); } - set { BackingStore?.Set("sessionId", value); } - } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "appClass", n => { AppClass = n.GetStringValue(); } }, - { "attachments", n => { Attachments = n.GetCollectionOfObjectValues(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionAttachment.CreateFromDiscriminatorValue)?.AsList(); } }, - { "body", n => { Body = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.ItemBody.CreateFromDiscriminatorValue); } }, - { "contexts", n => { Contexts = n.GetCollectionOfObjectValues(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionContext.CreateFromDiscriminatorValue)?.AsList(); } }, - { "conversationType", n => { ConversationType = n.GetStringValue(); } }, - { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, - { "etag", n => { Etag = n.GetStringValue(); } }, - { "from", n => { From = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, - { "interactionType", n => { InteractionType = n.GetEnumValue(); } }, - { "links", n => { Links = n.GetCollectionOfObjectValues(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionLink.CreateFromDiscriminatorValue)?.AsList(); } }, - { "locale", n => { Locale = n.GetStringValue(); } }, - { "mentions", n => { Mentions = n.GetCollectionOfObjectValues(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionMention.CreateFromDiscriminatorValue)?.AsList(); } }, - { "requestId", n => { RequestId = n.GetStringValue(); } }, - { "sessionId", n => { SessionId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("appClass", AppClass); - writer.WriteCollectionOfObjectValues("attachments", Attachments); - writer.WriteObjectValue("body", Body); - writer.WriteCollectionOfObjectValues("contexts", Contexts); - writer.WriteStringValue("conversationType", ConversationType); - writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); - writer.WriteStringValue("etag", Etag); - writer.WriteObjectValue("from", From); - writer.WriteEnumValue("interactionType", InteractionType); - writer.WriteCollectionOfObjectValues("links", Links); - writer.WriteStringValue("locale", Locale); - writer.WriteCollectionOfObjectValues("mentions", Mentions); - writer.WriteStringValue("requestId", RequestId); - writer.WriteStringValue("sessionId", SessionId); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionAttachment.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionAttachment.cs deleted file mode 100644 index c05fb066..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionAttachment.cs +++ /dev/null @@ -1,207 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AiInteractionAttachment : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// The attachmentId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? AttachmentId - { - get { return BackingStore?.Get("attachmentId"); } - set { BackingStore?.Set("attachmentId", value); } - } -#nullable restore -#else - public string AttachmentId - { - get { return BackingStore?.Get("attachmentId"); } - set { BackingStore?.Set("attachmentId", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The content property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Content - { - get { return BackingStore?.Get("content"); } - set { BackingStore?.Set("content", value); } - } -#nullable restore -#else - public string Content - { - get { return BackingStore?.Get("content"); } - set { BackingStore?.Set("content", value); } - } -#endif - /// The contentType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ContentType - { - get { return BackingStore?.Get("contentType"); } - set { BackingStore?.Set("contentType", value); } - } -#nullable restore -#else - public string ContentType - { - get { return BackingStore?.Get("contentType"); } - set { BackingStore?.Set("contentType", value); } - } -#endif - /// The contentUrl property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ContentUrl - { - get { return BackingStore?.Get("contentUrl"); } - set { BackingStore?.Set("contentUrl", value); } - } -#nullable restore -#else - public string ContentUrl - { - get { return BackingStore?.Get("contentUrl"); } - set { BackingStore?.Set("contentUrl", value); } - } -#endif - /// The name property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Name - { - get { return BackingStore?.Get("name"); } - set { BackingStore?.Set("name", value); } - } -#nullable restore -#else - public string Name - { - get { return BackingStore?.Get("name"); } - set { BackingStore?.Set("name", value); } - } -#endif - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// The teamsAppId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? TeamsAppId - { - get { return BackingStore?.Get("teamsAppId"); } - set { BackingStore?.Set("teamsAppId", value); } - } -#nullable restore -#else - public string TeamsAppId - { - get { return BackingStore?.Get("teamsAppId"); } - set { BackingStore?.Set("teamsAppId", value); } - } -#endif - /// The thumbnailUrl property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ThumbnailUrl - { - get { return BackingStore?.Get("thumbnailUrl"); } - set { BackingStore?.Set("thumbnailUrl", value); } - } -#nullable restore -#else - public string ThumbnailUrl - { - get { return BackingStore?.Get("thumbnailUrl"); } - set { BackingStore?.Set("thumbnailUrl", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public AiInteractionAttachment() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionAttachment CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionAttachment(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "attachmentId", n => { AttachmentId = n.GetStringValue(); } }, - { "content", n => { Content = n.GetStringValue(); } }, - { "contentType", n => { ContentType = n.GetStringValue(); } }, - { "contentUrl", n => { ContentUrl = n.GetStringValue(); } }, - { "name", n => { Name = n.GetStringValue(); } }, - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - { "teamsAppId", n => { TeamsAppId = n.GetStringValue(); } }, - { "thumbnailUrl", n => { ThumbnailUrl = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("attachmentId", AttachmentId); - writer.WriteStringValue("content", Content); - writer.WriteStringValue("contentType", ContentType); - writer.WriteStringValue("contentUrl", ContentUrl); - writer.WriteStringValue("name", Name); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteStringValue("teamsAppId", TeamsAppId); - writer.WriteStringValue("thumbnailUrl", ThumbnailUrl); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionCollectionResponse.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionCollectionResponse.cs deleted file mode 100644 index b994694b..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionCollectionResponse.cs +++ /dev/null @@ -1,64 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AiInteractionCollectionResponse : global::Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse, IParsable - #pragma warning restore CS1591 - { - /// The value property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Value - { - get { return BackingStore?.Get?>("value"); } - set { BackingStore?.Set("value", value); } - } -#nullable restore -#else - public List Value - { - get { return BackingStore?.Get>("value"); } - set { BackingStore?.Set("value", value); } - } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionCollectionResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionContext.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionContext.cs deleted file mode 100644 index 64fca94f..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionContext.cs +++ /dev/null @@ -1,135 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AiInteractionContext : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The contextReference property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ContextReference - { - get { return BackingStore?.Get("contextReference"); } - set { BackingStore?.Set("contextReference", value); } - } -#nullable restore -#else - public string ContextReference - { - get { return BackingStore?.Get("contextReference"); } - set { BackingStore?.Set("contextReference", value); } - } -#endif - /// The contextType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ContextType - { - get { return BackingStore?.Get("contextType"); } - set { BackingStore?.Set("contextType", value); } - } -#nullable restore -#else - public string ContextType - { - get { return BackingStore?.Get("contextType"); } - set { BackingStore?.Set("contextType", value); } - } -#endif - /// The displayName property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DisplayName - { - get { return BackingStore?.Get("displayName"); } - set { BackingStore?.Set("displayName", value); } - } -#nullable restore -#else - public string DisplayName - { - get { return BackingStore?.Get("displayName"); } - set { BackingStore?.Set("displayName", value); } - } -#endif - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public AiInteractionContext() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionContext CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionContext(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "contextReference", n => { ContextReference = n.GetStringValue(); } }, - { "contextType", n => { ContextType = n.GetStringValue(); } }, - { "displayName", n => { DisplayName = n.GetStringValue(); } }, - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("contextReference", ContextReference); - writer.WriteStringValue("contextType", ContextType); - writer.WriteStringValue("displayName", DisplayName); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionHistory.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionHistory.cs deleted file mode 100644 index 04d6e683..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionHistory.cs +++ /dev/null @@ -1,64 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AiInteractionHistory : global::Microsoft.Agents.M365Copilot.Beta.Models.Entity, IParsable - #pragma warning restore CS1591 - { - /// The interactions property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Interactions - { - get { return BackingStore?.Get?>("interactions"); } - set { BackingStore?.Set("interactions", value); } - } -#nullable restore -#else - public List Interactions - { - get { return BackingStore?.Get>("interactions"); } - set { BackingStore?.Set("interactions", value); } - } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "interactions", n => { Interactions = n.GetCollectionOfObjectValues(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("interactions", Interactions); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionLink.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionLink.cs deleted file mode 100644 index 4cd22f0b..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionLink.cs +++ /dev/null @@ -1,135 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AiInteractionLink : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The displayName property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DisplayName - { - get { return BackingStore?.Get("displayName"); } - set { BackingStore?.Set("displayName", value); } - } -#nullable restore -#else - public string DisplayName - { - get { return BackingStore?.Get("displayName"); } - set { BackingStore?.Set("displayName", value); } - } -#endif - /// The linkType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? LinkType - { - get { return BackingStore?.Get("linkType"); } - set { BackingStore?.Set("linkType", value); } - } -#nullable restore -#else - public string LinkType - { - get { return BackingStore?.Get("linkType"); } - set { BackingStore?.Set("linkType", value); } - } -#endif - /// The linkUrl property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? LinkUrl - { - get { return BackingStore?.Get("linkUrl"); } - set { BackingStore?.Set("linkUrl", value); } - } -#nullable restore -#else - public string LinkUrl - { - get { return BackingStore?.Get("linkUrl"); } - set { BackingStore?.Set("linkUrl", value); } - } -#endif - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public AiInteractionLink() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionLink CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionLink(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "displayName", n => { DisplayName = n.GetStringValue(); } }, - { "linkType", n => { LinkType = n.GetStringValue(); } }, - { "linkUrl", n => { LinkUrl = n.GetStringValue(); } }, - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("displayName", DisplayName); - writer.WriteStringValue("linkType", LinkType); - writer.WriteStringValue("linkUrl", LinkUrl); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionMention.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionMention.cs deleted file mode 100644 index 6414f548..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionMention.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AiInteractionMention : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The mentioned property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionMentionedIdentitySet? Mentioned - { - get { return BackingStore?.Get("mentioned"); } - set { BackingStore?.Set("mentioned", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionMentionedIdentitySet Mentioned - { - get { return BackingStore?.Get("mentioned"); } - set { BackingStore?.Set("mentioned", value); } - } -#endif - /// The mentionId property - public int? MentionId - { - get { return BackingStore?.Get("mentionId"); } - set { BackingStore?.Set("mentionId", value); } - } - /// The mentionText property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? MentionText - { - get { return BackingStore?.Get("mentionText"); } - set { BackingStore?.Set("mentionText", value); } - } -#nullable restore -#else - public string MentionText - { - get { return BackingStore?.Get("mentionText"); } - set { BackingStore?.Set("mentionText", value); } - } -#endif - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public AiInteractionMention() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionMention CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionMention(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "mentionId", n => { MentionId = n.GetIntValue(); } }, - { "mentionText", n => { MentionText = n.GetStringValue(); } }, - { "mentioned", n => { Mentioned = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionMentionedIdentitySet.CreateFromDiscriminatorValue); } }, - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("mentioned", Mentioned); - writer.WriteIntValue("mentionId", MentionId); - writer.WriteStringValue("mentionText", MentionText); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionMentionedIdentitySet.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionMentionedIdentitySet.cs deleted file mode 100644 index e51eb183..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionMentionedIdentitySet.cs +++ /dev/null @@ -1,89 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AiInteractionMentionedIdentitySet : global::Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet, IParsable - #pragma warning restore CS1591 - { - /// The conversation property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkConversationIdentity? Conversation - { - get { return BackingStore?.Get("conversation"); } - set { BackingStore?.Set("conversation", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkConversationIdentity Conversation - { - get { return BackingStore?.Get("conversation"); } - set { BackingStore?.Set("conversation", value); } - } -#endif - /// The tag property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkTagIdentity? Tag - { - get { return BackingStore?.Get("tag"); } - set { BackingStore?.Set("tag", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkTagIdentity Tag - { - get { return BackingStore?.Get("tag"); } - set { BackingStore?.Set("tag", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public AiInteractionMentionedIdentitySet() : base() - { - OdataType = "#microsoft.graph.aiInteractionMentionedIdentitySet"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionMentionedIdentitySet CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionMentionedIdentitySet(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "conversation", n => { Conversation = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkConversationIdentity.CreateFromDiscriminatorValue); } }, - { "tag", n => { Tag = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkTagIdentity.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteObjectValue("conversation", Conversation); - writer.WriteObjectValue("tag", Tag); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionType.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionType.cs deleted file mode 100644 index a31ea8ed..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiInteractionType.cs +++ /dev/null @@ -1,24 +0,0 @@ -// -using System.Runtime.Serialization; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public enum AiInteractionType - #pragma warning restore CS1591 - { - [EnumMember(Value = "userPrompt")] - #pragma warning disable CS1591 - UserPrompt, - #pragma warning restore CS1591 - [EnumMember(Value = "aiResponse")] - #pragma warning disable CS1591 - AiResponse, - #pragma warning restore CS1591 - [EnumMember(Value = "unknownFutureValue")] - #pragma warning disable CS1591 - UnknownFutureValue, - #pragma warning restore CS1591 - } -} diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiUser.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiUser.cs deleted file mode 100644 index 0bd7c254..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiUser.cs +++ /dev/null @@ -1,64 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AiUser : global::Microsoft.Agents.M365Copilot.Beta.Models.Entity, IParsable - #pragma warning restore CS1591 - { - /// The interactionHistory property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory? InteractionHistory - { - get { return BackingStore?.Get("interactionHistory"); } - set { BackingStore?.Set("interactionHistory", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory InteractionHistory - { - get { return BackingStore?.Get("interactionHistory"); } - set { BackingStore?.Set("interactionHistory", value); } - } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "interactionHistory", n => { InteractionHistory = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteObjectValue("interactionHistory", InteractionHistory); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiUserCollectionResponse.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiUserCollectionResponse.cs deleted file mode 100644 index 6d3e636f..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AiUserCollectionResponse.cs +++ /dev/null @@ -1,64 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AiUserCollectionResponse : global::Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse, IParsable - #pragma warning restore CS1591 - { - /// The value property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Value - { - get { return BackingStore?.Get?>("value"); } - set { BackingStore?.Set("value", value); } - } -#nullable restore -#else - public List Value - { - get { return BackingStore?.Get>("value"); } - set { BackingStore?.Set("value", value); } - } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.AiUserCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.AiUserCollectionResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ApprovalIdentitySet.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ApprovalIdentitySet.cs deleted file mode 100644 index d9c32495..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ApprovalIdentitySet.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ApprovalIdentitySet : global::Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet, IParsable - #pragma warning restore CS1591 - { - /// The group property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity? Group - { - get { return BackingStore?.Get("group"); } - set { BackingStore?.Set("group", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity Group - { - get { return BackingStore?.Get("group"); } - set { BackingStore?.Set("group", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ApprovalIdentitySet() : base() - { - OdataType = "#microsoft.graph.approvalIdentitySet"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.ApprovalIdentitySet CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.ApprovalIdentitySet(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "group", n => { Group = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteObjectValue("group", Group); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AuditUserIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AuditUserIdentity.cs deleted file mode 100644 index f522779d..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AuditUserIdentity.cs +++ /dev/null @@ -1,89 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AuditUserIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.UserIdentity, IParsable - #pragma warning restore CS1591 - { - /// The homeTenantId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? HomeTenantId - { - get { return BackingStore?.Get("homeTenantId"); } - set { BackingStore?.Set("homeTenantId", value); } - } -#nullable restore -#else - public string HomeTenantId - { - get { return BackingStore?.Get("homeTenantId"); } - set { BackingStore?.Set("homeTenantId", value); } - } -#endif - /// The homeTenantName property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? HomeTenantName - { - get { return BackingStore?.Get("homeTenantName"); } - set { BackingStore?.Set("homeTenantName", value); } - } -#nullable restore -#else - public string HomeTenantName - { - get { return BackingStore?.Get("homeTenantName"); } - set { BackingStore?.Set("homeTenantName", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public AuditUserIdentity() : base() - { - OdataType = "#microsoft.graph.auditUserIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.AuditUserIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.AuditUserIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "homeTenantId", n => { HomeTenantId = n.GetStringValue(); } }, - { "homeTenantName", n => { HomeTenantName = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("homeTenantId", HomeTenantId); - writer.WriteStringValue("homeTenantName", HomeTenantName); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AzureCommunicationServicesUserIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AzureCommunicationServicesUserIdentity.cs deleted file mode 100644 index 35f3d53a..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/AzureCommunicationServicesUserIdentity.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class AzureCommunicationServicesUserIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The azureCommunicationServicesResourceId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? AzureCommunicationServicesResourceId - { - get { return BackingStore?.Get("azureCommunicationServicesResourceId"); } - set { BackingStore?.Set("azureCommunicationServicesResourceId", value); } - } -#nullable restore -#else - public string AzureCommunicationServicesResourceId - { - get { return BackingStore?.Get("azureCommunicationServicesResourceId"); } - set { BackingStore?.Set("azureCommunicationServicesResourceId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public AzureCommunicationServicesUserIdentity() : base() - { - OdataType = "#microsoft.graph.azureCommunicationServicesUserIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.AzureCommunicationServicesUserIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.AzureCommunicationServicesUserIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "azureCommunicationServicesResourceId", n => { AzureCommunicationServicesResourceId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("azureCommunicationServicesResourceId", AzureCommunicationServicesResourceId); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/BaseCollectionPaginationCountResponse.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/BaseCollectionPaginationCountResponse.cs deleted file mode 100644 index 38fc1875..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/BaseCollectionPaginationCountResponse.cs +++ /dev/null @@ -1,89 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class BaseCollectionPaginationCountResponse : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The OdataCount property - public long? OdataCount - { - get { return BackingStore?.Get("@odata.count"); } - set { BackingStore?.Set("@odata.count", value); } - } - /// The OdataNextLink property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataNextLink - { - get { return BackingStore?.Get("@odata.nextLink"); } - set { BackingStore?.Set("@odata.nextLink", value); } - } -#nullable restore -#else - public string OdataNextLink - { - get { return BackingStore?.Get("@odata.nextLink"); } - set { BackingStore?.Set("@odata.nextLink", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public BaseCollectionPaginationCountResponse() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "@odata.count", n => { OdataCount = n.GetLongValue(); } }, - { "@odata.nextLink", n => { OdataNextLink = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteLongValue("@odata.count", OdataCount); - writer.WriteStringValue("@odata.nextLink", OdataNextLink); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/BodyType.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/BodyType.cs deleted file mode 100644 index 5a6c65ea..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/BodyType.cs +++ /dev/null @@ -1,20 +0,0 @@ -// -using System.Runtime.Serialization; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public enum BodyType - #pragma warning restore CS1591 - { - [EnumMember(Value = "text")] - #pragma warning disable CS1591 - Text, - #pragma warning restore CS1591 - [EnumMember(Value = "html")] - #pragma warning disable CS1591 - Html, - #pragma warning restore CS1591 - } -} diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CallRecords/UserIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CallRecords/UserIdentity.cs deleted file mode 100644 index b750cd0a..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CallRecords/UserIdentity.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models.CallRecords -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UserIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The userPrincipalName property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? UserPrincipalName - { - get { return BackingStore?.Get("userPrincipalName"); } - set { BackingStore?.Set("userPrincipalName", value); } - } -#nullable restore -#else - public string UserPrincipalName - { - get { return BackingStore?.Get("userPrincipalName"); } - set { BackingStore?.Set("userPrincipalName", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public UserIdentity() : base() - { - OdataType = "#microsoft.graph.callRecords.userIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.CallRecords.UserIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.CallRecords.UserIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("userPrincipalName", UserPrincipalName); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ChatMessageFromIdentitySet.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ChatMessageFromIdentitySet.cs deleted file mode 100644 index 2d13aa43..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ChatMessageFromIdentitySet.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ChatMessageFromIdentitySet : global::Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet, IParsable - #pragma warning restore CS1591 - { - /// - /// Instantiates a new and sets the default values. - /// - public ChatMessageFromIdentitySet() : base() - { - OdataType = "#microsoft.graph.chatMessageFromIdentitySet"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.ChatMessageFromIdentitySet CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.ChatMessageFromIdentitySet(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ChatMessageMentionedIdentitySet.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ChatMessageMentionedIdentitySet.cs deleted file mode 100644 index 47183a1a..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ChatMessageMentionedIdentitySet.cs +++ /dev/null @@ -1,89 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ChatMessageMentionedIdentitySet : global::Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet, IParsable - #pragma warning restore CS1591 - { - /// The conversation property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkConversationIdentity? Conversation - { - get { return BackingStore?.Get("conversation"); } - set { BackingStore?.Set("conversation", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkConversationIdentity Conversation - { - get { return BackingStore?.Get("conversation"); } - set { BackingStore?.Set("conversation", value); } - } -#endif - /// The tag property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkTagIdentity? Tag - { - get { return BackingStore?.Get("tag"); } - set { BackingStore?.Set("tag", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkTagIdentity Tag - { - get { return BackingStore?.Get("tag"); } - set { BackingStore?.Set("tag", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ChatMessageMentionedIdentitySet() : base() - { - OdataType = "#microsoft.graph.chatMessageMentionedIdentitySet"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.ChatMessageMentionedIdentitySet CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.ChatMessageMentionedIdentitySet(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "conversation", n => { Conversation = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkConversationIdentity.CreateFromDiscriminatorValue); } }, - { "tag", n => { Tag = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkTagIdentity.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteObjectValue("conversation", Conversation); - writer.WriteObjectValue("tag", Tag); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ChatMessageReactionIdentitySet.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ChatMessageReactionIdentitySet.cs deleted file mode 100644 index 380593e3..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ChatMessageReactionIdentitySet.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ChatMessageReactionIdentitySet : global::Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet, IParsable - #pragma warning restore CS1591 - { - /// - /// Instantiates a new and sets the default values. - /// - public ChatMessageReactionIdentitySet() : base() - { - OdataType = "#microsoft.graph.chatMessageReactionIdentitySet"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.ChatMessageReactionIdentitySet CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.ChatMessageReactionIdentitySet(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsApplicationIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsApplicationIdentity.cs deleted file mode 100644 index 457dad85..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsApplicationIdentity.cs +++ /dev/null @@ -1,79 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CommunicationsApplicationIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The applicationType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? ApplicationType - { - get { return BackingStore?.Get("applicationType"); } - set { BackingStore?.Set("applicationType", value); } - } -#nullable restore -#else - public string ApplicationType - { - get { return BackingStore?.Get("applicationType"); } - set { BackingStore?.Set("applicationType", value); } - } -#endif - /// The hidden property - public bool? Hidden - { - get { return BackingStore?.Get("hidden"); } - set { BackingStore?.Set("hidden", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public CommunicationsApplicationIdentity() : base() - { - OdataType = "#microsoft.graph.communicationsApplicationIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsApplicationIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsApplicationIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "applicationType", n => { ApplicationType = n.GetStringValue(); } }, - { "hidden", n => { Hidden = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("applicationType", ApplicationType); - writer.WriteBoolValue("hidden", Hidden); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsApplicationInstanceIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsApplicationInstanceIdentity.cs deleted file mode 100644 index f8af3011..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsApplicationInstanceIdentity.cs +++ /dev/null @@ -1,79 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CommunicationsApplicationInstanceIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The hidden property - public bool? Hidden - { - get { return BackingStore?.Get("hidden"); } - set { BackingStore?.Set("hidden", value); } - } - /// The tenantId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? TenantId - { - get { return BackingStore?.Get("tenantId"); } - set { BackingStore?.Set("tenantId", value); } - } -#nullable restore -#else - public string TenantId - { - get { return BackingStore?.Get("tenantId"); } - set { BackingStore?.Set("tenantId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CommunicationsApplicationInstanceIdentity() : base() - { - OdataType = "#microsoft.graph.communicationsApplicationInstanceIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsApplicationInstanceIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsApplicationInstanceIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "hidden", n => { Hidden = n.GetBoolValue(); } }, - { "tenantId", n => { TenantId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteBoolValue("hidden", Hidden); - writer.WriteStringValue("tenantId", TenantId); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsEncryptedIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsEncryptedIdentity.cs deleted file mode 100644 index be73cd90..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsEncryptedIdentity.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CommunicationsEncryptedIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// - /// Instantiates a new and sets the default values. - /// - public CommunicationsEncryptedIdentity() : base() - { - OdataType = "#microsoft.graph.communicationsEncryptedIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsEncryptedIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsEncryptedIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsGuestIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsGuestIdentity.cs deleted file mode 100644 index ebf6c908..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsGuestIdentity.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CommunicationsGuestIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The email property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Email - { - get { return BackingStore?.Get("email"); } - set { BackingStore?.Set("email", value); } - } -#nullable restore -#else - public string Email - { - get { return BackingStore?.Get("email"); } - set { BackingStore?.Set("email", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CommunicationsGuestIdentity() : base() - { - OdataType = "#microsoft.graph.communicationsGuestIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsGuestIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsGuestIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "email", n => { Email = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("email", Email); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsIdentitySet.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsIdentitySet.cs deleted file mode 100644 index 801cdcfe..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsIdentitySet.cs +++ /dev/null @@ -1,187 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CommunicationsIdentitySet : global::Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet, IParsable - #pragma warning restore CS1591 - { - /// The applicationInstance property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity? ApplicationInstance - { - get { return BackingStore?.Get("applicationInstance"); } - set { BackingStore?.Set("applicationInstance", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity ApplicationInstance - { - get { return BackingStore?.Get("applicationInstance"); } - set { BackingStore?.Set("applicationInstance", value); } - } -#endif - /// The assertedIdentity property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity? AssertedIdentity - { - get { return BackingStore?.Get("assertedIdentity"); } - set { BackingStore?.Set("assertedIdentity", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity AssertedIdentity - { - get { return BackingStore?.Get("assertedIdentity"); } - set { BackingStore?.Set("assertedIdentity", value); } - } -#endif - /// The azureCommunicationServicesUser property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity? AzureCommunicationServicesUser - { - get { return BackingStore?.Get("azureCommunicationServicesUser"); } - set { BackingStore?.Set("azureCommunicationServicesUser", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity AzureCommunicationServicesUser - { - get { return BackingStore?.Get("azureCommunicationServicesUser"); } - set { BackingStore?.Set("azureCommunicationServicesUser", value); } - } -#endif - /// The encrypted property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity? Encrypted - { - get { return BackingStore?.Get("encrypted"); } - set { BackingStore?.Set("encrypted", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity Encrypted - { - get { return BackingStore?.Get("encrypted"); } - set { BackingStore?.Set("encrypted", value); } - } -#endif - /// The endpointType property - public global::Microsoft.Agents.M365Copilot.Beta.Models.EndpointType? EndpointType - { - get { return BackingStore?.Get("endpointType"); } - set { BackingStore?.Set("endpointType", value); } - } - /// The guest property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity? Guest - { - get { return BackingStore?.Get("guest"); } - set { BackingStore?.Set("guest", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity Guest - { - get { return BackingStore?.Get("guest"); } - set { BackingStore?.Set("guest", value); } - } -#endif - /// The onPremises property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity? OnPremises - { - get { return BackingStore?.Get("onPremises"); } - set { BackingStore?.Set("onPremises", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity OnPremises - { - get { return BackingStore?.Get("onPremises"); } - set { BackingStore?.Set("onPremises", value); } - } -#endif - /// The phone property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity? Phone - { - get { return BackingStore?.Get("phone"); } - set { BackingStore?.Set("phone", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity Phone - { - get { return BackingStore?.Get("phone"); } - set { BackingStore?.Set("phone", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CommunicationsIdentitySet() : base() - { - OdataType = "#microsoft.graph.communicationsIdentitySet"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsIdentitySet CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsIdentitySet(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "applicationInstance", n => { ApplicationInstance = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, - { "assertedIdentity", n => { AssertedIdentity = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, - { "azureCommunicationServicesUser", n => { AzureCommunicationServicesUser = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, - { "encrypted", n => { Encrypted = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, - { "endpointType", n => { EndpointType = n.GetEnumValue(); } }, - { "guest", n => { Guest = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, - { "onPremises", n => { OnPremises = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, - { "phone", n => { Phone = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteObjectValue("applicationInstance", ApplicationInstance); - writer.WriteObjectValue("assertedIdentity", AssertedIdentity); - writer.WriteObjectValue("azureCommunicationServicesUser", AzureCommunicationServicesUser); - writer.WriteObjectValue("encrypted", Encrypted); - writer.WriteEnumValue("endpointType", EndpointType); - writer.WriteObjectValue("guest", Guest); - writer.WriteObjectValue("onPremises", OnPremises); - writer.WriteObjectValue("phone", Phone); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsPhoneIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsPhoneIdentity.cs deleted file mode 100644 index 7612b86c..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsPhoneIdentity.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CommunicationsPhoneIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// - /// Instantiates a new and sets the default values. - /// - public CommunicationsPhoneIdentity() : base() - { - OdataType = "#microsoft.graph.communicationsPhoneIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsPhoneIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsPhoneIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsUserIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsUserIdentity.cs deleted file mode 100644 index 24e45d2c..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CommunicationsUserIdentity.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CommunicationsUserIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The tenantId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? TenantId - { - get { return BackingStore?.Get("tenantId"); } - set { BackingStore?.Set("tenantId", value); } - } -#nullable restore -#else - public string TenantId - { - get { return BackingStore?.Get("tenantId"); } - set { BackingStore?.Set("tenantId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public CommunicationsUserIdentity() : base() - { - OdataType = "#microsoft.graph.communicationsUserIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsUserIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsUserIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "tenantId", n => { TenantId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("tenantId", TenantId); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CopilotAdmin.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CopilotAdmin.cs deleted file mode 100644 index aed2389a..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CopilotAdmin.cs +++ /dev/null @@ -1,64 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopilotAdmin : global::Microsoft.Agents.M365Copilot.Beta.Models.Entity, IParsable - #pragma warning restore CS1591 - { - /// The settings property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting? Settings - { - get { return BackingStore?.Get("settings"); } - set { BackingStore?.Set("settings", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting Settings - { - get { return BackingStore?.Get("settings"); } - set { BackingStore?.Set("settings", value); } - } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdmin CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdmin(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteObjectValue("settings", Settings); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CopilotAdminLimitedMode.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CopilotAdminLimitedMode.cs deleted file mode 100644 index ec3746a1..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CopilotAdminLimitedMode.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopilotAdminLimitedMode : global::Microsoft.Agents.M365Copilot.Beta.Models.Entity, IParsable - #pragma warning restore CS1591 - { - /// The groupId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#nullable restore -#else - public string GroupId - { - get { return BackingStore?.Get("groupId"); } - set { BackingStore?.Set("groupId", value); } - } -#endif - /// The isEnabledForGroup property - public bool? IsEnabledForGroup - { - get { return BackingStore?.Get("isEnabledForGroup"); } - set { BackingStore?.Set("isEnabledForGroup", value); } - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "groupId", n => { GroupId = n.GetStringValue(); } }, - { "isEnabledForGroup", n => { IsEnabledForGroup = n.GetBoolValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("groupId", GroupId); - writer.WriteBoolValue("isEnabledForGroup", IsEnabledForGroup); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CopilotAdminSetting.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CopilotAdminSetting.cs deleted file mode 100644 index dd355bca..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/CopilotAdminSetting.cs +++ /dev/null @@ -1,64 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CopilotAdminSetting : global::Microsoft.Agents.M365Copilot.Beta.Models.Entity, IParsable - #pragma warning restore CS1591 - { - /// The limitedMode property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode? LimitedMode - { - get { return BackingStore?.Get("limitedMode"); } - set { BackingStore?.Set("limitedMode", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode LimitedMode - { - get { return BackingStore?.Get("limitedMode"); } - set { BackingStore?.Set("limitedMode", value); } - } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "limitedMode", n => { LimitedMode = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteObjectValue("limitedMode", LimitedMode); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/DetailsInfo.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/DetailsInfo.cs deleted file mode 100644 index 0b498833..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/DetailsInfo.cs +++ /dev/null @@ -1,81 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DetailsInfo : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public DetailsInfo() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.DetailsInfo CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.DetailsInfo(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Dictionaries.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Dictionaries.cs deleted file mode 100644 index ba5b2fa3..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Dictionaries.cs +++ /dev/null @@ -1,86 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class Dictionaries : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public Dictionaries() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.Dictionaries CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); - return mappingValue switch - { - "#microsoft.graph.searchResourceMetadataDictionary" => new global::Microsoft.Agents.M365Copilot.Beta.Models.SearchResourceMetadataDictionary(), - _ => new global::Microsoft.Agents.M365Copilot.Beta.Models.Dictionaries(), - }; - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/EmailIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/EmailIdentity.cs deleted file mode 100644 index a184171b..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/EmailIdentity.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class EmailIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The email property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Email - { - get { return BackingStore?.Get("email"); } - set { BackingStore?.Set("email", value); } - } -#nullable restore -#else - public string Email - { - get { return BackingStore?.Get("email"); } - set { BackingStore?.Set("email", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public EmailIdentity() : base() - { - OdataType = "#microsoft.graph.emailIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.EmailIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.EmailIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "email", n => { Email = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("email", Email); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/EndpointType.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/EndpointType.cs deleted file mode 100644 index c77d073b..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/EndpointType.cs +++ /dev/null @@ -1,32 +0,0 @@ -// -using System.Runtime.Serialization; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public enum EndpointType - #pragma warning restore CS1591 - { - [EnumMember(Value = "default")] - #pragma warning disable CS1591 - Default, - #pragma warning restore CS1591 - [EnumMember(Value = "voicemail")] - #pragma warning disable CS1591 - Voicemail, - #pragma warning restore CS1591 - [EnumMember(Value = "skypeForBusiness")] - #pragma warning disable CS1591 - SkypeForBusiness, - #pragma warning restore CS1591 - [EnumMember(Value = "skypeForBusinessVoipPhone")] - #pragma warning disable CS1591 - SkypeForBusinessVoipPhone, - #pragma warning restore CS1591 - [EnumMember(Value = "unknownFutureValue")] - #pragma warning disable CS1591 - UnknownFutureValue, - #pragma warning restore CS1591 - } -} diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/EngagementIdentitySet.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/EngagementIdentitySet.cs deleted file mode 100644 index fff7a968..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/EngagementIdentitySet.cs +++ /dev/null @@ -1,90 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - /// - /// The Viva Engage identities. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class EngagementIdentitySet : global::Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet, IParsable - { - /// The audience identity. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity? Audience - { - get { return BackingStore?.Get("audience"); } - set { BackingStore?.Set("audience", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity Audience - { - get { return BackingStore?.Get("audience"); } - set { BackingStore?.Set("audience", value); } - } -#endif - /// The group identity. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity? Group - { - get { return BackingStore?.Get("group"); } - set { BackingStore?.Set("group", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity Group - { - get { return BackingStore?.Get("group"); } - set { BackingStore?.Set("group", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public EngagementIdentitySet() : base() - { - OdataType = "#microsoft.graph.engagementIdentitySet"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.EngagementIdentitySet CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.EngagementIdentitySet(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "audience", n => { Audience = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, - { "group", n => { Group = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteObjectValue("audience", Audience); - writer.WriteObjectValue("group", Group); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Entity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Entity.cs deleted file mode 100644 index 9178d2e3..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Entity.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class Entity : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public Entity() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.Entity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); - return mappingValue switch - { - "#microsoft.graph.aiInteraction" => new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction(), - "#microsoft.graph.aiInteractionHistory" => new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory(), - "#microsoft.graph.aiUser" => new global::Microsoft.Agents.M365Copilot.Beta.Models.AiUser(), - "#microsoft.graph.copilotAdmin" => new global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdmin(), - "#microsoft.graph.copilotAdminLimitedMode" => new global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode(), - "#microsoft.graph.copilotAdminSetting" => new global::Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting(), - _ => new global::Microsoft.Agents.M365Copilot.Beta.Models.Entity(), - }; - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "id", n => { Id = n.GetStringValue(); } }, - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/GroundingEntityType.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/GroundingEntityType.cs deleted file mode 100644 index f74203bc..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/GroundingEntityType.cs +++ /dev/null @@ -1,36 +0,0 @@ -// -using System.Runtime.Serialization; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public enum GroundingEntityType - #pragma warning restore CS1591 - { - [EnumMember(Value = "site")] - #pragma warning disable CS1591 - Site, - #pragma warning restore CS1591 - [EnumMember(Value = "list")] - #pragma warning disable CS1591 - List, - #pragma warning restore CS1591 - [EnumMember(Value = "listItem")] - #pragma warning disable CS1591 - ListItem, - #pragma warning restore CS1591 - [EnumMember(Value = "drive")] - #pragma warning disable CS1591 - Drive, - #pragma warning restore CS1591 - [EnumMember(Value = "driveItem")] - #pragma warning disable CS1591 - DriveItem, - #pragma warning restore CS1591 - [EnumMember(Value = "unknownFutureValue")] - #pragma warning disable CS1591 - UnknownFutureValue, - #pragma warning restore CS1591 - } -} diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Identity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Identity.cs deleted file mode 100644 index f8ffcb10..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Identity.cs +++ /dev/null @@ -1,149 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Agents.M365Copilot.Beta.Models.CallRecords; -using Microsoft.Agents.M365Copilot.Beta.Models.Security; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class Identity : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The displayName property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DisplayName - { - get { return BackingStore?.Get("displayName"); } - set { BackingStore?.Set("displayName", value); } - } -#nullable restore -#else - public string DisplayName - { - get { return BackingStore?.Get("displayName"); } - set { BackingStore?.Set("displayName", value); } - } -#endif - /// The id property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#nullable restore -#else - public string Id - { - get { return BackingStore?.Get("id"); } - set { BackingStore?.Set("id", value); } - } -#endif - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public Identity() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.Identity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); - return mappingValue switch - { - "#microsoft.graph.auditUserIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.AuditUserIdentity(), - "#microsoft.graph.azureCommunicationServicesUserIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.AzureCommunicationServicesUserIdentity(), - "#microsoft.graph.callRecords.userIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.CallRecords.UserIdentity(), - "#microsoft.graph.communicationsApplicationIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsApplicationIdentity(), - "#microsoft.graph.communicationsApplicationInstanceIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsApplicationInstanceIdentity(), - "#microsoft.graph.communicationsEncryptedIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsEncryptedIdentity(), - "#microsoft.graph.communicationsGuestIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsGuestIdentity(), - "#microsoft.graph.communicationsPhoneIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsPhoneIdentity(), - "#microsoft.graph.communicationsUserIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsUserIdentity(), - "#microsoft.graph.emailIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.EmailIdentity(), - "#microsoft.graph.initiator" => new global::Microsoft.Agents.M365Copilot.Beta.Models.Initiator(), - "#microsoft.graph.programResource" => new global::Microsoft.Agents.M365Copilot.Beta.Models.ProgramResource(), - "#microsoft.graph.provisionedIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.ProvisionedIdentity(), - "#microsoft.graph.provisioningServicePrincipal" => new global::Microsoft.Agents.M365Copilot.Beta.Models.ProvisioningServicePrincipal(), - "#microsoft.graph.provisioningSystem" => new global::Microsoft.Agents.M365Copilot.Beta.Models.ProvisioningSystem(), - "#microsoft.graph.security.submissionUserIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.Security.SubmissionUserIdentity(), - "#microsoft.graph.servicePrincipalIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.ServicePrincipalIdentity(), - "#microsoft.graph.sharePointIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentity(), - "#microsoft.graph.sourceProvisionedIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.SourceProvisionedIdentity(), - "#microsoft.graph.targetProvisionedIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.TargetProvisionedIdentity(), - "#microsoft.graph.teamworkApplicationIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkApplicationIdentity(), - "#microsoft.graph.teamworkConversationIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkConversationIdentity(), - "#microsoft.graph.teamworkTagIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkTagIdentity(), - "#microsoft.graph.teamworkUserIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkUserIdentity(), - "#microsoft.graph.userIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.UserIdentity(), - "#microsoft.graph.userInformation" => new global::Microsoft.Agents.M365Copilot.Beta.Models.UserInformation(), - _ => new global::Microsoft.Agents.M365Copilot.Beta.Models.Identity(), - }; - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "displayName", n => { DisplayName = n.GetStringValue(); } }, - { "id", n => { Id = n.GetStringValue(); } }, - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("displayName", DisplayName); - writer.WriteStringValue("id", Id); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/IdentitySet.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/IdentitySet.cs deleted file mode 100644 index 90f9e51a..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/IdentitySet.cs +++ /dev/null @@ -1,147 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class IdentitySet : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// The application property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity? Application - { - get { return BackingStore?.Get("application"); } - set { BackingStore?.Set("application", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity Application - { - get { return BackingStore?.Get("application"); } - set { BackingStore?.Set("application", value); } - } -#endif - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The device property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity? Device - { - get { return BackingStore?.Get("device"); } - set { BackingStore?.Set("device", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity Device - { - get { return BackingStore?.Get("device"); } - set { BackingStore?.Set("device", value); } - } -#endif - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// The user property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity? User - { - get { return BackingStore?.Get("user"); } - set { BackingStore?.Set("user", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity User - { - get { return BackingStore?.Get("user"); } - set { BackingStore?.Set("user", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public IdentitySet() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); - return mappingValue switch - { - "#microsoft.graph.aiInteractionMentionedIdentitySet" => new global::Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionMentionedIdentitySet(), - "#microsoft.graph.approvalIdentitySet" => new global::Microsoft.Agents.M365Copilot.Beta.Models.ApprovalIdentitySet(), - "#microsoft.graph.chatMessageFromIdentitySet" => new global::Microsoft.Agents.M365Copilot.Beta.Models.ChatMessageFromIdentitySet(), - "#microsoft.graph.chatMessageMentionedIdentitySet" => new global::Microsoft.Agents.M365Copilot.Beta.Models.ChatMessageMentionedIdentitySet(), - "#microsoft.graph.chatMessageReactionIdentitySet" => new global::Microsoft.Agents.M365Copilot.Beta.Models.ChatMessageReactionIdentitySet(), - "#microsoft.graph.communicationsIdentitySet" => new global::Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsIdentitySet(), - "#microsoft.graph.engagementIdentitySet" => new global::Microsoft.Agents.M365Copilot.Beta.Models.EngagementIdentitySet(), - "#microsoft.graph.sharePointIdentitySet" => new global::Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentitySet(), - _ => new global::Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet(), - }; - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "application", n => { Application = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, - { "device", n => { Device = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - { "user", n => { User = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("application", Application); - writer.WriteObjectValue("device", Device); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteObjectValue("user", User); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Initiator.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Initiator.cs deleted file mode 100644 index 72e214e3..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Initiator.cs +++ /dev/null @@ -1,61 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class Initiator : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The initiatorType property - public global::Microsoft.Agents.M365Copilot.Beta.Models.InitiatorType? InitiatorType - { - get { return BackingStore?.Get("initiatorType"); } - set { BackingStore?.Set("initiatorType", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public Initiator() : base() - { - OdataType = "#microsoft.graph.initiator"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.Initiator CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.Initiator(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "initiatorType", n => { InitiatorType = n.GetEnumValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteEnumValue("initiatorType", InitiatorType); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/InitiatorType.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/InitiatorType.cs deleted file mode 100644 index cb265d1c..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/InitiatorType.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -using System.Runtime.Serialization; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public enum InitiatorType - #pragma warning restore CS1591 - { - [EnumMember(Value = "user")] - #pragma warning disable CS1591 - User, - #pragma warning restore CS1591 - [EnumMember(Value = "application")] - #pragma warning disable CS1591 - Application, - #pragma warning restore CS1591 - [EnumMember(Value = "system")] - #pragma warning disable CS1591 - System, - #pragma warning restore CS1591 - [EnumMember(Value = "unknownFutureValue")] - #pragma warning disable CS1591 - UnknownFutureValue, - #pragma warning restore CS1591 - } -} diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ItemBody.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ItemBody.cs deleted file mode 100644 index 0b77a35c..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ItemBody.cs +++ /dev/null @@ -1,107 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ItemBody : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The content property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Content - { - get { return BackingStore?.Get("content"); } - set { BackingStore?.Set("content", value); } - } -#nullable restore -#else - public string Content - { - get { return BackingStore?.Get("content"); } - set { BackingStore?.Set("content", value); } - } -#endif - /// The contentType property - public global::Microsoft.Agents.M365Copilot.Beta.Models.BodyType? ContentType - { - get { return BackingStore?.Get("contentType"); } - set { BackingStore?.Set("contentType", value); } - } - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ItemBody() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.ItemBody CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.ItemBody(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "content", n => { Content = n.GetStringValue(); } }, - { "contentType", n => { ContentType = n.GetEnumValue(); } }, - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("content", Content); - writer.WriteEnumValue("contentType", ContentType); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/KeyValuePair.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/KeyValuePair.cs deleted file mode 100644 index 76801070..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/KeyValuePair.cs +++ /dev/null @@ -1,117 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class KeyValuePair : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The name property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Name - { - get { return BackingStore?.Get("name"); } - set { BackingStore?.Set("name", value); } - } -#nullable restore -#else - public string Name - { - get { return BackingStore?.Get("name"); } - set { BackingStore?.Set("name", value); } - } -#endif - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// The value property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Value - { - get { return BackingStore?.Get("value"); } - set { BackingStore?.Set("value", value); } - } -#nullable restore -#else - public string Value - { - get { return BackingStore?.Get("value"); } - set { BackingStore?.Set("value", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public KeyValuePair() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.KeyValuePair CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.KeyValuePair(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "name", n => { Name = n.GetStringValue(); } }, - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - { "value", n => { Value = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("name", Name); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteStringValue("value", Value); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/MessageUserRole.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/MessageUserRole.cs deleted file mode 100644 index 02561b92..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/MessageUserRole.cs +++ /dev/null @@ -1,36 +0,0 @@ -// -using System.Runtime.Serialization; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public enum MessageUserRole - #pragma warning restore CS1591 - { - [EnumMember(Value = "envelopeFrom")] - #pragma warning disable CS1591 - EnvelopeFrom, - #pragma warning restore CS1591 - [EnumMember(Value = "headerFrom")] - #pragma warning disable CS1591 - HeaderFrom, - #pragma warning restore CS1591 - [EnumMember(Value = "to")] - #pragma warning disable CS1591 - To, - #pragma warning restore CS1591 - [EnumMember(Value = "cc")] - #pragma warning disable CS1591 - Cc, - #pragma warning restore CS1591 - [EnumMember(Value = "bcc")] - #pragma warning disable CS1591 - Bcc, - #pragma warning restore CS1591 - [EnumMember(Value = "unknownFutureValue")] - #pragma warning disable CS1591 - UnknownFutureValue, - #pragma warning restore CS1591 - } -} diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ODataErrors/ErrorDetails.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ODataErrors/ErrorDetails.cs deleted file mode 100644 index d740c868..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ODataErrors/ErrorDetails.cs +++ /dev/null @@ -1,117 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ErrorDetails : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The code property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Code - { - get { return BackingStore?.Get("code"); } - set { BackingStore?.Set("code", value); } - } -#nullable restore -#else - public string Code - { - get { return BackingStore?.Get("code"); } - set { BackingStore?.Set("code", value); } - } -#endif - /// The message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Message - { - get { return BackingStore?.Get("message"); } - set { BackingStore?.Set("message", value); } - } -#nullable restore -#else - public string Message - { - get { return BackingStore?.Get("message"); } - set { BackingStore?.Set("message", value); } - } -#endif - /// The target property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Target - { - get { return BackingStore?.Get("target"); } - set { BackingStore?.Set("target", value); } - } -#nullable restore -#else - public string Target - { - get { return BackingStore?.Get("target"); } - set { BackingStore?.Set("target", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ErrorDetails() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ErrorDetails CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ErrorDetails(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "code", n => { Code = n.GetStringValue(); } }, - { "message", n => { Message = n.GetStringValue(); } }, - { "target", n => { Target = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("code", Code); - writer.WriteStringValue("message", Message); - writer.WriteStringValue("target", Target); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ODataErrors/InnerError.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ODataErrors/InnerError.cs deleted file mode 100644 index a8f08d4d..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ODataErrors/InnerError.cs +++ /dev/null @@ -1,64 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors -{ - /// - /// The structure of this object is service-specific - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InnerError : IAdditionalDataHolder, IBackedModel, IParsable - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// - /// Instantiates a new and sets the default values. - /// - public InnerError() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.InnerError CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.InnerError(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ODataErrors/MainError.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ODataErrors/MainError.cs deleted file mode 100644 index 249b6a60..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ODataErrors/MainError.cs +++ /dev/null @@ -1,153 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class MainError : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The code property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Code - { - get { return BackingStore?.Get("code"); } - set { BackingStore?.Set("code", value); } - } -#nullable restore -#else - public string Code - { - get { return BackingStore?.Get("code"); } - set { BackingStore?.Set("code", value); } - } -#endif - /// The details property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Details - { - get { return BackingStore?.Get?>("details"); } - set { BackingStore?.Set("details", value); } - } -#nullable restore -#else - public List Details - { - get { return BackingStore?.Get>("details"); } - set { BackingStore?.Set("details", value); } - } -#endif - /// The structure of this object is service-specific -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.InnerError? InnerError - { - get { return BackingStore?.Get("innerError"); } - set { BackingStore?.Set("innerError", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.InnerError InnerError - { - get { return BackingStore?.Get("innerError"); } - set { BackingStore?.Set("innerError", value); } - } -#endif - /// The message property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Message - { - get { return BackingStore?.Get("message"); } - set { BackingStore?.Set("message", value); } - } -#nullable restore -#else - public string Message - { - get { return BackingStore?.Get("message"); } - set { BackingStore?.Set("message", value); } - } -#endif - /// The target property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Target - { - get { return BackingStore?.Get("target"); } - set { BackingStore?.Set("target", value); } - } -#nullable restore -#else - public string Target - { - get { return BackingStore?.Get("target"); } - set { BackingStore?.Set("target", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public MainError() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "code", n => { Code = n.GetStringValue(); } }, - { "details", n => { Details = n.GetCollectionOfObjectValues(global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ErrorDetails.CreateFromDiscriminatorValue)?.AsList(); } }, - { "innerError", n => { InnerError = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.InnerError.CreateFromDiscriminatorValue); } }, - { "message", n => { Message = n.GetStringValue(); } }, - { "target", n => { Target = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("code", Code); - writer.WriteCollectionOfObjectValues("details", Details); - writer.WriteObjectValue("innerError", InnerError); - writer.WriteStringValue("message", Message); - writer.WriteStringValue("target", Target); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ODataErrors/ODataError.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ODataErrors/ODataError.cs deleted file mode 100644 index 539e6a34..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ODataErrors/ODataError.cs +++ /dev/null @@ -1,84 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ODataError : ApiException, IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The error property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError? Error - { - get { return BackingStore?.Get("error"); } - set { BackingStore?.Set("error", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError Error - { - get { return BackingStore?.Get("error"); } - set { BackingStore?.Set("error", value); } - } -#endif - /// The primary error message. - public override string Message { get => Error?.Message ?? string.Empty; } - /// - /// Instantiates a new and sets the default values. - /// - public ODataError() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "error", n => { Error = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("error", Error); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ProgramResource.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ProgramResource.cs deleted file mode 100644 index 49137a74..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ProgramResource.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ProgramResource : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The type property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Type - { - get { return BackingStore?.Get("type"); } - set { BackingStore?.Set("type", value); } - } -#nullable restore -#else - public string Type - { - get { return BackingStore?.Get("type"); } - set { BackingStore?.Set("type", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ProgramResource() : base() - { - OdataType = "#microsoft.graph.programResource"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.ProgramResource CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.ProgramResource(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "type", n => { Type = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("type", Type); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ProvisionedIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ProvisionedIdentity.cs deleted file mode 100644 index 5eed371a..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ProvisionedIdentity.cs +++ /dev/null @@ -1,89 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ProvisionedIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The details property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.DetailsInfo? Details - { - get { return BackingStore?.Get("details"); } - set { BackingStore?.Set("details", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.DetailsInfo Details - { - get { return BackingStore?.Get("details"); } - set { BackingStore?.Set("details", value); } - } -#endif - /// The identityType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? IdentityType - { - get { return BackingStore?.Get("identityType"); } - set { BackingStore?.Set("identityType", value); } - } -#nullable restore -#else - public string IdentityType - { - get { return BackingStore?.Get("identityType"); } - set { BackingStore?.Set("identityType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ProvisionedIdentity() : base() - { - OdataType = "#microsoft.graph.provisionedIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.ProvisionedIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.ProvisionedIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "details", n => { Details = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.DetailsInfo.CreateFromDiscriminatorValue); } }, - { "identityType", n => { IdentityType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteObjectValue("details", Details); - writer.WriteStringValue("identityType", IdentityType); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ProvisioningServicePrincipal.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ProvisioningServicePrincipal.cs deleted file mode 100644 index 42f57362..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ProvisioningServicePrincipal.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ProvisioningServicePrincipal : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// - /// Instantiates a new and sets the default values. - /// - public ProvisioningServicePrincipal() : base() - { - OdataType = "#microsoft.graph.provisioningServicePrincipal"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.ProvisioningServicePrincipal CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.ProvisioningServicePrincipal(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ProvisioningSystem.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ProvisioningSystem.cs deleted file mode 100644 index 97dad3b1..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ProvisioningSystem.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ProvisioningSystem : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The details property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.DetailsInfo? Details - { - get { return BackingStore?.Get("details"); } - set { BackingStore?.Set("details", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.DetailsInfo Details - { - get { return BackingStore?.Get("details"); } - set { BackingStore?.Set("details", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ProvisioningSystem() : base() - { - OdataType = "#microsoft.graph.provisioningSystem"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.ProvisioningSystem CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.ProvisioningSystem(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "details", n => { Details = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.DetailsInfo.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteObjectValue("details", Details); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/RetrievalExtract.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/RetrievalExtract.cs deleted file mode 100644 index b0166b06..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/RetrievalExtract.cs +++ /dev/null @@ -1,99 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RetrievalExtract : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// The text property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Text - { - get { return BackingStore?.Get("text"); } - set { BackingStore?.Set("text", value); } - } -#nullable restore -#else - public string Text - { - get { return BackingStore?.Get("text"); } - set { BackingStore?.Set("text", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public RetrievalExtract() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.RetrievalExtract CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.RetrievalExtract(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - { "text", n => { Text = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteStringValue("text", Text); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/RetrievalHit.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/RetrievalHit.cs deleted file mode 100644 index 9b3cafc6..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/RetrievalHit.cs +++ /dev/null @@ -1,161 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RetrievalHit : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The extracts property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Extracts - { - get { return BackingStore?.Get?>("extracts"); } - set { BackingStore?.Set("extracts", value); } - } -#nullable restore -#else - public List Extracts - { - get { return BackingStore?.Get>("extracts"); } - set { BackingStore?.Set("extracts", value); } - } -#endif - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// The resourceMetadata property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.SearchResourceMetadataDictionary? ResourceMetadata - { - get { return BackingStore?.Get("resourceMetadata"); } - set { BackingStore?.Set("resourceMetadata", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.SearchResourceMetadataDictionary ResourceMetadata - { - get { return BackingStore?.Get("resourceMetadata"); } - set { BackingStore?.Set("resourceMetadata", value); } - } -#endif - /// The resourceType property - public global::Microsoft.Agents.M365Copilot.Beta.Models.GroundingEntityType? ResourceType - { - get { return BackingStore?.Get("resourceType"); } - set { BackingStore?.Set("resourceType", value); } - } - /// The sensitivityLabel property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.SearchSensitivityLabelInfo? SensitivityLabel - { - get { return BackingStore?.Get("sensitivityLabel"); } - set { BackingStore?.Set("sensitivityLabel", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.SearchSensitivityLabelInfo SensitivityLabel - { - get { return BackingStore?.Get("sensitivityLabel"); } - set { BackingStore?.Set("sensitivityLabel", value); } - } -#endif - /// The webUrl property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? WebUrl - { - get { return BackingStore?.Get("webUrl"); } - set { BackingStore?.Set("webUrl", value); } - } -#nullable restore -#else - public string WebUrl - { - get { return BackingStore?.Get("webUrl"); } - set { BackingStore?.Set("webUrl", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public RetrievalHit() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.RetrievalHit CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.RetrievalHit(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "extracts", n => { Extracts = n.GetCollectionOfObjectValues(global::Microsoft.Agents.M365Copilot.Beta.Models.RetrievalExtract.CreateFromDiscriminatorValue)?.AsList(); } }, - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - { "resourceMetadata", n => { ResourceMetadata = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.SearchResourceMetadataDictionary.CreateFromDiscriminatorValue); } }, - { "resourceType", n => { ResourceType = n.GetEnumValue(); } }, - { "sensitivityLabel", n => { SensitivityLabel = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.SearchSensitivityLabelInfo.CreateFromDiscriminatorValue); } }, - { "webUrl", n => { WebUrl = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("extracts", Extracts); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteObjectValue("resourceMetadata", ResourceMetadata); - writer.WriteEnumValue("resourceType", ResourceType); - writer.WriteObjectValue("sensitivityLabel", SensitivityLabel); - writer.WriteStringValue("webUrl", WebUrl); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/RetrievalResponse.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/RetrievalResponse.cs deleted file mode 100644 index 08d0becd..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/RetrievalResponse.cs +++ /dev/null @@ -1,99 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class RetrievalResponse : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// The retrievalHits property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? RetrievalHits - { - get { return BackingStore?.Get?>("retrievalHits"); } - set { BackingStore?.Set("retrievalHits", value); } - } -#nullable restore -#else - public List RetrievalHits - { - get { return BackingStore?.Get>("retrievalHits"); } - set { BackingStore?.Set("retrievalHits", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public RetrievalResponse() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.RetrievalResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.RetrievalResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - { "retrievalHits", n => { RetrievalHits = n.GetCollectionOfObjectValues(global::Microsoft.Agents.M365Copilot.Beta.Models.RetrievalHit.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteCollectionOfObjectValues("retrievalHits", RetrievalHits); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SearchResourceMetadataDictionary.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SearchResourceMetadataDictionary.cs deleted file mode 100644 index b32268d5..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SearchResourceMetadataDictionary.cs +++ /dev/null @@ -1,46 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SearchResourceMetadataDictionary : global::Microsoft.Agents.M365Copilot.Beta.Models.Dictionaries, IParsable - #pragma warning restore CS1591 - { - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.SearchResourceMetadataDictionary CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.SearchResourceMetadataDictionary(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SearchSensitivityLabelInfo.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SearchSensitivityLabelInfo.cs deleted file mode 100644 index f61964aa..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SearchSensitivityLabelInfo.cs +++ /dev/null @@ -1,169 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions.Store; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SearchSensitivityLabelInfo : IAdditionalDataHolder, IBackedModel, IParsable - #pragma warning restore CS1591 - { - /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - public IDictionary AdditionalData - { - get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } - set { BackingStore.Set("AdditionalData", value); } - } - /// Stores model information. - public IBackingStore BackingStore { get; private set; } - /// The color property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Color - { - get { return BackingStore?.Get("color"); } - set { BackingStore?.Set("color", value); } - } -#nullable restore -#else - public string Color - { - get { return BackingStore?.Get("color"); } - set { BackingStore?.Set("color", value); } - } -#endif - /// The displayName property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? DisplayName - { - get { return BackingStore?.Get("displayName"); } - set { BackingStore?.Set("displayName", value); } - } -#nullable restore -#else - public string DisplayName - { - get { return BackingStore?.Get("displayName"); } - set { BackingStore?.Set("displayName", value); } - } -#endif - /// The isEncrypted property - public bool? IsEncrypted - { - get { return BackingStore?.Get("isEncrypted"); } - set { BackingStore?.Set("isEncrypted", value); } - } - /// The OdataType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#nullable restore -#else - public string OdataType - { - get { return BackingStore?.Get("@odata.type"); } - set { BackingStore?.Set("@odata.type", value); } - } -#endif - /// The priority property - public int? Priority - { - get { return BackingStore?.Get("priority"); } - set { BackingStore?.Set("priority", value); } - } - /// The sensitivityLabelId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SensitivityLabelId - { - get { return BackingStore?.Get("sensitivityLabelId"); } - set { BackingStore?.Set("sensitivityLabelId", value); } - } -#nullable restore -#else - public string SensitivityLabelId - { - get { return BackingStore?.Get("sensitivityLabelId"); } - set { BackingStore?.Set("sensitivityLabelId", value); } - } -#endif - /// The tooltip property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Tooltip - { - get { return BackingStore?.Get("tooltip"); } - set { BackingStore?.Set("tooltip", value); } - } -#nullable restore -#else - public string Tooltip - { - get { return BackingStore?.Get("tooltip"); } - set { BackingStore?.Set("tooltip", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SearchSensitivityLabelInfo() - { - BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); - AdditionalData = new Dictionary(); - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static global::Microsoft.Agents.M365Copilot.Beta.Models.SearchSensitivityLabelInfo CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.SearchSensitivityLabelInfo(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public virtual IDictionary> GetFieldDeserializers() - { - return new Dictionary> - { - { "color", n => { Color = n.GetStringValue(); } }, - { "displayName", n => { DisplayName = n.GetStringValue(); } }, - { "isEncrypted", n => { IsEncrypted = n.GetBoolValue(); } }, - { "@odata.type", n => { OdataType = n.GetStringValue(); } }, - { "priority", n => { Priority = n.GetIntValue(); } }, - { "sensitivityLabelId", n => { SensitivityLabelId = n.GetStringValue(); } }, - { "tooltip", n => { Tooltip = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public virtual void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("color", Color); - writer.WriteStringValue("displayName", DisplayName); - writer.WriteBoolValue("isEncrypted", IsEncrypted); - writer.WriteStringValue("@odata.type", OdataType); - writer.WriteIntValue("priority", Priority); - writer.WriteStringValue("sensitivityLabelId", SensitivityLabelId); - writer.WriteStringValue("tooltip", Tooltip); - writer.WriteAdditionalData(AdditionalData); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Security/SubmissionUserIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Security/SubmissionUserIdentity.cs deleted file mode 100644 index 259d0f6c..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/Security/SubmissionUserIdentity.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models.Security -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SubmissionUserIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The email property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? Email - { - get { return BackingStore?.Get("email"); } - set { BackingStore?.Set("email", value); } - } -#nullable restore -#else - public string Email - { - get { return BackingStore?.Get("email"); } - set { BackingStore?.Set("email", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SubmissionUserIdentity() : base() - { - OdataType = "#microsoft.graph.security.submissionUserIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.Security.SubmissionUserIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.Security.SubmissionUserIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "email", n => { Email = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("email", Email); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ServicePrincipalIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ServicePrincipalIdentity.cs deleted file mode 100644 index 7f27d298..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/ServicePrincipalIdentity.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class ServicePrincipalIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The appId property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? AppId - { - get { return BackingStore?.Get("appId"); } - set { BackingStore?.Set("appId", value); } - } -#nullable restore -#else - public string AppId - { - get { return BackingStore?.Get("appId"); } - set { BackingStore?.Set("appId", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public ServicePrincipalIdentity() : base() - { - OdataType = "#microsoft.graph.servicePrincipalIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.ServicePrincipalIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.ServicePrincipalIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "appId", n => { AppId = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("appId", AppId); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SharePointIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SharePointIdentity.cs deleted file mode 100644 index 86831f27..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SharePointIdentity.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SharePointIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The loginName property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? LoginName - { - get { return BackingStore?.Get("loginName"); } - set { BackingStore?.Set("loginName", value); } - } -#nullable restore -#else - public string LoginName - { - get { return BackingStore?.Get("loginName"); } - set { BackingStore?.Set("loginName", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SharePointIdentity() : base() - { - OdataType = "#microsoft.graph.sharePointIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "loginName", n => { LoginName = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("loginName", LoginName); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SharePointIdentitySet.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SharePointIdentitySet.cs deleted file mode 100644 index b106cdcb..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SharePointIdentitySet.cs +++ /dev/null @@ -1,107 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SharePointIdentitySet : global::Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet, IParsable - #pragma warning restore CS1591 - { - /// The group property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity? Group - { - get { return BackingStore?.Get("group"); } - set { BackingStore?.Set("group", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.Identity Group - { - get { return BackingStore?.Get("group"); } - set { BackingStore?.Set("group", value); } - } -#endif - /// The siteGroup property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentity? SiteGroup - { - get { return BackingStore?.Get("siteGroup"); } - set { BackingStore?.Set("siteGroup", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentity SiteGroup - { - get { return BackingStore?.Get("siteGroup"); } - set { BackingStore?.Set("siteGroup", value); } - } -#endif - /// The siteUser property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public global::Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentity? SiteUser - { - get { return BackingStore?.Get("siteUser"); } - set { BackingStore?.Set("siteUser", value); } - } -#nullable restore -#else - public global::Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentity SiteUser - { - get { return BackingStore?.Get("siteUser"); } - set { BackingStore?.Set("siteUser", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SharePointIdentitySet() : base() - { - OdataType = "#microsoft.graph.sharePointIdentitySet"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentitySet CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentitySet(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "group", n => { Group = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, - { "siteGroup", n => { SiteGroup = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentity.CreateFromDiscriminatorValue); } }, - { "siteUser", n => { SiteUser = n.GetObjectValue(global::Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentity.CreateFromDiscriminatorValue); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteObjectValue("group", Group); - writer.WriteObjectValue("siteGroup", SiteGroup); - writer.WriteObjectValue("siteUser", SiteUser); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SourceProvisionedIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SourceProvisionedIdentity.cs deleted file mode 100644 index 58cfb56c..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/SourceProvisionedIdentity.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class SourceProvisionedIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The identityType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? IdentityType - { - get { return BackingStore?.Get("identityType"); } - set { BackingStore?.Set("identityType", value); } - } -#nullable restore -#else - public string IdentityType - { - get { return BackingStore?.Get("identityType"); } - set { BackingStore?.Set("identityType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public SourceProvisionedIdentity() : base() - { - OdataType = "#microsoft.graph.sourceProvisionedIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.SourceProvisionedIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.SourceProvisionedIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "identityType", n => { IdentityType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("identityType", IdentityType); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TargetProvisionedIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TargetProvisionedIdentity.cs deleted file mode 100644 index 1631d770..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TargetProvisionedIdentity.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class TargetProvisionedIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The identityType property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? IdentityType - { - get { return BackingStore?.Get("identityType"); } - set { BackingStore?.Set("identityType", value); } - } -#nullable restore -#else - public string IdentityType - { - get { return BackingStore?.Get("identityType"); } - set { BackingStore?.Set("identityType", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public TargetProvisionedIdentity() : base() - { - OdataType = "#microsoft.graph.targetProvisionedIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.TargetProvisionedIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.TargetProvisionedIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "identityType", n => { IdentityType = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("identityType", IdentityType); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkApplicationIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkApplicationIdentity.cs deleted file mode 100644 index a8d5c4cd..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkApplicationIdentity.cs +++ /dev/null @@ -1,61 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class TeamworkApplicationIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The applicationIdentityType property - public global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkApplicationIdentityType? ApplicationIdentityType - { - get { return BackingStore?.Get("applicationIdentityType"); } - set { BackingStore?.Set("applicationIdentityType", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public TeamworkApplicationIdentity() : base() - { - OdataType = "#microsoft.graph.teamworkApplicationIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkApplicationIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkApplicationIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "applicationIdentityType", n => { ApplicationIdentityType = n.GetEnumValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteEnumValue("applicationIdentityType", ApplicationIdentityType); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkApplicationIdentityType.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkApplicationIdentityType.cs deleted file mode 100644 index a134d64b..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkApplicationIdentityType.cs +++ /dev/null @@ -1,36 +0,0 @@ -// -using System.Runtime.Serialization; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public enum TeamworkApplicationIdentityType - #pragma warning restore CS1591 - { - [EnumMember(Value = "aadApplication")] - #pragma warning disable CS1591 - AadApplication, - #pragma warning restore CS1591 - [EnumMember(Value = "bot")] - #pragma warning disable CS1591 - Bot, - #pragma warning restore CS1591 - [EnumMember(Value = "tenantBot")] - #pragma warning disable CS1591 - TenantBot, - #pragma warning restore CS1591 - [EnumMember(Value = "office365Connector")] - #pragma warning disable CS1591 - Office365Connector, - #pragma warning restore CS1591 - [EnumMember(Value = "outgoingWebhook")] - #pragma warning disable CS1591 - OutgoingWebhook, - #pragma warning restore CS1591 - [EnumMember(Value = "unknownFutureValue")] - #pragma warning disable CS1591 - UnknownFutureValue, - #pragma warning restore CS1591 - } -} diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkConversationIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkConversationIdentity.cs deleted file mode 100644 index 73f21568..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkConversationIdentity.cs +++ /dev/null @@ -1,61 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class TeamworkConversationIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The conversationIdentityType property - public global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkConversationIdentityType? ConversationIdentityType - { - get { return BackingStore?.Get("conversationIdentityType"); } - set { BackingStore?.Set("conversationIdentityType", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public TeamworkConversationIdentity() : base() - { - OdataType = "#microsoft.graph.teamworkConversationIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkConversationIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkConversationIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "conversationIdentityType", n => { ConversationIdentityType = n.GetEnumValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteEnumValue("conversationIdentityType", ConversationIdentityType); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkConversationIdentityType.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkConversationIdentityType.cs deleted file mode 100644 index a2ca4ba4..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkConversationIdentityType.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -using System.Runtime.Serialization; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public enum TeamworkConversationIdentityType - #pragma warning restore CS1591 - { - [EnumMember(Value = "team")] - #pragma warning disable CS1591 - Team, - #pragma warning restore CS1591 - [EnumMember(Value = "channel")] - #pragma warning disable CS1591 - Channel, - #pragma warning restore CS1591 - [EnumMember(Value = "chat")] - #pragma warning disable CS1591 - Chat, - #pragma warning restore CS1591 - [EnumMember(Value = "unknownFutureValue")] - #pragma warning disable CS1591 - UnknownFutureValue, - #pragma warning restore CS1591 - } -} diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkTagIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkTagIdentity.cs deleted file mode 100644 index 55af4ddf..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkTagIdentity.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class TeamworkTagIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// - /// Instantiates a new and sets the default values. - /// - public TeamworkTagIdentity() : base() - { - OdataType = "#microsoft.graph.teamworkTagIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkTagIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkTagIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkUserIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkUserIdentity.cs deleted file mode 100644 index 9cf6ed1c..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkUserIdentity.cs +++ /dev/null @@ -1,79 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class TeamworkUserIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The userIdentityType property - public global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkUserIdentityType? UserIdentityType - { - get { return BackingStore?.Get("userIdentityType"); } - set { BackingStore?.Set("userIdentityType", value); } - } - /// The userPrincipalName property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? UserPrincipalName - { - get { return BackingStore?.Get("userPrincipalName"); } - set { BackingStore?.Set("userPrincipalName", value); } - } -#nullable restore -#else - public string UserPrincipalName - { - get { return BackingStore?.Get("userPrincipalName"); } - set { BackingStore?.Set("userPrincipalName", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public TeamworkUserIdentity() : base() - { - OdataType = "#microsoft.graph.teamworkUserIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkUserIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.TeamworkUserIdentity(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "userIdentityType", n => { UserIdentityType = n.GetEnumValue(); } }, - { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteEnumValue("userIdentityType", UserIdentityType); - writer.WriteStringValue("userPrincipalName", UserPrincipalName); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkUserIdentityType.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkUserIdentityType.cs deleted file mode 100644 index eed34f88..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/TeamworkUserIdentityType.cs +++ /dev/null @@ -1,52 +0,0 @@ -// -using System.Runtime.Serialization; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public enum TeamworkUserIdentityType - #pragma warning restore CS1591 - { - [EnumMember(Value = "aadUser")] - #pragma warning disable CS1591 - AadUser, - #pragma warning restore CS1591 - [EnumMember(Value = "onPremiseAadUser")] - #pragma warning disable CS1591 - OnPremiseAadUser, - #pragma warning restore CS1591 - [EnumMember(Value = "anonymousGuest")] - #pragma warning disable CS1591 - AnonymousGuest, - #pragma warning restore CS1591 - [EnumMember(Value = "federatedUser")] - #pragma warning disable CS1591 - FederatedUser, - #pragma warning restore CS1591 - [EnumMember(Value = "personalMicrosoftAccountUser")] - #pragma warning disable CS1591 - PersonalMicrosoftAccountUser, - #pragma warning restore CS1591 - [EnumMember(Value = "skypeUser")] - #pragma warning disable CS1591 - SkypeUser, - #pragma warning restore CS1591 - [EnumMember(Value = "phoneUser")] - #pragma warning disable CS1591 - PhoneUser, - #pragma warning restore CS1591 - [EnumMember(Value = "unknownFutureValue")] - #pragma warning disable CS1591 - UnknownFutureValue, - #pragma warning restore CS1591 - [EnumMember(Value = "emailUser")] - #pragma warning disable CS1591 - EmailUser, - #pragma warning restore CS1591 - [EnumMember(Value = "azureCommunicationServicesUser")] - #pragma warning disable CS1591 - AzureCommunicationServicesUser, - #pragma warning restore CS1591 - } -} diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/UserIdentity.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/UserIdentity.cs deleted file mode 100644 index 27424959..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/UserIdentity.cs +++ /dev/null @@ -1,95 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UserIdentity : global::Microsoft.Agents.M365Copilot.Beta.Models.Identity, IParsable - #pragma warning restore CS1591 - { - /// The ipAddress property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? IpAddress - { - get { return BackingStore?.Get("ipAddress"); } - set { BackingStore?.Set("ipAddress", value); } - } -#nullable restore -#else - public string IpAddress - { - get { return BackingStore?.Get("ipAddress"); } - set { BackingStore?.Set("ipAddress", value); } - } -#endif - /// The userPrincipalName property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? UserPrincipalName - { - get { return BackingStore?.Get("userPrincipalName"); } - set { BackingStore?.Set("userPrincipalName", value); } - } -#nullable restore -#else - public string UserPrincipalName - { - get { return BackingStore?.Get("userPrincipalName"); } - set { BackingStore?.Set("userPrincipalName", value); } - } -#endif - /// - /// Instantiates a new and sets the default values. - /// - public UserIdentity() : base() - { - OdataType = "#microsoft.graph.userIdentity"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.UserIdentity CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); - return mappingValue switch - { - "#microsoft.graph.auditUserIdentity" => new global::Microsoft.Agents.M365Copilot.Beta.Models.AuditUserIdentity(), - "#microsoft.graph.userInformation" => new global::Microsoft.Agents.M365Copilot.Beta.Models.UserInformation(), - _ => new global::Microsoft.Agents.M365Copilot.Beta.Models.UserIdentity(), - }; - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "ipAddress", n => { IpAddress = n.GetStringValue(); } }, - { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteStringValue("ipAddress", IpAddress); - writer.WriteStringValue("userPrincipalName", UserPrincipalName); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/UserInformation.cs b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/UserInformation.cs deleted file mode 100644 index 5b3905b1..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/Models/UserInformation.cs +++ /dev/null @@ -1,87 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Agents.M365Copilot.Beta.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UserInformation : global::Microsoft.Agents.M365Copilot.Beta.Models.UserIdentity, IParsable - #pragma warning restore CS1591 - { - /// The accessScope property - public global::Microsoft.Agents.M365Copilot.Beta.Models.AccessScope? AccessScope - { - get { return BackingStore?.Get("accessScope"); } - set { BackingStore?.Set("accessScope", value); } - } - /// The customAttributes property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? CustomAttributes - { - get { return BackingStore?.Get?>("customAttributes"); } - set { BackingStore?.Set("customAttributes", value); } - } -#nullable restore -#else - public List CustomAttributes - { - get { return BackingStore?.Get>("customAttributes"); } - set { BackingStore?.Set("customAttributes", value); } - } -#endif - /// The role property - public global::Microsoft.Agents.M365Copilot.Beta.Models.MessageUserRole? Role - { - get { return BackingStore?.Get("role"); } - set { BackingStore?.Set("role", value); } - } - /// - /// Instantiates a new and sets the default values. - /// - public UserInformation() : base() - { - OdataType = "#microsoft.graph.userInformation"; - } - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Agents.M365Copilot.Beta.Models.UserInformation CreateFromDiscriminatorValue(IParseNode parseNode) - { - _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Agents.M365Copilot.Beta.Models.UserInformation(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "accessScope", n => { AccessScope = n.GetEnumValue(); } }, - { "customAttributes", n => { CustomAttributes = n.GetCollectionOfObjectValues(global::Microsoft.Agents.M365Copilot.Beta.Models.KeyValuePair.CreateFromDiscriminatorValue)?.AsList(); } }, - { "role", n => { Role = n.GetEnumValue(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - _ = writer ?? throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteEnumValue("accessScope", AccessScope); - writer.WriteCollectionOfObjectValues("customAttributes", CustomAttributes); - writer.WriteEnumValue("role", Role); - } - } -} -#pragma warning restore CS0618 diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/kiota-dom-export.txt b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/kiota-dom-export.txt deleted file mode 100644 index 5523dd71..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/kiota-dom-export.txt +++ /dev/null @@ -1,861 +0,0 @@ -Microsoft.Agents.M365Copilot.Beta.BaseM365CopilotClient-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.BaseM365CopilotClient::|public|constructor(requestAdapter:IRequestAdapter; backingStore?:IBackingStoreFactory):void -Microsoft.Agents.M365Copilot.Beta.BaseM365CopilotClient::|public|copilot:global.Microsoft.Agents.M365Copilot.Beta.Copilot.CopilotRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder.adminRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder.adminRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder.adminRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder.adminRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder.adminRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdmin -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder::|public|PatchAsync(body:global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdmin; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdmin -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder::|public|settings:global.Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.SettingsRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdmin; requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.adminRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.AdminRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder.limitedModeRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder.limitedModeRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder.limitedModeRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder.limitedModeRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder.limitedModeRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder::|public|PatchAsync(body:global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode; requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.limitedModeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.LimitedModeRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder.settingsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder.settingsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder.settingsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder.settingsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder.settingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder::|public|limitedMode:global.Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.LimitedMode.LimitedModeRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting; requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.settingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.Settings.SettingsRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.copilotRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.copilotRequestBuilder::|public|admin:global.Microsoft.Agents.M365Copilot.Beta.Copilot.Admin.AdminRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.copilotRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.copilotRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.copilotRequestBuilder::|public|interactionHistory:global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.InteractionHistoryRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.copilotRequestBuilder::|public|retrieval:global.Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.copilotRequestBuilder::|public|users:global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.UsersRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsGetResponse-->global.Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsGetResponse::|public|Value:List -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsGetResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder::|public|GetAsGetAllEnterpriseInteractionsGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsGetResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsResponse-->global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsGetResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder.interactionHistoryRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder.interactionHistoryRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder.interactionHistoryRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder.interactionHistoryRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder.interactionHistoryRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder::|public|getAllEnterpriseInteractions:global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder::|public|interactions:global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.InteractionsRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder::|public|PatchAsync(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory; requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.interactionHistoryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.InteractionHistoryRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder::[AiInteractionId:string]:global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder::|public|Count:global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Count.CountRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionCollectionResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction; requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.interactionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.InteractionsRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder.AiInteractionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder.AiInteractionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder.AiInteractionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder.AiInteractionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder.AiInteractionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction; requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalPostRequestBody::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalPostRequestBody::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalPostRequestBody::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalPostRequestBody::|public|FilterExpression:string -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalPostRequestBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalPostRequestBody::|public|MaximumNumberOfResults:int? -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalPostRequestBody::|public|QueryString:string -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalPostRequestBody::|public|ResourceMetadata:List -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalPostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalPostRequestBody -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalRequestBuilder.retrievalRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalRequestBuilder::|public|PostAsync(body:global.Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.RetrievalResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalPostRequestBody; requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.retrievalRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval.RetrievalRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder.AiUserItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder.AiUserItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder.AiUserItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder.AiUserItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder.AiUserItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiUser -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder::|public|interactionHistory:global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.InteractionHistoryRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiUser; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiUser -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiUser; requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsGetResponse-->global.Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsGetResponse::|public|Value:List -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsGetResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder.getAllEnterpriseInteractionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder::|public|GetAsGetAllEnterpriseInteractionsGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsGetResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsResponse-->global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsGetResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.getAllEnterpriseInteractionsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder.interactionHistoryRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder.interactionHistoryRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder.interactionHistoryRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder.interactionHistoryRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder.interactionHistoryRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder::|public|getAllEnterpriseInteractions:global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.GetAllEnterpriseInteractions.GetAllEnterpriseInteractionsRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder::|public|interactions:global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.InteractionsRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder::|public|PatchAsync(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory; requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.interactionHistoryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.InteractionHistoryRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder.interactionsRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder::[AiInteractionId:string]:global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder::|public|Count:global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Count.CountRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionCollectionResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction; requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.interactionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.InteractionsRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder.AiInteractionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder.AiInteractionItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder.AiInteractionItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder.AiInteractionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder.AiInteractionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction; requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.InteractionHistory.Interactions.Item.AiInteractionItemRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder-->BaseRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Orderby:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder.usersRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder.usersRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder.usersRequestBuilderPostRequestConfiguration-->RequestConfiguration -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder::[AiUserId:string]:global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Item.AiUserItemRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder::|public|Count:global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.Count.CountRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiUserCollectionResponse -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder::|public|PostAsync(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiUser; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Agents.M365Copilot.Beta.Models.AiUser -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Agents.M365Copilot.Beta.Models.AiUser; requestConfiguration?:Action>):RequestInformation -Microsoft.Agents.M365Copilot.Beta.Copilot.Users.usersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Agents.M365Copilot.Beta.Copilot.Users.UsersRequestBuilder -Microsoft.Agents.M365Copilot.Beta.Models.accessScope::0000-inOrganization -Microsoft.Agents.M365Copilot.Beta.Models.accessScope::0001-notInOrganization -Microsoft.Agents.M365Copilot.Beta.Models.accessScope::0002-none -Microsoft.Agents.M365Copilot.Beta.Models.accessScope::0003-unknownFutureValue -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction-->global.Microsoft.Agents.M365Copilot.Beta.Models.Entity -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|AppClass:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|Attachments:List -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|Body:global.Microsoft.Agents.M365Copilot.Beta.Models.ItemBody -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|Contexts:List -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|ConversationType:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|CreatedDateTime:DateTimeOffset? -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|Etag:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|From:global.Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|InteractionType:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionType? -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|Links:List -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|Locale:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|Mentions:List -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|RequestId:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|public|SessionId:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteraction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteraction -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment::|public|AttachmentId:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment::|public|Content:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment::|public|ContentType:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment::|public|ContentUrl:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment::|public|Name:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment::|public|TeamsAppId:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment::|public|ThumbnailUrl:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionAttachment -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionAttachment~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionCollectionResponse-->global.Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionCollectionResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionCollectionResponse::|public|Value:List -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionCollectionResponse -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionContext::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionContext::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionContext::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionContext::|public|ContextReference:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionContext::|public|ContextType:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionContext::|public|DisplayName:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionContext::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionContext::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionContext::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionContext::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionContext -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionContext~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionHistory-->global.Microsoft.Agents.M365Copilot.Beta.Models.Entity -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionHistory::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionHistory::|public|Interactions:List -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionHistory::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionHistory::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionHistory::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionLink::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionLink::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionLink::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionLink::|public|DisplayName:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionLink::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionLink::|public|LinkType:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionLink::|public|LinkUrl:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionLink::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionLink::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionLink::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionLink -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionLink~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMention::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMention::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMention::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMention::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMention::|public|Mentioned:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionMentionedIdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMention::|public|MentionId:int? -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMention::|public|MentionText:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMention::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMention::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMention::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionMention -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMentionedIdentitySet-->global.Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMentionedIdentitySet::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMentionedIdentitySet::|public|Conversation:global.Microsoft.Agents.M365Copilot.Beta.Models.TeamworkConversationIdentity -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMentionedIdentitySet::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMentionedIdentitySet::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMentionedIdentitySet::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMentionedIdentitySet::|public|Tag:global.Microsoft.Agents.M365Copilot.Beta.Models.TeamworkTagIdentity -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMentionedIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionMentionedIdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionMention~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionType::0000-userPrompt -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionType::0001-aiResponse -Microsoft.Agents.M365Copilot.Beta.Models.aiInteractionType::0002-unknownFutureValue -Microsoft.Agents.M365Copilot.Beta.Models.aiUser-->global.Microsoft.Agents.M365Copilot.Beta.Models.Entity -Microsoft.Agents.M365Copilot.Beta.Models.aiUser::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.aiUser::|public|InteractionHistory:global.Microsoft.Agents.M365Copilot.Beta.Models.AiInteractionHistory -Microsoft.Agents.M365Copilot.Beta.Models.aiUser::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.aiUser::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.aiUser::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.AiUser -Microsoft.Agents.M365Copilot.Beta.Models.aiUserCollectionResponse-->global.Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse -Microsoft.Agents.M365Copilot.Beta.Models.aiUserCollectionResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.aiUserCollectionResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.aiUserCollectionResponse::|public|Value:List -Microsoft.Agents.M365Copilot.Beta.Models.aiUserCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.AiUserCollectionResponse -Microsoft.Agents.M365Copilot.Beta.Models.approvalIdentitySet-->global.Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.approvalIdentitySet::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.approvalIdentitySet::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.approvalIdentitySet::|public|Group:global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.approvalIdentitySet::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.approvalIdentitySet::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.approvalIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.ApprovalIdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.auditUserIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.UserIdentity -Microsoft.Agents.M365Copilot.Beta.Models.auditUserIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.auditUserIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.auditUserIdentity::|public|HomeTenantId:string -Microsoft.Agents.M365Copilot.Beta.Models.auditUserIdentity::|public|HomeTenantName:string -Microsoft.Agents.M365Copilot.Beta.Models.auditUserIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.auditUserIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.auditUserIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.AuditUserIdentity -Microsoft.Agents.M365Copilot.Beta.Models.azureCommunicationServicesUserIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.azureCommunicationServicesUserIdentity::|public|AzureCommunicationServicesResourceId:string -Microsoft.Agents.M365Copilot.Beta.Models.azureCommunicationServicesUserIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.azureCommunicationServicesUserIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.azureCommunicationServicesUserIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.azureCommunicationServicesUserIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.azureCommunicationServicesUserIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.AzureCommunicationServicesUserIdentity -Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse::|public|OdataCount:long? -Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse::|public|OdataNextLink:string -Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse -Microsoft.Agents.M365Copilot.Beta.Models.BaseCollectionPaginationCountResponse~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.bodyType::0000-text -Microsoft.Agents.M365Copilot.Beta.Models.bodyType::0001-html -Microsoft.Agents.M365Copilot.Beta.Models.CallRecords.userIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.CallRecords.userIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.CallRecords.userIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.CallRecords.userIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.CallRecords.userIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.CallRecords.userIdentity::|public|UserPrincipalName:string -Microsoft.Agents.M365Copilot.Beta.Models.CallRecords.userIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.CallRecords.UserIdentity -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageFromIdentitySet-->global.Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageFromIdentitySet::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageFromIdentitySet::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageFromIdentitySet::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageFromIdentitySet::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageFromIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.ChatMessageFromIdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageMentionedIdentitySet-->global.Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageMentionedIdentitySet::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageMentionedIdentitySet::|public|Conversation:global.Microsoft.Agents.M365Copilot.Beta.Models.TeamworkConversationIdentity -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageMentionedIdentitySet::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageMentionedIdentitySet::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageMentionedIdentitySet::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageMentionedIdentitySet::|public|Tag:global.Microsoft.Agents.M365Copilot.Beta.Models.TeamworkTagIdentity -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageMentionedIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.ChatMessageMentionedIdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageReactionIdentitySet-->global.Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageReactionIdentitySet::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageReactionIdentitySet::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageReactionIdentitySet::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageReactionIdentitySet::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.chatMessageReactionIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.ChatMessageReactionIdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationIdentity::|public|ApplicationType:string -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationIdentity::|public|Hidden:bool? -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsApplicationIdentity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationInstanceIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationInstanceIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationInstanceIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationInstanceIdentity::|public|Hidden:bool? -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationInstanceIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationInstanceIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationInstanceIdentity::|public|TenantId:string -Microsoft.Agents.M365Copilot.Beta.Models.communicationsApplicationInstanceIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsApplicationInstanceIdentity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsEncryptedIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsEncryptedIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.communicationsEncryptedIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.communicationsEncryptedIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.communicationsEncryptedIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.communicationsEncryptedIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsEncryptedIdentity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsGuestIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsGuestIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.communicationsGuestIdentity::|public|Email:string -Microsoft.Agents.M365Copilot.Beta.Models.communicationsGuestIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.communicationsGuestIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.communicationsGuestIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.communicationsGuestIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsGuestIdentity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsIdentitySet-->global.Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.communicationsIdentitySet::|public|ApplicationInstance:global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsIdentitySet::|public|AssertedIdentity:global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsIdentitySet::|public|AzureCommunicationServicesUser:global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsIdentitySet::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.communicationsIdentitySet::|public|Encrypted:global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsIdentitySet::|public|EndpointType:global.Microsoft.Agents.M365Copilot.Beta.Models.EndpointType? -Microsoft.Agents.M365Copilot.Beta.Models.communicationsIdentitySet::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.communicationsIdentitySet::|public|Guest:global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsIdentitySet::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.communicationsIdentitySet::|public|OnPremises:global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsIdentitySet::|public|Phone:global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsIdentitySet::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.communicationsIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsIdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.communicationsPhoneIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsPhoneIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.communicationsPhoneIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.communicationsPhoneIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.communicationsPhoneIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.communicationsPhoneIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsPhoneIdentity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsUserIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.communicationsUserIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.communicationsUserIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.communicationsUserIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.communicationsUserIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.communicationsUserIdentity::|public|TenantId:string -Microsoft.Agents.M365Copilot.Beta.Models.communicationsUserIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.CommunicationsUserIdentity -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdmin-->global.Microsoft.Agents.M365Copilot.Beta.Models.Entity -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdmin::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdmin::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdmin::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdmin::|public|Settings:global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdmin::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdmin -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdminLimitedMode-->global.Microsoft.Agents.M365Copilot.Beta.Models.Entity -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdminLimitedMode::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdminLimitedMode::|public|GroupId:string -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdminLimitedMode::|public|IsEnabledForGroup:bool? -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdminLimitedMode::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdminLimitedMode::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdminLimitedMode::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdminSetting-->global.Microsoft.Agents.M365Copilot.Beta.Models.Entity -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdminSetting::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdminSetting::|public|LimitedMode:global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminLimitedMode -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdminSetting::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdminSetting::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.copilotAdminSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.CopilotAdminSetting -Microsoft.Agents.M365Copilot.Beta.Models.detailsInfo::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.detailsInfo::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.detailsInfo::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.detailsInfo::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.detailsInfo::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.detailsInfo::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.detailsInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.DetailsInfo -Microsoft.Agents.M365Copilot.Beta.Models.detailsInfo~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.dictionaries::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.dictionaries::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.dictionaries::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.dictionaries::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.dictionaries::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.dictionaries::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.dictionaries::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.Dictionaries -Microsoft.Agents.M365Copilot.Beta.Models.dictionaries~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.emailIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.emailIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.emailIdentity::|public|Email:string -Microsoft.Agents.M365Copilot.Beta.Models.emailIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.emailIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.emailIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.emailIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.EmailIdentity -Microsoft.Agents.M365Copilot.Beta.Models.endpointType::0000-default -Microsoft.Agents.M365Copilot.Beta.Models.endpointType::0001-voicemail -Microsoft.Agents.M365Copilot.Beta.Models.endpointType::0002-skypeForBusiness -Microsoft.Agents.M365Copilot.Beta.Models.endpointType::0003-skypeForBusinessVoipPhone -Microsoft.Agents.M365Copilot.Beta.Models.endpointType::0004-unknownFutureValue -Microsoft.Agents.M365Copilot.Beta.Models.engagementIdentitySet-->global.Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.engagementIdentitySet::|public|Audience:global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.engagementIdentitySet::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.engagementIdentitySet::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.engagementIdentitySet::|public|Group:global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.engagementIdentitySet::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.engagementIdentitySet::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.engagementIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.EngagementIdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.entity::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.entity::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.entity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.entity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.entity::|public|Id:string -Microsoft.Agents.M365Copilot.Beta.Models.entity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.entity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.entity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.Entity -Microsoft.Agents.M365Copilot.Beta.Models.entity~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.groundingEntityType::0000-site -Microsoft.Agents.M365Copilot.Beta.Models.groundingEntityType::0001-list -Microsoft.Agents.M365Copilot.Beta.Models.groundingEntityType::0002-listItem -Microsoft.Agents.M365Copilot.Beta.Models.groundingEntityType::0003-drive -Microsoft.Agents.M365Copilot.Beta.Models.groundingEntityType::0004-driveItem -Microsoft.Agents.M365Copilot.Beta.Models.groundingEntityType::0005-unknownFutureValue -Microsoft.Agents.M365Copilot.Beta.Models.identity::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.identity::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.identity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.identity::|public|DisplayName:string -Microsoft.Agents.M365Copilot.Beta.Models.identity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.identity::|public|Id:string -Microsoft.Agents.M365Copilot.Beta.Models.identity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.identity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.identity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.identitySet::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.identitySet::|public|Application:global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.identitySet::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.identitySet::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.identitySet::|public|Device:global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.identitySet::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.identitySet::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.identitySet::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.identitySet::|public|User:global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.identitySet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.identitySet~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.identity~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.initiator-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.initiator::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.initiator::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.initiator::|public|InitiatorType:global.Microsoft.Agents.M365Copilot.Beta.Models.InitiatorType? -Microsoft.Agents.M365Copilot.Beta.Models.initiator::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.initiator::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.initiator::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.Initiator -Microsoft.Agents.M365Copilot.Beta.Models.initiatorType::0000-user -Microsoft.Agents.M365Copilot.Beta.Models.initiatorType::0001-application -Microsoft.Agents.M365Copilot.Beta.Models.initiatorType::0002-system -Microsoft.Agents.M365Copilot.Beta.Models.initiatorType::0003-unknownFutureValue -Microsoft.Agents.M365Copilot.Beta.Models.itemBody::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.itemBody::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.itemBody::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.itemBody::|public|Content:string -Microsoft.Agents.M365Copilot.Beta.Models.itemBody::|public|ContentType:global.Microsoft.Agents.M365Copilot.Beta.Models.BodyType? -Microsoft.Agents.M365Copilot.Beta.Models.itemBody::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.itemBody::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.itemBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.itemBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.ItemBody -Microsoft.Agents.M365Copilot.Beta.Models.itemBody~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.keyValuePair::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.keyValuePair::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.keyValuePair::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.keyValuePair::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.keyValuePair::|public|Name:string -Microsoft.Agents.M365Copilot.Beta.Models.keyValuePair::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.keyValuePair::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.keyValuePair::|public|Value:string -Microsoft.Agents.M365Copilot.Beta.Models.keyValuePair::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.KeyValuePair -Microsoft.Agents.M365Copilot.Beta.Models.keyValuePair~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.messageUserRole::0000-envelopeFrom -Microsoft.Agents.M365Copilot.Beta.Models.messageUserRole::0001-headerFrom -Microsoft.Agents.M365Copilot.Beta.Models.messageUserRole::0002-to -Microsoft.Agents.M365Copilot.Beta.Models.messageUserRole::0003-cc -Microsoft.Agents.M365Copilot.Beta.Models.messageUserRole::0004-bcc -Microsoft.Agents.M365Copilot.Beta.Models.messageUserRole::0005-unknownFutureValue -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ErrorDetails::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ErrorDetails::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ErrorDetails::|public|Code:string -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ErrorDetails::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ErrorDetails::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ErrorDetails::|public|Message:string -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ErrorDetails::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ErrorDetails::|public|Target:string -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ErrorDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ErrorDetails -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ErrorDetails~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.InnerError::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.InnerError::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.InnerError::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.InnerError::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.InnerError::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.InnerError::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.InnerError -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.InnerError~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError::|public|Code:string -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError::|public|Details:List -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError::|public|InnerError:global.Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.InnerError -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError::|public|Message:string -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError::|public|Target:string -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError-->ApiException -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError::|public|Error:global.Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.MainError -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError::|public|Message:string -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.ODataErrors.ODataError -Microsoft.Agents.M365Copilot.Beta.Models.programResource-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.programResource::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.programResource::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.programResource::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.programResource::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.programResource::|public|Type:string -Microsoft.Agents.M365Copilot.Beta.Models.programResource::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.ProgramResource -Microsoft.Agents.M365Copilot.Beta.Models.provisionedIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.provisionedIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.provisionedIdentity::|public|Details:global.Microsoft.Agents.M365Copilot.Beta.Models.DetailsInfo -Microsoft.Agents.M365Copilot.Beta.Models.provisionedIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.provisionedIdentity::|public|IdentityType:string -Microsoft.Agents.M365Copilot.Beta.Models.provisionedIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.provisionedIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.provisionedIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.ProvisionedIdentity -Microsoft.Agents.M365Copilot.Beta.Models.provisioningServicePrincipal-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.provisioningServicePrincipal::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.provisioningServicePrincipal::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.provisioningServicePrincipal::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.provisioningServicePrincipal::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.provisioningServicePrincipal::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.ProvisioningServicePrincipal -Microsoft.Agents.M365Copilot.Beta.Models.provisioningSystem-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.provisioningSystem::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.provisioningSystem::|public|Details:global.Microsoft.Agents.M365Copilot.Beta.Models.DetailsInfo -Microsoft.Agents.M365Copilot.Beta.Models.provisioningSystem::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.provisioningSystem::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.provisioningSystem::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.provisioningSystem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.ProvisioningSystem -Microsoft.Agents.M365Copilot.Beta.Models.retrievalExtract::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.retrievalExtract::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.retrievalExtract::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.retrievalExtract::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.retrievalExtract::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.retrievalExtract::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.retrievalExtract::|public|Text:string -Microsoft.Agents.M365Copilot.Beta.Models.retrievalExtract::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.RetrievalExtract -Microsoft.Agents.M365Copilot.Beta.Models.retrievalExtract~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.retrievalHit::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.retrievalHit::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.retrievalHit::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.retrievalHit::|public|Extracts:List -Microsoft.Agents.M365Copilot.Beta.Models.retrievalHit::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.retrievalHit::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.retrievalHit::|public|ResourceMetadata:global.Microsoft.Agents.M365Copilot.Beta.Models.SearchResourceMetadataDictionary -Microsoft.Agents.M365Copilot.Beta.Models.retrievalHit::|public|ResourceType:global.Microsoft.Agents.M365Copilot.Beta.Models.GroundingEntityType? -Microsoft.Agents.M365Copilot.Beta.Models.retrievalHit::|public|SensitivityLabel:global.Microsoft.Agents.M365Copilot.Beta.Models.SearchSensitivityLabelInfo -Microsoft.Agents.M365Copilot.Beta.Models.retrievalHit::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.retrievalHit::|public|WebUrl:string -Microsoft.Agents.M365Copilot.Beta.Models.retrievalHit::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.RetrievalHit -Microsoft.Agents.M365Copilot.Beta.Models.retrievalHit~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.retrievalResponse::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.retrievalResponse::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.retrievalResponse::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.retrievalResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.retrievalResponse::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.retrievalResponse::|public|RetrievalHits:List -Microsoft.Agents.M365Copilot.Beta.Models.retrievalResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.retrievalResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.RetrievalResponse -Microsoft.Agents.M365Copilot.Beta.Models.retrievalResponse~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.searchResourceMetadataDictionary-->global.Microsoft.Agents.M365Copilot.Beta.Models.Dictionaries -Microsoft.Agents.M365Copilot.Beta.Models.searchResourceMetadataDictionary::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.searchResourceMetadataDictionary::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.searchResourceMetadataDictionary::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.searchResourceMetadataDictionary::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.SearchResourceMetadataDictionary -Microsoft.Agents.M365Copilot.Beta.Models.searchSensitivityLabelInfo::|public|AdditionalData:IDictionary -Microsoft.Agents.M365Copilot.Beta.Models.searchSensitivityLabelInfo::|public|BackingStore:IBackingStore -Microsoft.Agents.M365Copilot.Beta.Models.searchSensitivityLabelInfo::|public|Color:string -Microsoft.Agents.M365Copilot.Beta.Models.searchSensitivityLabelInfo::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.searchSensitivityLabelInfo::|public|DisplayName:string -Microsoft.Agents.M365Copilot.Beta.Models.searchSensitivityLabelInfo::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.searchSensitivityLabelInfo::|public|IsEncrypted:bool? -Microsoft.Agents.M365Copilot.Beta.Models.searchSensitivityLabelInfo::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.searchSensitivityLabelInfo::|public|Priority:int? -Microsoft.Agents.M365Copilot.Beta.Models.searchSensitivityLabelInfo::|public|SensitivityLabelId:string -Microsoft.Agents.M365Copilot.Beta.Models.searchSensitivityLabelInfo::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.searchSensitivityLabelInfo::|public|Tooltip:string -Microsoft.Agents.M365Copilot.Beta.Models.searchSensitivityLabelInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.SearchSensitivityLabelInfo -Microsoft.Agents.M365Copilot.Beta.Models.searchSensitivityLabelInfo~~>IAdditionalDataHolder; IBackedModel; IParsable -Microsoft.Agents.M365Copilot.Beta.Models.Security.submissionUserIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.Security.submissionUserIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.Security.submissionUserIdentity::|public|Email:string -Microsoft.Agents.M365Copilot.Beta.Models.Security.submissionUserIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.Security.submissionUserIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.Security.submissionUserIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.Security.submissionUserIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.Security.SubmissionUserIdentity -Microsoft.Agents.M365Copilot.Beta.Models.servicePrincipalIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.servicePrincipalIdentity::|public|AppId:string -Microsoft.Agents.M365Copilot.Beta.Models.servicePrincipalIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.servicePrincipalIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.servicePrincipalIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.servicePrincipalIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.servicePrincipalIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.ServicePrincipalIdentity -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentity::|public|LoginName:string -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentity -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentitySet-->global.Microsoft.Agents.M365Copilot.Beta.Models.IdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentitySet::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentitySet::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentitySet::|public|Group:global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentitySet::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentitySet::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentitySet::|public|SiteGroup:global.Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentity -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentitySet::|public|SiteUser:global.Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentity -Microsoft.Agents.M365Copilot.Beta.Models.sharePointIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.SharePointIdentitySet -Microsoft.Agents.M365Copilot.Beta.Models.sourceProvisionedIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.sourceProvisionedIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.sourceProvisionedIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.sourceProvisionedIdentity::|public|IdentityType:string -Microsoft.Agents.M365Copilot.Beta.Models.sourceProvisionedIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.sourceProvisionedIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.sourceProvisionedIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.SourceProvisionedIdentity -Microsoft.Agents.M365Copilot.Beta.Models.targetProvisionedIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.targetProvisionedIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.targetProvisionedIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.targetProvisionedIdentity::|public|IdentityType:string -Microsoft.Agents.M365Copilot.Beta.Models.targetProvisionedIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.targetProvisionedIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.targetProvisionedIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.TargetProvisionedIdentity -Microsoft.Agents.M365Copilot.Beta.Models.teamworkApplicationIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.teamworkApplicationIdentity::|public|ApplicationIdentityType:global.Microsoft.Agents.M365Copilot.Beta.Models.TeamworkApplicationIdentityType? -Microsoft.Agents.M365Copilot.Beta.Models.teamworkApplicationIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.teamworkApplicationIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.teamworkApplicationIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.teamworkApplicationIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.teamworkApplicationIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.TeamworkApplicationIdentity -Microsoft.Agents.M365Copilot.Beta.Models.teamworkApplicationIdentityType::0000-aadApplication -Microsoft.Agents.M365Copilot.Beta.Models.teamworkApplicationIdentityType::0001-bot -Microsoft.Agents.M365Copilot.Beta.Models.teamworkApplicationIdentityType::0002-tenantBot -Microsoft.Agents.M365Copilot.Beta.Models.teamworkApplicationIdentityType::0003-office365Connector -Microsoft.Agents.M365Copilot.Beta.Models.teamworkApplicationIdentityType::0004-outgoingWebhook -Microsoft.Agents.M365Copilot.Beta.Models.teamworkApplicationIdentityType::0005-unknownFutureValue -Microsoft.Agents.M365Copilot.Beta.Models.teamworkConversationIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.teamworkConversationIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.teamworkConversationIdentity::|public|ConversationIdentityType:global.Microsoft.Agents.M365Copilot.Beta.Models.TeamworkConversationIdentityType? -Microsoft.Agents.M365Copilot.Beta.Models.teamworkConversationIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.teamworkConversationIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.teamworkConversationIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.teamworkConversationIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.TeamworkConversationIdentity -Microsoft.Agents.M365Copilot.Beta.Models.teamworkConversationIdentityType::0000-team -Microsoft.Agents.M365Copilot.Beta.Models.teamworkConversationIdentityType::0001-channel -Microsoft.Agents.M365Copilot.Beta.Models.teamworkConversationIdentityType::0002-chat -Microsoft.Agents.M365Copilot.Beta.Models.teamworkConversationIdentityType::0003-unknownFutureValue -Microsoft.Agents.M365Copilot.Beta.Models.teamworkTagIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.teamworkTagIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.teamworkTagIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.teamworkTagIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.teamworkTagIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.teamworkTagIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.TeamworkTagIdentity -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentity::|public|UserIdentityType:global.Microsoft.Agents.M365Copilot.Beta.Models.TeamworkUserIdentityType? -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentity::|public|UserPrincipalName:string -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.TeamworkUserIdentity -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentityType::0000-aadUser -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentityType::0001-onPremiseAadUser -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentityType::0002-anonymousGuest -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentityType::0003-federatedUser -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentityType::0004-personalMicrosoftAccountUser -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentityType::0005-skypeUser -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentityType::0006-phoneUser -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentityType::0007-unknownFutureValue -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentityType::0008-emailUser -Microsoft.Agents.M365Copilot.Beta.Models.teamworkUserIdentityType::0009-azureCommunicationServicesUser -Microsoft.Agents.M365Copilot.Beta.Models.userIdentity-->global.Microsoft.Agents.M365Copilot.Beta.Models.Identity -Microsoft.Agents.M365Copilot.Beta.Models.userIdentity::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.userIdentity::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.userIdentity::|public|IpAddress:string -Microsoft.Agents.M365Copilot.Beta.Models.userIdentity::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.userIdentity::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.userIdentity::|public|UserPrincipalName:string -Microsoft.Agents.M365Copilot.Beta.Models.userIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.UserIdentity -Microsoft.Agents.M365Copilot.Beta.Models.userInformation-->global.Microsoft.Agents.M365Copilot.Beta.Models.UserIdentity -Microsoft.Agents.M365Copilot.Beta.Models.userInformation::|public|AccessScope:global.Microsoft.Agents.M365Copilot.Beta.Models.AccessScope? -Microsoft.Agents.M365Copilot.Beta.Models.userInformation::|public|constructor():void -Microsoft.Agents.M365Copilot.Beta.Models.userInformation::|public|CustomAttributes:List -Microsoft.Agents.M365Copilot.Beta.Models.userInformation::|public|GetFieldDeserializers():IDictionary> -Microsoft.Agents.M365Copilot.Beta.Models.userInformation::|public|OdataType:string -Microsoft.Agents.M365Copilot.Beta.Models.userInformation::|public|Role:global.Microsoft.Agents.M365Copilot.Beta.Models.MessageUserRole? -Microsoft.Agents.M365Copilot.Beta.Models.userInformation::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Agents.M365Copilot.Beta.Models.userInformation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Agents.M365Copilot.Beta.Models.UserInformation diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/kiota-lock.json b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/kiota-lock.json deleted file mode 100644 index 2b82a6fc..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Generated/kiota-lock.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "descriptionHash": "914C3638600F5941582BEE406F754868ADD605D1DE0837A094E04407EB5CEEE33F6F68311FBEB98DA3BAD96E69BD97B5EE7CB1EBFE59CE2C8D44B8991EC86CB1", - "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", - "lockFileVersion": "1.0.0", - "kiotaVersion": "1.25.0", - "clientClassName": "BaseM365CopilotClient", - "typeAccessModifier": "Public", - "clientNamespaceName": "Microsoft.Agents.M365Copilot.Beta", - "language": "CSharp", - "usesBackingStore": true, - "excludeBackwardCompatible": false, - "includeAdditionalData": true, - "disableSSLValidation": false, - "serializers": [ - "Microsoft.Kiota.Serialization.Json.JsonSerializationWriterFactory", - "Microsoft.Kiota.Serialization.Text.TextSerializationWriterFactory", - "Microsoft.Kiota.Serialization.Form.FormSerializationWriterFactory", - "Microsoft.Kiota.Serialization.Multipart.MultipartSerializationWriterFactory" - ], - "deserializers": [ - "Microsoft.Kiota.Serialization.Json.JsonParseNodeFactory", - "Microsoft.Kiota.Serialization.Text.TextParseNodeFactory", - "Microsoft.Kiota.Serialization.Form.FormParseNodeFactory" - ], - "structuredMimeTypes": [ - "application/json", - "text/plain;q=0.9", - "application/x-www-form-urlencoded;q=0.2", - "multipart/form-data;q=0.1" - ], - "includePatterns": [ - "**/copilot/**" - ], - "excludePatterns": [], - "disabledValidationRules": [] -} \ No newline at end of file diff --git a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Microsoft.Agents.M365Copilot.Beta.csproj b/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Microsoft.Agents.M365Copilot.Beta.csproj deleted file mode 100644 index ddd0e295..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/src/Microsoft.Agents.M365Copilot.Beta/Microsoft.Agents.M365Copilot.Beta.csproj +++ /dev/null @@ -1,20 +0,0 @@ - - - - netstandard2.0 - README.md - LICENSE - © Microsoft Corporation. All rights reserved. - latest - false - false - - - - - - - - - - \ No newline at end of file diff --git a/samples/dotnet/RetrievalBot/dotnet/tests/Microsoft.Agents.M365Copilot.Beta.Tests/Microsoft.Agents.M365Copilot.Beta.Tests.csproj b/samples/dotnet/RetrievalBot/dotnet/tests/Microsoft.Agents.M365Copilot.Beta.Tests/Microsoft.Agents.M365Copilot.Beta.Tests.csproj deleted file mode 100644 index a3ea371e..00000000 --- a/samples/dotnet/RetrievalBot/dotnet/tests/Microsoft.Agents.M365Copilot.Beta.Tests/Microsoft.Agents.M365Copilot.Beta.Tests.csproj +++ /dev/null @@ -1,24 +0,0 @@ - - - - net8.0 - disable - enable - false - true - false - false - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/dotnet/Samples.sln b/samples/dotnet/Samples.sln index 3a0517f8..7027f216 100644 --- a/samples/dotnet/Samples.sln +++ b/samples/dotnet/Samples.sln @@ -10,7 +10,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CopilotStudioEchoSkill", "c EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QuickStart", "quickstart\QuickStart.csproj", "{6F14E243-7ED3-43D8-A433-5BA4D52077CF}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RetrievalBot", "RetrievalBot\RetrievalBot.csproj", "{9419EAC0-31D3-47DC-A008-9EDF584076D6}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RetrievalAgent", "retrieval-agent\RetrievalAgent.csproj", "{9419EAC0-31D3-47DC-A008-9EDF584076D6}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8EC462FD-D22E-90A8-E5CE-7E832BA40C5D}" ProjectSection(SolutionItems) = preProject diff --git a/samples/dotnet/RetrievalBot/Agents/RetrievalAgent.cs b/samples/dotnet/retrieval-agent/Agents/RetrievalCompletionAgent.cs similarity index 91% rename from samples/dotnet/RetrievalBot/Agents/RetrievalAgent.cs rename to samples/dotnet/retrieval-agent/Agents/RetrievalCompletionAgent.cs index 28d23c64..d1e09ff0 100644 --- a/samples/dotnet/RetrievalBot/Agents/RetrievalAgent.cs +++ b/samples/dotnet/retrieval-agent/Agents/RetrievalCompletionAgent.cs @@ -4,18 +4,17 @@ using Microsoft.SemanticKernel.Connectors.OpenAI; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; -using RetrievalBot.Plugins; +using RetrievalAgent.Plugins; using System.Threading.Tasks; using Microsoft.SemanticKernel.ChatCompletion; using System.Text; using System.Text.Json; using System; -using Microsoft.Agents.Builder; using Microsoft.Agents.Builder.App; -namespace RetrievalBot.Agents +namespace RetrievalAgent.Agents { - public class RetrievalAgent + public class RetrievalCompletionAgent { private readonly Kernel _kernel; private readonly ChatCompletionAgent _agent; @@ -44,10 +43,10 @@ You have access to all user information. """; /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// An instance of for interacting with an LLM. - public RetrievalAgent(Kernel kernel , AgentApplication app) + public RetrievalCompletionAgent(Kernel kernel , AgentApplication app) { this._kernel = kernel; @@ -75,8 +74,8 @@ public RetrievalAgent(Kernel kernel , AgentApplication app) /// Invokes the agent with the given input and returns the response. /// /// A message to process. - /// An instance of - public async Task InvokeAgentAsync(string input, ChatHistory chatHistory) + /// An instance of + public async Task InvokeAgentAsync(string input, ChatHistory chatHistory) { ArgumentNullException.ThrowIfNull(chatHistory); @@ -94,7 +93,7 @@ public RetrievalAgent(Kernel kernel , AgentApplication app) try { var resultContent = sb.ToString(); - var result = JsonSerializer.Deserialize(resultContent); + var result = JsonSerializer.Deserialize(resultContent); this.retryCount = 0; return result; } diff --git a/samples/dotnet/RetrievalBot/Agents/RetrievalAgentResponse.cs b/samples/dotnet/retrieval-agent/Agents/RetrievalCompletionAgentResponse.cs similarity index 67% rename from samples/dotnet/RetrievalBot/Agents/RetrievalAgentResponse.cs rename to samples/dotnet/retrieval-agent/Agents/RetrievalCompletionAgentResponse.cs index 41a08c05..b8829fd2 100644 --- a/samples/dotnet/RetrievalBot/Agents/RetrievalAgentResponse.cs +++ b/samples/dotnet/retrieval-agent/Agents/RetrievalCompletionAgentResponse.cs @@ -4,9 +4,9 @@ using System.ComponentModel; using System.Text.Json.Serialization; -namespace RetrievalBot.Agents +namespace RetrievalAgent.Agents { - public enum RetrievalAgentResponseContentType + public enum RetrievalCompletionAgentResponseContentType { [JsonPropertyName("text")] Text, @@ -16,14 +16,14 @@ public enum RetrievalAgentResponseContentType } - public class RetrievalAgentResponse + public class RetrievalCompletionAgentResponse { [JsonPropertyName("contentType")] [JsonConverter(typeof(JsonStringEnumConverter))] - public RetrievalAgentResponseContentType ContentType { get; set; } + public RetrievalCompletionAgentResponseContentType ContentType { get; set; } [JsonPropertyName("content")] [Description("The content of the response, may be plain text, or JSON based adaptive card but must be a string.")] - public string Content { get; set; } + public required string Content { get; set; } } } diff --git a/samples/dotnet/RetrievalBot/AppManifest/color.png b/samples/dotnet/retrieval-agent/AppManifest/color.png similarity index 100% rename from samples/dotnet/RetrievalBot/AppManifest/color.png rename to samples/dotnet/retrieval-agent/AppManifest/color.png diff --git a/samples/dotnet/RetrievalBot/AppManifest/manifest.json b/samples/dotnet/retrieval-agent/AppManifest/manifest.json similarity index 100% rename from samples/dotnet/RetrievalBot/AppManifest/manifest.json rename to samples/dotnet/retrieval-agent/AppManifest/manifest.json diff --git a/samples/dotnet/RetrievalBot/AppManifest/outline.png b/samples/dotnet/retrieval-agent/AppManifest/outline.png similarity index 100% rename from samples/dotnet/RetrievalBot/AppManifest/outline.png rename to samples/dotnet/retrieval-agent/AppManifest/outline.png diff --git a/samples/dotnet/RetrievalBot/AspNetExtensions.cs b/samples/dotnet/retrieval-agent/AspNetExtensions.cs similarity index 100% rename from samples/dotnet/RetrievalBot/AspNetExtensions.cs rename to samples/dotnet/retrieval-agent/AspNetExtensions.cs diff --git a/samples/dotnet/RetrievalBot/Plugins/AdaptiveCardPlugin.cs b/samples/dotnet/retrieval-agent/Plugins/AdaptiveCardPlugin.cs similarity index 90% rename from samples/dotnet/RetrievalBot/Plugins/AdaptiveCardPlugin.cs rename to samples/dotnet/retrieval-agent/Plugins/AdaptiveCardPlugin.cs index 63660fe7..3b3f27b1 100644 --- a/samples/dotnet/RetrievalBot/Plugins/AdaptiveCardPlugin.cs +++ b/samples/dotnet/retrieval-agent/Plugins/AdaptiveCardPlugin.cs @@ -5,7 +5,7 @@ using Microsoft.SemanticKernel.ChatCompletion; using System.Threading.Tasks; -namespace RetrievalBot.Plugins +namespace RetrievalAgent.Plugins { public class AdaptiveCardPlugin { @@ -16,7 +16,7 @@ JSON string in the response. """; [KernelFunction] - public async Task GetAdaptiveCardForData(Kernel kernel, string data) + public async Task GetAdaptiveCardForDataAsync(Kernel kernel, string data) { // Create a chat history with the instructions as a system message and the data as a user message ChatHistory chat = new(Instructions); diff --git a/samples/dotnet/RetrievalBot/Plugins/BuildRetrievalPlugin.cs b/samples/dotnet/retrieval-agent/Plugins/BuildRetrievalPlugin.cs similarity index 74% rename from samples/dotnet/RetrievalBot/Plugins/BuildRetrievalPlugin.cs rename to samples/dotnet/retrieval-agent/Plugins/BuildRetrievalPlugin.cs index ad421e95..a0402ee1 100644 --- a/samples/dotnet/RetrievalBot/Plugins/BuildRetrievalPlugin.cs +++ b/samples/dotnet/retrieval-agent/Plugins/BuildRetrievalPlugin.cs @@ -1,36 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core; +using Microsoft.Agents.Builder.App; +using Microsoft.Agents.M365Copilot; +using Microsoft.Agents.M365Copilot.Copilot.Retrieval; +using Microsoft.Kiota.Abstractions.Authentication; +using Microsoft.Kiota.Http.HttpClientLibrary; using Microsoft.SemanticKernel; -using Newtonsoft.Json.Linq; using System; -using System.Net; -using Microsoft.Graph; -using Azure.Identity; using System.ComponentModel; -using System.Net.Http; -using System.Net.Http.Headers; using System.Threading.Tasks; -using Microsoft.Agents.Builder; -using Microsoft.Agents.Core.Models; -using Microsoft.Agents.Builder.App; -using Microsoft.SemanticKernel.Agents; -using System.Collections.Generic; -using System.Text; -using Newtonsoft.Json; -using Microsoft.Agents.M365Copilot.Beta; -using Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; -using System.Text.Json.Nodes; -using Microsoft.Agents.M365Copilot.Beta; -using Microsoft.Agents.M365Copilot.Beta.Copilot.Retrieval; -using Microsoft.Agents.M365Copilot.Beta.Models; -using Microsoft.Extensions.Configuration; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; -namespace RetrievalBot.Plugins +namespace RetrievalAgent.Plugins { public class BuildRetrievalPlugin(AgentApplication app) { @@ -53,10 +33,11 @@ public async Task BuildRetrievalAsync(string userquery) var authProvider = new BaseBearerTokenAuthenticationProvider(tokenProvider); var requestAdapter = new HttpClientRequestAdapter(authProvider); requestAdapter.BaseUrl = "https://graph.microsoft.com/beta"; - var apiClient = new BaseM365CopilotClient(requestAdapter); + var apiClient = new AgentsM365CopilotServiceClient(requestAdapter); try { +#pragma warning disable CS0618 // Type or member is obsolete var response = await apiClient.Copilot.Retrieval.PostAsync(new RetrievalPostRequestBody() { QueryString = userquery, @@ -64,6 +45,7 @@ public async Task BuildRetrievalAsync(string userquery) ResourceMetadata = [string.Empty], MaximumNumberOfResults = 1 }); +#pragma warning restore CS0618 // Type or member is obsolete return System.Text.Json.JsonSerializer.Serialize(response); } catch (Exception ex) diff --git a/samples/dotnet/RetrievalBot/Plugins/DateTimePlugin.cs b/samples/dotnet/retrieval-agent/Plugins/DateTimePlugin.cs similarity index 95% rename from samples/dotnet/RetrievalBot/Plugins/DateTimePlugin.cs rename to samples/dotnet/retrieval-agent/Plugins/DateTimePlugin.cs index 3d8f57b2..644cf8cd 100644 --- a/samples/dotnet/RetrievalBot/Plugins/DateTimePlugin.cs +++ b/samples/dotnet/retrieval-agent/Plugins/DateTimePlugin.cs @@ -6,7 +6,7 @@ using System; using System.Threading.Tasks; -namespace RetrievalBot.Plugins +namespace RetrievalAgent.Plugins { /// /// Semantic Kernel plugins for date and time. @@ -49,7 +49,7 @@ public string Today(IFormatProvider? formatProvider = null) => /// /// The current date and time in the local time zone [KernelFunction, Description("Get the current date and time in the local time zone")] - public string Now(IFormatProvider formatProvider = null) => + public string Now(IFormatProvider? formatProvider = null) => // Sunday, January 12, 2025 9:15 PM DateTimeOffset.Now.ToString("f", formatProvider); diff --git a/samples/dotnet/RetrievalBot/Plugins/StaticTokenProvider.cs b/samples/dotnet/retrieval-agent/Plugins/StaticTokenProvider.cs similarity index 95% rename from samples/dotnet/RetrievalBot/Plugins/StaticTokenProvider.cs rename to samples/dotnet/retrieval-agent/Plugins/StaticTokenProvider.cs index e8f412c8..f7c342f0 100644 --- a/samples/dotnet/RetrievalBot/Plugins/StaticTokenProvider.cs +++ b/samples/dotnet/retrieval-agent/Plugins/StaticTokenProvider.cs @@ -8,7 +8,7 @@ using System.Threading; using Microsoft.Kiota.Abstractions.Authentication; -namespace RetrievalBot.Plugins; +namespace RetrievalAgent.Plugins; public class StaticTokenProvider(string token) : IAccessTokenProvider { diff --git a/samples/dotnet/RetrievalBot/Program.cs b/samples/dotnet/retrieval-agent/Program.cs similarity index 66% rename from samples/dotnet/RetrievalBot/Program.cs rename to samples/dotnet/retrieval-agent/Program.cs index 6488a4b3..2db764ec 100644 --- a/samples/dotnet/RetrievalBot/Program.cs +++ b/samples/dotnet/retrieval-agent/Program.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Microsoft.Agents.Builder.State; using Microsoft.Agents.Hosting.AspNetCore; using Microsoft.Agents.Storage; using Microsoft.AspNetCore.Builder; @@ -9,21 +8,15 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.SemanticKernel; -using RetrievalBot; +using RetrievalAgent; -var builder = WebApplication.CreateBuilder(args); - -if (builder.Environment.IsDevelopment()) -{ - builder.Configuration.AddUserSecrets(); -} +WebApplicationBuilder builder = WebApplication.CreateBuilder(args); builder.Services.AddHttpClient(); // Register Semantic Kernel builder.Services.AddKernel(); - // Register the AI service of your choice. AzureOpenAI and OpenAI are demonstrated... if (builder.Configuration.GetSection("AIServices").GetValue("UseAzureOpenAI")) { @@ -32,11 +25,11 @@ endpoint: builder.Configuration.GetSection("AIServices:AzureOpenAI").GetValue("Endpoint")!, apiKey: builder.Configuration.GetSection("AIServices:AzureOpenAI").GetValue("ApiKey")!); - /* //Use the Azure CLI (for local) or Managed Identity (for Azure running app) to authenticate to the Azure OpenAI service - credentials: new ChainedTokenCredential( - new AzureCliCredential(), - new ManagedIdentityCredential() - )); */ + //Use the Azure CLI (for local) or Managed Identity (for Azure running app) to authenticate to the Azure OpenAI service + //credentials: new ChainedTokenCredential( + // new AzureCliCredential(), + // new ManagedIdentityCredential() + //)); } else { @@ -45,16 +38,21 @@ apiKey: builder.Configuration.GetSection("AIServices:OpenAI").GetValue("ApiKey")!); } -// Add basic bot functionality +// Add the AgentApplication, which contains the logic for responding to +// user messages. builder.AddAgent(); -builder.Services.AddSingleton(new MemoryStorage()); -builder.Services.AddSingleton(); +// Register IStorage. For development, MemoryStorage is suitable. +// For production Agents, persisted storage should be used so +// that state survives Agent restarts, and operates correctly +// in a cluster of Agent instances. +builder.Services.AddSingleton(); -// Add AspNet token validation +// Add AspNet token validation for Azure Bot Service and Entra. Authentication is +// configured in the appsettings.json "TokenValidation" section. builder.Services.AddAgentAspNetAuthentication(builder.Configuration); -var app = builder.Build(); +WebApplication app = builder.Build(); // Enable AspNet authentication and authorization app.UseAuthentication(); diff --git a/samples/dotnet/RetrievalBot/Properties/launchSettings.json b/samples/dotnet/retrieval-agent/Properties/launchSettings.json similarity index 91% rename from samples/dotnet/RetrievalBot/Properties/launchSettings.json rename to samples/dotnet/retrieval-agent/Properties/launchSettings.json index 650bd271..740cf454 100644 --- a/samples/dotnet/RetrievalBot/Properties/launchSettings.json +++ b/samples/dotnet/retrieval-agent/Properties/launchSettings.json @@ -1,6 +1,6 @@ { "profiles": { - "RetrievalBot": { + "RetrievalAgent": { "commandName": "Project", "launchBrowser": true, "environmentVariables": { diff --git a/samples/dotnet/RetrievalBot/README.md b/samples/dotnet/retrieval-agent/README.md similarity index 97% rename from samples/dotnet/RetrievalBot/README.md rename to samples/dotnet/retrieval-agent/README.md index 3bd13b36..f913136e 100644 --- a/samples/dotnet/RetrievalBot/README.md +++ b/samples/dotnet/retrieval-agent/README.md @@ -1,4 +1,4 @@ -# RetrievalBot Sample with Semantic Kernel +# RetrievalAgent Sample with Semantic Kernel This is a sample of a simple Retrieval Agent that is hosted on an Asp.net core web service. This Agent is configured to accept a request asking for information about Build sessions by Contoso and respond to the caller with an Adaptive Card. @@ -17,7 +17,7 @@ This Agent Sample is intended to introduce you to the Copilot Retrieval API Grou - If you have a Copilot tenant, make sure your admin can install the app package from MAC (admin.microsoft.com). This requires admin level access and is the only way to upload Agentic applications to Copilot. - If you do not want or can’t get a Copilot tenant, but have a Dev Tenant, you can still use this sample and deploy your Agent to your Teams channel or chat or meeting. Here are the steps for this - [Upload your custom app - Teams | Microsoft Learn](https://learn.microsoft.com/microsoftteams/platform/concepts/deploy-and-publish/apps-upload). This process doesn’t require Admin level access. Just ensure that your admin has allowed users to upload apps to Teams store. [Manage custom app policies and settings - Microsoft Teams | Microsoft Learn](https://learn.microsoft.com/microsoftteams/teams-custom-app-policies-and-settings). - You will not be able to use the Copilot Retrieval APIs if you don't have a Copilot Tenant. -- You also need to be a SharePoint administrator and should be able to create a SPO site and add a sample document from which you want to retrieve relevant information using the Copilot Retrieval API. Once you upload your document(s), give the API a couple of hours to index so that it can return relevant information. You can upload the document 'Contoso sessions at Microsoft Build Conference 2025.docx' in SharePoint Documents folder to ask it the sample queries listed below. +- You also need to be a SharePoint administrator and should be able to create a SPO site and add a sample document from which you want to retrieve relevant information using the Copilot Retrieval API. Once you upload your document(s), give the API a couple of hours to index so that it can return relevant information. You can upload the document 'ContosoBuildSessions2025.docx' in the Sharepoint folder to ask it the sample queries listed below. ## Running this sample diff --git a/samples/dotnet/RetrievalBot/RetrievalBot.cs b/samples/dotnet/retrieval-agent/RetrievalAgent.cs similarity index 81% rename from samples/dotnet/RetrievalBot/RetrievalBot.cs rename to samples/dotnet/retrieval-agent/RetrievalAgent.cs index 484eea53..66519754 100644 --- a/samples/dotnet/RetrievalBot/RetrievalBot.cs +++ b/samples/dotnet/retrieval-agent/RetrievalAgent.cs @@ -1,17 +1,17 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. + using Microsoft.Agents.Builder.App; using Microsoft.Agents.Builder.State; using Microsoft.Agents.Builder; using Microsoft.Agents.Core.Models; using System.Threading.Tasks; using System.Threading; -using RetrievalBot.Agents; +using RetrievalAgent.Agents; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel; -using Microsoft.SemanticKernel.Agents; -namespace RetrievalBot +namespace RetrievalAgent { public class Retrieval: AgentApplication { @@ -22,16 +22,16 @@ public Retrieval(AgentApplicationOptions options, Kernel kernel) : base (options _kernel = kernel; } - [Route(RouteType = RouteType.Activity, Type = ActivityTypes.Message, Rank = RouteRank.Last)] + [MessageRoute] protected async Task MessageActivityAsync(ITurnContext turnContext, ITurnState turnState, CancellationToken cancellationToken) { await turnContext.SendActivityAsync(new Activity { Type = ActivityTypes.Typing }, cancellationToken); var chatHistory = turnState.GetValue("conversation.chatHistory", () => new ChatHistory()); - RetrievalAgent retrievalAgent = new RetrievalAgent(_kernel, this); + RetrievalCompletionAgent retrievalAgent = new RetrievalCompletionAgent(_kernel, this); - // Invoke the RetrievalAgent to process the message + // Invoke the RetrievalCompletionAgent to process the message var forecastResponse = await retrievalAgent.InvokeAgentAsync(turnContext.Activity.Text, chatHistory); if (forecastResponse == null) { @@ -39,10 +39,10 @@ protected async Task MessageActivityAsync(ITurnContext turnContext, ITurnState t return; } - // Create a response message based on the response content type from the RetrievalAgent + // Create a response message based on the response content type from the RetrievalCompletionAgent IActivity response = forecastResponse.ContentType switch { - RetrievalAgentResponseContentType.AdaptiveCard => MessageFactory.Attachment(new Attachment() + RetrievalCompletionAgentResponseContentType.AdaptiveCard => MessageFactory.Attachment(new Attachment() { ContentType = "application/vnd.microsoft.card.adaptive", Content = forecastResponse.Content, @@ -54,7 +54,7 @@ protected async Task MessageActivityAsync(ITurnContext turnContext, ITurnState t await turnContext.SendActivityAsync(response, cancellationToken); } - [Route(RouteType = RouteType.Conversation, EventName = ConversationUpdateEvents.MembersAdded)] + [MembersAddedRoute] protected async Task WelcomeMessageAsync(ITurnContext turnContext, ITurnState turnState, CancellationToken cancellationToken) { foreach (ChannelAccount member in turnContext.Activity.MembersAdded) diff --git a/samples/dotnet/RetrievalBot/RetrievalBot.csproj b/samples/dotnet/retrieval-agent/RetrievalAgent.csproj similarity index 87% rename from samples/dotnet/RetrievalBot/RetrievalBot.csproj rename to samples/dotnet/retrieval-agent/RetrievalAgent.csproj index 027475d9..b70303f1 100644 --- a/samples/dotnet/RetrievalBot/RetrievalBot.csproj +++ b/samples/dotnet/retrieval-agent/RetrievalAgent.csproj @@ -5,7 +5,6 @@ latest disable $(NoWarn);SKEXP0110;SKEXP0010 - b842df34-390f-490d-9dc0-73909363ad16 false false enable @@ -29,9 +28,7 @@ - - - + diff --git a/samples/dotnet/RetrievalBot/SharePoint Documents/Contoso Sessions at Microsoft Build Conference 2025.docx b/samples/dotnet/retrieval-agent/Sharepoint/ContosoBuildSessions2025.docx similarity index 100% rename from samples/dotnet/RetrievalBot/SharePoint Documents/Contoso Sessions at Microsoft Build Conference 2025.docx rename to samples/dotnet/retrieval-agent/Sharepoint/ContosoBuildSessions2025.docx diff --git a/samples/dotnet/RetrievalBot/appsettings.json b/samples/dotnet/retrieval-agent/appsettings.json similarity index 100% rename from samples/dotnet/RetrievalBot/appsettings.json rename to samples/dotnet/retrieval-agent/appsettings.json